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

Reply via email to