gtk4.git
3 years agopng: Correct endianness for big-endian machines
Simon McVittie [Sat, 8 Jan 2022 16:39:36 +0000 (16:39 +0000)]
png: Correct endianness for big-endian machines

libpng wants to receive samples in either RGB or RGBA order, whether
each sample is big-endian or not. This resolves test failures in
testsuite/gdk/memorytexture.c (and a lot of reftests) on s390x, and
probably the PowerPC family too.

Modifying the test to show the color in use and write out the PNG bytes
to a file, and running the memorytexture test on s390x, produces a PNG
that loads with the correct color values in GIMP (on an x86_64 machine),
which seems like evidence that this is the correct change and not just
compensating errors.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4616
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4357

Gbp-Pq: Name png-Correct-endianness-for-big-endian-machines.patch

3 years agobuild: Tell glib-compile-resources to make symbols internal where possible
Simon McVittie [Tue, 4 Jan 2022 17:41:34 +0000 (17:41 +0000)]
build: Tell glib-compile-resources to make symbols internal where possible

Partial solution to https://gitlab.gnome.org/GNOME/gtk/-/issues/4598

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4334

Gbp-Pq: Name build-Tell-glib-compile-resources-to-make-symbols-interna.patch

3 years agoMake our stack noexec
Matthias Clasen [Tue, 4 Jan 2022 12:51:56 +0000 (07:51 -0500)]
Make our stack noexec

The change to use ld and objcopy for resources
had some side-effects: it leaked a few symbols
and made our stack executable. We don't want that.

Use -z nonexecstack and --strip-all to avoid this.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4598

Gbp-Pq: Name Make-our-stack-noexec.patch

3 years agogtk4 (4.6.0+ds1-4) unstable; urgency=medium
Jeremy Bicha [Wed, 9 Feb 2022 18:25:53 +0000 (18:25 +0000)]
gtk4 (4.6.0+ds1-4) unstable; urgency=medium

  * Release to unstable

[dgit import unpatched gtk4 4.6.0+ds1-4]

3 years agoImport gtk4_4.6.0+ds1-4.debian.tar.xz
Jeremy Bicha [Wed, 9 Feb 2022 18:25:53 +0000 (18:25 +0000)]
Import gtk4_4.6.0+ds1-4.debian.tar.xz

[dgit import tarball gtk4 4.6.0+ds1-4 gtk4_4.6.0+ds1-4.debian.tar.xz]

3 years agoImport gtk4_4.6.0+ds1.orig.tar.xz
Simon McVittie [Tue, 4 Jan 2022 18:14:08 +0000 (18:14 +0000)]
Import gtk4_4.6.0+ds1.orig.tar.xz

[dgit import orig gtk4_4.6.0+ds1.orig.tar.xz]