Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: Makefile
- ===================================================================
- --- Makefile (revision 19379)
- +++ Makefile (working copy)
- @@ -4,6 +4,7 @@
- PORTNAME= tracker
- PORTVERSION= 1.0.0
- +PORTREVISION= 1
- CATEGORIES= sysutils gnome
- MASTER_SITES= GNOME
- @@ -11,25 +12,12 @@
- COMMENT= Object database, tag/metadata database, search tool and indexer
- LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
- - libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
- - libexif.so:${PORTSDIR}/graphics/libexif \
- - libgxps.so:${PORTSDIR}/graphics/libgxps \
- - libwv-1.2.so:${PORTSDIR}/textproc/wv \
- libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
- - libexempi.so:${PORTSDIR}/textproc/exempi \
- libhal.so:${PORTSDIR}/sysutils/hal \
- - libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \
- + libiptcdata.so:${PORTSDIR}/graphics/libiptcdata \
- libraptor.so:${PORTSDIR}/textproc/raptor \
- - libogg.so:${PORTSDIR}/audio/libogg \
- - libiptcdata.so:${PORTSDIR}/graphics/libiptcdata \
- libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
- - librest-0.7.so:${PORTSDIR}/devel/librest \
- - libmediaart-1.0.so:${PORTSDIR}/multimedia/libmediaart \
- - libgif.so:${PORTSDIR}/graphics/giflib \
- - libFLAC.so:${PORTSDIR}/audio/flac \
- - libvorbis.so:${PORTSDIR}/audio/libvorbis \
- - libcue.so:${PORTSDIR}/textproc/libcue \
- - libtag.so:${PORTSDIR}/audio/taglib
- + librest-0.7.so:${PORTSDIR}/devel/librest
- RUN_DEPENDS= xdg-desktop-icon:${PORTSDIR}/devel/xdg-utils \
- o3totxt:${PORTSDIR}/converters/o3read \
- pdftotext:${PORTSDIR}/graphics/poppler-utils \
- @@ -48,16 +36,10 @@
- LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/tracker
- CONFIGURE_ARGS= --enable-video-extractor=gstreamer \
- --with-session-bus-services-dir=${LOCALBASE}/share/dbus-1/services \
- - --enable-libexif --enable-libgxps \
- - --enable-libiptcdata --enable-miner-fs \
- + --disable-libiptcdata --enable-miner-fs \
- --disable-meegotouch --disable-miner-flickr \
- - --enable-taglib \
- - --enable-tracker-preferences --enable-poppler \
- - --enable-libgsf \
- - --disable-libosinfo --enable-libgif \
- - --enable-libjpeg --enable-libtiff \
- - --enable-libvorbis --enable-libflac \
- - --enable-libcue \
- + --enable-tracker-preferences \
- + --disable-libosinfo \
- --enable-generic-media-extractor=gstreamer
- GLIB_SCHEMAS= org.freedesktop.Tracker.DB.gschema.xml \
- org.freedesktop.Tracker.Extract.gschema.xml \
- @@ -70,6 +52,84 @@
- .include <bsd.port.pre.mk>
- +OPTIONS_DEFINE= WEB_MINERS AUDIO_MINERS DOCUMENT_MINERS GRAPHIC_MINERS
- +WEB_MINERS_DESC= Support for Firefox, Thunderbird and Evolution
- +AUDIO_MINERS_DESC= Support for audio files
- +DOCUMENT_MINERS_DESC= Support for some sort of documents (pdf, ps, xps, office)
- +GRAPHIC_MINERS_DESC= Support for some graphic formats (gif, png, tiff)
- +
- +.include <bsd.port.options.mk>
- +
- +.if ${PORT_OPTIONS:MWEB_MINERS}
- +CONFIGURE_ARGS+= --enable-miner-evolution --enable-miner-firefox \
- + --enable-miner-thunderbird
- +PLIST_SUB+= WEB_MINERS=""
- +.else
- +CONFIGURE_ARGS+= --disable-miner-evolution --disable-miner-firefox \
- + --disable-miner-thunderbird
- +PLIST_SUB+= WEB_MINERS="@comment "
- +.endif
- +
- +.if ${PORT_OPTIONS:MAUDIO_MINERS}
- +LIB_DEPENDS+= libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \
- + libFLAC.so:${PORTSDIR}/audio/flac \
- + libvorbis.so:${PORTSDIR}/audio/libvorbis \
- + libcue.so:${PORTSDIR}/textproc/libcue \
- + libogg.so:${PORTSDIR}/audio/libogg \
- + libtag.so:${PORTSDIR}/audio/taglib
- +CONFIGURE_ARGS+= --enable-libvorbis --enable-libflac \
- + --enable-taglib --enable-mp3 \
- + --enable-libcue --enable-playlist
- +PLIST_SUB+= AUDIO_MINERS=""
- +.else
- +CONFIGURE_ARGS+= --disable-libvorbis --disable-libflac \
- + --disable-taglib --disable-mp3 \
- + --disable-libcue --disable-playlist
- +PLIST_SUB+= AUDIO_MINERS="@comment "
- +.endif
- +
- +.if ${PORT_OPTIONS:MDOCUMENT_MINERS}
- +LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
- + libgxps.so:${PORTSDIR}/graphics/libgxps \
- + libgsf.so:${PORTSDIR}/deve/libgsf \
- + libexempi.so:${PORTSDIR}/textproc/exempi \
- + libwv-1.2.so:${PORTSDIR}/textproc/wv
- +CONFIGURE_ARGS+= --enable-libgxps --enable-poppler \
- + --enable-libxml2 --enable-exif \
- + --enable-libgsf --enable-abiword \
- + --enable-dvi --enable-ps \
- + --enable-exempi --enable-text
- +PLIST_SUB+= DOCUMENT_MINERS=""
- +.else
- +CONFIGURE_ARGS+= --disable-libgxps --disable-poppler \
- + --disable-libxml2 --disable-exif \
- + --disable-libgsf --disable-abiword \
- + --disable-dvi --disable-ps \
- + --disable-exempi --disable-text
- +PLIST_SUB+= DOCUMENT_MINERS="@comment "
- +.endif
- +
- +.if ${PORT_OPTIONS:MGRAPHIC_MINERS}
- +LIB_DEPENDS+= libexif.so:${PORTSDIR}/graphics/libexif \
- + libgif.so:${PORTSDIR}/graphics/giflib \
- + libpng15.so:${PORSDIR}/graphics/png \
- + libtiff.so:${PORTSDIR}/graphics(//tiff \
- + libmediaart-1.0.so:${PORTSDIR}/multimedia/libmediaart
- +CONFIGURE_ARGS+= --enable-libgif \
- + --enable-libjpeg \
- + --enable-libtiff \
- + --enable-icon \
- + --enable-libpng15
- +PLIST_SUB+= GRAPHIC_MINERS=""
- +.else
- +CONFIGURE_ARGS+= --disable-libgif \
- + --disable-libjpeg \
- + --disable-libtiff \
- + --disable-icon \
- + --disable-libpng15
- +PLIST_SUB+= GRAPHIC_MINERS="@comment "
- +.endif
- +
- post-patch:
- @${REINPLACE_CMD} -e 's|libpng|libpng15|' ${WRKSRC}/configure
- Index: pkg-plist
- ===================================================================
- --- pkg-plist (revision 19379)
- +++ pkg-plist (working copy)
- @@ -52,54 +52,54 @@
- lib/tracker-%%TRACKER_VER%%/libtracker-extract.so
- lib/tracker-%%TRACKER_VER%%/libtracker-extract.so.0
- lib/tracker-%%TRACKER_VER%%/libtracker-extract.so.0.0.0
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.so
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.la
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.so
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.la
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.so
- lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gstreamer.la
- lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gstreamer.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.so
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.so
- -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.la
- -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.so
- -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.so
- -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.la
- -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.so
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.la
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.so
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.la
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.so
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.la
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.so
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.la
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.so
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.la
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.so
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.la
- +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.so
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.la
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.so
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.la
- +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.so
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.la
- +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.so
- libdata/pkgconfig/tracker-control-%%TRACKER_VER%%.pc
- libdata/pkgconfig/tracker-miner-%%TRACKER_VER%%.pc
- libdata/pkgconfig/tracker-sparql-%%TRACKER_VER%%.pc
- @@ -263,32 +263,32 @@
- %%DATADIR%%/tracker-statistics.xml
- %%DATADIR%%/tracker-status.xml
- %%DATADIR%%/tracker-writeback.xml
- -%%DATADIR%%/extract-rules/10-abw.rule
- -%%DATADIR%%/extract-rules/10-dvi.rule
- -%%DATADIR%%/extract-rules/10-epub.rule
- -%%DATADIR%%/extract-rules/10-flac.rule
- -%%DATADIR%%/extract-rules/10-gif.rule
- -%%DATADIR%%/extract-rules/10-html.rule
- -%%DATADIR%%/extract-rules/10-ico.rule
- -%%DATADIR%%/extract-rules/10-jpeg.rule
- -%%DATADIR%%/extract-rules/10-mp3.rule
- -%%DATADIR%%/extract-rules/10-msoffice.rule
- -%%DATADIR%%/extract-rules/10-oasis.rule
- -%%DATADIR%%/extract-rules/10-pdf.rule
- -%%DATADIR%%/extract-rules/10-png.rule
- -%%DATADIR%%/extract-rules/10-ps.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-abw.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-dvi.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-epub.rule
- +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/10-flac.rule
- +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-gif.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-html.rule
- +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-ico.rule
- +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-jpeg.rule
- +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/10-mp3.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-msoffice.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-oasis.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-pdf.rule
- +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-png.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-ps.rule
- %%DATADIR%%/extract-rules/10-svg.rule
- -%%DATADIR%%/extract-rules/10-tiff.rule
- -%%DATADIR%%/extract-rules/10-vorbis.rule
- -%%DATADIR%%/extract-rules/10-xmp.rule
- -%%DATADIR%%/extract-rules/10-xps.rule
- -%%DATADIR%%/extract-rules/11-msoffice-xml.rule
- +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-tiff.rule
- +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/10-vorbis.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-xmp.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-xps.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/11-msoffice-xml.rule
- %%DATADIR%%/extract-rules/15-gstreamer-guess.rule
- -%%DATADIR%%/extract-rules/15-playlist.rule
- +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/15-playlist.rule
- %%DATADIR%%/extract-rules/90-gstreamer-audio-generic.rule
- %%DATADIR%%/extract-rules/90-gstreamer-image-generic.rule
- %%DATADIR%%/extract-rules/90-gstreamer-video-generic.rule
- -%%DATADIR%%/extract-rules/90-text-generic.rule
- +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/90-text-generic.rule
- %%DATADIR%%/languages/stopwords.da
- %%DATADIR%%/languages/stopwords.de
- %%DATADIR%%/languages/stopwords.en
Advertisement
Add Comment
Please, Sign In to add comment