]> git.pld-linux.org Git - packages/iok.git/commitdiff
- updated to 2.1.3 (GTK+ 3 based) auto/th/iok-2.1.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Sep 2012 08:52:20 +0000 (10:52 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Sep 2012 08:52:20 +0000 (10:52 +0200)
- removed obsolete fix-non-standard-keymap-path patch

iok-fix-non-standard-keymap-path.patch [deleted file]
iok.spec

diff --git a/iok-fix-non-standard-keymap-path.patch b/iok-fix-non-standard-keymap-path.patch
deleted file mode 100644 (file)
index f360e14..0000000
+++ /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 )
-     {
index 8914a578d68c84d07999d50eb8108e50a206a803..d068f33308ac6a41558f64980757cea1328dbc73 100644 (file)
--- 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*
This page took 0.082915 seconds and 4 git commands to generate.