summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-11-21 17:48:20 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-11-21 17:48:20 +0000
commit79744e6ef9fb218e65646573a4cdbc3c2e5db5ec (patch)
treef5c43c4d4dd2928e06689fcea8c8408dd8133f5e /app-misc/tracker
parentadd gsf useflag for tracker (diff)
downloadgentoo-2-79744e6ef9fb218e65646573a4cdbc3c2e5db5ec.tar.gz
gentoo-2-79744e6ef9fb218e65646573a4cdbc3c2e5db5ec.tar.bz2
gentoo-2-79744e6ef9fb218e65646573a4cdbc3c2e5db5ec.zip
add tracker
(Portage version: 2.1.2_rc2-r1)
Diffstat (limited to 'app-misc/tracker')
-rw-r--r--app-misc/tracker/ChangeLog10
-rw-r--r--app-misc/tracker/Manifest20
-rw-r--r--app-misc/tracker/files/digest-tracker-0.5.23
-rw-r--r--app-misc/tracker/files/tracker-0.5.2-configure.in.patch669
-rw-r--r--app-misc/tracker/metadata.xml12
-rw-r--r--app-misc/tracker/tracker-0.5.2.ebuild83
6 files changed, 797 insertions, 0 deletions
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog
new file mode 100644
index 000000000000..d2befe688382
--- /dev/null
+++ b/app-misc/tracker/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/tracker
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.1 2006/11/21 17:48:20 compnerd Exp $
+
+*tracker-0.5.2 (21 Nov 2006)
+
+ 21 Nov 2006; <compnerd@gentoo.org>
+ +files/tracker-0.5.2-configure.in.patch, +tracker-0.5.2.ebuild:
+ Initial import, patch and ebuild by Saleem Abdulrasool <compnerd@gentoo.org>
+
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
new file mode 100644
index 000000000000..db53a91daed3
--- /dev/null
+++ b/app-misc/tracker/Manifest
@@ -0,0 +1,20 @@
+AUX tracker-0.5.2-configure.in.patch 21024 RMD160 fc7cd77b19bbdcf5809748b1e3ea66f6ae060507 SHA1 71bab92e3339f857cf021bcae3b4fd3b6cf044c0 SHA256 e8f4eec9584c4c55fd0f4734335c38a1d3ef290074ec21a9c665a8cdb8e61d5b
+MD5 4e78fe05641fe16dc45817039a5fc40d files/tracker-0.5.2-configure.in.patch 21024
+RMD160 fc7cd77b19bbdcf5809748b1e3ea66f6ae060507 files/tracker-0.5.2-configure.in.patch 21024
+SHA256 e8f4eec9584c4c55fd0f4734335c38a1d3ef290074ec21a9c665a8cdb8e61d5b files/tracker-0.5.2-configure.in.patch 21024
+DIST tracker-0.5.2.tar.gz 1316495 RMD160 6a9cf0e0498923d7c0061dd802de585aceede25e SHA1 4137e962aec10a447bc8bad1c52d229f54731cad SHA256 817a672221c069439b4ad024c2cb138d257ff554c3726e290425254127a9a52c
+EBUILD tracker-0.5.2.ebuild 2076 RMD160 22be928a3497d3eecf1bb71b4ae706ef213b9e4e SHA1 7f95b9052a309bbe4bf44764cc1175932345a5b8 SHA256 e71718eb298c0de88106b9c85adab0397207c53bead3c4039b3954ab7a7f75b6
+MD5 1b9458487eedb2470213bd19b5393137 tracker-0.5.2.ebuild 2076
+RMD160 22be928a3497d3eecf1bb71b4ae706ef213b9e4e tracker-0.5.2.ebuild 2076
+SHA256 e71718eb298c0de88106b9c85adab0397207c53bead3c4039b3954ab7a7f75b6 tracker-0.5.2.ebuild 2076
+MISC ChangeLog 330 RMD160 14b29bd031eaaa5db72ce3886cbb1c273781c6c9 SHA1 36fed6fe163ec6dded6539ce94ffada95ae9c89f SHA256 8115e4f2f8b6d562faf53ca12eb20b078cc26163297c12466560f8e052239c58
+MD5 c9c399b0747931bcb2a749dc8d33a427 ChangeLog 330
+RMD160 14b29bd031eaaa5db72ce3886cbb1c273781c6c9 ChangeLog 330
+SHA256 8115e4f2f8b6d562faf53ca12eb20b078cc26163297c12466560f8e052239c58 ChangeLog 330
+MISC metadata.xml 311 RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 SHA1 0e56da7be32af7c553c07179c574cd7837298702 SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a
+MD5 def57195a8a8fbc9ff84bded4f4c6772 metadata.xml 311
+RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 metadata.xml 311
+SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a metadata.xml 311
+MD5 f48127df41daaa3f636ede28fca9970f files/digest-tracker-0.5.2 244
+RMD160 67468104829e367421781d581afe0e61b8989a43 files/digest-tracker-0.5.2 244
+SHA256 f623d68e418edd453058b9d4b32f71f2f890a3bbd8043a80cec83e0a94b31521 files/digest-tracker-0.5.2 244
diff --git a/app-misc/tracker/files/digest-tracker-0.5.2 b/app-misc/tracker/files/digest-tracker-0.5.2
new file mode 100644
index 000000000000..76969ce816c4
--- /dev/null
+++ b/app-misc/tracker/files/digest-tracker-0.5.2
@@ -0,0 +1,3 @@
+MD5 1bccb8522668a791366aeb25d43b5da7 tracker-0.5.2.tar.gz 1316495
+RMD160 6a9cf0e0498923d7c0061dd802de585aceede25e tracker-0.5.2.tar.gz 1316495
+SHA256 817a672221c069439b4ad024c2cb138d257ff554c3726e290425254127a9a52c tracker-0.5.2.tar.gz 1316495
diff --git a/app-misc/tracker/files/tracker-0.5.2-configure.in.patch b/app-misc/tracker/files/tracker-0.5.2-configure.in.patch
new file mode 100644
index 000000000000..6ee1c6dc45ed
--- /dev/null
+++ b/app-misc/tracker/files/tracker-0.5.2-configure.in.patch
@@ -0,0 +1,669 @@
+--- configure.in.orig 2006-11-20 19:34:10.000000000 -0600
++++ configure.in 2006-11-20 21:07:29.000000000 -0600
+@@ -2,22 +2,21 @@
+ # Process this file with autoconf to produce a configure script.
+ # This file is part of Tracker.
+
+-AC_PREREQ(2.57)
+-AC_INIT([tracker],[0.5.2],[tracker-list@gnome.org])
++AC_PREREQ([2.57])
++AC_INIT([tracker], [0.5.2], [tracker-list@gnome.org])
++
++AM_CONFIG_HEADER([config.h])
+ AC_CONFIG_SRCDIR([src/trackerd/trackerd.c])
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+
+ AC_SUBST(PACKAGE_URL, [http://www.gnome.org/~jamiemcc/tracker/])
+
+-AM_CONFIG_HEADER(config.h)
+-
+-CFLAGS="$CFLAGS"
+-
+ # Checks for programs.
+ AC_PROG_CC
+-AC_HEADER_STDC
+-
+-AM_PROG_LIBTOOL
++AC_PROG_LN_S
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_PROG_MAKE_SET
+
+ # Checks for header files.
+ AC_HEADER_STDC
+@@ -26,59 +25,50 @@
+ # Checks for functions
+ AC_CHECK_FUNCS([getline])
+
+-# Check for glib 2.0
+-
++dnl Library Checks
++DBUS_REQUIRED=0.60
+ GLIB_REQUIRED=2.9.1
++PANGO_REQUIRED=1.0.0
++GMIME_REQUIRED=2.1.0
+
+-PKG_CHECK_MODULES(GLIB2, [ glib-2.0 >= 2.9.1 ])
++PKG_CHECK_MODULES(GLIB2, [ glib-2.0 >= $GLIB_REQUIRED ])
+ AC_SUBST(GLIB2_CFLAGS)
+ AC_SUBST(GLIB2_LIBS)
+
+ # Check for gthread 2.0
+-PKG_CHECK_MODULES(GTHREAD, [ gthread-2.0 >= 2.9.1 ])
++PKG_CHECK_MODULES(GTHREAD, [ gthread-2.0 >= $GLIB_REQUIRED ])
+ AC_SUBST(GTHREAD_CFLAGS)
+ AC_SUBST(GTHREAD_LIBS)
+
+ # Check for gobject 2.0
+-PKG_CHECK_MODULES(GOBJECT, [ gobject-2.0 >= 2.9.1 ])
++PKG_CHECK_MODULES(GOBJECT, [ gobject-2.0 >= $GLIB_REQUIRED ])
+ AC_SUBST(GOBJECT_CFLAGS)
+ AC_SUBST(GOBJECT_LIBS)
+
+ #Check for pango
+-PKG_CHECK_MODULES(PANGO, [ pango >= 1.0.0 ])
++PKG_CHECK_MODULES(PANGO, [ pango >= $PANGO_REQUIRED ])
+ AC_SUBST(PANGO_CFLAGS)
+ AC_SUBST(PANGO_LIBS)
+
+ # Check for GMime
+-PKG_CHECK_MODULES(GMIME, [ gmime-2.0 >= 2.1.0 ])
++PKG_CHECK_MODULES(GMIME, [ gmime-2.0 >= $GMIME_REQUIRED ])
+ AC_SUBST(GMIME_CFLAGS)
+ AC_SUBST(GMIME_LIBS)
+
+ # Check for Dbus 0.50 or higher
+-PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.50 dbus-glib-1 >= 0.50 ])
++PKG_CHECK_MODULES(DBUS, [ dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED ])
+ AC_SUBST(DBUS_CFLAGS)
+ AC_SUBST(DBUS_LIBS)
+
+ ####################################################################
+ # Compiler warning checks
+ ####################################################################
+-warning_support=yes
+-AC_ARG_ENABLE(warnings, [ --disable-warnings compile without using gcc warnings],
+- [
+- warning_support=no
+- ]
+- )
+-
+-
+-if test "$warning_support" = "yes";
+-then
+- CFLAGS="\
+- -Wall \
+- -Wchar-subscripts \
+- -Wnested-externs -Wpointer-arith \
+- -Wsign-compare \
+- $CFLAGS"
++AC_ARG_ENABLE(warnings,
++ AC_HELP_STRING([--disable-warnings], [disable GCC warnings]),,
++ [enable_warnings=yes])
+
++if test "x$enable_warnings" != "xno" ; then
++ CFLAGS="$CFLAGS -Wall -Wchar-subscripts -Wnested-externs -Wpointer-arith -Wsign-compare"
+ fi
+
+ ####################################################################
+@@ -118,288 +108,243 @@
+ ####################################################################
+ RECENT_GLIB=2.12.0
+
+-PKG_CHECK_MODULES(glib2, [
+- glib-2.0 >= RECENT_GLIB],
+- [have_recent_glib=yes] , [have_recent_glib=no])
++PKG_CHECK_MODULES(glib2, [ glib-2.0 >= RECENT_GLIB ],
++ [have_recent_glib=yes], [have_recent_glib=no])
++
++if test "x$have_recent_glib" = "xyes" ; then
++ AC_DEFINE(HAVE_RECENT_GLIB, 1, [Define if we have recent glib])
++fi
+
+ AM_CONDITIONAL(HAVE_RECENT_GLIB, test "$have_recent_glib" = "yes")
+-test "$have_recent_glib" = "yes" && AC_DEFINE(HAVE_RECENT_GLIB, [], [Define if we have recent glib])
+
+ ####################################################################
+-# check for GStreamer or Xine. Otherwise, call an external video
+-# player (Totem or MPlayer).
++# video handler
+ ####################################################################
+
+-use_gstreamer=yes
+-use_libxine=no
+-
+-AC_ARG_ENABLE(libxine, [ --enable-libxine build using libXine for metadata extraction of video files],
+- [
+- use_libxine=yes
+- use_gstreamer=no
+- ]
+- )
+-
+-AC_ARG_ENABLE(gstreamer, [ --enable-gstreamer build using GStreamer for metadata extraction of video files],
+- [
+- use_libxine=no
+- use_gstreamer=yes
+- ]
+- )
+-
+-videos_are_handled="no"
+-videos_handler="_"
+-
+-AM_CONDITIONAL(USING_GSTREAMER, false)
+-AM_CONDITIONAL(USING_LIBXINE, false)
+-AM_CONDITIONAL(USING_EXTERNAL_VIDEO_PLAYER, false)
+-
+-have_libgstreamer=no
+-have_libxine=no
+-
+-if test "$use_gstreamer" = "yes";
+-then
+- PKG_CHECK_MODULES(GSTREAMER, [
+- gstreamer-0.10 >= 0.10.0],
+- [have_libgstreamer=yes] , [have_libgstreamer=no])
+-
+- if test "$have_libgstreamer" = "yes";
+- then
+- AM_CONDITIONAL(USING_GSTREAMER, true)
+- AC_SUBST(GSTREAMER_CFLAGS)
+- AC_SUBST(GSTREAMER_LIBS)
+-
+- videos_are_handled="yes"
+- videos_handler="GStreamer"
+-
+- AC_DEFINE(HAVE_GSTREAMER, [], [Define if we have GStreamer])
+- fi
+-
+-elif test "$use_libxine" = "yes";
+-then
+- PKG_CHECK_MODULES(XINE, [
+- libxine >= 1.0 ],
+- [have_libxine=yes] , [have_libxine=no])
+-
+- if test "$have_libxine" = "yes";
+- then
+- AM_CONDITIONAL(USING_LIBXINE, true)
+- AC_SUBST(XINE_CFLAGS)
+- AC_SUBST(XINE_LIBS)
+-
+- videos_are_handled="yes"
+- videos_handler="Xine"
+-
+- AC_DEFINE(HAVE_LIBXINE, [], [Define if we have Libxine])
+- fi
+-fi
+-
+-if test "$have_libgstreamer" = "no" && test "$have_libxine" = "no";
+-then
+- AM_CONDITIONAL(USING_EXTERNAL_VIDEO_PLAYER, true)
+-
+- videos_are_handled="?"
+- videos_handler="An external video player will be called"
+-
+- AC_DEFINE(USING_EXTERNAL_VIDEO_PLAYER, [], [Define that Tracker will try to use external video players])
++VIDEO_HANDLER=""
++XINE_REQUIRED=1.0
++GSTREAMER_REQUIRED=0.10.0
++
++AC_ARG_ENABLE(libxine,
++ AC_HELP_STRING([--enable-libxine], [build using libXine for metadata extraction of video files]),,
++ [enable_libxine=yes enable_gstreamer=no])
++
++AC_ARG_ENABLE(gstreamer,
++ AC_HELP_STRING([--enable-gstreamer], [build using GStreamer for metadata extraction of video files]),,
++ [enable_libxine=no enable_gstreamer=yes])
++
++if test "x$enable_gstreamer" != "xno" ; then
++ PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10 >= $GSTREAMER_REQUIRED])
++ AC_SUBST([GSTREAMER_CFLAGS])
++ AC_SUBST([GSTREAMER_LIBS])
++
++ VIDEO_HANDLER="gstreamer"
++ AC_DEFINE(HAVE_GSTREAMER, 1, [Define if we have GStreamer])
++elif test "x$enable_libxine" != "xno" ; then
++ PKG_CHECK_MODULES(XINE, [ libxine >= $XINE_REQUIRED ])
++ AC_SUBST([XINE_CFLAGS])
++ AC_SUBST([XINE_LIBS])
+
++ VIDEO_HANDLER="libxine"
++ AC_DEFINE(HAVE_LIBXINE, 1, [Define if we have Libxine])
++else
++ VIDEO_HANDLER="external"
++ AC_DEFINE(USING_EXTERNAL_VIDEO_PLAYER, 1, [Define that Tracker will try to use external video players])
+ fi
+
++AM_CONDITIONAL(USING_GSTREAMER, test "x$enable_gstreamer" = "xyes" && test "x$enable_libxine" = "xno")
++AM_CONDITIONAL(USING_LIBXINE, test "x$enable_gstreamer" = "xno" && test "x$enable_libxine" = "xyes")
++AM_CONDITIONAL(USING_EXTERNAL_VIDEO_PLAYER, test "x$enable_gstreamer" = "xno" && test "x$enable_gstreamer" = "xno")
+
+ ####################################################################
+ # Optional database/indexer component checks
+ ####################################################################
+
+-external_sqlite=no
+-AC_DEFINE(USING_SQLITE, [], [Define if we are using sqlite])
++AC_DEFINE(USING_SQLITE, 1, [Define if we are using sqlite])
+ AM_CONDITIONAL(USING_SQLITE, true)
+-AM_CONDITIONAL(USING_EXTERNAL_SQLITE, false)
+
+-AM_CONDITIONAL(BUILD_TEST, false)
++SQLITE_REQUIRED=3.2
+
+-AC_ARG_ENABLE(test, [ --enable-test build test suite],
+- [
+- AM_CONDITIONAL(BUILD_TEST, true)
+- AC_DEFINE(BUILD_TEST, [], [Define if we are building test stuff])
+- ]
+- )
++AC_ARG_ENABLE(external_sqlite,
++ AC_HELP_STRING([--enable-external-sqlite], [build against system SQLite (must be thread safe)]),,
++ [enable_external_sqlite=no])
++
++if test "x$enable_external_sqlite" != "xno" ; then
++ PKG_CHECK_MODULES(SQLITE3, [ sqlite3 >= $SQLITE_REQUIRED ])
++ AC_SUBST([SQLITE3_CFLAGS])
++ AC_SUBST([SQLITE3_LIBS])
++fi
+
++AM_CONDITIONAL(USING_EXTERNAL_SQLITE, true)
+
+-AC_ARG_ENABLE(external_sqlite, [ --enable-external-sqlite build using system's sqlite which must be a threadsafe version],
+- [
+- external_sqlite=yes
+- ]
+- )
+
++dnl #############################################################
++dnl # Test Suite
++dnl #############################################################
+
+-if test "$external_sqlite" = "yes";
+-then
+- AM_CONDITIONAL(USING_EXTERNAL_SQLITE, true)
+-
+- # Check for SQLite3
+- PKG_CHECK_MODULES(SQLITE3, [ sqlite3 >= 3.2 ])
+- AC_SUBST(SQLITE3_CFLAGS)
+- AC_SUBST(SQLITE3_LIBS)
+-fi
++AC_ARG_ENABLE([tests],
++ AC_HELP_STRING([--enable-tests], [Build the test suite]),,
++ [enable_tests=no])
++
++if test "x$enable_tests" != "xno" ; then
++ AC_DEFINE(BUILD_TEST, 1, [Define if we are building test stuff])
++fi
++
++AM_CONDITIONAL(BUILD_TEST, test "x$enable_tests" != "xno")
+
+ ###############################################################################
+ # Check for file monitor backends
+ ###############################################################################
+-AM_CONDITIONAL(HAVE_INOTIFY, false)
+-AM_CONDITIONAL(HAVE_INOTIFY_LINUX, false)
+-AM_CONDITIONAL(HAVE_FAM, false)
++FS_MONITORING_BACKENDS=""
++PRIMARY_BACKEND="polling only"
+
+ ##################################################################
+ # check for inotify
+ ##################################################################
+
+-inotify_support=no
+-inotify_linux=no
+-inotify_header=none
+-fs_monitor_backends=""
+-primary_backend="polling only"
+-
+-AC_CHECK_HEADERS([linux/inotify.h],
+- [
+- inotify_linux=yes
+- inotify_support=yes
+- AC_DEFINE(HAVE_INOTIFY_LINUX, [], [Define if we have inotify and header is linux/inotify.h])
+- AM_CONDITIONAL(HAVE_INOTIFY_LINUX, true)
+- inotify_header=linux/inotify.h
+- ])
+-
+-AC_CHECK_HEADERS([sys/inotify.h],
+- [
+- inotify_support=yes
+- inotify_linux=no
+- inotify_header=sys/inotify.h
+- ])
++AC_ARG_ENABLE(inotify,
++ AC_HELP_STRING([--disable-inotify], [Disable inotify support]),,
++ [enable_inotify=yes])
++
++if test "x$enable_inotify" != "xno" ; then
++ AC_CHECK_HEADERS([linux/inotify.h])
++
++ if test "x$ac_cv_header_linux_inotify_h" = "xno" ; then
++ AC_CHECK_HEADERS([sys/inotify.h])
++
++ if test "x$ac_cv_header_sys_inotify_h" = "xyes" ; then
++ HAVE_INOTIFY=yes
++ INOTIFY_HEADER="sys/inotify.h"
++ fi
++ else
++ HAVE_INOTIFY=yes
++ INOTIFY_LINUX=yes
++ INOTIFY_HEADER="linux/inotify.h"
+
++ AC_DEFINE(HAVE_INOTIFY_LINUX, 1, [Define if we have inotify and header is linux/inotify.h])
++ fi
++fi
+
++if test "x$HAVE_INOTIFY" = "xyes" ; then
++ AC_DEFINE([HAVE_INOTIFY], 1, [Define if we have inotify])
+
+-AC_ARG_ENABLE(inotify, [ --disable-inotify build without enabling inotify for file monitoring],
+- [
+- inotify_support=no
+- ]
+- )
+-
+-
+-if test "$inotify_support" = "yes";
+-then
+- AC_DEFINE(HAVE_INOTIFY, [], [Define if we have inotify])
+- AM_CONDITIONAL(HAVE_INOTIFY, true)
+- AC_ARG_ENABLE(debug, [ --enable-inotify-debug turn on inotify debugging],
+- [AC_DEFINE(LIBINOTIFY_DEBUG,, [is debugging enabled?])],)
+- fs_monitor_backends="${fs_monitor_backends}inotify "
+- primary_backend="inotify"
++ AC_ARG_ENABLE(inotify-debug,
++ AC_HELP_STRING([--enable-inotify-debug], [enable debugging of inotify backend]),
++ AC_DEFINE(LIBNOTIFY_DEBUG, 1, [Enable libnotify debug]),
++ AC_DEFINE(LIBNOTIFY_DEBUG, 0, [Disable libnotify debug]))
++
++ PRIMARY_BACKEND="inotify"
++ FS_MONITORING_BACKENDS="inotify"
++elif test "x$enable_inotify" != "xno" ; then
++ AC_MSG_ERROR([inotify headers were not found])
+ fi
+
++AM_CONDITIONAL(HAVE_INOTIFY, test "x$HAVE_INOTIFY" = "xyes")
++AM_CONDITIONAL(HAVE_INOTIFY_LINUX, test "x$HAVE_INOTIFY_LINUX" = "xyes")
+
+
+ ##################################################################
+ # check for FAM/GAMIN
+ ##################################################################
+
+-FAM_LIBS=
+-disable_fam=no
+-AC_ARG_ENABLE(fam, [ --disable-fam build without enabling fam for file monitoring],
+- [
+- disable_fam=yes
+- ]
+- )
++GAMIN_REQUIRED=0.1.1
+
+-if test "$disable_fam" = "no"
+-then
+- PKG_CHECK_MODULES(GAMIN,
+- gamin,
+- [have_fam=yes] , [have_fam=no])
+-
+- if test x"$have_fam" = "xyes"
+- then
+- AC_DEFINE(HAVE_FAM, [], [Define if we have FAM])
+- AM_CONDITIONAL(HAVE_FAM, true)
+- if test "$fs_monitor_backends" = ""; then
+- primary_backend="gamin"
+- FAM_LIBS="-lgamin-1"
+- fi
+- fs_monitor_backends="${fs_monitor_backends}gamin"
+- else
+- AC_CHECK_LIB(fam, FAMOpen,
+- [AC_CHECK_HEADERS(fam.h,
+- [AC_DEFINE(HAVE_FAM, [], [Define if we have FAM])
+- AM_CONDITIONAL(HAVE_FAM, true)
+- if test "$fs_monitor_backends" = ""; then
+- primary_backend="fam"
+- FAM_LIBS="-lfam"
+- fi
+- fs_monitor_backends="${fs_monitor_backends}fam"],
+- AC_MSG_WARN(FAM support will not be built (header files not found)))],
+- AC_MSG_WARN(FAM support will not be built (FAM library not found)))
+- fi
++AC_ARG_ENABLE([fam],
++ AC_HELP_STRING([--disable-fam], [Disable FAM/GAMIN support]),,
++ [enable_fam=yes])
++
++if test "x$enable_fam" != "xno" ; then
++ PKG_CHECK_MODULES(FAM, [gamin >= $GAMIN_REQUIRED],
++ [have_gamin=yes], [have_gamin=no])
++
++ if test "x$have_gamin" = "xno" ; then
++ AC_CHECK_HEADERS([fam.h])
++
++ LIBS_SAVE="$LIBS"
++ AC_CHECK_LIB([fam], [FAMOpen], [FAM_LIBS="-lfam"], [AC_MSG_ERROR([FAM or GAMIN not found])])
++ LIBS="$LIBS_SAVE"
++
++ if test "x$FS_MONITORING_BACKENDS" = "x" ; then
++ PRIMARY_BACKEND="FAM"
++ FS_MONITORING_BACKENDS="FAM"
++ else
++ FS_MONITORING_BACKENDS="$FS_MONITORING_BACKENDS, FAM"
++ fi
++ else
++ if test "x$FS_MONITORING_BACKENDS" = "x" ; then
++ PRIMARY_BACKEND="gamin"
++ FS_MONITORING_BACKENDS="gaim"
++ else
++ FS_MONITORING_BACKENDS="FS_MONITORING_BACKENDS, gamin"
++ fi
++ fi
++
++ AC_SUBST(FAM_LIBS)
+ fi
+-
+-AC_SUBST(FAM_LIBS)
+
++AC_DEFINE(HAVE_FAM, 1, [Define if we have FAM])
++AM_CONDITIONAL(HAVE_FAM, test "x$enable_fam" != "xno")
+
+ ##################################################################
+ # check for GNOME/GTK dependencies to build tracker search tool (Gnome client)
+ ##################################################################
+
+ GTK_REQUIRED=2.8.0
+-LIBGNOME_DESKTOP_REQUIRED=2.9.91
+-LIBGNOME_REQUIRED=2.13.2
+-LIBGNOMEUI_REQUIRED=2.13.7
+ LIBGLADE_REQUIRED=2.5.0
+-GNOMEVFS_REQUIRED=2.8.4
++GNOMEVFS_REQUIRED=2.10.0
++LIBGNOME_REQUIRED=2.14.0
++LIBGNOMEUI_REQUIRED=2.14.0
++LIBGNOME_DESKTOP_REQUIRED=2.10.0
++
++AC_ARG_ENABLE(gui,
++ AC_HELP_STRING([--disable-gui], [Dont build the GTK+ GUI]),,
++ [enable_gui=yes])
++
++if test "x$enable_gui" != "xno" ; then
++ PKG_CHECK_MODULES(GNOME_UTILS, [gtk+-2.0 >= $GTK_REQUIRED,
++ libgnome-2.0 >= $LIBGNOME_REQUIRED,
++ libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED])
++ AC_SUBST(GNOME_UTILS_CFLAGS)
++ AC_SUBST(GNOME_UTILS_LIBS)
++
++ PKG_CHECK_MODULES(GNOMEVFS, [gtk+-2.0 >= $GTK_REQUIRED,
++ libgnome-2.0 >= $LIBGNOME_REQUIRED,
++ libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED])
++ AC_SUBST(GNOMEVFS_CFLAGS)
++ AC_SUBST(GNOMEVFS_LIBS)
++
++ PKG_CHECK_MODULES(GNOMEDESKTOP, [gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED])
++ AC_SUBST(GNOMEDESKTOP_CFLAGS)
++ AC_SUBST(GNOMEDESKTOP_LIBS)
+
+-PKG_CHECK_MODULES(GNOME_UTILS, [
+- gtk+-2.0 >= $GTK_REQUIRED
+- libgnome-2.0 >= $LIBGNOME_REQUIRED
+- libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED],
+- [have_gnome=yes] , [have_gnome=no])
+-
+-PKG_CHECK_MODULES(GNOMEVFS, [
+- gnome-vfs-2.0 >= $GNOMEVFS_REQUIRED
+- gnome-vfs-module-2.0 >= $GNOMEVFS_REQUIRED],
+- [have_gnome=yes] , [have_gnome=no])
+-
+-PKG_CHECK_MODULES(GNOMEDESKTOP, [
+- gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED],
+- [have_gnome=yes] , [have_gnome=no])
+-
+-
+-AM_CONDITIONAL(HAVE_GNOME, test "$have_gnome" = "yes")
+-AC_SUBST(GNOME_UTILS_CFLAGS)
+-AC_SUBST(GNOME_UTILS_LIBS)
+-AC_SUBST(GNOMEVFS_CFLAGS)
+-AC_SUBST(GNOMEVFS_LIBS)
+-AC_SUBST(GNOMEDESKTOP_CFLAGS)
+-AC_SUBST(GNOMEDESKTOP_LIBS)
+-
+-if test "$have_gnome" = "yes"; then
+ GNOME_COMMON_INIT
+ fi
+
++AM_CONDITIONAL(HAVE_GNOME, test "x$enable_gui" != "xno")
+
+ ##################################################################
+ # check for poppler's glib bingings
+ ##################################################################
+
+-POPPLER_GLIB_REQUIRED=0.4.5
+-CAIRO_REQUIRED=1.0
+ GDK_REQUIRED=1.0
++CAIRO_REQUIRED=1.0
++POPPLER_GLIB_REQUIRED=0.4.5
+
+-PKG_CHECK_MODULES(POPPLER_GLIB, [
+- poppler-glib >= $POPPLER_GLIB_REQUIRED
+- cairo >= $CAIRO_REQUIRED
+- gdk-2.0 >= $GDK_REQUIRED],
+- [have_poppler=yes] , [have_poppler=no])
+-
+-AM_CONDITIONAL(HAVE_POPPLER_GLIB, test "$have_poppler" = "yes")
+-AC_SUBST(POPPLER_GLIB_CFLAGS)
+-AC_SUBST(POPPLER_GLIB_LIBS)
+-test "$have_poppler" = "yes" && AC_DEFINE(HAVE_POPPLER, [], [Define if we have poppler])
++AC_ARG_ENABLE([pdf],
++ AC_HELP_STRING([--disable-pdf], [Disable PDF data extractor]),,
++ [enable_pdf=yes])
++
++if test "x$enable_pdf" != "xno" ; then
++ PKG_CHECK_MODULES(POPPLER_GLIB, [poppler-glib >= $POPPLER_GLIB_REQUIRED,
++ cairo >= $CAIRO_REQUIRED,
++ gdk-2.0 >= $GDK_REQUIRED])
++ AC_SUBST(POPPLER_GLIB_CFLAGS)
++ AC_SUBST(POPPLER_GLIB_LIBS)
+
++ AC_DEFINE(HAVE_POPPLER, 1, [Define if we have poppler])
++fi
++
++AM_CONDITIONAL(HAVE_POPPLER_GLIB, test "x$enable_pdf" != "xno")
+
+ ##################################################################
+ # check for libpng
+@@ -407,15 +352,20 @@
+
+ LIBPNG_REQUIRED=1.2
+
+-PKG_CHECK_MODULES(LIBPNG, [
+- libpng >= $LIBPNG_REQUIRED],
+- [have_libpng=yes] , [have_png=no])
+-
+-AM_CONDITIONAL(HAVE_LIBPNG, test "$have_libpng" = "yes")
+-AC_SUBST(LIBPNG_CFLAGS)
+-AC_SUBST(LIBPNG_LIBS)
+-test "$have_libpng" = "yes" && AC_DEFINE(HAVE_LIBPNG, [], [Define if we have libpng])
++AC_ARG_ENABLE([png],
++ AC_HELP_STRING([--disable-png], [Disable PNG data extractor]),,
++ [enable_png=yes])
++
++if test "x$enable_png" != "xno" ; then
++ PKG_CHECK_MODULES(LIBPNG, [libpng >= $LIBPNG_REQUIRED])
++
++ AC_SUBST(LIBPNG_CFLAGS)
++ AC_SUBST(LIBPNG_LIBS)
++
++ AC_DEFINE(HAVE_LIBPNG, 1, [Define if we have libpng])
++fi
+
++AM_CONDITIONAL(HAVE_LIBPNG, test "x$enable_png" != "xno")
+
+ ##################################################################
+ # check for libexif
+@@ -423,14 +373,20 @@
+
+ LIBEXIF_REQUIRED=0.6
+
+-PKG_CHECK_MODULES(LIBEXIF, [
+- libexif >= $LIBEXIF_REQUIRED],
+- [have_libexif=yes] , [have_libexif=no])
+-
+-AM_CONDITIONAL(HAVE_LIBEXIF, test "$have_libexif" = "yes")
+-AC_SUBST(LIBEXIF_CFLAGS)
+-AC_SUBST(LIBEXIF_LIBS)
+-test "$have_libexif" = "yes" && AC_DEFINE(HAVE_LIBEXIF, [], [Define if we have libexif])
++AC_ARG_ENABLE(exif,
++ AC_HELP_STRING([--disable-exif], [Disable exif data extractor]),,
++ [enable_exif=yes])
++
++if test "x$enable_exif" != "xno" ; then
++ PKG_CHECK_MODULES(LIBEXIF, [libexif >= $LIBEXIF_REQUIRED])
++
++ AC_SUBST(LIBEXIF_CFLAGS)
++ AC_SUBST(LIBEXIF_LIBS)
++
++ AC_DEFINE(HAVE_LIBEXIF, 1, [Define if we have libexif])
++fi
++
++AM_CONDITIONAL(HAVE_LIBEXIF, test "x$enabel_exif" != "xno")
+
+ ##################################################################
+ # check for libgsf
+@@ -438,14 +394,20 @@
+
+ LIBGSF_REQUIRED=1.13
+
+-PKG_CHECK_MODULES(LIBGSF, [
+- libgsf-1 >= $LIBGSF_REQUIRED],
+- [have_libgsf=yes] , [have_libgsf=no])
+-
+-AM_CONDITIONAL(HAVE_LIBGSF, test "$have_libgsf" = "yes")
+-AC_SUBST(LIBGSF_CFLAGS)
+-AC_SUBST(LIBGSF_LIBS)
+-test "$have_libgsf" = "yes" && AC_DEFINE(HAVE_LIBGSF, [], [Define if we have libgsf])
++AC_ARG_ENABLE(gsf,
++ AC_HELP_STRING([--disable-gsf], [Disable GSF data extractor]),,
++ [enable_gsf=yes])
++
++if test "x$enable_gsf" != "xno" ; then
++ PKG_CHECK_MODULES(LIBGSF, [libgsf-1 >= $LIBGSF_REQUIRED])
++
++ AC_SUBST(LIBGSF_CFLAGS)
++ AC_SUBST(LIBGSF_LIBS)
++
++ AC_DEFINE(HAVE_LIBGSF, 1, [Define if we have libgsf])
++fi
++
++AM_CONDITIONAL(HAVE_LIBGSF, test "x$enable_gsf" != "xno")
+
+ ####################################################################
+ # Check ioprio support
+@@ -505,8 +467,8 @@
+ compiler: ${CC}
+ enable gcc warnings: $warning_support
+ database engine: SQLite
+- available file mointor backends: $fs_monitor_backends
+- file monitor backend to be used: $primary_backend
++ available file mointor backends: $FS_MONITORING_BACKENDS
++ file monitor backend to be used: $PRIMARY_BACKEND
+ inotify header location: $inotify_header
+ ioprio support: $ioprio_support
+ build search tool (GNOME): $have_gnome
diff --git a/app-misc/tracker/metadata.xml b/app-misc/tracker/metadata.xml
new file mode 100644
index 000000000000..f760753beb47
--- /dev/null
+++ b/app-misc/tracker/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>compnerd@gentoo.org</email>
+ <name>Saleem Abdulrasool</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+
diff --git a/app-misc/tracker/tracker-0.5.2.ebuild b/app-misc/tracker/tracker-0.5.2.ebuild
new file mode 100644
index 000000000000..4c671afa539d
--- /dev/null
+++ b/app-misc/tracker/tracker-0.5.2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.5.2.ebuild,v 1.1 2006/11/21 17:48:20 compnerd Exp $
+
+inherit eutils autotools flag-o-matic
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="http://www.gnome.org/~jamiemcc/tracker/"
+SRC_URI="http://www.gnome.org/~jamiemcc/tracker/${PF}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="fam gnome gsf gstreamer jpeg pdf png xine"
+
+RDEPEND=">=dev-libs/glib-2.12.0
+ >=dev-libs/gmime-2.1.0
+ >=x11-libs/pango-1.0.0
+ >=sys-apps/dbus-0.60
+ >=dev-db/sqlite-3.2
+ fam? ( >=app-admin/gamin-0.1.7 )
+ gnome? (
+ >=x11-libs/gtk+-2.8
+ >=gnome-base/libgnome-2.14
+ >=gnome-base/gnome-vfs-2.10
+ >=gnome-base/libgnomeui-2.14
+ >=gnome-base/gnome-desktop-2.14
+ )
+ gsf? ( >=gnome-extra/libgsf-1.13 )
+ gstreamer? ( >=media-libs/gstreamer-0.10 )
+ jpeg? ( >=media-gfx/exif-0.6 )
+ pdf? (
+ >=x11-libs/cairo-1.0
+ >=app-text/poppler-bindings-0.5.0
+ )
+ png? ( >=media-libs/libpng-1.2 )
+ xine? ( >=media-libs/xine-lib-1.0 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.22
+ >=sys-devel/gettext-0.14
+ >=dev-util/pkgconfig-0.20"
+
+pkg_setup() {
+ if built_with_use 'dev-db/sqlite' 'nothreadsafe' ; then
+ eerror "You must build sqlite with threading support"
+ die "dev-db/sqlite built with nothreadsafe"
+ fi
+
+ if ! built_with_use 'app-text/poppler-bindings' 'gtk' ; then
+ ewarn "You must build poppler-bindings with gtk to get support for PDFs."
+ die "poppler-bindings needs gtk support"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PN}-0.5.2-configure.in.patch
+ eautoreconf
+}
+
+src_compile() {
+ filter-ldflags -Wl,--as-needed
+
+ econf --enable-external-sqlite \
+ $(use_enable fam) \
+ $(use_enable gnome gui) \
+ $(use_enable gstreamer) \
+ $(use_enable jpeg exif) \
+ $(use_enable pdf) \
+ $(use_enable png) \
+ $(use_enable xine libxine) \
+ || die "configure failed"
+
+ emake || die "build failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}