From 23e4d75fa90b990e85186c772d9ff49619abfe63 Mon Sep 17 00:00:00 2001 From: Lukas Schmelting Date: Wed, 30 Jul 2025 23:43:55 +0200 Subject: [PATCH] app-crypt/seahorse: enforce binary dependency on gtk x11 backend ``` QA Notice: binaries depend on Gtk's x11-specific ABI without USE dep: /usr/libexec/seahorse/ssh-askpass ``` Closes: https://bugs.gentoo.org/958383 Signed-off-by: Lukas Schmelting Part-of: https://github.com/gentoo/gentoo/pull/43235 Signed-off-by: Eli Schwartz --- .../{seahorse-43.0-r4.ebuild => seahorse-43.0-r5.ebuild} | 8 +++++--- .../{seahorse-47.0.1.ebuild => seahorse-47.0.1-r1.ebuild} | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) rename app-crypt/seahorse/{seahorse-43.0-r4.ebuild => seahorse-43.0-r5.ebuild} (91%) rename app-crypt/seahorse/{seahorse-47.0.1.ebuild => seahorse-47.0.1-r1.ebuild} (91%) diff --git a/app-crypt/seahorse/seahorse-43.0-r4.ebuild b/app-crypt/seahorse/seahorse-43.0-r5.ebuild similarity index 91% rename from app-crypt/seahorse/seahorse-43.0-r4.ebuild rename to app-crypt/seahorse/seahorse-43.0-r5.ebuild index e29157e921044..5bbc2e559822b 100644 --- a/app-crypt/seahorse/seahorse-43.0-r4.ebuild +++ b/app-crypt/seahorse/seahorse-43.0-r5.ebuild @@ -2,21 +2,21 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit gnome.org gnome2-utils meson vala xdg +inherit flag-o-matic gnome.org gnome2-utils meson vala xdg DESCRIPTION="Manage your passwords and encryption keys" HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse" LICENSE="GPL-2+ FDL-1.1+" SLOT="0" -IUSE="ldap zeroconf" +IUSE="X ldap zeroconf" KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-libs/glib-2.66:2 >=app-crypt/gcr-3.38:0= >=app-crypt/gpgme-1.14.0:= - >=x11-libs/gtk+-3.24.0:3 + >=x11-libs/gtk+-3.24.0:3[X?] >=app-crypt/gnupg-2.2 >=gui-libs/libhandy-1.6.0:1 >=app-crypt/libsecret-0.16 @@ -60,6 +60,8 @@ src_prepare() { } src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + local emesonargs=( -Dhelp=true -Dpgp-support=true diff --git a/app-crypt/seahorse/seahorse-47.0.1.ebuild b/app-crypt/seahorse/seahorse-47.0.1-r1.ebuild similarity index 91% rename from app-crypt/seahorse/seahorse-47.0.1.ebuild rename to app-crypt/seahorse/seahorse-47.0.1-r1.ebuild index 222598f804db1..2447f1416ea90 100644 --- a/app-crypt/seahorse/seahorse-47.0.1.ebuild +++ b/app-crypt/seahorse/seahorse-47.0.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit gnome.org gnome2-utils meson vala xdg +inherit flag-o-matic gnome.org gnome2-utils meson vala xdg DESCRIPTION="Manage your passwords and encryption keys" HOMEPAGE="https://gitlab.gnome.org/GNOME/seahorse" @@ -10,13 +10,13 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/seahorse" LICENSE="GPL-2+ FDL-1.1+" SLOT="0" KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="ldap zeroconf" +IUSE="X ldap zeroconf" RDEPEND=" >=dev-libs/glib-2.66:2 >=app-crypt/gcr-3.38:0= >=app-crypt/gpgme-1.14.0:= - >=x11-libs/gtk+-3.24.0:3 + >=x11-libs/gtk+-3.24.0:3[X?] >=app-crypt/gnupg-2.2 >=gui-libs/libhandy-1.6.0:1 >=app-crypt/libsecret-0.16 @@ -59,6 +59,8 @@ src_prepare() { } src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + local emesonargs=( -Dhelp=true -Dpgp-support=true