commit:     b8684a84337a862b561de8db83015614df0239b8
Author:     Lukas Schmelting <lschmelting <AT> posteo <DOT> com>
AuthorDate: Wed Jul 30 19:08:03 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Sun Sep  7 20:25:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8684a84

gnome-extra/yelp: enforce binary dependency on gtk x11 backend

```
 * QA Notice: binaries depend on Gtk's x11-specific ABI without USE dep:
 *
 *   /usr/bin/yelp
 *   /usr/lib64/libyelp.so.0.0.0
```

Closes: https://bugs.gentoo.org/957814
Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/43235
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 gnome-extra/yelp/{yelp-42.2-r2.ebuild => yelp-42.2-r3.ebuild} | 8 ++++++--
 gnome-extra/yelp/yelp-42.3.ebuild                             | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnome-extra/yelp/yelp-42.2-r2.ebuild 
b/gnome-extra/yelp/yelp-42.2-r3.ebuild
similarity index 89%
rename from gnome-extra/yelp/yelp-42.2-r2.ebuild
rename to gnome-extra/yelp/yelp-42.2-r3.ebuild
index 3474080d2c4c..e13d1dd4cd7e 100644
--- a/gnome-extra/yelp/yelp-42.2-r2.ebuild
+++ b/gnome-extra/yelp/yelp-42.2-r3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 GNOME2_EAUTORECONF="yes"
 
-inherit gnome2
+inherit flag-o-matic gnome2
 
 DESCRIPTION="Help browser for GNOME"
 HOMEPAGE="https://wiki.gnome.org/Apps/Yelp";
@@ -12,6 +12,8 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Yelp";
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+# Removed upstream in 49.beta
+IUSE="X"
 
 RDEPEND="
        app-arch/bzip2:=
@@ -22,7 +24,7 @@ RDEPEND="
        >=dev-libs/libxslt-1.1.4
        >=gnome-extra/yelp-xsl-41.0
        net-libs/webkit-gtk:4.1
-       >=x11-libs/gtk+-3.13.3:3
+       >=x11-libs/gtk+-3.13.3:3[X?]
        >=gui-libs/libhandy-1.5.0:1
        x11-themes/adwaita-icon-theme
 "
@@ -43,6 +45,8 @@ PATCHES=(
 )
 
 src_configure() {
+       use X || append-cppflags -DGENTOO_GTK_HIDE_X11
+
        gnome2_src_configure \
                --disable-static \
                --enable-bz2 \

diff --git a/gnome-extra/yelp/yelp-42.3.ebuild 
b/gnome-extra/yelp/yelp-42.3.ebuild
index 4b7b1c833848..2b391e700bbb 100644
--- a/gnome-extra/yelp/yelp-42.3.ebuild
+++ b/gnome-extra/yelp/yelp-42.3.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://apps.gnome.org/Yelp/";
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+# Removed upstream in 49.beta
 IUSE="X"
 
 RDEPEND="

Reply via email to