pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/x11/gtk3



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

                        Hi gdt@, pkgsrc-changes@,

while I do not object to this change for pkgsrc-2018Q2, I was about to
mention that we should indeed enable cups by default for both x11/gtk2
and x11/gtk3.

For one thing, I have worked on making cups lighter for those who do
not want the extra weight, by creating the print/cups-base package,
which is the only hard dependency for x11/gtk2 and x11/gtk3. I am able
to bring this up because there has been a discussion about this (a
while ago now).

Now, every time I update pkgsrc, printing breaks for me. I have HP
printers (a market leader) and they require CUPS for the open source
driver (print/hplip). Printing with Gtk+ applications (also a common
case) does require CUPS to be usable:
- - LPR is impractical for more than one queue
- - setting options as defined by the PPD only works with CUPS (eg
  black/white, tray, covers...)
There used to be gtklp for the latter, but it's long been deprecated.

I think the users of our binary packages ought to be able to print
without having to build Gtk+ again.

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
- - wip/colord, which is not up to date nor in pkgsrc

For good measure we should also enable the "sane" option by default in
print/hplip, otherwise it is also not possible to scan.

About CUPS not building on MacOS X, it is ironic since Apple is the
upstream... Any idea what the issue is?

Cheers,
- -- khorben

On 02/07/2018 19:10, Greg Troxel wrote:
> Module Name:  pkgsrc Committed By:    gdt Date:               Mon Jul  2 17:10:29 
> UTC 2018
> 
> Modified Files: pkgsrc/x11/gtk3: options.mk
> 
> Log Message: gtk3: drop cups from SUGGESTED_OPTIONS
> 
> cups was added as default recently without broad discussion. pkgsrc
> has long declined to endorse/require a particular approach to
> printing (because of the multitude of strong opinions about 
> printing). Defaulting to cups requires that everyone install it, 
> and some object. In addition, cups does not build on macos, 
> resulting in all packages depending on gtk3 being broken.  The
> cups option is not enabled by default on other packages.  It seems
> that this option is not necessary for programs using gtk3 to print
> on a cups-using system.
> 
> I'm reverting this as the freeze coordinator so that 2018Q2 has the
> longstanding behavior.  Longer term, the question of whether cups
> should be a default option bears discussion, including about what
> the cosequences are for those who do and don't use cups, whether it
> should be per-package or global, and about whether we want to
> deviate on systems that can't build cups.  (Note that we are only
> talking about the defaults and binary packages built using the
> defaults; it's long been possible for anyone to enable the cups 
> options globally for their own builds.)
> 
> 
> To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 
> pkgsrc/x11/gtk3/options.mk
> 
> Please note that diffs are not public domain; they are subject to 
> the copyright notices on the relevant files.
> 
> 
> 
> Modified files:
> 
> Index: pkgsrc/x11/gtk3/options.mk diff -u 
> pkgsrc/x11/gtk3/options.mk:1.12 pkgsrc/x11/gtk3/options.mk:1.13
> --- pkgsrc/x11/gtk3/options.mk:1.12   Mon Jun 11 23:44:15 2018 +++ 
> pkgsrc/x11/gtk3/options.mk    Mon Jul  2 17:10:29 2018 @@ -1,4 +1,4 @@
> -# $NetBSD: options.mk,v 1.12 2018/06/11 23:44:15 youri Exp $ +# 
> $NetBSD: options.mk,v 1.13 2018/07/02 17:10:29 gdt Exp $
> 
> PKG_OPTIONS_VAR=      PKG_OPTIONS.gtk3 PKG_SUPPORTED_OPTIONS= 
> gtk3-atk-bridge cups debug @@ -7,7 +7,7 @@ 
> PKG_OPTIONS_GROUP.gdk-target= x11 .if 
> exists(/System/Library/Frameworks/Quartz.framework) 
> PKG_OPTIONS_GROUP.gdk-target+=        quartz .endif 
> -PKG_SUGGESTED_OPTIONS=               gtk3-atk-bridge x11 cups 
> +PKG_SUGGESTED_OPTIONS=               gtk3-atk-bridge x11
> 
> .include "../../mk/bsd.options.mk"
> 
> 


- -- 
khorben
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEjPEp1wC4bxBrX8svMDjL25iGlwMFAls6Y3gTHGtob3JiZW5A
ZGVmb3JhLm9yZwAKCRAwOMvbmIaXA1WCEACCtGWdyPd/qqqoBi/Dumzxvw9UGhin
EWaE/iTwQ7Epn0aZE6qcDmuXFSIJ1nOj9QldB8d0AnbL45cvzrQaSJygmvVXxell
BKFY15qca0lKFbDh+u3qlPtRHb60/kVwY7ugQH4YjOEVU57tZpu/U8sj03ho6hUo
wS6oe07MryRXVsJxlaj60ozEqS43O3IEWVFj7IX2YrCCoPYjiUotDq7z6sC9PIFi
o5lwHrN8XDbkInsU18eJoQ1IpFdL9XMrPRlMa5i4CONTfU8NGPh9ZCTPknoR/EIN
K2Hjpjw/Ia/qsyyxxNIEmYzAJNCNVtjGNrj2e08jnfCJTRvyqXqKAY+ZFMchEeJw
wKa67v/TGl1WIluUE1NXixlCyVNT+M+MXBk8Z/WVnIR2lHzINX71ZPgHph3OBOmp
9WDaFH5Lj+SoT0Kp1EfHTriHNE2+pL6LXKGJpgHyq8uZIuobuGMVbUZsbFibhYGK
Wa8s1KpPrpPZ64UHlVSjYUJYpsNhvlOamipunzCy+s8mUsTsAXPjNzxSybXogfnk
7Xe7fwtp7vzwRWiJu0Hg2fzq2wlhgohp4OKTkX+MNecg6B0JPwt4FHfoukH4f00D
PhKGD9poaMdHszgfaAJq1DzR5Ho1Je0C+QTVQ1ty1wpbXoo18VOpOUkGevtC5m6f
Bq/Ap5kmUFl96w==
=CL6k
-----END PGP SIGNATURE-----



Home | Main Index | Thread Index | Old Index