[gnotime] Patch for api version.
Jon Ciesla
limb at fedoraproject.org
Wed Jan 19 18:15:46 UTC 2011
commit 4420181ac2c1ef5bc60c0ee95904f6c0efd95b2a
Author: Jon Ciesla <limb at jcomserv.net>
Date: Wed Jan 19 12:15:19 2011 -0600
Patch for api version.
gnotime-2.3.0-apiversion.patch | 11 +++++++++++
gnotime.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/gnotime-2.3.0-apiversion.patch b/gnotime-2.3.0-apiversion.patch
new file mode 100644
index 0000000..3d39b96
--- /dev/null
+++ b/gnotime-2.3.0-apiversion.patch
@@ -0,0 +1,11 @@
+--- configure.in~ 2008-02-15 14:02:22.000000000 -0600
++++ configure.in 2011-01-19 12:06:27.000000000 -0600
+@@ -166,7 +166,7 @@
+ dnl *******************************
+
+ GTKHTMLPRESENT=no
+-for GTKHTMLVER in 3.14 3.13 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.2 3.1 3.0 ; do
++for GTKHTMLVER in 3.15 3.14 3.13 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.2 3.1 3.0 ; do
+ if $PKG_CONFIG --exists libgtkhtml-$GTKHTMLVER ; then
+ PKG_CHECK_MODULES(LIBGTKHTML, libgtkhtml-$GTKHTMLVER >= $LIBGTKHTML_REQUIRED)
+ GTKHTMLPRESENT=yes
diff --git a/gnotime.spec b/gnotime.spec
index d13f4ad..1b90bef 100644
--- a/gnotime.spec
+++ b/gnotime.spec
@@ -8,6 +8,7 @@ License: GPLv2+
URL: http://gttr.sourceforge.net/
Source0: http://downloads.sf.net/gttr/%{name}-%{version}.tar.gz
Patch0: gnotime-2.3.0-description-column.patch
+Patch1: gnotime-2.3.0-apiversion.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtkhtml3-devel
@@ -40,6 +41,7 @@ been split out, renamed, and greatly enhanced since then.
%setup -q
%patch0 -p0
+%patch1 -p0
sed -i 's/\(Icon=.*\)\.png/\1/' gnotime.desktop.in
@@ -115,7 +117,7 @@ scrollkeeper-update -q || :
%changelog
* Mon Jan 03 2011 Jon Ciesla <limb at jcomserv.net> - 2.3.0-8
-- Rebuild for gtkhtml.
+- Rebuild for gtkhtml, patch for new API version.
* Fri Jun 25 2010 Jon Ciesla <limb at jcomserv.net> - 2.3.0-7
- Fix for dsolink FTBFS, BZ 599886.
More information about the scm-commits
mailing list