Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939306 - net-print/cups-meta: USE="zeroconf"? RDEPEND on sys-auth/nss-mdns
Summary: net-print/cups-meta: USE="zeroconf"? RDEPEND on sys-auth/nss-mdns
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-09-07 20:01 UTC by Jesse Adelman
Modified: 2024-09-09 05:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2024-09-07 20:01:49 UTC
I've had net-print/cups and net-print/cups-meta installed on my daily-driver Gentoo laptop for a very long time. I recently got a new printer (a Canon MAXIFY GX2020) and was having a hard time getting CUPS network discovery to actually resolve what it discovered. It would discover the printer, only to be unable to resolve the dnssd:// name.

After several weeks of intermittent troubleshooting using Gentoo Wiki references, and other web references, I found that sys-auth/nss-mdns was not installed. After installing it, and using the suggestions here (https://github.com/avahi/nss-mdns?tab=readme-ov-file#activation), magically discovery and printing to that printer via CUPS worked.

I discussed the issue and solution in #gentoo on IRC. I'd like to propose that a RDEPEND on sys-auth/nss-mdns if and only if the "zeroconf" USE flag is set. Also, then, remove the optfeature output in net-print/cups, as it would be superflous with this RDEPEND in net-print/cups-meta.

I asked if net-print/cups-meta was a better location for this than net-print/cups, and I heard one +1 from "+sam_" and no objections, and I so here I am. :)

I believe that a lot of printer discovery issues (and .local domain resolution in general) on the Forums would not exist if this RDEPEND change is made. I am working to have ebuild patches to attach here soon. Cheers.