aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tracker
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2008-04-05 17:02:17 +0000
committerMichael Johnson <ahze@FreeBSD.org>2008-04-05 17:02:17 +0000
commit8260674227b3a90061e5948846a574aba6702e1a (patch)
tree72605c324c2a064e13442fb9b7a00bcbd94aba32 /sysutils/tracker
parent61ef341c80d6d45f624d4e8bb437042f948241f3 (diff)
downloadports-8260674227b3a90061e5948846a574aba6702e1a.tar.gz
ports-8260674227b3a90061e5948846a574aba6702e1a.zip
Notes
Diffstat (limited to 'sysutils/tracker')
-rw-r--r--sysutils/tracker/Makefile70
-rw-r--r--sysutils/tracker/distinfo3
-rw-r--r--sysutils/tracker/files/patch-src_libtracker-gtk_Makefile.in13
-rw-r--r--sysutils/tracker/files/patch-src_libtracker-gtk_tracker-tag-bar.h11
-rw-r--r--sysutils/tracker/files/patch-src_tracker-search-tool_Makefile.in20
-rw-r--r--sysutils/tracker/files/patch-src_tracker-search-tool_tracker-search-tool-support.h18
-rw-r--r--sysutils/tracker/files/patch-src_trackerd_tracker-apps.c12
-rw-r--r--sysutils/tracker/files/patch-src_trackerd_tracker-utils.c14
-rw-r--r--sysutils/tracker/pkg-plist152
9 files changed, 27 insertions, 286 deletions
diff --git a/sysutils/tracker/Makefile b/sysutils/tracker/Makefile
index 867d4b49f82d..a78378347327 100644
--- a/sysutils/tracker/Makefile
+++ b/sysutils/tracker/Makefile
@@ -3,52 +3,36 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/tracker/Makefile,v 1.8 2007/10/05 16:55:59 mezz Exp $
+# $MCom: ports-stable/sysutils/tracker/Makefile,v 1.2 2008/03/31 00:28:58 ahze Exp $
#
PORTNAME= tracker
-PORTVERSION= 0.6.2
-PORTREVISION= 2
+PORTVERSION= 0.6.6
+PORTREVISION= 1
CATEGORIES= sysutils gnome
-MASTER_SITES= http://www.gnome.org/~jamiemcc/tracker/
+MASTER_SITES= # empty
+DISTFILES= # empty
+EXTRACT_ONLY= # empty
MAINTAINER= gnome@FreeBSD.org
-COMMENT= Object database, tag/metadata database, search tool and indexer
-
-LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
- poppler-glib.2:${PORTSDIR}/graphics/poppler-gtk \
- exif.12:${PORTSDIR}/graphics/libexif \
- wv-1.2.3:${PORTSDIR}/textproc/wv \
- gmime-2.0.4:${PORTSDIR}/mail/gmime2 \
- sqlite3.8:${PORTSDIR}/databases/sqlite3
-#RUN_DEPENDS= ${LOCALBASE}/lib/deskbar-applet/deskbar-applet:${PORTSDIR}/deskutils/deskbar-applet
-
-USE_BZIP2= yes
-USE_FAM= yes
-WANT_FAM_SYSTEM=gamin
-USE_GNOME= gnomedesktop gnomehack gnomeprefix libgsf
-USE_GMAKE= yes
-USE_GETTEXT= yes
-USE_LDCONFIG= yes
-USE_GSTREAMER= core
-INSTALLS_ICONS= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS= --enable-video-extractor=gstreamer \
- --enable-file-monitoring=fam \
- --with-session-bus-services-dir=${LOCALBASE}/share/dbus-1/services \
- --enable-deskbar-applet \
- --with-deskbar-applet-handler-dir=${LOCALBASE}/lib/deskbar-applet/handlers
-
-MAN1= tracker-extract.1 tracker-files.1 tracker-meta-folder.1 \
- tracker-preferences.1 tracker-query.1 tracker-search.1 \
- tracker-search-tool.1 tracker-stats.1 tracker-status.1 \
- tracker-tag.1 tracker-thumbnailer.1 trackerd.1
-MAN5= tracker.cfg.5
-MAN7= tracker-services.7
-
-post-patch:
- @${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
-
-.include <bsd.port.mk>
+COMMENT= Tracker search tool and indexer metaport
+
+RUN_DEPENDS= trackerd:${PORTSDIR}/sysutils/tracker-client
+
+NO_BUILD= yes
+OPTIONS= GNOME "Gnome preferences, panel applet, and search tool" Off \
+ MSOFFICE "Enable search for Microsoft Office Docs (uses gtk)" Off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GNOME)
+RUN_DEPENDS+= tracker-applet:${PORTSDIR}/sysutils/tracker-gnome
+.endif
+
+.if defined(WITH_MSOFFICE)
+RUN_DEPENDS+= ${LOCALBASE}/lib/tracker/extract-modules/libextract-msoffice.so:${PORTSDIR}/sysutils/tracker-libtrackergtk
+.endif
+
+do-install:
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/tracker/distinfo b/sysutils/tracker/distinfo
deleted file mode 100644
index 01cde91775e7..000000000000
--- a/sysutils/tracker/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (tracker-0.6.2.tar.bz2) = d4d66cd73e6c59ac392565be622370f2
-SHA256 (tracker-0.6.2.tar.bz2) = 8a7e80fe5384c0f5d7f87f43121b48be0b7bc5ccf50fdb2ca81517ce2375b36f
-SIZE (tracker-0.6.2.tar.bz2) = 747560
diff --git a/sysutils/tracker/files/patch-src_libtracker-gtk_Makefile.in b/sysutils/tracker/files/patch-src_libtracker-gtk_Makefile.in
deleted file mode 100644
index e90b89fe89c0..000000000000
--- a/sysutils/tracker/files/patch-src_libtracker-gtk_Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/libtracker-gtk/Makefile.in.orig 2007-08-25 14:42:37.000000000 -0500
-+++ src/libtracker-gtk/Makefile.in 2007-08-25 14:42:59.000000000 -0500
-@@ -324,8 +324,8 @@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- INCLUDES = \
-- $(LIBTRACKERGTK_CFLAGS) \
-- -I$(top_srcdir)/src/libtracker
-+ -I$(top_srcdir)/src/libtracker \
-+ $(LIBTRACKERGTK_CFLAGS)
-
- libtracker_gtkincdir = $(includedir)/libtracker-gtk
- lib_LTLIBRARIES = libtracker-gtk.la
diff --git a/sysutils/tracker/files/patch-src_libtracker-gtk_tracker-tag-bar.h b/sysutils/tracker/files/patch-src_libtracker-gtk_tracker-tag-bar.h
deleted file mode 100644
index 950306602fb2..000000000000
--- a/sysutils/tracker/files/patch-src_libtracker-gtk_tracker-tag-bar.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/libtracker-gtk/tracker-tag-bar.h.orig 2007-07-17 04:35:33.000000000 +0400
-+++ src/libtracker-gtk/tracker-tag-bar.h 2007-08-25 00:53:14.000000000 +0400
-@@ -59,6 +59,8 @@
- const gchar *uri
- );
-
-+GType tracker_tag_bar_get_type(void);
-+
- G_END_DECLS
-
- #endif /* TRACKER_TAG_BAR_H */
diff --git a/sysutils/tracker/files/patch-src_tracker-search-tool_Makefile.in b/sysutils/tracker/files/patch-src_tracker-search-tool_Makefile.in
deleted file mode 100644
index 3690150b0760..000000000000
--- a/sysutils/tracker/files/patch-src_tracker-search-tool_Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/tracker-search-tool/Makefile.in.orig 2007-08-26 16:14:33.000000000 -0500
-+++ src/tracker-search-tool/Makefile.in 2007-08-26 16:15:09.000000000 -0500
-@@ -333,6 +333,7 @@
- desktopdir = $(datadir)/applications
- icondir = $(datadir)/tracker/icons
- INCLUDES = \
-+ -I$(top_srcdir)/src/libtracker \
- $(GLIB2_CFLAGS) \
- $(GNOME_UTILS_CFLAGS) \
- $(GNOMEVFS_CFLAGS) \
-@@ -342,8 +343,7 @@
- -DTRACKER_LOCALEDIR=\""$(localedir)"\" \
- -DTRACKER_DATADIR=\""$(datadir)"\" \
- -DGREP_COMMAND=\""$(GREP_COMMAND)"\" \
-- $(LIBTRACKERGTK_CFLAGS) \
-- -I$(top_srcdir)/src/libtracker
-+ $(LIBTRACKERGTK_CFLAGS)
-
- tracker_search_tool_SOURCES = \
- tracker-search-tool-support.c \
diff --git a/sysutils/tracker/files/patch-src_tracker-search-tool_tracker-search-tool-support.h b/sysutils/tracker/files/patch-src_tracker-search-tool_tracker-search-tool-support.h
deleted file mode 100644
index 609f180681ff..000000000000
--- a/sysutils/tracker/files/patch-src_tracker-search-tool_tracker-search-tool-support.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/tracker-search-tool/tracker-search-tool-support.h.orig 2007-07-21 20:55:20.000000000 +0400
-+++ src/tracker-search-tool/tracker-search-tool-support.h 2007-08-24 22:31:05.000000000 +0400
-@@ -143,6 +143,15 @@
- tracker_search_get_stored_window_geometry (gint * width,
- gint * height);
-
-+void
-+tracker_set_stored_separator_position (int pos);
-+
-+char *
-+tracker_string_replace (const char *haystack, char *needle, char *replacement);
-+
-+int
-+tracker_get_stored_separator_position ();
-+
- #ifdef __cplusplus
- }
- #endif
diff --git a/sysutils/tracker/files/patch-src_trackerd_tracker-apps.c b/sysutils/tracker/files/patch-src_trackerd_tracker-apps.c
deleted file mode 100644
index 6326c01a2719..000000000000
--- a/sysutils/tracker/files/patch-src_trackerd_tracker-apps.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./src/trackerd/tracker-apps.c.orig 2007-10-05 20:18:39.000000000 +0400
-+++ ./src/trackerd/tracker-apps.c 2007-10-05 20:19:10.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"
diff --git a/sysutils/tracker/files/patch-src_trackerd_tracker-utils.c b/sysutils/tracker/files/patch-src_trackerd_tracker-utils.c
deleted file mode 100644
index 132346af41a9..000000000000
--- a/sysutils/tracker/files/patch-src_trackerd_tracker-utils.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/trackerd/tracker-utils.c.orig 2007-08-05 01:53:12.000000000 +0400
-+++ src/trackerd/tracker-utils.c 2007-08-24 22:31:05.000000000 +0400
-@@ -727,10 +727,7 @@
- tm.tm_sec = strtoul (timestamp, (char **)&timestamp, 10);
- }
-
-- tt = mktime (&tm);
-- /* mktime() always assumes that "tm" is in locale time but
-- we want to keep control on time, so we go to UTC */
-- tt -= timezone;
-+ tt = timegm (&tm);
-
- if (*timestamp == '+' || *timestamp == '-') {
- int sign;
diff --git a/sysutils/tracker/pkg-plist b/sysutils/tracker/pkg-plist
deleted file mode 100644
index 2d36ccbfa4e1..000000000000
--- a/sysutils/tracker/pkg-plist
+++ /dev/null
@@ -1,152 +0,0 @@
-bin/o3totxt
-bin/tracker-extract
-bin/tracker-files
-bin/tracker-meta-folder
-bin/tracker-preferences
-bin/tracker-query
-bin/tracker-search
-bin/tracker-search-tool
-bin/tracker-stats
-bin/tracker-status
-bin/tracker-tag
-bin/tracker-thumbnailer
-bin/trackerd
-etc/xdg/autostart/trackerd.desktop
-include/libtracker-gtk/tracker-gtk.h
-include/libtracker-gtk/tracker-keyword-store.h
-include/libtracker-gtk/tracker-metadata-tile.h
-include/libtracker-gtk/tracker-tag-bar.h
-include/libtracker-gtk/tracker-ui.h
-include/libtracker-gtk/tracker-utils.h
-include/tracker-client.h
-include/tracker.h
-lib/libtracker-gtk.a
-lib/libtracker-gtk.la
-lib/libtracker-gtk.so
-lib/libtracker-gtk.so.0
-lib/libtrackerclient.a
-lib/libtrackerclient.la
-lib/libtrackerclient.so
-lib/libtrackerclient.so.0
-lib/tracker/filters/application/csv_filter
-lib/tracker/filters/application/msword_filter
-lib/tracker/filters/application/pdf_filter
-lib/tracker/filters/application/tab-separated-values_filter
-lib/tracker/filters/application/vnd.ms-excel_filter
-lib/tracker/filters/application/vnd.oasis.opendocument.presentation-template_filter
-lib/tracker/filters/application/vnd.oasis.opendocument.presentation_filter
-lib/tracker/filters/application/vnd.oasis.opendocument.spreadsheet-template_filter
-lib/tracker/filters/application/vnd.oasis.opendocument.spreadsheet_filter
-lib/tracker/filters/application/vnd.oasis.opendocument.text-template_filter
-lib/tracker/filters/application/vnd.oasis.opendocument.text_filter
-lib/tracker/filters/application/vnd.stardivision.writer_filter
-lib/tracker/filters/application/vnd.sun.xml.calc.template_filter
-lib/tracker/filters/application/vnd.sun.xml.calc_filter
-lib/tracker/filters/application/vnd.sun.xml.draw_filter
-lib/tracker/filters/application/vnd.sun.xml.impress.template_filter
-lib/tracker/filters/application/vnd.sun.xml.impress_filter
-lib/tracker/filters/application/vnd.sun.xml.writer.template_filter
-lib/tracker/filters/application/vnd.sun.xml.writer_filter
-lib/tracker/filters/application/x-abiword_filter
-lib/tracker/filters/application/x-gnumeric_filter
-lib/tracker/filters/text/csv_filter
-lib/tracker/filters/text/djvu_filter
-lib/tracker/filters/text/html_filter
-lib/tracker/filters/text/spreadsheet_filter
-lib/tracker/filters/text/tab-separated-values_filter
-lib/tracker/filters/text/x-comma-separated-values_filter
-lib/tracker/filters/text/x-tex_filter
-lib/tracker/filters/text/xml_filter
-lib/tracker/thumbnailers/application/pdf_thumbnailer
-lib/tracker/thumbnailers/application/vnd.oasis.opendocument.graphics_thumbnailer
-lib/tracker/thumbnailers/application/vnd.oasis.opendocument.presentation_thumbnailer
-lib/tracker/thumbnailers/application/vnd.oasis.opendocument.spreadsheet_thumbnailer
-lib/tracker/thumbnailers/application/vnd.oasis.opendocument.text_thumbnailer
-lib/tracker/thumbnailers/image/jpeg_thumbnailer
-lib/tracker/thumbnailers/image/png_thumbnailer
-libdata/pkgconfig/libtracker-gtk.pc
-libdata/pkgconfig/tracker.pc
-share/applications/tracker-preferences.desktop
-share/applications/tracker-search-tool.desktop
-share/dbus-1/services/tracker.service
-share/icons/hicolor/16x16/apps/tracker.png
-share/icons/hicolor/22x22/apps/tracker.png
-share/icons/hicolor/24x24/apps/tracker.png
-share/icons/hicolor/32x32/apps/tracker.png
-share/icons/hicolor/48x48/apps/tracker.png
-share/icons/hicolor/scalable/apps/tracker.svg
-share/locale/ar/LC_MESSAGES/tracker.mo
-share/locale/ca/LC_MESSAGES/tracker.mo
-share/locale/de/LC_MESSAGES/tracker.mo
-share/locale/dz/LC_MESSAGES/tracker.mo
-share/locale/en_GB/LC_MESSAGES/tracker.mo
-share/locale/es/LC_MESSAGES/tracker.mo
-share/locale/et/LC_MESSAGES/tracker.mo
-share/locale/fi/LC_MESSAGES/tracker.mo
-share/locale/fr/LC_MESSAGES/tracker.mo
-share/locale/gl/LC_MESSAGES/tracker.mo
-share/locale/it/LC_MESSAGES/tracker.mo
-share/locale/lt/LC_MESSAGES/tracker.mo
-share/locale/mk/LC_MESSAGES/tracker.mo
-share/locale/nb/LC_MESSAGES/tracker.mo
-share/locale/nl/LC_MESSAGES/tracker.mo
-share/locale/oc/LC_MESSAGES/tracker.mo
-share/locale/pl/LC_MESSAGES/tracker.mo
-share/locale/pt/LC_MESSAGES/tracker.mo
-share/locale/ru/LC_MESSAGES/tracker.mo
-share/locale/sl/LC_MESSAGES/tracker.mo
-share/locale/sv/LC_MESSAGES/tracker.mo
-%%DATADIR%%/icons/thumbnail_frame.png
-%%DATADIR%%/languages/stopwords.da
-%%DATADIR%%/languages/stopwords.de
-%%DATADIR%%/languages/stopwords.en
-%%DATADIR%%/languages/stopwords.es
-%%DATADIR%%/languages/stopwords.fi
-%%DATADIR%%/languages/stopwords.fr
-%%DATADIR%%/languages/stopwords.it
-%%DATADIR%%/languages/stopwords.nb
-%%DATADIR%%/languages/stopwords.nl
-%%DATADIR%%/languages/stopwords.pt
-%%DATADIR%%/languages/stopwords.ru
-%%DATADIR%%/languages/stopwords.sv
-%%DATADIR%%/services/application.metadata
-%%DATADIR%%/services/audio.metadata
-%%DATADIR%%/services/default.metadata
-%%DATADIR%%/services/default.service
-%%DATADIR%%/services/document.metadata
-%%DATADIR%%/services/email.metadata
-%%DATADIR%%/services/file.metadata
-%%DATADIR%%/services/image.metadata
-%%DATADIR%%/services/video.metadata
-%%DATADIR%%/sqlite-cache.sql
-%%DATADIR%%/sqlite-email.sql
-%%DATADIR%%/sqlite-metadata.sql
-%%DATADIR%%/sqlite-service-stored-procs.sql
-%%DATADIR%%/sqlite-service-triggers.sql
-%%DATADIR%%/sqlite-service-types.sql
-%%DATADIR%%/sqlite-service.sql
-%%DATADIR%%/sqlite-stored-procs.sql
-%%DATADIR%%/sqlite-tracker-triggers.sql
-%%DATADIR%%/sqlite-tracker.sql
-%%DATADIR%%/sqlite-user-data.sql
-%%DATADIR%%/tracker-introspect.xml
-%%DATADIR%%/tracker-preferences.glade
-@dirrm %%DATADIR%%/services
-@dirrm %%DATADIR%%/languages
-@dirrm %%DATADIR%%/icons
-@dirrm %%DATADIR%%
-@dirrm lib/tracker/thumbnailers/image
-@dirrm lib/tracker/thumbnailers/application
-@dirrm lib/tracker/thumbnailers
-@dirrm lib/tracker/filters/text
-@dirrm lib/tracker/filters/application
-@dirrm lib/tracker/filters
-@dirrm lib/tracker
-@dirrm include/libtracker-gtk
-@dirrmtry etc/xdg/autostart
-@dirrmtry etc/xdg
-@dirrmtry share/locale/oc/LC_MESSAGES
-@dirrmtry share/locale/oc
-@dirrmtry share/locale/dz/LC_MESSAGES
-@dirrmtry share/locale/dz
-@dirrmtry share/applications