tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gtk3 and cups



On Tue, Jul 03, 2018 at 05:02:29AM +0200, Pierre Pronchery wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> 		Dear tech-pkg@, bouyer@,
> 
> On 02/07/2018 21:06, Pierre Pronchery wrote:
> > adding to the discussion here: [...]
> > 
> > Worse even, I just figured while updating that besides 
> > print/cups-filters (included in the meta-package print/cups) it
> > seems we also need: - the "avahi" option enabled by default in cups
> > (manuel just mentioned that "for most usage mdsd support is enough"
> > though)
> 
> Here is why I had to enable the "avahi" option; in cups' error_log:
> 
> > E [02/Jul/2018:04:33:08 +0200] [CGI] Unable to execute ippfind
> > utility: No such file or directory E [02/Jul/2018:04:33:11 +0200]
> > [CGI] Unable to create service connection: No such file or
> > directory E [02/Jul/2018:04:33:11 +0200] [cups-deviced] PID 23861
> > (dnssd) stopped with status 1!
> 
> Then I looked at the PLIST from cups-base:
> 
> > ${PLIST.ippfind}bin/ippfind
> 
> Which led me to the "avahi" option in options.mk:
> 
> > .if !empty(PKG_OPTIONS:Mavahi) .include
> > "../../net/avahi/buildlink3.mk" CONFIGURE_ARGS+=
> > --enable-avahi PLIST.ippfind=          yes PLIST.dnssd-backend=
> > yes .else CONFIGURE_ARGS+=        --disable-avahi .endif
> 
> Besides when building on macOS, this is the only place where ippfind
> makes it to the package.

Hum, the native cups on macos doesn't need avahi to see bonjour printers.
On my NetBSD server, a mdns-cups sees bonjour printers as well (but this
is an older cups actually).

With recent cups, maybe you need to start the cups-bwowsed daemon
(in addition to cupsd) to see bonjour printers.
Maybe cups-bwowsed is in a separate package now

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index