[gtk-aurora-engine/f17] fix compile against modern glib
Tom Callaway
spot at fedoraproject.org
Thu Mar 22 18:36:44 UTC 2012
commit 460661d45a22bc18971b2679ff48cce558022f4e
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Mar 22 14:36:42 2012 -0400
fix compile against modern glib
gtk-aurora-engine-1.5.1-glibfix.patch | 12 ++++++++++++
gtk-aurora-engine.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gtk-aurora-engine-1.5.1-glibfix.patch b/gtk-aurora-engine-1.5.1-glibfix.patch
new file mode 100644
index 0000000..da4b137
--- /dev/null
+++ b/gtk-aurora-engine-1.5.1-glibfix.patch
@@ -0,0 +1,12 @@
+diff -up gtk-aurora-engine-1.5.1/aurora-1.5/src/animation.c.glibfix gtk-aurora-engine-1.5.1/aurora-1.5/src/animation.c
+--- gtk-aurora-engine-1.5.1/aurora-1.5/src/animation.c.glibfix 2012-03-22 14:33:48.817717635 -0400
++++ gtk-aurora-engine-1.5.1/aurora-1.5/src/animation.c 2012-03-22 14:33:54.602667009 -0400
+@@ -7,7 +7,7 @@
+ #include "animation.h"
+
+ #ifdef HAVE_ANIMATION
+-#include <glib/gtimer.h>
++#include <glib.h>
+
+ struct _AnimationInfo {
+ GTimer *timer;
diff --git a/gtk-aurora-engine.spec b/gtk-aurora-engine.spec
index 94ab7d2..106a1a2 100644
--- a/gtk-aurora-engine.spec
+++ b/gtk-aurora-engine.spec
@@ -1,12 +1,13 @@
Name: gtk-aurora-engine
Version: 1.5.1
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Aurora GTK+ theme engine
Group: System Environment/Libraries
License: GPLv2+
URL: http://gnome-look.org/content/show.php/Aurora+Gtk+Engine?content=56438
Source0: http://gnome-look.org/CONTENT/content-files/56438-aurora-%{version}.tar.bz2
+Patch0: gtk-aurora-engine-1.5.1-glibfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel
@@ -20,6 +21,7 @@ Aurora theme.
%setup -q -c 56438-aurora-%{version}.tar.bz2 -a 0
tar -xzf aurora-gtk-engine-1.5.tar.gz
tar -xjf Aurora.tar.bz2
+%patch0 -p1 -b .glibfix
%build
pushd aurora-1.5
@@ -53,6 +55,9 @@ rm -rf %{buildroot}
%{_datadir}/themes/Aurora/
%changelog
+* Thu Mar 22 2012 Tom Callaway <spot at fedoraproject.org> - 1.5.1-8
+- fix compile against modern glib
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list