Bug#843473: libgtk-3-0: ~/.XCompose handling broken

Thibaut Girka thib at sitedethib.com
Sun Nov 6 22:06:45 UTC 2016


Package: libgtk-3-0
Version: 3.22.2-1
Severity: normal
Tags: upstream patch

Gtk+ includes some partial support for XCompose configuration files.
However, it has long been broken because of a bug in its cache handling,
resulting
in the configuration file to be only properly taken into account when *not*
loaded
from cache.

You'll find attached a patch against fixing this.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (120, 'unstable'), (105, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgtk-3-0 depends on:
ii  adwaita-icon-theme                      3.22.0-1
ii  hicolor-icon-theme                      0.15-1
ii  libatk-bridge2.0-0                      2.22.0-1
ii  libatk1.0-0                             2.22.0-1
ii  libc6                                   2.24-5
ii  libcairo-gobject2                       1.14.6-1+b1
ii  libcairo2                               1.14.6-1+b1
ii  libcolord2                              1.3.3-2
ii  libcups2                                2.2.1-1
ii  libepoxy0                               1.3.1-1
ii  libfontconfig1                          2.11.0-6.7
ii  libfreetype6                            2.6.3-3+b1
ii  libgdk-pixbuf2.0-0                      2.36.0-1
ii  libglib2.0-0                            2.50.1-1
ii  libgtk-3-common                         3.22.2-1
ii  libjson-glib-1.0-0                      1.2.2-1
ii  libpango-1.0-0                          1.40.3-2
ii  libpangocairo-1.0-0                     1.40.3-2
ii  libpangoft2-1.0-0                       1.40.3-2
ii  librest-0.7-0                           0.8.0-2
ii  libsoup2.4-1                            2.56.0-1
ii  libwayland-client0                      1.11.94-1
ii  libwayland-cursor0                      1.11.94-1
ii  libwayland-egl1-mesa [libwayland-egl1]  12.0.3-3
ii  libx11-6                                2:1.6.3-1
ii  libxcomposite1                          1:0.4.4-1
ii  libxcursor1                             1:1.1.14-1+b1
ii  libxdamage1                             1:1.1.4-2+b1
ii  libxext6                                2:1.3.3-1
ii  libxfixes3                              1:5.0.2-1
ii  libxi6                                  2:1.7.6-1
ii  libxinerama1                            2:1.1.3-1+b1
ii  libxkbcommon0                           0.6.1-1
ii  libxml2                                 2.9.4+dfsg1-2.1
ii  libxrandr2                              2:1.5.0-1
ii  shared-mime-info                        1.7-1

Versions of packages libgtk-3-0 recommends:
ii  libgtk-3-bin  3.22.2-1

Versions of packages libgtk-3-0 suggests:
ii  gvfs             1.30.1.1-1
ii  librsvg2-common  2.40.16-1

-- no debconf information
-------------- next part --------------
Description: Correctly read the number of sequences from cached compose tables
Author: Thibaut Girka <thib at sitedethib.com>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=773916
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=773916#c1
--- a/gtk/gtkcomposetable.c
+++ b/gtk/gtkcomposetable.c
@@ -697,7 +697,7 @@
   retval = g_new0 (GtkComposeTable, 1);
   retval->data = gtk_compose_seqs;
   retval->max_seq_len = max_seq_len;
-  retval->n_seqs = length;
+  retval->n_seqs = n_seqs;
   retval->id = hash;
 
   g_free (contents);


More information about the pkg-gnome-maintainers mailing list