Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359527 - sys-block/gparted: "gtk" use-flag should be gnome use-flag as it only affects gnome, not gtk dependencies
Summary: sys-block/gparted: "gtk" use-flag should be gnome use-flag as it only affects...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 15:49 UTC by thomasg
Modified: 2011-12-05 22:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomasg 2011-03-19 15:49:34 UTC
gparted uses the "gtk" use-flag for GNOME-support, not for GTK-support.
Disabling gtk support does not affect GTK at all, as it is a GTK-only application.
However, it disables certain features usually used in a GNOME-environment.

As "gtk" is a widely used global use-flag even in combination with "-gnome" on GNOME-free systems it pulls in unnecessary packages from gnome-base and others that aren't GTK-related at all.

Reproducible: Always




fortress ~ # USE="gtk" emerge -pv gparted

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

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libsigc++-2.2.9  USE="-doc -static-libs -test" 3,517 kB
[ebuild  N     ] app-editors/gentoo-editor-2  0 kB
[ebuild  N     ] dev-cpp/glibmm-2.24.2-r1  USE="-debug -doc -examples -test" 4,373 kB
[ebuild  N     ] dev-cpp/cairomm-1.9.8  USE="svg -doc" 938 kB
[ebuild  N     ] app-text/sgml-common-0.6.3-r5  75 kB
[ebuild  N     ] app-text/scrollkeeper-dtd-1.0  11 kB
[ebuild  N     ] gnome-base/libgtop-2.28.2  USE="-debug -doc" 749 kB
[ebuild  N     ] x11-libs/startup-notification-0.10  322 kB
[ebuild  N     ] app-text/rarian-0.8.1-r1  USE="-debug" 317 kB
[ebuild  N     ] net-mail/mailbase-1  USE="pam" 0 kB
[ebuild  N     ] app-text/scrollkeeper-9999-r1  0 kB
[ebuild  N     ] app-text/docbook-xml-dtd-4.1.2-r6  74 kB
[ebuild  N     ] dev-cpp/pangomm-2.26.3  USE="-doc" 1,015 kB
[ebuild  N     ] dev-cpp/atkmm-2.22.2  USE="-doc" 686 kB
[ebuild  N     ] app-text/docbook-xml-dtd-4.4-r2  94 kB
[ebuild  N     ] mail-mta/ssmtp-2.64-r1  USE="gnutls ipv6 ssl" 56 kB
[ebuild  N     ] app-text/gnome-doc-utils-0.20.4  690 kB
[ebuild  N     ] dev-cpp/gtkmm-2.22.0  USE="-doc -examples -test" 11,227 kB
[ebuild  N     ] app-admin/sudo-1.7.5  USE="pam -ldap -offensive (-selinux) -skey" 1,092 kB
[ebuild  N     ] gnome-base/gnome-keyring-2.32.1  USE="pam -debug -doc -test" 1,582 kB
[ebuild  N     ] gnome-base/libgnome-keyring-2.32.0  USE="-debug -doc -test" 403 kB
[ebuild  N     ] x11-libs/libgksu-2.0.12-r1  USE="nls -doc" 467 kB
[ebuild  N     ] x11-libs/gksu-2.0.2  USE="-doc -gnome" 458 kB
[ebuild  N     ] sys-block/gparted-0.7.0  USE="gtk -btrfs -dmraid -fat -hfs -jfs -kde -mdadm -ntfs -reiser4 -reiserfs -xfs" 1,343 kB



fortress ~ # USE="-gtk" emerge -pv gparted 

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

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libsigc++-2.2.9  USE="-doc -static-libs -test" 3,517 kB
[ebuild  N     ] dev-cpp/glibmm-2.24.2-r1  USE="-debug -doc -examples -test" 4,373 kB
[ebuild  N     ] dev-cpp/cairomm-1.9.8  USE="svg -doc" 938 kB
[ebuild  N     ] app-text/sgml-common-0.6.3-r5  75 kB
[ebuild  N     ] app-text/scrollkeeper-dtd-1.0  11 kB
[ebuild  N     ] app-text/rarian-0.8.1-r1  USE="-debug" 317 kB
[ebuild  N     ] app-text/scrollkeeper-9999-r1  0 kB
[ebuild  N     ] app-text/docbook-xml-dtd-4.1.2-r6  74 kB
[ebuild  N     ] dev-cpp/pangomm-2.26.3  USE="-doc" 1,015 kB
[ebuild  N     ] dev-cpp/atkmm-2.22.2  USE="-doc" 686 kB
[ebuild  N     ] app-text/docbook-xml-dtd-4.4-r2  94 kB
[ebuild  N     ] app-text/gnome-doc-utils-0.20.4  690 kB
[ebuild  N     ] dev-cpp/gtkmm-2.22.0  USE="-doc -examples -test" 11,227 kB
[ebuild  N     ] sys-block/gparted-0.7.0  USE="-btrfs -dmraid -fat -gtk -hfs -jfs -kde -mdadm -ntfs -reiser4 -reiserfs -xfs" 1,343 kB
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-03-19 15:55:41 UTC
not true, the .desktop file has NotShowIn=KDE; as you can see in the ebuild, so it may be useful for say, LXDE and Xfce4 too
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-12-04 09:25:05 UTC
*** Bug 393089 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2011-12-05 22:04:02 UTC
*** Bug 393089 has been marked as a duplicate of this bug. ***