[tracker] Apply patch to fix build with gtk-2.90.7
Deji Akingunola
deji at fedoraproject.org
Wed Sep 29 03:18:42 UTC 2010
commit c220f480cd4ab28ac0f76d96d8b2765503ae10d3
Author: Deji Akingunola <dakingun at gmail.com>
Date: Tue Sep 28 23:18:53 2010 -0400
Apply patch to fix build with gtk-2.90.7
tracker-gtk-2.90.patch | 14 ++++++++++++++
tracker.spec | 2 ++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/tracker-gtk-2.90.patch b/tracker-gtk-2.90.patch
new file mode 100644
index 0000000..3757450
--- /dev/null
+++ b/tracker-gtk-2.90.patch
@@ -0,0 +1,14 @@
+--- src/plugins/nautilus/tracker-tags-extension.c 2010-08-18 11:23:00.000000000 -0400
++++ src/plugins/nautilus/tracker-tags-extension.c.new 2010-09-28 23:14:09.054708298 -0400
+@@ -125,7 +125,11 @@
+ window,
+ GTK_DIALOG_MODAL |
+ GTK_DIALOG_DESTROY_WITH_PARENT |
++#if GTK_CHECK_VERSION (2,90,7)
++ 0,
++#else
+ GTK_DIALOG_NO_SEPARATOR,
++#endif
+ GTK_STOCK_CLOSE,
+ GTK_RESPONSE_CLOSE,
+ NULL);
diff --git a/tracker.spec b/tracker.spec
index b863f98..89c4132 100644
--- a/tracker.spec
+++ b/tracker.spec
@@ -8,6 +8,7 @@ URL: http://projects.gnome.org/tracker/
Source0: http://ftp.gnome.org/pub/GNOME/sources/tracker/0.8/%{name}-%{version}.tar.bz2
Patch0: tracker-0.8-doc-build.patch
Patch1: tracker-eds-build-fix.patch
+Patch2: tracker-gtk-2.90.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: poppler-glib-devel libxml2-devel libgsf-devel
BuildRequires: libuuid-devel libnotify-devel dbus-devel
@@ -78,6 +79,7 @@ This package contains the documentation for tracker
%setup -q
%patch0 -p0
%patch1 -p0
+%patch2 -p0
%global evo_plugins_dir %(pkg-config evolution-plugin --variable=plugindir)
More information about the scm-commits
mailing list