From f2dc971589ee63ca939aa31809a2a4e49ce11c16 Mon Sep 17 00:00:00 2001 From: Thomas Devoogdt Date: Wed, 14 Sep 2022 08:31:08 +0200 Subject: [PATCH] package/gdk-pixbuf: fix test compilation (don't build the test suite) Not needed + breaks compilation on some platforms. The compilation error was seen on 2.42.8, but also relevant for 2.42.9 to not compile the test suite. The option was added in 2.42.9: https://github.com/GNOME/gdk-pixbuf/commit/801eef111df624f4377baed9a90c94b6a2d4340c ``` [179/246] Generating tests/resources.c with a custom command FAILED: tests/resources.c /buildroot/output/host/bin/python3 /buildroot/output/build/host-gdk-pixbuf-2.42.8/build-aux/gen-resources.py --glib-compile-resources=/buildroot/output/host/bin/glib-compile-resources --pixdata=/buildroot/output/build/host-gdk-pixbuf-2.42.8/build/gdk-pixbuf/gdk-pixbuf-pixdata --loaders=/buildroot/output/build/host-gdk-pixbuf-2.42.8/build/gdk-pixbuf/loaders.cache --sourcedir=/buildroot/output/build/host-gdk-pixbuf-2.42.8/tests --source ../tests/resources.gresource.xml tests/resources.c failed to load "/buildroot/output/build/host-gdk-pixbuf-2.42.8/tests/icc-profile.png": Couldn?t recognize the image file format for file ?/buildroot/output/build/host-gdk-pixbuf-2.42.8/tests/icc-profile.png? ../tests/resources.gresource.xml: Child process exited with code 1. ``` Signed-off-by: Thomas Devoogdt Signed-off-by: Peter Korsgaard --- package/gdk-pixbuf/gdk-pixbuf.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk index 7a75ed23f6..4a513effbd 100644 --- a/package/gdk-pixbuf/gdk-pixbuf.mk +++ b/package/gdk-pixbuf/gdk-pixbuf.mk @@ -19,11 +19,13 @@ HOST_GDK_PIXBUF_DEPENDENCIES = host-libpng host-pkgconf host-libglib2 GDK_PIXBUF_CONF_OPTS = \ -Dgio_sniffing=false \ + -Dtests=false \ -Dinstalled_tests=false \ -Dman=false HOST_GDK_PIXBUF_CONF_OPTS = \ -Dgio_sniffing=false \ + -Dtests=false \ -Dinstalled_tests=false \ -Dintrospection=disabled \ -Drelocatable=true \