Add proposed patch documenting how to regenerate Compose tables
authorSimon McVittie <smcv@debian.org>
Mon, 30 Aug 2021 12:33:03 +0000 (13:33 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 30 Aug 2021 12:33:03 +0000 (13:33 +0100)
debian/patches/compose-Document-how-to-get-compose-parse-input-from-libX.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/compose-Document-how-to-get-compose-parse-input-from-libX.patch b/debian/patches/compose-Document-how-to-get-compose-parse-input-from-libX.patch
new file mode 100644 (file)
index 0000000..54b2cbc
--- /dev/null
@@ -0,0 +1,22 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Mon, 30 Aug 2021 10:48:49 +0100
+Subject: compose: Document how to get compose-parse input from libX11 source
+
+Signed-off-by: Simon McVittie <smcv@debian.org>
+Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3902
+---
+ gtk/compose/compose-parse.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gtk/compose/compose-parse.c b/gtk/compose/compose-parse.c
+index a1ec09d..385a34f 100644
+--- a/gtk/compose/compose-parse.c
++++ b/gtk/compose/compose-parse.c
+@@ -7,6 +7,7 @@
+  * character data, and definitions for the builtin compose table of GTK.
+  * Run it like this:
+  *
++ *   cpp -DXCOMM='#' Compose.pre | sed -e 's/^ *#/#/' > Compose
+  *   compose-parse Compose sequences-little-endian sequences-big-endian chars gtkcomposedata.h
+  *
+  * The GTK build expects the output files to be in the source tree, in
index e18dd573602f28bfb4040cac203f325f1276140a..3eb7df320403e6f6e309dee233bbb7a0426c76d8 100644 (file)
@@ -3,3 +3,4 @@ reftests-Allow-minor-differences-to-be-tolerated.patch
 debian/Disable-web-fonts-for-now.patch
 debian/templates-Remove-html5shiv.patch
 compose-Generate-endian-dependent-compact-Compose-data.patch
+compose-Document-how-to-get-compose-parse-input-from-libX.patch