[packages/gtkhotkey] - added patch from https://bugs.launchpad.net/gtkhotkey/+bug/898334 - rel. 0.2
wrobell
wrobell at pld-linux.org
Tue Sep 11 21:14:21 CEST 2012
commit 0538bb22369532ae196b23e119b220fe30c0ff38
Author: wrobell <wrobell at pld-linux.org>
Date: Tue Sep 11 20:13:39 2012 +0100
- added patch from https://bugs.launchpad.net/gtkhotkey/+bug/898334
- rel. 0.2
gtkhotkey-glib.patch | 26 ++++++++++++++++++++++++++
gtkhotkey.spec | 5 ++++-
2 files changed, 30 insertions(+), 1 deletion(-)
---
diff --git a/gtkhotkey.spec b/gtkhotkey.spec
index 2529244..e5ef1d9 100644
--- a/gtkhotkey.spec
+++ b/gtkhotkey.spec
@@ -1,11 +1,13 @@
Summary: Platform independent hotkey handling for Gtk+ applications
Name: gtkhotkey
Version: 0.2.1
-Release: 0.1
+Release: 0.2
License: LGPL v3+
Group: Libraries
Source0: https://launchpad.net/gtkhotkey/0.2/0.2.1/+download/%{name}-%{version}.tar.gz
# Source0-md5: bfdc73e68e9adbe0d506d31a25862914
+# see https://bugs.launchpad.net/gtkhotkey/+bug/898334
+Patch0: %{name}-glib.patch
URL: https://launchpad.net/gtkhotkey
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,6 +33,7 @@ Static Gtk Hotkey library.
%prep
%setup -q
+%patch0 -p1
%build
%configure
diff --git a/gtkhotkey-glib.patch b/gtkhotkey-glib.patch
new file mode 100644
index 0000000..79f2533
--- /dev/null
+++ b/gtkhotkey-glib.patch
@@ -0,0 +1,26 @@
+Index: gtkhotkey-0.2.1/src/gtk-hotkey-error.h
+===================================================================
+--- gtkhotkey-0.2.1.orig/src/gtk-hotkey-error.h
++++ gtkhotkey-0.2.1/src/gtk-hotkey-error.h
+@@ -23,7 +23,7 @@
+ #ifndef __GTK_HOTKEY_ERROR_H__
+ #define __GTK_HOTKEY_ERROR_H__
+
+-#include <glib/gquark.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
+Index: gtkhotkey-0.2.1/src/x11/tomboykeybinder.h
+===================================================================
+--- gtkhotkey-0.2.1.orig/src/x11/tomboykeybinder.h
++++ gtkhotkey-0.2.1/src/x11/tomboykeybinder.h
+@@ -2,7 +2,7 @@
+ #ifndef __TOMBOY_KEY_BINDER_H__
+ #define __TOMBOY_KEY_BINDER_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtkhotkey.git/commitdiff/0538bb22369532ae196b23e119b220fe30c0ff38
More information about the pld-cvs-commit
mailing list