diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2016-08-24 23:01:11 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2016-08-28 09:55:36 +0200 |
commit | 234e7980b54ef37e9a24440ec7219c81d6288a71 (patch) | |
tree | 38bab37c29092734280221d3a6875b09a37425d8 /gnu/packages/patches | |
parent | 711670c04faec02f1c4cccf78a66c90bc7cdfa6e (diff) | |
download | guix-patches-234e7980b54ef37e9a24440ec7219c81d6288a71.tar guix-patches-234e7980b54ef37e9a24440ec7219c81d6288a71.tar.gz |
gnu: gtk+: Add patch to support GUIX_GTK3_IM_MODULE_FILE.
* gnu/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch: New file.
* gnu/packages/gtk.scm (gtk+)[source]: Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch b/gnu/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch new file mode 100644 index 0000000000..aa63a54402 --- /dev/null +++ b/gnu/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch @@ -0,0 +1,15 @@ +This patch replaces the environment variable "GTK_IM_MODULE" with +"GUIX_GTK3_IM_MODULE_FILE" to prevent this version of GTK+ from loading input +method modules for other major versions of GTK+. + +--- gtk+-3.20.3/gtk/deprecated/gtkrc.c 2016-08-21 22:40:48.168437905 +0200 ++++ gtk+-3.20.3/gtk/deprecated/gtkrc.c 2016-08-23 10:12:09.097070097 +0200 +@@ -768,7 +768,7 @@ + gchar * + gtk_rc_get_im_module_file (void) + { +- const gchar *var = g_getenv ("GTK_IM_MODULE_FILE"); ++ const gchar *var = g_getenv ("GUIX_GTK3_IM_MODULE_FILE"); + gchar *result = NULL; + + if (var) |