[gentoo-user] hplip upgrade wants qt in spite of USE flags

2008-01-02 Thread Chris Bare
I'm trying to run my normal upgrade on a gnome-only system. It looks like the
2.7 version of hplip wants qt even though I have the following in my make.conf
USE:

-kde -qt -qt3 -qt4

Here is the emerge tree output:

oberon tmp # emerge -puDtv hplip

These are the packages that would be merged, in reverse order:

[nomerge  ] net-print/hplip-2.7.10 [1.7.4a-r2] USE=X -doc% 
-fax -minimal% -parport -ppds -scanner -snmp (-cups%*) (-foomaticdb%) (-qt3%) 
[nomerge  ]  sys-kernel/gentoo-sources-2.6.23-r3  
USE=-build -symlink 
[nomerge  ]   sys-libs/ncurses-5.6-r2 [5.6-r1] USE=gpm 
unicode -bootstrap -build -debug -doc -minimal -nocxx -profile% -trace 
[ebuild U ]sys-libs/gpm-1.20.1-r6 [1.20.1-r5] 
USE=(-selinux) 561 kB 
[nomerge  ] net-print/hplip-2.7.10 [1.7.4a-r2] USE=X -doc% 
-fax -minimal% -parport -ppds -scanner -snmp (-cups%*) (-foomaticdb%) (-qt3%) 
[nomerge  ]  net-print/foomatic-filters-3.0.20060720  
USE=cups [?]
[nomerge  ]   virtual/ghostscript-0  [?]
[nomerge  ]app-text/ghostscript-esp-8.15.3  USE=X cups 
gtk xml -cjk -threads [?]
[nomerge  ] x11-libs/gtk+-2.12.1-r2  USE=X cups jpeg 
tiff xinerama -debug -doc -vim-syntax 
[nomerge  ]  x11-libs/pango-1.18.3  USE=-debug -doc 
[nomerge  ]   x11-libs/cairo-1.4.12  USE=X glitz 
opengl svg -debug -directfb -doc -xcb 
[nomerge  ]media-libs/glitz-0.5.6  [?]
[nomerge  ] media-libs/mesa-6.5.2-r1  USE=motif 
nptl -debug -doc -hardened -xcb VIDEO_CARDS=-i810 -mach64 -mga -none -r128 
-radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via [?]
[nomerge  ]  x11-libs/openmotif-2.2.3-r9  [?]
[nomerge  ]   x11-libs/motif-config-0.9-r1  
[ebuild U ]app-shells/bash-3.2_p17-r1 [3.2_p17] 
USE=nls -afs -bashlogger -plugins% -vanilla 2,522 kB 
[ebuild U ] sys-libs/ncurses-5.6-r2 [5.6-r1] 
USE=gpm unicode -bootstrap -build -debug -doc -minimal -nocxx -profile% 
-trace 2,353 kB 
[ebuild U ] net-print/hplip-2.7.10 [1.7.4a-r2] USE=X -doc% 
-fax -minimal% -parport -ppds -scanner -snmp (-cups%*) (-foomaticdb%) (-qt3%) 
14,104 kB 
[nomerge  ] sys-kernel/gentoo-sources-2.6.23-r3  
USE=-build -symlink 
[nomerge  ]  sys-fs/udev-115-r1  USE=(-selinux) 
[ebuild U ]   sys-apps/baselayout-1.12.10-r5 [1.12.9-r2] 
USE=unicode -bootstrap -build -static 214 kB 
[nomerge  ] net-print/hplip-2.7.10 [1.7.4a-r2] USE=X -doc% 
-fax -minimal% -parport -ppds -scanner -snmp (-cups%*) (-foomaticdb%) (-qt3%) 
[ebuild  N]  dev-python/PyQt-3.17.3  USE=-debug -doc 
-examples 786 kB 
[ebuild  N]   x11-libs/qscintilla-1.7.1  USE=-doc 1,036 
kB 
[ebuild  N]x11-libs/qt-3.3.8-r4  USE=cups gif ipv6 
mysql opengl xinerama -debug -doc -examples -firebird -immqt -immqt-bc -nas 
-nis -odbc -postgres -sqlite 16,986 kB 
[nomerge  ] x11-libs/openmotif-2.2.3-r9  [?]
[ebuild U ]  x11-libs/libXaw-1.0.4 [1.0.3] USE=-debug 
-xprint 506 kB 
[nomerge  ] dev-python/PyQt-3.17.3  USE=-debug -doc 
-examples 
[ebuild  N]  dev-python/sip-4.7.1  USE=-debug 432 kB 
[nomerge  ] net-print/foomatic-filters-3.0.20060720  
USE=cups [?]
[nomerge  ]  net-print/cups-1.2.12-r4  USE=X dbus jpeg nls 
pam png ssl tiff -ldap -php -ppds -samba -slp 
[nomerge  ]   x11-misc/xdg-utils-1.0.2  USE=-doc 
[ebuild U ]x11-apps/xprop-1.0.3 [1.0.2] USE=-debug 
105 kB 
[nomerge  ] x11-libs/libXaw-1.0.4 [1.0.3] USE=-debug 
-xprint 
[ebuild U ]  x11-libs/libXpm-3.5.7 [3.5.6] USE=-debug 350 
kB 
[nomerge  ] dev-python/PyQt-3.17.3  USE=-debug -doc 
-examples 
[nomerge  ]  x11-libs/qt-3.3.8-r4  USE=cups gif ipv6 mysql 
opengl xinerama -debug -doc -examples -firebird -immqt -immqt-bc -nas -nis 
-odbc -postgres -sqlite 
[ebuild U ]   x11-libs/libXcursor-1.1.9 [1.1.8] 
USE=-debug 230 kB 
[ebuild U ]   x11-libs/libSM-1.0.3 [1.0.2] USE=ipv6 
-debug 219 kB 
[ebuild U ]x11-libs/libICE-1.0.4 [1.0.3] USE=ipv6 
-debug 247 kB 
[ebuild U ]   x11-libs/libXi-1.1.3 [1.1.2] USE=-debug 243 
kB 
[ebuild U ]   media-libs/freetype-2.3.5-r2 [2.3.4-r2] 
USE=X -bindist -debug -doc -utils% (-zlib%*) 1,250 kB 
[ebuild U ]x11-libs/libX11-1.1.3 [1.1.2-r1] USE=ipv6 
-debug -xcb 1,492 kB 
[ebuild U ] x11-proto/inputproto-1.4.2.1 

