- Make trackerd start on x86_64 (Bug #286361, fix by Will Woods)

This commit is contained in:
Deji Akingunola 2007-09-11 19:52:50 +00:00
parent 433e53743d
commit 2dd109ea0f
2 changed files with 27 additions and 1 deletions

View File

@ -1,11 +1,12 @@
Summary: An object database, tag/metadata database, search tool and indexer
Name: tracker
Version: 0.6.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.gnome.org/~jamiemcc/tracker/
Source0: http://www.gnome.org/~jamiemcc/tracker/%{name}-%{version}.tar.bz2
Patch0: trackerd-getenv.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gmime-devel, poppler-devel, gettext
BuildRequires: gnome-desktop-devel, gamin-devel, exempi-devel
@ -50,6 +51,7 @@ GNOME libraries
%prep
%setup -q
%patch0 -p1 -b .getenv
%define deskbar_applet_ver %(pkg-config --modversion deskbar-applet)
%build
@ -126,6 +128,9 @@ rm -rf %{buildroot}
%{_datadir}/autostart/*.desktop
%changelog
* Tue Sep 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.6.2-2
- Make trackerd start on x86_64 (Bug #286361, fix by Will Woods)
* Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 0.6.2-1
- Version 0.6.2

21
trackerd-getenv.patch Normal file
View File

@ -0,0 +1,21 @@
diff -up tracker-0.6.2/src/trackerd/tracker-apps.c.getenv tracker-0.6.2/src/trackerd/tracker-apps.c
--- tracker-0.6.2/src/trackerd/tracker-apps.c.getenv 2007-08-18 20:31:41.000000000 -0400
+++ tracker-0.6.2/src/trackerd/tracker-apps.c 2007-09-11 12:47:38.000000000 -0400
@@ -18,7 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
-#include<string.h>
+#include <stdlib.h>
+#include <string.h>
#include "tracker-apps.h"
#include "tracker-db.h"
@@ -51,6 +52,7 @@ tracker_applications_add_service_directo
value = getenv ("XDG_DATA_DIRS");
if (value != NULL) {
gchar **dir_array;
+ tracker_log ("XDG_DATA_DIRS is at %p",value);
dir_array = g_strsplit (value, ":", 0);
gint i;