[Fedora-i18n-bugs] [eekboard/f17] Update to 1.0.7-2.
Daiki Ueno
ueno at fedoraproject.org
Fri Apr 20 03:05:44 UTC 2012
commit 14300f9ee9627e0a85b7b5fd45a55e41eaefdc19
Author: Daiki Ueno <ueno at unixuser.org>
Date: Fri Apr 20 12:05:37 2012 +0900
Update to 1.0.7-2.
eekboard-fix-crash.patch | 27 +++++++++++++++++++++++++++
eekboard.spec | 12 ++++++++----
2 files changed, 35 insertions(+), 4 deletions(-)
---
diff --git a/eekboard-fix-crash.patch b/eekboard-fix-crash.patch
new file mode 100644
index 0000000..75b811a
--- /dev/null
+++ b/eekboard-fix-crash.patch
@@ -0,0 +1,27 @@
+From 4df2ecc8ae08872614dc7c250f8df0aa7ea20938 Mon Sep 17 00:00:00 2001
+From: Daiki Ueno <ueno at unixuser.org>
+Date: Mon, 16 Apr 2012 14:37:18 +0900
+Subject: [PATCH] Don't abort when failed to load keyboard.
+
+---
+ src/client.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/client.c b/src/client.c
+index d85c87a..ee0c577 100644
+--- a/src/client.c
++++ b/src/client.c
+@@ -779,8 +779,8 @@ set_keyboards (Client *client,
+ for (p = keyboards; *p != NULL; p++) {
+ keyboard_id = eekboard_context_add_keyboard (client->context, *p, NULL);
+ if (keyboard_id == 0) {
+- g_slist_free (head);
+- return FALSE;
++ g_warning ("can't add keyboard %s", *p);
++ continue;
+ }
+ client->keyboards = g_slist_prepend (client->keyboards,
+ GUINT_TO_POINTER(keyboard_id));
+--
+1.7.7.6
+
diff --git a/eekboard.spec b/eekboard.spec
index 3cc430f..80f4e39 100644
--- a/eekboard.spec
+++ b/eekboard.spec
@@ -1,18 +1,17 @@
Name: eekboard
Version: 1.0.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Yet Another Virtual Keyboard
Group: Applications/System
License: GPLv3+
URL: http://fedorahosted.org/eekboard/
Source0: http://github.com/downloads/ueno/eekboard/eekboard-%{version}.tar.gz
+Patch0: eekboard-fix-crash.patch
BuildRequires: libXtst-devel
BuildRequires: gtk3-devel
BuildRequires: libxklavier-devel
BuildRequires: at-spi2-core-devel
-# at-spi2-core-devel has missing BR: dbus-glib-devel
-BuildRequires: dbus-glib-devel
BuildRequires: intltool desktop-file-utils
BuildRequires: gobject-introspection-devel
BuildRequires: libcroco-devel
@@ -47,6 +46,7 @@ This package contains the development tools for eekboard.
%prep
%setup -q
+%patch0 -p1 -b .fix-crash
%build
@@ -118,12 +118,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Tue Apr 17 2012 Daiki Ueno <dueno at redhat.com> - 1.0.7-2
+- remove unnecessary BR: dbus-glib-devel
+- add eekboard-fix-crash.patch
+
* Fri Apr 13 2012 Daiki Ueno <dueno at redhat.com> - 1.0.7-1
- new upstream release
- drop unnecessary %%defattr(-,root,root,-) from %%files
* Sat Mar 31 2012 Daiki Ueno <dueno at redhat.com> - 1.0.6-2
-- Add provides/obsoletes for -python subpackage (fixes #808634)
+- add provides/obsoletes for -python subpackage (fixes #808634)
* Fri Mar 30 2012 Daiki Ueno <dueno at redhat.com> - 1.0.6-1
- new upstream release
More information about the i18n-bugs
mailing list