Please add the patch (by systemd creator Lennart Poettering) that adds systemd support and enables socket activation. http://0pointer.de/blog/projects/socket-activation2.html Reproducible: Always
Created attachment 280643 [details, diff] cups-1.4.6-systemd.patch Patch by Lennart Poettering
Created attachment 280645 [details, diff] Patch to cups-1.4.6-r21.ebuild
Created attachment 280647 [details] cups-1.4.6-r21.ebuild with patch applied
I'm not sure what the policy is in regards to patches, so I systemd support made it optional in the ebuild. To once installed, cups can be enabled in systemd with socket activation, so it only starts when needed: # systemctl enable cups.socket # systemctl enable cups.path or the usual way, so it starts during boot up: # systemctl enable cups.service
Was that patch submitted upstream? I don't see it anywhere on their bugthingie.
(In reply to comment #5) > Was that patch submitted upstream? I don't see it anywhere on their bugthingie. http://cups.org/str.php?L3917 These patches are not liked be accepted by upstream very soon.
(In reply to comment #6) > (In reply to comment #5) > > Was that patch submitted upstream? I don't see it anywhere on their bugthingie. > > http://cups.org/str.php?L3917 > > These patches are not liked be accepted by upstream very soon. I submitted them myself. And upstream is likely to accept them; sadly, patch author is hardly reachable and probably unlike to sign their stupid agreement.
(In reply to comment #7) > I submitted them myself. And upstream is likely to accept them; sadly, patch > author is hardly reachable and probably unlike to sign their stupid agreement. You should ask on the mailing list - Lennart is very active there... http://lists.freedesktop.org/mailman/listinfo/systemd-devel
(In reply to comment #8) > (In reply to comment #7) > > I submitted them myself. And upstream is likely to accept them; sadly, patch > > author is hardly reachable and probably unlike to sign their stupid agreement. > > You should ask on the mailing list - Lennart is very active there... > > http://lists.freedesktop.org/mailman/listinfo/systemd-devel Could you do that? I'd appreciate.
The upstream process seems stalled. Maybe we should get their latest patch and apply it locally?
Created attachment 300199 [details, diff] Updated patch (from upstream bug)
Patch added in cups-1.5.0-r4, thanks!