From: Simon McVittie Date: Sat, 8 Jan 2022 18:30:37 +0000 (+0000) Subject: Disable optimized GResource embedding X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~72 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ed904eb97dcdd8364adfa72048ccd2c47fddf8cb;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. --- diff --git a/debian/patches/debian/Disable-optimized-GResource-embedding.patch b/debian/patches/debian/Disable-optimized-GResource-embedding.patch new file mode 100644 index 0000000000..240cfe409b --- /dev/null +++ b/debian/patches/debian/Disable-optimized-GResource-embedding.patch @@ -0,0 +1,55 @@ +From: Simon McVittie +Date: Sat, 8 Jan 2022 18:26:52 +0000 +Subject: 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 +--- + demos/gtk-demo/meson.build | 2 +- + demos/widget-factory/meson.build | 2 +- + gtk/meson.build | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build +index 5b79dfa..294d66f 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 800230b..d78f9f6 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 201af63..8c7c56e 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 diff --git a/debian/patches/series b/debian/patches/series index ab7f10027c..203f46fa89 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ debian/Disable-web-fonts-for-now.patch debian/templates-Remove-html5shiv.patch debian/Skip-some-known-failing-tests-on-mips-family-architecture.patch debian/Disable-clipboard-test.patch +debian/Disable-optimized-GResource-embedding.patch