Re: [gentoo-user] hplip upgrade wants qt in spite of USE flags

2008-01-02 Thread Neil Bothwick
On Wed, 2 Jan 2008 11:59:41 -0500 (EST), Chris Bare wrote:

 I'm trying to run my normal upgrade on a gnome-only system. It looks
 like the 2.7 version of hplip wants qt even though I have the following
 in my make.conf USE:
 
 -kde -qt -qt3 -qt4

Set USE=-X for hplip.


-- 
Neil Bothwick

Favorite Windoze game: Guess what this icon does?


signature.asc
Description: PGP signature


Re: [gentoo-user] hplip upgrade wants qt in spite of USE flags

2008-01-02 Thread Peter Humphrey
On Wednesday 02 January 2008 16:59:41 Chris Bare wrote:

 I'm trying to run my normal upgrade on a gnome-only system. It looks like
 the 2.7 version of hplip wants qt even though I have the following in my
 make.conf USE:

 -kde -qt -qt3 -qt4

 Here is the emerge tree output:
[...]
 net-print/hplip-2.7.10 [1.7.4a-r2] USE=X -doc% -fax -minimal% -parport
 -ppds -scanner -snmp (-cups%*) (-foomaticdb%) (-qt3%) [ebuild  N] 
 dev-python/PyQt-3.17.3  USE=-debug -doc -examples 786 kB [ebuild  N   
 ]   x11-libs/qscintilla-1.7.1  USE=-doc 1,036 kB [ebuild  N]   
 x11-libs/qt-3.3.8-r4  USE=cups gif ipv6 mysql opengl xinerama -debug
 -doc -examples -firebird -immqt -immqt-bc -nas -nis -odbc -postgres
[...]

I'd want to look into why hplip needs PyQt, and why that needs qscintilla. I 
can't help you much, as this is a KDE box with all sorts of things present 
that you won't have - sorry. I see though that hplip wants to emerge with 
(-qt3%), which is a pretty hard exclusion, but only on hplip - not 
necessarily on things it depends on.

 if I add -X to USE, the qt dependency goes away, but I try to avoid
 package-specific use flags if I can help it.

If you mean putting package-specific USE flags in /etc/make.conf, you can 
avoid it thus:

If /etc/portage/package.use is a file, do this:
'echo net-print/hplip -X  /etc/portage/package.use'

If instead it's a directory, do this:
'echo net-print/hplip -X  /etc/portage/package.use/net-print'

On the other hand, if you don't like these flags at all, I can't help.

-- 
Rgds
Peter
-- 
[EMAIL PROTECTED] mailing list