From: Simon McVittie Date: Sat, 8 Jan 2022 18:26:52 +0000 (+0000) Subject: Disable optimized GResource embedding X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2^2~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9ca0521a8bfb556b0697cbd49179b21c6a657aca;p=gtk4.git Disable optimized GResource embedding This seems to be triggering failures on armel and armhf. Second-guessing GResource seems to be more trouble than it's worth. Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4617 Signed-off-by: Simon McVittie Forwarded: no Gbp-Pq: Topic debian Gbp-Pq: Name Disable-optimized-GResource-embedding.patch --- diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build index f594cd59b2..0200246ed2 100644 --- a/demos/gtk-demo/meson.build +++ b/demos/gtk-demo/meson.build @@ -160,7 +160,7 @@ endif ld = find_program('ld', required : false) -if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_add_symbol and ld.found() +if false glib_compile_resources = find_program('glib-compile-resources') # Create the resource blob diff --git a/demos/widget-factory/meson.build b/demos/widget-factory/meson.build index 9a083eb1ac..162a66ae41 100644 --- a/demos/widget-factory/meson.build +++ b/demos/widget-factory/meson.build @@ -8,7 +8,7 @@ endif ld = find_program('ld', required : false) -if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_add_symbol and ld.found() +if false glib_compile_resources = find_program('glib-compile-resources') # Create the resource blob diff --git a/gtk/meson.build b/gtk/meson.build index 9e01201522..9b206264dc 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -872,7 +872,7 @@ endif ld = find_program('ld', required : false) -if not meson.is_cross_build() and build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_add_symbol and ld.found() +if false glib_compile_resources = find_program('glib-compile-resources') # Create the resource blob