- bring back tracker-processes, as some may have /proc actually

- fix a path
- rename to tracker-search, as pointed out by espie@, there is already audio/tracker

discussed with aja@
This commit is contained in:
jasper 2009-04-21 23:39:43 +00:00
parent 31fa434068
commit 5480ec1413
4 changed files with 21 additions and 53 deletions

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.2 2009/04/21 22:48:21 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2009/04/21 23:39:43 jasper Exp $
COMMENT= powerful desktop search tool and indexer
# there is already audio/tracker, so this port has to live
# as tracker-search.
GNOME_PROJECT= tracker
GNOME_VERSION= 0.6.93
PKGNAME= ${DISTNAME}p0
PKGNAME= tracker-search-${VERSION}
SHARED_LIBS += stemmer 0.0 # .693.0
SHARED_LIBS += tracker-common 0.0 # .693.0
@ -59,16 +61,6 @@ RUN_DEPENDS= ::devel/glib2,-fam \
::www/w3m \
::x11/gnome/deskbar-applet
# Allow tracker to index the media files these gstreamer packages
# can grok. To not force a huge pile of dependencies on the user
# only install a base set.
RUN_DEPENDS+= :gstreamer-vorbis-*:multimedia/gstreamer-0.10/plugins-base,-vorbis \
:gstreamer-ogg-*:multimedia/gstreamer-0.10/plugins-base,-ogg \
:gstreamer-theora-*:multimedia/gstreamer-0.10/plugins-base,-theora \
:gstreamer-jpeg-*:multimedia/gstreamer-0.10/plugins-good,-jpeg \
:gstreamer-png-*:multimedia/gstreamer-0.10/plugins-good,-png \
:gstreamer-confelements-*:multimedia/gstreamer-0.10/plugins-good,-gconf
DESKTOP_FILES= Yes
MODPY_RUNDEP= No
@ -89,4 +81,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
${SUBST_CMD} ${WRKSRC}/data/modules/applications.module
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-data_modules_applications_module,v 1.1 2009/04/21 23:39:43 jasper Exp $
--- data/modules/applications.module.orig Wed Apr 22 01:26:02 2009
+++ data/modules/applications.module Wed Apr 22 01:26:12 2009
@@ -4,7 +4,7 @@ Enabled=true
[Monitors]
Directories=
-RecurseDirectories=/usr/share/applications;
+RecurseDirectories=${LOCALBASE}/share/applications;
[Ignored]
Directories=

View File

@ -1,40 +0,0 @@
$OpenBSD: patch-src_tracker-utils_Makefile_in,v 1.1 2009/04/21 22:48:22 jasper Exp $
Don't build tracker-processes, which depends on /proc being present.
--- src/tracker-utils/Makefile.in.orig Wed Apr 22 00:38:13 2009
+++ src/tracker-utils/Makefile.in Wed Apr 22 00:38:53 2009
@@ -48,7 +48,7 @@ bin_PROGRAMS = tracker-search$(EXEEXT) tracker-query$(
tracker-meta-folder$(EXEEXT) tracker-stats$(EXEEXT) \
tracker-tag$(EXEEXT) tracker-files$(EXEEXT) \
tracker-status$(EXEEXT) tracker-unique$(EXEEXT) \
- tracker-info$(EXEEXT) tracker-processes$(EXEEXT) \
+ tracker-info$(EXEEXT) \
tracker-services$(EXEEXT)
subdir = src/tracker-utils
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -115,13 +115,13 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOO
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
SOURCES = $(tracker_files_SOURCES) $(tracker_info_SOURCES) \
- $(tracker_meta_folder_SOURCES) $(tracker_processes_SOURCES) \
+ $(tracker_meta_folder_SOURCES) \
$(tracker_query_SOURCES) $(tracker_search_SOURCES) \
$(tracker_services_SOURCES) $(tracker_stats_SOURCES) \
$(tracker_status_SOURCES) $(tracker_tag_SOURCES) \
$(tracker_unique_SOURCES)
DIST_SOURCES = $(tracker_files_SOURCES) $(tracker_info_SOURCES) \
- $(tracker_meta_folder_SOURCES) $(tracker_processes_SOURCES) \
+ $(tracker_meta_folder_SOURCES) \
$(tracker_query_SOURCES) $(tracker_search_SOURCES) \
$(tracker_services_SOURCES) $(tracker_stats_SOURCES) \
$(tracker_status_SOURCES) $(tracker_tag_SOURCES) \
@@ -420,8 +420,6 @@ tracker_unique_SOURCES = tracker-unique.c
tracker_unique_LDADD = $(libs)
tracker_info_SOURCES = tracker-info.c
tracker_info_LDADD = $(libs)
-tracker_processes_SOURCES = tracker-processes.c
-tracker_processes_LDADD = $(libs)
tracker_services_SOURCES = tracker-services.c
tracker_services_LDADD = $(libs)
all: all-am

View File

@ -1,9 +1,10 @@
@comment $OpenBSD: PLIST,v 1.2 2009/04/21 22:48:22 jasper Exp $
@comment $OpenBSD: PLIST,v 1.3 2009/04/21 23:39:43 jasper Exp $
@bin bin/tracker-applet
@bin bin/tracker-files
@bin bin/tracker-info
@bin bin/tracker-meta-folder
@bin bin/tracker-preferences
@bin bin/tracker-processes
@bin bin/tracker-query
@bin bin/tracker-search
@bin bin/tracker-search-tool