[input-pad] Added input-pad-HEAD.patch from upstream.

Takao Fujiwara fujiwara at fedoraproject.org
Mon Jan 17 03:14:04 UTC 2011


commit e5b5288ce23a8adcd838d65c550ad39ee2579c7c
Author: Takao Fujiwara <tfujiwar at redhat.com>
Date:   Mon Jan 17 12:13:41 2011 +0900

    Added input-pad-HEAD.patch from upstream.

 input-pad-HEAD.patch |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++
 input-pad.spec       |    7 ++++-
 2 files changed, 66 insertions(+), 2 deletions(-)
---
diff --git a/input-pad-HEAD.patch b/input-pad-HEAD.patch
new file mode 100644
index 0000000..db3574d
--- /dev/null
+++ b/input-pad-HEAD.patch
@@ -0,0 +1,61 @@
+From 7d2c3c6071cff7970a6a976b26915e63aa929f40 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1 at gmail.com>
+Date: Thu, 9 Dec 2010 18:01:27 +0900
+Subject: [PATCH] Added Rupee symbol (U+20B9)
+
+---
+ data/base.xml.in |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/data/base.xml.in b/data/base.xml.in
+index 21f29cf..4111775 100644
+--- a/data/base.xml.in
++++ b/data/base.xml.in
+@@ -10,7 +10,7 @@
+ 0x00A2 0x00A3 0x00A5 0x20A0 0x20A1 0x20A2
+ 0x20A3 0x20A4 0x20A5 0x20A6 0x20A7 0x20A8
+ 0x20A9 0x20AA 0x20AB 0x20AC 0x20AD 0x20AE
+-0x20AF 0x20B0 0x20B1
++0x20AF 0x20B0 0x20B1 0x20B9
+ 0xFF04 0xFFE0 0xFFE1 0xFFE5 0xFFE6
+         </chars>
+       </table>
+-- 
+1.7.3.2
+
+From a0f0ec729bf4653cdd23d1b517b3ae56e84352e9 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1 at gmail.com>
+Date: Mon, 17 Jan 2011 11:52:57 +0900
+Subject: [PATCH] Removed gtk_set_locale() for GTK3.
+
+---
+ input-pad/window-gtk.c |    6 +++++-
+ 1 files changed, 5 insertions(+), 1 deletions(-)
+
+diff --git a/input-pad/window-gtk.c b/input-pad/window-gtk.c
+index 372c611..a7ec01e 100644
+--- a/input-pad/window-gtk.c
++++ b/input-pad/window-gtk.c
+@@ -31,6 +31,10 @@
+ #include <string.h> /* strlen */
+ #include <stdlib.h> /* exit */
+ 
++#ifdef ENABLE_NLS
++#include <locale.h>
++#endif
++
+ #include "i18n.h"
+ #include "button-gtk.h"
+ #include "combobox-gtk.h"
+@@ -4508,7 +4512,7 @@ input_pad_window_init (int *argc, char ***argv, InputPadWindowType type)
+     bindtextdomain (GETTEXT_PACKAGE, IBUS_LOCALEDIR);
+     bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ 
+-    gtk_set_locale ();
++    setlocale (LC_ALL, "");
+ #endif
+ 
+     if (type != INPUT_PAD_WINDOW_TYPE_GTK) {
+-- 
+1.7.3.2
+
diff --git a/input-pad.spec b/input-pad.spec
index 9088571..97e89f5 100644
--- a/input-pad.spec
+++ b/input-pad.spec
@@ -21,12 +21,13 @@
 
 Name:       input-pad
 Version:    1.0.0
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    On-screen Input Pad to Send Characters with Mouse
 License:    LGPLv2+
 Group:      System Environment/Libraries
 URL:        http://code.google.com/p/input-pad/
 Source0:    http://input-pad.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0:     input-pad-HEAD.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -96,6 +97,7 @@ The input-pad-eek package contains eekboard extension module
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
@@ -187,8 +189,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
-* Mon Jan 10 2011 Matthias Clasen <mclasen at redhat.com> - 1.0.0-2
+* Mon Jan 17 2011 Takao Fujiwara <tfujiwar at redhat.com> - 1.0.0-3
 - Rebuild against newer gtk3
+- Added input-pad-HEAD.patch from upstream.
 
 * Tue Nov 30 2010 Takao Fujiwara <tfujiwar at redhat.com> - 1.0.0-1
 - Bumped to 1.0.0


More information about the scm-commits mailing list