Apply patch to fix build with gtk-2.90.7

This commit is contained in:
Deji Akingunola 2010-09-28 23:18:53 -04:00
parent 7bd7af83f6
commit c220f480cd
2 changed files with 16 additions and 0 deletions

14
tracker-gtk-2.90.patch Normal file
View File

@ -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);

View File

@ -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)