[packages/iok] - updated to 2.1.3 (GTK+ 3 based) - removed obsolete fix-non-standard-keymap-path patch

qboosh qboosh at pld-linux.org
Sun Sep 16 10:51:34 CEST 2012


commit c37aabfc41ac35f9df6af43cd9339334fa1058e3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 16 10:52:20 2012 +0200

    - updated to 2.1.3 (GTK+ 3 based)
    - removed obsolete fix-non-standard-keymap-path patch

 iok-fix-non-standard-keymap-path.patch | 49 ----------------------------------
 iok.spec                               | 31 ++++++++++++---------
 2 files changed, 19 insertions(+), 61 deletions(-)
---
diff --git a/iok.spec b/iok.spec
index 8914a57..d068f33 100644
--- a/iok.spec
+++ b/iok.spec
@@ -1,18 +1,19 @@
 Summary:	Indic Onscreen Virtual Keyboard
+Summary(pl.UTF-8):	Indyjska klawiatura wirtualna na ekranie
 Name:		iok
-Version:	1.3.12
+Version:	2.1.3
 Release:	1
 License:	GPL v2+
-Group:		Applications/System
-URL:		http://iok.sourceforge.net
+Group:		X11/Applications
 Source0:	https://fedorahosted.org/releases/i/o/iok/%{name}-%{version}.tar.gz
-# Source0-md5:	872c12f7c08764ae978efa3fa234f7e9
-Patch0:		%{name}-fix-non-standard-keymap-path.patch
-BuildRequires:	gettext
-BuildRequires:	gtk+2-devel
-BuildRequires:	intltool
-BuildRequires:	libxml2-devel
-BuildRequires:	libunique-devel
+# Source0-md5:	88ed68410e1b8c218cc576bf5b81b1a1
+URL:		http://iok.sourceforge.net/
+BuildRequires:	gettext-devel
+BuildRequires:	gtk+3-devel >= 3.0.0
+BuildRequires:	intltool >= 0.35.0
+BuildRequires:	libxml2-devel >= 2.4.0
+BuildRequires:	libunique3-devel >= 3.0
+BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXtst-devel
 Requires:	xkeyboard-config
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,9 +24,14 @@ functionality. It currently works with Inscript and xkb keymaps for
 Indian languages. iok can even try to parse non-inscript keymaps and
 show them in iok.
 
+%description -l pl.UTF-8
+iok (Indic Onscreen Keyboard) to indyjska klawiatura na ekranie.
+Zapewnia funkcjonalność wirtualnej klawiatury. Obecnie działa z mapami
+klawiszy Inscript i xkb dla języków indyjskich. Potrafi nawet próbować
+analizować mapy klawiszy inne niż inscript i wyświetlać je w ioku.
+
 %prep
 %setup -q
-%patch0 -p0
 
 %build
 %configure
@@ -46,5 +52,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/iok
 %{_desktopdir}/iok.desktop
-%{_pixmapsdir}/iok.xpm
+%{_iconsdir}/hicolor/*/apps/iok.png
+%{_iconsdir}/hicolor/scalable/apps/iok.svg
 %{_mandir}/man1/iok.1*
diff --git a/iok-fix-non-standard-keymap-path.patch b/iok-fix-non-standard-keymap-path.patch
deleted file mode 100644
index f360e14..0000000
--- a/iok-fix-non-standard-keymap-path.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Index: src/interface.c
-===================================================================
---- src/interface.c	(revision 171)
-+++ src/interface.c	(working copy)
-@@ -1395,7 +1395,7 @@
-         {
-             home_dir=getenv("HOME");
-             strcpy(hfile_path,home_dir);
--            strcat(hfile_path,"/.m17n/");
-+            strcat(hfile_path,"/.m17n.d/");
-             strncat(hfile_path,mfile,strlen(mfile));
-             strcat(hfile_path,".mim");
- 
-@@ -1791,7 +1791,7 @@
-     cnt=0;
-     home_dir=getenv("HOME");
-     strcpy(custom_dir_path,home_dir);
--    strcat(custom_dir_path,"/.m17n/");
-+    strcat(custom_dir_path,"/.m17n.d/");
- 
-     n = scandir(custom_dir_path, &namelist, 0, alphasort);
-     if (n < 0)
-@@ -2736,7 +2736,7 @@
-     lc=get_iso_code(current_mim);
-     sprintf(imname,"(input-method %s %s-inscript)\n\n",lc,filenameprefix);
-     strcpy(hdirpath,home_dir);
--    strcat(hdirpath,"/.m17n/");
-+    strcat(hdirpath,"/.m17n.d/");
- 
-     if ( stat (hdirpath , &buf ) != 0 )
-     {
-@@ -2747,7 +2747,7 @@
- 
-     }
- 
--    sprintf(nfilepath,"%s/.m17n/%s-%s-inscript.mim",home_dir,lc,filenameprefix);
-+    sprintf(nfilepath,"%s/.m17n.d/%s-%s-inscript.mim",home_dir,lc,filenameprefix);
-     nfilepath[strlen(nfilepath)]='\0';
-     fpm = fopen(nfilepath, "w+");
- 
-@@ -2904,7 +2904,7 @@
- 
-     home_dir=getenv("HOME");
-     strcpy(sdirpath,home_dir);
--    strcat(sdirpath,"/.m17n/");
-+    strcat(sdirpath,"/.m17n.d/");
- 
-     if ( stat (sdirpath , &buf ) != 0 )
-     {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iok.git/commitdiff/c37aabfc41ac35f9df6af43cd9339334fa1058e3



More information about the pld-cvs-commit mailing list