Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 327819

Summary: default/linux/x86/10.0/desktop/gnome profile has qt4 flag by default
Product: Gentoo Linux Reporter: Anton Bolshakov <blshkv>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anton Bolshakov 2010-07-11 16:33:14 UTC
As an example, both totem and wpa_supplicant enables qt4 flag with gnome profile:

[ebuild  N    ] media-video/totem-2.30.2  USE="bluetooth nautilus python youtube -debug -doc -galago -iplayer -lirc -nsplugin (-tracker)" 3,148 kB
[nomerge      ]  media-plugins/gst-plugins-taglib-0.10.21 
[nomerge      ]   media-libs/taglib-1.6.1-r1  USE="asf mp4 -debug -examples -test" 
[nomerge      ]    dev-util/cmake-2.6.4-r3  USE="qt4 -emacs -vim-syntax" 
[nomerge      ]     x11-libs/qt-gui-4.6.2  USE="accessibility dbus exceptions glib gtk mng qt3support tiff (-aqua) -cups -debug -nas -nis -pch -raster -xinerama" 
[ebuild  N    ]      x11-libs/qt-qt3support-4.6.2  USE="accessibility exceptions (-aqua) -debug -kde -pch -phonon" 156,838 kB
[ebuild  N    ]       x11-libs/qt-sql-4.6.2  USE="exceptions iconv qt3support sqlite (-aqua) -debug -firebird -mysql -odbc -pch -postgres" 0 kB

   R   ] net-wireless/wpa_supplicant-0.6.9  USE="dbus qt4* readline ssl -debug -eap-sim -fasteap -gnutls -madwifi (-ps3) -wps" 0 kB
[nomerge      ]  x11-libs/qt-gui-4.6.2  USE="accessibility dbus exceptions glib gtk mng qt3support tiff (-aqua) -cups -debug -nas -nis -pch -raster -xinerama" 
[ebuild  N    ]   x11-libs/qt-qt3support-4.6.2  USE="accessibility exceptions (-aqua) -debug -kde -pch -phonon" 156,838 kB
[ebuild  N    ]    x11-libs/qt-sql-4.6.2  USE="exceptions iconv qt3support sqlite (-aqua) -debug -firebird -mysql -odbc -pch -postgres" 0 kB
[ebuild  N    ]  x11-libs/qt-svg-4.6.2  USE="exceptions iconv (-aqua) -debug -pch" 0 kB
[ebuild  N    ]   x11-libs/qt-gui-4.6.2  USE="accessibility dbus exceptions glib gtk mng qt3support tiff (-aqua) -cups -debug -nas -nis -pch -raster -xinerama" 0 kB
[ebuild  N    ]    x11-libs/qt-dbus-4.6.2  USE="exceptions (-aqua) -debug -pch" 0 kB
[ebuild  N    ]    x11-libs/qt-script-4.6.2  USE="exceptions iconv (-aqua) -debug -pch" 0 kB
[ebuild  N    ]     x11-libs/qt-core-4.6.2-r1  USE="exceptions glib iconv qt3support ssl (-aqua) -debug -doc -optimized-qmake -pch" 0 kB

I guess gnome users don't expect QT library by default.


Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 10 Jul 2010 02:30:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2, 3.1.2-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula AdobeFlash-10.1 @FSF-APPROVED"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.channelx.biz/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.o0o.nu/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gstreamer gtk hal iconv ipv6 jpeg lcms libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-11 16:47:45 UTC
(In reply to comment #0)
> I guess gnome users don't expect QT library by default.

Why is that? Qt4 is only a graphical toolkit, it's not tied to any desktop.
Comment 2 Anton Bolshakov 2010-07-11 16:59:53 UTC
Well, it's not, but my assumption is:
QT - for KDE
GTK - for Gnome
no?..

Anyway, totem users don't need QT libraries for sure.
Is any real reason why QT4 USE flag is enabled in Gnome profile?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-11 19:32:10 UTC
(In reply to comment #2)
> Well, it's not, but my assumption is:
> QT - for KDE
> GTK - for Gnome
> no?..
> 
> Anyway, totem users don't need QT libraries for sure.
> Is any real reason why QT4 USE flag is enabled in Gnome profile?
> 

The 2 major toolkits, gtk and qt4 are enabled in the base desktop profile, that profile is then inherited also by KDE and gnome profiles.
It's the way it's supposed to be, not every application provides both frontends (in fact, it's quite rare).
The assumption that gtk is gnome and qt is kde is just plain wrong.