[iok/f17] Resolves:rh#803227- Fix default locale code set function
pnemade
pnemade at fedoraproject.org
Wed Mar 14 09:44:20 UTC 2012
commit 0c67e2da97895bb4e02942f6ffc2ec43c9955bff
Author: Parag Nemade <pnemade at redhat.com>
Date: Wed Mar 14 15:14:13 2012 +0530
Resolves:rh#803227- Fix default locale code set function
iok-2.1.0-default-locale-code-fix.patch | 11 +++++++++++
iok.spec | 13 +++++++++----
2 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/iok-2.1.0-default-locale-code-fix.patch b/iok-2.1.0-default-locale-code-fix.patch
new file mode 100644
index 0000000..b242963
--- /dev/null
+++ b/iok-2.1.0-default-locale-code-fix.patch
@@ -0,0 +1,11 @@
+--- src/interface.c.old 2012-03-12 21:38:32.591538820 +0530
++++ src/interface.c 2012-03-14 12:24:45.979848555 +0530
+@@ -10874,7 +10874,7 @@
+ if(strcmp(ll[cn].locale_code,ltoken)==0)
+ {
+ adv_mode=0;
+- if(ll[cn].script_code != NULL) {
++ if(strcmp(ll[cn].script_code,"\0") != 0) {
+ strcat(ltoken,"-");
+ strcat(ltoken,ll[cn].script_code);
+ }
diff --git a/iok.spec b/iok.spec
index 20e1ae2..c233f1a 100644
--- a/iok.spec
+++ b/iok.spec
@@ -1,11 +1,12 @@
Name: iok
Version: 2.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Indic Onscreen Virtual Keyboard
Group: Applications/System
License: GPLv2+
URL: http://iok.sourceforge.net
Source0: https://fedorahosted.org/releases/i/o/iok/%{name}-%{version}.tar.gz
+Patch0: iok-2.1.0-default-locale-code-fix.patch
BuildRequires: desktop-file-utils libXtst-devel
BuildRequires: gtk3-devel gettext libxml2-devel
BuildRequires: intltool unique3-devel
@@ -18,6 +19,7 @@ can even try to parse non-inscript keymaps and show them in iok.
%prep
%setup -q
+%patch0 -p0
%build
%configure
@@ -47,7 +49,7 @@ fi
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
-%doc COPYING AUTHORS ChangeLog README.old README
+%doc COPYING AUTHORS ChangeLog README
%{_bindir}/iok
%{_datadir}/applications/fedora-iok.desktop
%{_datadir}/icons/hicolor/16x16/apps/iok.png
@@ -60,8 +62,11 @@ fi
%changelog
-* Tue Mar 13 2012 Parag Nemade <pnemade AT redhat DOT com>- 2.1.0-1
-- Update to 2.1.0 release
+* Wed Mar 14 2012 Parag Nemade <pnemade AT redhat DOT com>- 2.1.0-2
+- Resolves:rh#803227- Fix default locale code set function
+
+* Mon Mar 12 2012 Parag Nemade <pnemade AT redhat DOT com>- 2.1.0-1
+- update to 2.1.0 release
* Fri Mar 02 2012 Parag Nemade <pnemade AT redhat DOT com>- 1.3.13-4
- Resolves:rh#799568 - iok crashed while selecting 'xkb-Malayalam (enhanced Inscript with Rupee Sign)'
More information about the scm-commits
mailing list