Summary: | [patch] net-print/cups should provide systemd support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alec Moskvin <alecm> |
Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | alecm, cnyegle, systemd |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://cups.org/str.php?L3917 | ||
Whiteboard: | tracking upstream | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 365937 | ||
Attachments: |
cups-1.4.6-systemd.patch
Patch to cups-1.4.6-r21.ebuild cups-1.4.6-r21.ebuild with patch applied Updated patch (from upstream bug) |
Description
Alec Moskvin
2011-07-22 17:16:20 UTC
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! |