commit: 2d204720cdcfc923170c2cdc54232c30c8adf7b6 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Tue Jan 27 13:11:01 2026 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Jan 29 16:32:09 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d204720
media-gfx/gimp: disable headless tests again Additionally add -j1 to tests as I saw one instance of flakyness. The tests dont take long enough for this to be a big deal. 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 | 9 +++++++-- media-gfx/gimp/gimp-9999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/media-gfx/gimp/gimp-3.0.8.ebuild b/media-gfx/gimp/gimp-3.0.8.ebuild index d698920b4486..cd3452ac7ca3 100644 --- a/media-gfx/gimp/gimp-3.0.8.ebuild +++ b/media-gfx/gimp/gimp-3.0.8.ebuild @@ -185,7 +185,9 @@ src_configure() { $(meson_feature openexr) $(meson_feature openmp) $(meson_feature postscript ghostscript) - $(meson_feature test headless-tests) + # https://gitlab.gnome.org/GNOME/gimp/-/issues/15763 + -Dheadless-tests=disabled + #$(meson_feature test headless-tests) $(meson_feature udev gudev) $(meson_feature vala) $(meson_feature webp) @@ -225,11 +227,14 @@ _rename_plugins() { src_test() { local -x LD_LIBRARY_PATH="${BUILD_DIR}/libgimp:${LD_LIBRARY_PATH}" + # Try hard to avoid system installed gimp causing issues local -x GIMP3_DIRECTORY="${BUILD_DIR}/" local -x GIMP3_PLUGINDIR="${BUILD_DIR}/plug-ins/" local -x GIMP3_SYSCONFDIR="${BUILD_DIR}/etc/" - meson_src_test + + # Flakyness is possible + meson_src_test -j1 } src_install() { diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild index 4321edd5e61a..55ffbcbf665f 100644 --- a/media-gfx/gimp/gimp-9999.ebuild +++ b/media-gfx/gimp/gimp-9999.ebuild @@ -217,7 +217,9 @@ src_configure() { $(meson_feature openexr) $(meson_feature openmp) $(meson_feature postscript ghostscript) - $(meson_feature test headless-tests) + # https://gitlab.gnome.org/GNOME/gimp/-/issues/15763 + -Dheadless-tests=disabled + #$(meson_feature test headless-tests) $(meson_feature udev gudev) $(meson_feature vala) $(meson_feature webp) @@ -257,11 +259,14 @@ _rename_plugins() { src_test() { local -x LD_LIBRARY_PATH="${BUILD_DIR}/libgimp:${LD_LIBRARY_PATH}" + # Try hard to avoid system installed gimp causing issues local -x GIMP3_DIRECTORY="${BUILD_DIR}/" local -x GIMP3_PLUGINDIR="${BUILD_DIR}/plug-ins/" local -x GIMP3_SYSCONFDIR="${BUILD_DIR}/etc/" - meson_src_test + + # Flakyness is possible + meson_src_test -j1 } src_install() {
