gusibsd

Untitled

Mar 30th, 2014
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.22 KB | None | 0 0
  1. Index: Makefile
  2. ===================================================================
  3. --- Makefile (revision 19379)
  4. +++ Makefile (working copy)
  5. @@ -4,6 +4,7 @@
  6.  
  7. PORTNAME= tracker
  8. PORTVERSION= 1.0.0
  9. +PORTREVISION= 1
  10. CATEGORIES= sysutils gnome
  11. MASTER_SITES= GNOME
  12.  
  13. @@ -11,25 +12,12 @@
  14. COMMENT= Object database, tag/metadata database, search tool and indexer
  15.  
  16. LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
  17. - libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
  18. - libexif.so:${PORTSDIR}/graphics/libexif \
  19. - libgxps.so:${PORTSDIR}/graphics/libgxps \
  20. - libwv-1.2.so:${PORTSDIR}/textproc/wv \
  21. libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
  22. - libexempi.so:${PORTSDIR}/textproc/exempi \
  23. libhal.so:${PORTSDIR}/sysutils/hal \
  24. - libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \
  25. + libiptcdata.so:${PORTSDIR}/graphics/libiptcdata \
  26. libraptor.so:${PORTSDIR}/textproc/raptor \
  27. - libogg.so:${PORTSDIR}/audio/libogg \
  28. - libiptcdata.so:${PORTSDIR}/graphics/libiptcdata \
  29. libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
  30. - librest-0.7.so:${PORTSDIR}/devel/librest \
  31. - libmediaart-1.0.so:${PORTSDIR}/multimedia/libmediaart \
  32. - libgif.so:${PORTSDIR}/graphics/giflib \
  33. - libFLAC.so:${PORTSDIR}/audio/flac \
  34. - libvorbis.so:${PORTSDIR}/audio/libvorbis \
  35. - libcue.so:${PORTSDIR}/textproc/libcue \
  36. - libtag.so:${PORTSDIR}/audio/taglib
  37. + librest-0.7.so:${PORTSDIR}/devel/librest
  38. RUN_DEPENDS= xdg-desktop-icon:${PORTSDIR}/devel/xdg-utils \
  39. o3totxt:${PORTSDIR}/converters/o3read \
  40. pdftotext:${PORTSDIR}/graphics/poppler-utils \
  41. @@ -48,16 +36,10 @@
  42. LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/tracker
  43. CONFIGURE_ARGS= --enable-video-extractor=gstreamer \
  44. --with-session-bus-services-dir=${LOCALBASE}/share/dbus-1/services \
  45. - --enable-libexif --enable-libgxps \
  46. - --enable-libiptcdata --enable-miner-fs \
  47. + --disable-libiptcdata --enable-miner-fs \
  48. --disable-meegotouch --disable-miner-flickr \
  49. - --enable-taglib \
  50. - --enable-tracker-preferences --enable-poppler \
  51. - --enable-libgsf \
  52. - --disable-libosinfo --enable-libgif \
  53. - --enable-libjpeg --enable-libtiff \
  54. - --enable-libvorbis --enable-libflac \
  55. - --enable-libcue \
  56. + --enable-tracker-preferences \
  57. + --disable-libosinfo \
  58. --enable-generic-media-extractor=gstreamer
  59. GLIB_SCHEMAS= org.freedesktop.Tracker.DB.gschema.xml \
  60. org.freedesktop.Tracker.Extract.gschema.xml \
  61. @@ -70,6 +52,84 @@
  62.  
  63. .include <bsd.port.pre.mk>
  64.  
  65. +OPTIONS_DEFINE= WEB_MINERS AUDIO_MINERS DOCUMENT_MINERS GRAPHIC_MINERS
  66. +WEB_MINERS_DESC= Support for Firefox, Thunderbird and Evolution
  67. +AUDIO_MINERS_DESC= Support for audio files
  68. +DOCUMENT_MINERS_DESC= Support for some sort of documents (pdf, ps, xps, office)
  69. +GRAPHIC_MINERS_DESC= Support for some graphic formats (gif, png, tiff)
  70. +
  71. +.include <bsd.port.options.mk>
  72. +
  73. +.if ${PORT_OPTIONS:MWEB_MINERS}
  74. +CONFIGURE_ARGS+= --enable-miner-evolution --enable-miner-firefox \
  75. + --enable-miner-thunderbird
  76. +PLIST_SUB+= WEB_MINERS=""
  77. +.else
  78. +CONFIGURE_ARGS+= --disable-miner-evolution --disable-miner-firefox \
  79. + --disable-miner-thunderbird
  80. +PLIST_SUB+= WEB_MINERS="@comment "
  81. +.endif
  82. +
  83. +.if ${PORT_OPTIONS:MAUDIO_MINERS}
  84. +LIB_DEPENDS+= libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \
  85. + libFLAC.so:${PORTSDIR}/audio/flac \
  86. + libvorbis.so:${PORTSDIR}/audio/libvorbis \
  87. + libcue.so:${PORTSDIR}/textproc/libcue \
  88. + libogg.so:${PORTSDIR}/audio/libogg \
  89. + libtag.so:${PORTSDIR}/audio/taglib
  90. +CONFIGURE_ARGS+= --enable-libvorbis --enable-libflac \
  91. + --enable-taglib --enable-mp3 \
  92. + --enable-libcue --enable-playlist
  93. +PLIST_SUB+= AUDIO_MINERS=""
  94. +.else
  95. +CONFIGURE_ARGS+= --disable-libvorbis --disable-libflac \
  96. + --disable-taglib --disable-mp3 \
  97. + --disable-libcue --disable-playlist
  98. +PLIST_SUB+= AUDIO_MINERS="@comment "
  99. +.endif
  100. +
  101. +.if ${PORT_OPTIONS:MDOCUMENT_MINERS}
  102. +LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
  103. + libgxps.so:${PORTSDIR}/graphics/libgxps \
  104. + libgsf.so:${PORTSDIR}/deve/libgsf \
  105. + libexempi.so:${PORTSDIR}/textproc/exempi \
  106. + libwv-1.2.so:${PORTSDIR}/textproc/wv
  107. +CONFIGURE_ARGS+= --enable-libgxps --enable-poppler \
  108. + --enable-libxml2 --enable-exif \
  109. + --enable-libgsf --enable-abiword \
  110. + --enable-dvi --enable-ps \
  111. + --enable-exempi --enable-text
  112. +PLIST_SUB+= DOCUMENT_MINERS=""
  113. +.else
  114. +CONFIGURE_ARGS+= --disable-libgxps --disable-poppler \
  115. + --disable-libxml2 --disable-exif \
  116. + --disable-libgsf --disable-abiword \
  117. + --disable-dvi --disable-ps \
  118. + --disable-exempi --disable-text
  119. +PLIST_SUB+= DOCUMENT_MINERS="@comment "
  120. +.endif
  121. +
  122. +.if ${PORT_OPTIONS:MGRAPHIC_MINERS}
  123. +LIB_DEPENDS+= libexif.so:${PORTSDIR}/graphics/libexif \
  124. + libgif.so:${PORTSDIR}/graphics/giflib \
  125. + libpng15.so:${PORSDIR}/graphics/png \
  126. + libtiff.so:${PORTSDIR}/graphics(//tiff \
  127. + libmediaart-1.0.so:${PORTSDIR}/multimedia/libmediaart
  128. +CONFIGURE_ARGS+= --enable-libgif \
  129. + --enable-libjpeg \
  130. + --enable-libtiff \
  131. + --enable-icon \
  132. + --enable-libpng15
  133. +PLIST_SUB+= GRAPHIC_MINERS=""
  134. +.else
  135. +CONFIGURE_ARGS+= --disable-libgif \
  136. + --disable-libjpeg \
  137. + --disable-libtiff \
  138. + --disable-icon \
  139. + --disable-libpng15
  140. +PLIST_SUB+= GRAPHIC_MINERS="@comment "
  141. +.endif
  142. +
  143. post-patch:
  144. @${REINPLACE_CMD} -e 's|libpng|libpng15|' ${WRKSRC}/configure
  145.  
  146. Index: pkg-plist
  147. ===================================================================
  148. --- pkg-plist (revision 19379)
  149. +++ pkg-plist (working copy)
  150. @@ -52,54 +52,54 @@
  151. lib/tracker-%%TRACKER_VER%%/libtracker-extract.so
  152. lib/tracker-%%TRACKER_VER%%/libtracker-extract.so.0
  153. lib/tracker-%%TRACKER_VER%%/libtracker-extract.so.0.0.0
  154. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.la
  155. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.so
  156. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.la
  157. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.so
  158. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.la
  159. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.so
  160. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.la
  161. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.so
  162. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.la
  163. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.so
  164. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.la
  165. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-abw.so
  166. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.la
  167. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-dvi.so
  168. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.la
  169. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-epub.so
  170. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.la
  171. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-flac.so
  172. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.la
  173. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gif.so
  174. lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gstreamer.la
  175. lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-gstreamer.so
  176. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.la
  177. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.so
  178. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.la
  179. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.so
  180. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.la
  181. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.so
  182. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.la
  183. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.so
  184. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.la
  185. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.so
  186. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.la
  187. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.so
  188. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.la
  189. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.so
  190. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.la
  191. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.so
  192. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.la
  193. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.so
  194. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.la
  195. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.so
  196. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.la
  197. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.so
  198. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.la
  199. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.so
  200. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.la
  201. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.so
  202. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.la
  203. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.so
  204. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.la
  205. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.so
  206. -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.la
  207. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.la
  208. -lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.so
  209. -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.so
  210. -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.la
  211. -lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.so
  212. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.la
  213. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-html.so
  214. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.la
  215. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-icon.so
  216. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.la
  217. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-jpeg.so
  218. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.la
  219. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-mp3.so
  220. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.la
  221. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice-xml.so
  222. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.la
  223. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-msoffice.so
  224. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.la
  225. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-oasis.so
  226. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.la
  227. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-pdf.so
  228. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.la
  229. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-playlist.so
  230. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.la
  231. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-png.so
  232. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.la
  233. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-ps.so
  234. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.la
  235. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-text.so
  236. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.la
  237. +%%GRAPHIC_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-tiff.so
  238. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.la
  239. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-vorbis.so
  240. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.la
  241. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xmp.so
  242. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.la
  243. +%%AUDIO_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-taglib.so
  244. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.la
  245. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/extract-modules/libextract-xps.so
  246. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.la
  247. +%%DOCUMENT_MINERS%%lib/tracker-%%TRACKER_VER%%/writeback-modules/libwriteback-xmp.so
  248. libdata/pkgconfig/tracker-control-%%TRACKER_VER%%.pc
  249. libdata/pkgconfig/tracker-miner-%%TRACKER_VER%%.pc
  250. libdata/pkgconfig/tracker-sparql-%%TRACKER_VER%%.pc
  251. @@ -263,32 +263,32 @@
  252. %%DATADIR%%/tracker-statistics.xml
  253. %%DATADIR%%/tracker-status.xml
  254. %%DATADIR%%/tracker-writeback.xml
  255. -%%DATADIR%%/extract-rules/10-abw.rule
  256. -%%DATADIR%%/extract-rules/10-dvi.rule
  257. -%%DATADIR%%/extract-rules/10-epub.rule
  258. -%%DATADIR%%/extract-rules/10-flac.rule
  259. -%%DATADIR%%/extract-rules/10-gif.rule
  260. -%%DATADIR%%/extract-rules/10-html.rule
  261. -%%DATADIR%%/extract-rules/10-ico.rule
  262. -%%DATADIR%%/extract-rules/10-jpeg.rule
  263. -%%DATADIR%%/extract-rules/10-mp3.rule
  264. -%%DATADIR%%/extract-rules/10-msoffice.rule
  265. -%%DATADIR%%/extract-rules/10-oasis.rule
  266. -%%DATADIR%%/extract-rules/10-pdf.rule
  267. -%%DATADIR%%/extract-rules/10-png.rule
  268. -%%DATADIR%%/extract-rules/10-ps.rule
  269. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-abw.rule
  270. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-dvi.rule
  271. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-epub.rule
  272. +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/10-flac.rule
  273. +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-gif.rule
  274. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-html.rule
  275. +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-ico.rule
  276. +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-jpeg.rule
  277. +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/10-mp3.rule
  278. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-msoffice.rule
  279. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-oasis.rule
  280. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-pdf.rule
  281. +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-png.rule
  282. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-ps.rule
  283. %%DATADIR%%/extract-rules/10-svg.rule
  284. -%%DATADIR%%/extract-rules/10-tiff.rule
  285. -%%DATADIR%%/extract-rules/10-vorbis.rule
  286. -%%DATADIR%%/extract-rules/10-xmp.rule
  287. -%%DATADIR%%/extract-rules/10-xps.rule
  288. -%%DATADIR%%/extract-rules/11-msoffice-xml.rule
  289. +%%GRAPHIC_MINERS%%%%DATADIR%%/extract-rules/10-tiff.rule
  290. +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/10-vorbis.rule
  291. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-xmp.rule
  292. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/10-xps.rule
  293. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/11-msoffice-xml.rule
  294. %%DATADIR%%/extract-rules/15-gstreamer-guess.rule
  295. -%%DATADIR%%/extract-rules/15-playlist.rule
  296. +%%AUDIO_MINERS%%%%DATADIR%%/extract-rules/15-playlist.rule
  297. %%DATADIR%%/extract-rules/90-gstreamer-audio-generic.rule
  298. %%DATADIR%%/extract-rules/90-gstreamer-image-generic.rule
  299. %%DATADIR%%/extract-rules/90-gstreamer-video-generic.rule
  300. -%%DATADIR%%/extract-rules/90-text-generic.rule
  301. +%%DOCUMENT_MINERS%%%%DATADIR%%/extract-rules/90-text-generic.rule
  302. %%DATADIR%%/languages/stopwords.da
  303. %%DATADIR%%/languages/stopwords.de
  304. %%DATADIR%%/languages/stopwords.en
Advertisement
Add Comment
Please, Sign In to add comment