Re: Ly TUI display manager not working after recent Artix package update
Reply #1 –
I've confirmed that https://gitea.artixlinux.org/packages/ly/src/branch/master/PKGBUILD#L32 does not install the binary, so the system cannot find it to use it.
I have changed that line to
zig build -Ddest_directory="$pkgdir" -Dname="ly-dm" -Dcpu=baseline -Doptimize=ReleaseSafe installopenrc
and can confirm that it will install the binary as my OpenRC init expects to find it.
Then I realized that other Artix users may use runit, or s6, or dinit, so I added the following lines after that line to the PKGBUILD:
zig build -Ddest_directory="$pkgdir" -Dname="ly-dm" -Dcpu=baseline -Doptimize=ReleaseSafe installrunit
zig build -Ddest_directory="$pkgdir" -Dname="ly-dm" -Dcpu=baseline -Doptimize=ReleaseSafe installs6
zig build -Ddest_directory="$pkgdir" -Dname="ly-dm" -Dcpu=baseline -Doptimize=ReleaseSafe installdinit
Upstream did not like the s6 or dinit options, even though their README.md shows those options, so I then disabled those two and then this package will built and install the OpenRC and runit system scripts expected by those init systems.
@Dudemanguy how can I incorporate these changes into the PKGBUILD to fix this issue? I'm not able to create an account on gitea.artixlinux.org to do that, so can you please add these fixes? Thanks.