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)