Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package im-config The bug #770220 breaks the international keyboard input method selection under X11. This is the fist thing non-european system needs to use to get the preffered IM when multiple IMs such as ibus and fcitx are installed. This is a major problem. (If only one IM is installed, there is usually no need to use this GUI since default bhavior is good enough.) The root cause is zenity generating the warning message "Gtk-Message: ...". This can be avoided by redirecting the real stderr to /dev/null before redirecting stdout to stderr. $ debdiff im-config_0.27-1.dsc im-config_0.27-2.dsc diff -Nru im-config-0.27/debian/changelog im-config-0.27/debian/changelog --- im-config-0.27/debian/changelog 2014-10-19 01:49:57.000000000 +0900 +++ im-config-0.27/debian/changelog 2015-02-22 17:06:36.000000000 +0900 @@ -1,3 +1,10 @@ +im-config (0.27-2) unstable; urgency=medium + + * Redirect the original stderr to /dev/null to avoid warning message + "Gtk-Message: ..." from zenity. Closes: #770220 + + -- Osamu Aoki <os...@debian.org> Sun, 22 Feb 2015 16:58:54 +0900 + im-config (0.27-1) unstable; urgency=medium * Make STDERR output less verbose as default. LP: #1375089 diff -Nru im-config-0.27/debian/patches/im-config-gtk.patch im-config-0.27/debian/patches/im-config-gtk.patch --- im-config-0.27/debian/patches/im-config-gtk.patch 1970-01-01 09:00:00.000000000 +0900 +++ im-config-0.27/debian/patches/im-config-gtk.patch 2015-02-22 17:06:36.000000000 +0900 @@ -0,0 +1,20 @@ +Date: Sun, 22 Feb 2015 01:41:19 +0800 +From: ChangZhuo Chen <czc...@gmail.com> +To: 770...@bugs.debian.org +Subject: Bug#770220: im-config: does not configure input method under X11 + +The patch can solve the issue by redirecting real stderr to /dev/null +before redirecting stdout to stderr. + +diff --git a/share/im-config.common b/share/im-config.common +index 5e9fcc2..7264cf3 100644 +--- a/share/im-config.common ++++ b/share/im-config.common +@@ -202,6 +202,6 @@ menulist_eval () { + eval "$1" + else + # GTK GUI +- eval "$1" 1>&2 ++ eval "$1" 3>&2 2>/dev/null 1>&3 + fi + } diff -Nru im-config-0.27/debian/patches/series im-config-0.27/debian/patches/series --- im-config-0.27/debian/patches/series 1970-01-01 09:00:00.000000000 +0900 +++ im-config-0.27/debian/patches/series 2015-02-22 17:06:36.000000000 +0900 @@ -0,0 +1 @@ +im-config-gtk.patch unblock im-config/0.27-2 -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
signature.asc
Description: Digital signature