gtk2/gtk/compose
Simon McVittie 52cdf3056d compose: Generate endian-dependent compact Compose data
The GtkComposeTable cache is always in big-endian format and is
byteswapped on load for the more common little-endian CPUs, but
init_builtin_table() in GtkIMContextSimple can't byteswap the built-in
data without copying it, which is undesirable. Pregenerate both big-
and little-endian compose data, and compile the correct flavour into
each build of GTK. This fixes failure of the composetable test when
building for a big-endian architecture such as s390x and (traditional,
big-endian) powerpc.

Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/4217
Signed-off-by: Simon McVittie <smcv@debian.org>
2021-08-30 11:29:46 +01:00
..
chars composetable: Allow multiple dead keys 2021-07-29 20:37:30 -04:00
compose-parse.c compose: Generate endian-dependent compact Compose data 2021-08-30 11:29:46 +01:00
gtkcomposedata.h composetable: Allow multiple dead keys 2021-07-29 20:37:30 -04:00
meson.build composetable: Drop GtkComposeTableCompact 2021-07-13 22:03:23 -04:00
sequences-big-endian compose: Generate endian-dependent compact Compose data 2021-08-30 11:29:46 +01:00
sequences-little-endian compose: Generate endian-dependent compact Compose data 2021-08-30 11:29:46 +01:00