commit: 9e8f9793bf48157cb9bf2e49191bf64c0e3eef3b Author: Lukas Schmelting <lschmelting <AT> posteo <DOT> com> AuthorDate: Wed Jul 30 21:30:52 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Oct 16 08:15:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e8f9793
app-text/evince: enforce binary dependency on wayland/x11 backends ``` QA Notice: binaries depend on Gtk's wayland-specific ABI without USE dep: /usr/lib64/libevview3.so.3.0.0 QA Notice: binaries depend on Gtk's x11-specific ABI without USE dep: /usr/bin/evince /usr/lib64/libevview3.so.3.0.0 ``` Closes: https://bugs.gentoo.org/959663 Closes: https://bugs.gentoo.org/959667 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> app-text/evince/{evince-48.0-r1.ebuild => evince-48.0-r2.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app-text/evince/evince-48.0-r1.ebuild b/app-text/evince/evince-48.0-r2.ebuild similarity index 88% rename from app-text/evince/evince-48.0-r1.ebuild rename to app-text/evince/evince-48.0-r2.ebuild index ef10b4965d42..5dff0e0b7d5d 100644 --- a/app-text/evince/evince-48.0-r1.ebuild +++ b/app-text/evince/evince-48.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome.org gnome2-utils meson systemd xdg +inherit flag-o-matic gnome.org gnome2-utils meson systemd xdg DESCRIPTION="Simple document viewer for GNOME" HOMEPAGE="https://apps.gnome.org/Evince/" @@ -12,7 +12,7 @@ LICENSE="GPL-2+ CC-BY-SA-3.0" # subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) SLOT="0/evd3.4-evv3.3" KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~x64-solaris" -IUSE="cups djvu dvi gstreamer gnome keyring gtk-doc +introspection postscript spell tiff xps" +IUSE="X cups djvu dvi gstreamer gnome keyring gtk-doc +introspection postscript spell tiff wayland xps" REQUIRED_USE="gtk-doc? ( introspection )" # atk used in libview @@ -24,7 +24,7 @@ DEPEND=" >=dev-libs/libxml2-2.5:2= sys-libs/zlib:= >=x11-libs/gdk-pixbuf-2.40:2 - >=x11-libs/gtk+-3.22.0:3[cups?,introspection?] + >=x11-libs/gtk+-3.22.0:3[X?,cups?,introspection?,wayland?] gnome-base/gsettings-desktop-schemas >=x11-libs/cairo-1.10 >=app-text/poppler-22.05.0:=[cairo] @@ -69,6 +69,9 @@ src_prepare() { } src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND + local emesonargs=( -Ddevelopment=false -Dplatform=gnome
