mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-gfx/gimp: re-enable and fix headless tests
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44899 Closes: https://github.com/gentoo/gentoo/pull/44899 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
e24bdedcf8
commit
0eb7718641
28
media-gfx/gimp/files/gimp-3.0.6-fix-tests.patch
Normal file
28
media-gfx/gimp/files/gimp-3.0.6-fix-tests.patch
Normal file
@ -0,0 +1,28 @@
|
||||
https://gitlab.gnome.org/GNOME/gimp/-/issues/14822
|
||||
https://gitlab.gnome.org/GNOME/gimp/-/issues/15257
|
||||
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2566
|
||||
https://gitlab.gnome.org/GNOME/gimp/-/commit/2fd12847496a9a242ca8edc448d400d3660b8009
|
||||
https://gitlab.gnome.org/GNOME/gimp/-/commit/93869f43cf3f489ed5aa35ce018f6f4edbbdcb67
|
||||
|
||||
From 2fd12847496a9a242ca8edc448d400d3660b8009 Mon Sep 17 00:00:00 2001
|
||||
From: Jehan <jehan@girinstud.io>
|
||||
Date: Thu, 4 Dec 2025 23:47:00 +0100
|
||||
Subject: [PATCH] Issue #15257: test failing because gegl:bevel doesn't see GPL
|
||||
ops.
|
||||
|
||||
--- a/app/tests/tests.c
|
||||
+++ b/app/tests/tests.c
|
||||
@@ -162,6 +162,10 @@ gimp_init_for_gui_testing_internal (gboolean show_gui,
|
||||
|
||||
/* from main() */
|
||||
gimp_log_init ();
|
||||
+ g_object_set (gegl_config (),
|
||||
+ "use-opencl", FALSE,
|
||||
+ "application-license", "GPL3",
|
||||
+ NULL);
|
||||
gegl_init (NULL, NULL);
|
||||
|
||||
/* Introduce an error margin for positions written to sessionrc */
|
||||
--
|
||||
GitLab
|
||||
|
||||
@ -120,6 +120,10 @@ BDEPEND="
|
||||
|
||||
DOCS=( "AUTHORS" "NEWS" "README" "README.i18n" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/gimp-3.0.6-fix-tests.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
@ -179,9 +183,7 @@ src_configure() {
|
||||
$(meson_feature openexr)
|
||||
$(meson_feature openmp)
|
||||
$(meson_feature postscript ghostscript)
|
||||
# https://gitlab.gnome.org/GNOME/gimp/-/issues/14822
|
||||
-Dheadless-tests=disabled
|
||||
#$(meson_feature test headless-tests)
|
||||
$(meson_feature test headless-tests)
|
||||
$(meson_feature udev gudev)
|
||||
$(meson_feature vala)
|
||||
$(meson_feature webp)
|
||||
|
||||
@ -150,6 +150,10 @@ BDEPEND="
|
||||
|
||||
DOCS=( "AUTHORS" "NEWS" "README" "README.i18n" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/gimp-3.0.6-fix-tests.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
@ -214,9 +218,7 @@ src_configure() {
|
||||
$(meson_feature openexr)
|
||||
$(meson_feature openmp)
|
||||
$(meson_feature postscript ghostscript)
|
||||
# https://gitlab.gnome.org/GNOME/gimp/-/issues/14822
|
||||
-Dheadless-tests=disabled
|
||||
#$(meson_feature test headless-tests)
|
||||
$(meson_feature test headless-tests)
|
||||
$(meson_feature udev gudev)
|
||||
$(meson_feature vala)
|
||||
$(meson_feature webp)
|
||||
|
||||
@ -214,9 +214,7 @@ src_configure() {
|
||||
$(meson_feature openexr)
|
||||
$(meson_feature openmp)
|
||||
$(meson_feature postscript ghostscript)
|
||||
# https://gitlab.gnome.org/GNOME/gimp/-/issues/14822
|
||||
-Dheadless-tests=disabled
|
||||
#$(meson_feature test headless-tests)
|
||||
$(meson_feature test headless-tests)
|
||||
$(meson_feature udev gudev)
|
||||
$(meson_feature vala)
|
||||
$(meson_feature webp)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user