[imsettings] - Get rid of the debugging code to avoid the unnecessary warning.

Akira TAGOH tagoh at fedoraproject.org
Thu Feb 3 05:00:20 UTC 2011


commit 39f61a09f80ad26090f0b6ceb6a32d00a1dc8d71
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Thu Feb 3 14:00:13 2011 +0900

    - Get rid of the debugging code to avoid the unnecessary warning.

 imsettings-get-rid-of-debug-code.patch |   18 ++++++++++++++++++
 imsettings.spec                        |    7 ++++++-
 2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/imsettings-get-rid-of-debug-code.patch b/imsettings-get-rid-of-debug-code.patch
new file mode 100644
index 0000000..5436516
--- /dev/null
+++ b/imsettings-get-rid-of-debug-code.patch
@@ -0,0 +1,18 @@
+commit 2f9d097695c8a031d012d2e2ff90f81785f03515
+Author: Akira TAGOH <akira at tagoh.org>
+Date:   Thu Feb 3 13:54:59 2011 +0900
+
+    get rid of the debugging code
+
+diff --git a/data/xim.in.in b/data/xim.in.in
+index f98febe..1bfaf3f 100644
+--- a/data/xim.in.in
++++ b/data/xim.in.in
+@@ -27,7 +27,6 @@ if [ "x${xim_lang_cc}" != "x" ]; then
+ else
+     xim_lang_ll_CC=${xim_lang_region}
+ fi
+-echo ${xim_lang_ll_CC}
+ if [ -r @XINPUT_PATH@/${xim_lang_ll_CC} ]; then
+     source @XINPUT_PATH@/${xim_lang_ll_CC}
+     # ensure GTK_IM_MODULE and QT_IM_MODULE is xim.
diff --git a/imsettings.spec b/imsettings.spec
index 8b9f671..c44528e 100644
--- a/imsettings.spec
+++ b/imsettings.spec
@@ -1,6 +1,6 @@
 Name:		imsettings
 Version:	1.1.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	LGPLv2+
 URL:		http://code.google.com/p/imsettings/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -18,6 +18,7 @@ Source0:	http://imsettings.googlecode.com/files/%{name}-%{version}.tar.bz2
 Patch0:		imsettings-constraint-of-language.patch
 Patch1:		imsettings-disable-xim.patch
 Patch2:		imsettings-xinput-xcompose.patch
+Patch10:	imsettings-get-rid-of-debug-code.patch
 
 Summary:	Delivery framework for general Input Method configuration
 Group:		Applications/System
@@ -142,6 +143,7 @@ This package contains a module to get this working on LXDE.
 %patch0 -p1 -b .0-lang
 %patch1 -p1 -b .1-xim
 %patch2 -p1 -b .2-xcompose
+%patch10 -p1 -b .10-debug
 
 %build
 %configure	\
@@ -247,6 +249,9 @@ fi
 
 
 %changelog
+* Thu Feb  3 2011 Akira TAGOH <tagoh at redhat.com> - 1.1.0-2
+- Get rid of the debugging code to avoid the unnecessary warning.
+
 * Wed Feb  2 2011 Akira TAGOH <tagoh at redhat.com> - 1.1.0-1
 - New upstream release.
   - Add GNOME3 support.


More information about the scm-commits mailing list