Gentoo Archives: gentoo-user

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] hplip upgrade wants qt in spite of USE flags
Date: Wed, 02 Jan 2008 18:28:39
Message-Id: 200801021821.47025.prh@gotadsl.co.uk
In Reply to: [gentoo-user] hplip upgrade wants qt in spite of USE flags by Chris Bare
1 On Wednesday 02 January 2008 16:59:41 Chris Bare wrote:
2
3 > I'm trying to run my normal upgrade on a gnome-only system. It looks like
4 > the 2.7 version of hplip wants qt even though I have the following in my
5 > make.conf USE:
6 >
7 > -kde -qt -qt3 -qt4
8 >
9 > Here is the emerge tree output:
10 [...]
11 > net-print/hplip-2.7.10 [1.7.4a-r2] USE="X -doc% -fax -minimal% -parport
12 > -ppds -scanner -snmp (-cups%*) (-foomaticdb%) (-qt3%)" [ebuild N ]
13 > dev-python/PyQt-3.17.3 USE="-debug -doc -examples" 786 kB [ebuild N
14 > ] x11-libs/qscintilla-1.7.1 USE="-doc" 1,036 kB [ebuild N ]
15 > x11-libs/qt-3.3.8-r4 USE="cups gif ipv6 mysql opengl xinerama -debug
16 > -doc -examples -firebird -immqt -immqt-bc -nas -nis -odbc -postgres
17 [...]
18
19 I'd want to look into why hplip needs PyQt, and why that needs qscintilla. I
20 can't help you much, as this is a KDE box with all sorts of things present
21 that you won't have - sorry. I see though that hplip wants to emerge with
22 (-qt3%), which is a pretty hard exclusion, but only on hplip - not
23 necessarily on things it depends on.
24
25 > if I add -X to USE, the qt dependency goes away, but I try to avoid
26 > package-specific use flags if I can help it.
27
28 If you mean putting package-specific USE flags in /etc/make.conf, you can
29 avoid it thus:
30
31 If /etc/portage/package.use is a file, do this:
32 'echo "net-print/hplip -X" >> /etc/portage/package.use'
33
34 If instead it's a directory, do this:
35 'echo "net-print/hplip -X" >> /etc/portage/package.use/net-print'
36
37 On the other hand, if you don't like these flags at all, I can't help.
38
39 --
40 Rgds
41 Peter
42 --
43 gentoo-user@g.o mailing list