[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778960: marked as done (unblock: im-config/0.27-2)



Your message dated Mon, 23 Feb 2015 08:53:10 +0100
with message-id <20150223075310.GA14621@ugent.be>
and subject line Re: Bug#778960: unblock: im-config/0.27-2
has caused the Debian Bug report #778960,
regarding unblock: im-config/0.27-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
778960: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778960
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@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 <osamu@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 <czchen@gmail.com>
+To: 770220@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)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Hi,

On Sun, Feb 22, 2015 at 05:50:28PM +0900, Osamu Aoki wrote:
> Please unblock package im-config

Unblocked.

Cheers,

Ivo

--- End Message ---

Reply to: