fsvm88 / cosmic-overlay

COSMIC DE overlay for Gentoo
16 stars 4 forks source link

journald is mandatory #9

Closed pcallycat closed 1 month ago

pcallycat commented 2 months ago

per system76 interviews, systemd should be optional, however can't launch build due to journald being missing on an openrc install

fsvm88 commented 2 months ago

Hi,

I had a quick look, and I may have missed something, but there should be no mandatory systemd support anywhere in the *DEPENDS. It is set up in the RDEPENDS from the eclass via USE=systemd.

Which specific project are you talking about? Perhaps I may need to introduce USE support for features.

pcallycat commented 2 months ago

I don't believe it's pulling in packages it shouldn't.  To that end, I beleive your ebuilds are correct.  I think there's maybe a compile time option or some other configuration to instruct the software at build time not to expect journald to exist.  I run into the same issue if I compile manually, though I haven't gone farther than a test run to see if the software build is just pulling in crates whether systemd is present on a system or not.  I know they made it possible to use without systemd in order to get it working on FreeBSD, but I've not had the luxury of time to research what is needed as of yet.  

nater1983 commented 2 months ago

if it is in cosmic-comp you need to use --no-default-features same with cosmic-session --no-default-features and patch's

https://reddoglinux.ddns.net/linux/cosmic/source/cosmic-session/59.patch https://reddoglinux.ddns.net/linux/cosmic/source/cosmic-session/no_journald-systemctl.patch

nater1983 commented 2 months ago

I have successfully built with the help of @mac-a-r0ni the Cosmic Desktop for Slackware

fsvm88 commented 1 month ago

Hi @pcallycat , @nater1983 : I've opened a PR with initial work: https://github.com/fsvm88/cosmic-overlay/pull/11 (thanks for directions and patch @nater1983 :) )

Can you please test this work? I don't have a non-systemd system available atm, and will take me some time to build a chroot.

nater1983 commented 1 month ago

I only have Slackware installed and I can confirm this works.. Just not sure about the structure of your ebuilds is all. Srry.

fsvm88 commented 1 month ago

@pcallycat I have merged the PR above, I have tested the work in a separate chroot starting with a clean stage3 with openrc and USE=elogind, all packages built fine. This also allowed me to the detect a missing dep on pipewire :)

Closing.