-
Notifications
You must be signed in to change notification settings - Fork 36
Arch Linux packaging
https://aur.archlinux.org/packages/slim-simulator - The AUR (Arch Linux User Repository) package for SLiM. https://aur.archlinux.org/slim-simulator.git - The git repository for the Arch Linux SLiM package. https://wiki.archlinux.org/title/Creating_packages - Documentation for writing an Arch Linux package. https://wiki.archlinux.org/title/PKGBUILD - More detail about the components of a PKGBUILD file (this file specifies how the package is built).
The repository is publicly available, so anyone can clone it. To obtain write access, and to manage the AUR package page, one must have an AUR account (sign up at https://aur.archlinux.org) and then an existing maintainer must add your AUR user as a co-maintainer. Maintainers will see a Manage Co-Maintainers link under "Package Actions" on the right hand side of the AUR package page.
Update the OS to ensure you have the latest dev tools installed (gcc, cmake, etc) and the latest build configuration (/etc/makepkg.conf changes occasionally).
pacman -Syu
Reboot if required.
Inside the slim-simulator git repository, edit PKGBUILD to set the _gittag variable to the SLiM git tag for the release. (For pre-release testing, comment out the _gittag line instead, which will use the latest git commit).
Build and install the package.
makepkg -si
This will run the slim and eidos CLI tests before installing. Go grab a coffee or a lunch while waiting for the build.
This is rare, and the fixes typically apply to multiple OSes. So, check for issues (https://github.com/MesserLab/SLiM/issues/) that any other packagers have reported (make sure to look at recently closed issues too). Continue to the next step once the build has been resolved.
Run SLiMgui and check:
- the version number under File->About SLiMgui.
- that the pre-loaded example SLiM script runs successfully (just hit the play button).
Update the .SRCINFO file with the latest info from the package that you built.
makepkg --printsrcinfo > .SRCINFO
Check the changes (e.g. run git diff), then commit and push. E.g.
git commit -am "update to SLiM v5.2"
git push