rpms/nautilus/devel nautilus-2.16.2-searchengine-order.patch, NONE, 1.1 nautilus.spec, 1.131, 1.132

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Nov 22 13:24:54 UTC 2006


Author: alexl

Update of /cvs/dist/rpms/nautilus/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2086

Modified Files:
	nautilus.spec 
Added Files:
	nautilus-2.16.2-searchengine-order.patch 
Log Message:
* Wed Nov 22 2006 Alexander Larsson <alexl at redhat.com> - 2.16.2-7
- Look for beagle before tracker, because tracker autostarts
  This lets us support having both installed at the same time.
- Remove buildreqs for beagle, as they are not necessary with
  the dynamic work.


nautilus-2.16.2-searchengine-order.patch:
 nautilus-search-engine.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

--- NEW FILE nautilus-2.16.2-searchengine-order.patch ---
--- nautilus-2.16.2/libnautilus-private/nautilus-search-engine.c.order	2006-11-22 13:19:49.000000000 +0100
+++ nautilus-2.16.2/libnautilus-private/nautilus-search-engine.c	2006-11-22 13:20:03.000000000 +0100
@@ -126,19 +126,20 @@
 {
 	NautilusSearchEngine *engine;
 	
-#ifdef HAVE_TRACKER
-	engine = nautilus_search_engine_tracker_new ();
+#ifdef HAVE_BEAGLE
+	engine = nautilus_search_engine_beagle_new ();
 	if (engine) {
 		return engine;
 	}
 #endif
-
-#ifdef HAVE_BEAGLE
-	engine = nautilus_search_engine_beagle_new ();
+	
+#ifdef HAVE_TRACKER
+	engine = nautilus_search_engine_tracker_new ();
 	if (engine) {
 		return engine;
 	}
 #endif
+
 	engine = nautilus_search_engine_simple_new ();
 	return engine;
 }


Index: nautilus.spec
===================================================================
RCS file: /cvs/dist/rpms/nautilus/devel/nautilus.spec,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- nautilus.spec	14 Nov 2006 16:33:16 -0000	1.131
+++ nautilus.spec	22 Nov 2006 13:24:51 -0000	1.132
@@ -1,8 +1,3 @@
-%{?!WITH_MONO:  %define WITH_MONO 1}
-%ifarch ppc64 s390 s390x
-%define WITH_MONO 0
-%endif
-
 %define glib2_version 2.6.0
 %define pango_version 1.1.3
 %define gtk2_version 2.6.0
@@ -24,7 +19,7 @@
 Name:		nautilus
 Summary:        Nautilus is a file manager for GNOME.
 Version: 	2.16.2
-Release:	6%{?dist}
+Release:	7%{?dist}
 License: 	GPL
 Group:          User Interface/Desktops
 Source: 	ftp://ftp.gnome.org/pub/GNOME/sources/2.7/%{name}/%{name}-%{version}.tar.bz2
@@ -67,11 +62,6 @@
 BuildRequires:  startup-notification-devel >= %{startup_notification_version}
 BuildRequires:  libexif-devel >= %{libexif_version}
 BuildRequires:  gettext
-%if %{WITH_MONO}
-BuildRequires:  libbeagle-devel
-%else
-%define disable_beagle --disable-beagle
-%endif
 # For intltool:
 BuildRequires: perl-XML-Parser >= 2.31-16
 
@@ -93,6 +83,8 @@
 Patch7:		nautilus-2.16.2-icons-overlap-revert.patch
 # From upstream
 Patch8:		nautilus-2.16.2-directory-unref-crash.patch
+# Use beagle first, since tracker autostarts
+Patch9:		nautilus-2.16.2-searchengine-order.patch
 
 %description
 Nautilus integrates access to files, applications, media,
@@ -128,11 +120,12 @@
 %patch6 -p1 -b .dynamic-search
 %patch7 -p1 -b .icons-overlap-revert
 %patch8 -p1 -b .directory-unref-crash
+%patch9 -p1 -b .searchengine-order
 
 %build
 
 libtoolize --force --copy
-CFLAGS="$RPM_OPT_FLAGS -g -DUGLY_HACK_TO_DETECT_KDE -DNAUTILUS_OMIT_SELF_CHECK" %configure --disable-more-warnings --disable-update-mimedb %{disable_beagle}
+CFLAGS="$RPM_OPT_FLAGS -g -DUGLY_HACK_TO_DETECT_KDE -DNAUTILUS_OMIT_SELF_CHECK" %configure --disable-more-warnings --disable-update-mimedb
 
 export tagname=CC
 LANG=en_US make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}
@@ -221,6 +214,12 @@
 %{_libdir}/*.so
 
 %changelog
+* Wed Nov 22 2006 Alexander Larsson <alexl at redhat.com> - 2.16.2-7
+- Look for beagle before tracker, because tracker autostarts
+  This lets us support having both installed at the same time.
+- Remove buildreqs for beagle, as they are not necessary with
+  the dynamic work.
+
 * Tue Nov 14 2006 Matthias Clasen <mclasen at redhat.com> - 2.16.2-6
 - Detect tracker dynamically, too
 




More information about the fedora-cvs-commits mailing list