x11-terms/gnome-terminal: remove some unnecessary USE requirements on dependencies
authorMart Raudsepp <leio@gentoo.org>
Mon, 8 Jan 2018 18:49:45 +0000 (20:49 +0200)
committerMart Raudsepp <leio@gentoo.org>
Mon, 8 Jan 2018 18:54:00 +0000 (20:54 +0200)
dev-libs/glib[dbus] just pulls in dconf at runtime, but we already have that
dependency here explicitly ourselves; no need to force a rebuild of glib just
for that then.

gtk+[X] is not required and a build against a pure-wayland gtk+ should work
just fine. The problem is that it won't grow X11 support after gtk+ is rebuilt
with USE=X and gnome-terminal not rebuilt. But it'll work fine, just have some
X11 specific extra cases or features disabled. Or it will break if USE=X is
initially there on gtk+, but later removed.
This is a global issue in gtk+[X,wayland] handling and we shouldn't disallow
pure wayland gnome-terminal builds in the meantime. Bug 624960 tracks the
global concerns.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-terms/gnome-terminal/gnome-terminal-3.24.2.ebuild

index 0a7b6da09997c98bc245772d92a20671623d5938..934e903908dae088998a4b2f43ff5e1466535d29 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -16,11 +16,11 @@ SRC_URI="${SRC_URI} !vanilla? ( https://dev.gentoo.org/~leio/distfiles/gnome-ter
 
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 
-# FIXME: automagic dependency on gtk+[X], just transitive but needs proper control
+# FIXME: automagic dependency on gtk+[X], just transitive but needs proper control, bug 624960
 # Needed vte in 3.24.2 is 0.48.2, but we add desktop notification patches in 0.48.3 that non-vanilla needs
 RDEPEND="
-       >=dev-libs/glib-2.42:2[dbus]
-       >=x11-libs/gtk+-3.20:3[X]
+       >=dev-libs/glib-2.42:2
+       >=x11-libs/gtk+-3.20:3
        >=x11-libs/vte-0.48.3:2.91[!vanilla?]
        >=dev-libs/libpcre2-10
        >=gnome-base/dconf-0.14