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.0+ds1-4+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c649a2d71f13ac297e66f1571eb087ed8c6ee67;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 5b79dfad5f..294d66fb2f 100644 --- a/demos/gtk-demo/meson.build +++ b/demos/gtk-demo/meson.build @@ -164,7 +164,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 800230b512..d78f9f6698 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 201af63f23..8c7c56eb8e 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