Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137006 - qt4 use flag for wpa_supplicant
Summary: qt4 use flag for wpa_supplicant
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2006-06-16 12:07 UTC by Fabio Rossi
Modified: 2006-06-21 13:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2006-06-16 12:07:29 UTC
wpa_supplicant supports both QT3 and QT4. I haven't installed QT4 libraries on my system yet. Now I'm getting this request of upgrade:

# emerge -puDvt world

[nomerge      ] net-wireless/wpa_supplicant-0.5.2  USE="madwifi qt readline ssl -gsm"
[ebuild  NS   ]  x11-libs/qt-4.1.2  USE="cups examples gif jpeg mng mysql odbc opengl png postgres zlib -accessibility -debug -doc -firebird -nas -nis -sql

Is it possible to use the flag qt4 in the wpa_supplicant ebuild? In this way there is no need to compile the QT4 libs only for one application.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-16 12:18:33 UTC
So package.mask QT4, not related to wpa_supplicant at all...
Comment 2 Fabio Rossi 2006-06-17 06:41:56 UTC
From the Gentoo Development Guide:

Any of Many Versus USE

Say fnord can be built against either foo or bar. Then a USE flag is not necessary if and only if all of the following hold:

    * fnord is merged on a system which has foo and not bar installed. foo is then unmerged, and bar is installed. fnord must continue to work correctly.
    * A binary package of fnord made on a system with foo and not bar can be taken and installed on a system with bar and not foo.

In our case if we build wpa_supplicant against qt3, make a binary package and put it on a system with only qt4, the package will not work. Maybe a separated use flag is necessary for qt4 support
Comment 3 Fabio Rossi 2006-06-21 13:28:40 UTC
I see that wpa_supplicant 0.5.4 has changed qt support, so there was a problem with that form of dependecy :-)

I change the resolution to closed and not worksforme