commit: 669c5823e68b6bdaf2a1ace9ea794a8d3b400220 Author: Lukas Schmelting <lschmelting <AT> posteo <DOT> com> AuthorDate: Wed Jul 30 22:10:02 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Oct 16 08:15:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669c5823
dev-util/glade: enforce binary dependency on gtk wayland/x11 backends ``` * QA Notice: binaries depend on Gtk's x11-specific ABI without USE dep: * * /usr/bin/glade * QA Notice: binaries depend on Gtk's wayland-specific ABI without USE dep: * * /usr/bin/glade ``` Closes: https://bugs.gentoo.org/957681 Closes: https://bugs.gentoo.org/957830 Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com> Part-of: https://github.com/gentoo/gentoo/pull/43235 Signed-off-by: Sam James <sam <AT> gentoo.org> .../glade/{glade-3.40.0-r2.ebuild => glade-3.40.0-r3.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-util/glade/glade-3.40.0-r2.ebuild b/dev-util/glade/glade-3.40.0-r3.ebuild similarity index 87% rename from dev-util/glade/glade-3.40.0-r2.ebuild rename to dev-util/glade/glade-3.40.0-r3.ebuild index 014634f9d608..6327420192ef 100644 --- a/dev-util/glade/glade-3.40.0-r2.ebuild +++ b/dev-util/glade/glade-3.40.0-r3.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -inherit gnome2 python-single-r1 meson optfeature virtualx +inherit flag-o-matic gnome2 python-single-r1 meson optfeature virtualx DESCRIPTION="A user interface designer for GTK+ and GNOME" HOMEPAGE="https://glade.gnome.org https://gitlab.gnome.org/GNOME/glade" @@ -13,7 +13,7 @@ LICENSE="GPL-2+ FDL-1.1+" SLOT="3.10/13" # subslot = suffix of libgladeui-2.so KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -IUSE="gjs gtk-doc +introspection python webkit" +IUSE="X gjs gtk-doc +introspection python wayland webkit" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" @@ -22,7 +22,7 @@ DEPEND=" >=dev-libs/libxml2-2.4.0:2= x11-libs/cairo:= x11-libs/gdk-pixbuf:2[introspection?] - >=x11-libs/gtk+-3.22.0:3[introspection?] + >=x11-libs/gtk+-3.22.0:3[X?,introspection?,wayland?] x11-libs/pango[introspection?] introspection? ( >=dev-libs/gobject-introspection-1.32:= ) gjs? ( >=dev-libs/gjs-1.64.0 ) @@ -63,6 +63,9 @@ pkg_setup() { } src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND + local emesonargs=( -Dgladeui=true $(meson_feature gjs)
