commit:     da5ed85833532ffe972f944218f5f0f640314bc3
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Jan 27 16:42:25 2026 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 16:32:10 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5ed858

media-gfx/gimp: drop X requirement from tests

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45541
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/gimp/gimp-3.0.8.ebuild | 5 ++---
 media-gfx/gimp/gimp-9999.ebuild  | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/media-gfx/gimp/gimp-3.0.8.ebuild b/media-gfx/gimp/gimp-3.0.8.ebuild
index a531936f86f4..f5fb87b527dc 100644
--- a/media-gfx/gimp/gimp-3.0.8.ebuild
+++ b/media-gfx/gimp/gimp-3.0.8.ebuild
@@ -21,7 +21,6 @@ IUSE="X aalib alsa bash-completion doc fits gnome heif 
javascript jpeg2k jpegxl
 REQUIRED_USE="
        ${PYTHON_REQUIRED_USE}
        lua? ( ${LUA_REQUIRED_USE} )
-       test? ( X )
        xpm? ( X )
 "
 
@@ -115,10 +114,10 @@ BDEPEND="
                >=dev-libs/gobject-introspection-1.82.0-r2[doctool]
                dev-util/gi-docgen
        )
-       test? ( x11-misc/xvfb-run )
        vala? ( $(vala_depend) )
        virtual/pkgconfig
 "
+#      X? ( test? ( x11-misc/xvfb-run ) )
 
 DOCS=( "AUTHORS" "NEWS" "README" "README.i18n" )
 
@@ -189,7 +188,7 @@ src_configure() {
                $(meson_feature postscript ghostscript)
                # https://gitlab.gnome.org/GNOME/gimp/-/issues/15763
                -Dheadless-tests=disabled
-               #$(meson_feature test headless-tests)
+               #$(usex X $(meson_feature test headless-tests) 
-Dheadless-tests=disabled )
                $(meson_feature udev gudev)
                $(meson_feature vala)
                $(meson_feature webp)

diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index 61a750b4b52c..6cc0647f81e8 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -42,7 +42,6 @@ IUSE="X aalib alsa bash-completion doc fits gnome heif 
javascript jpeg2k jpegxl
 REQUIRED_USE="
        ${PYTHON_REQUIRED_USE}
        lua? ( ${LUA_REQUIRED_USE} )
-       test? ( X )
        xpm? ( X )
 "
 
@@ -150,10 +149,10 @@ BDEPEND="
                >=dev-libs/gobject-introspection-1.82.0-r2[doctool]
                dev-util/gi-docgen
        )
-       test? ( x11-misc/xvfb-run )
        vala? ( $(vala_depend) )
        vector-icons? ( x11-misc/shared-mime-info )
 "
+#      X? ( test? ( x11-misc/xvfb-run ) )
 
 DOCS=( "AUTHORS" "NEWS" "README" "README.i18n" )
 
@@ -224,7 +223,7 @@ src_configure() {
                $(meson_feature postscript ghostscript)
                # https://gitlab.gnome.org/GNOME/gimp/-/issues/15763
                -Dheadless-tests=disabled
-               #$(meson_feature test headless-tests)
+               #$(usex X $(meson_feature test headless-tests) 
-Dheadless-tests=disabled )
                $(meson_feature udev gudev)
                $(meson_feature vala)
                $(meson_feature webp)

Reply via email to