pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils sysutils: Add gnome-tracker-miners. Based on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f61f1bba8e17
branches:  trunk
changeset: 441457:f61f1bba8e17
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Nov 04 12:22:17 2020 +0000

description:
sysutils: Add gnome-tracker-miners. Based on work by myself in wip.

Needed for the new nautilus import.

gnome-tracker indexer daemon (tracker-miner-fs) and tools to extract metadata
from many different filetypes.

diffstat:

 sysutils/Makefile                                       |    3 +-
 sysutils/gnome-tracker-miners/DESCR                     |    2 +
 sysutils/gnome-tracker-miners/Makefile                  |   57 ++++++
 sysutils/gnome-tracker-miners/PLIST                     |  142 ++++++++++++++++
 sysutils/gnome-tracker-miners/distinfo                  |    7 +
 sysutils/gnome-tracker-miners/patches/patch-meson.build |   15 +
 6 files changed, 225 insertions(+), 1 deletions(-)

diffs (260 lines):

diff -r 2352a939f7de -r f61f1bba8e17 sysutils/Makefile
--- a/sysutils/Makefile Wed Nov 04 12:20:23 2020 +0000
+++ b/sysutils/Makefile Wed Nov 04 12:22:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.908 2020/11/04 12:19:20 nia Exp $
+# $NetBSD: Makefile,v 1.909 2020/11/04 12:22:17 nia Exp $
 #
 
 COMMENT=       System utilities
@@ -236,6 +236,7 @@
 SUBDIR+=       gnome-menus
 SUBDIR+=       gnome-nds-thumbnailer
 SUBDIR+=       gnome-tracker
+SUBDIR+=       gnome-tracker-miners
 SUBDIR+=       gnome-vfs
 SUBDIR+=       gnome-vfsmm
 SUBDIR+=       gnuit
diff -r 2352a939f7de -r f61f1bba8e17 sysutils/gnome-tracker-miners/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gnome-tracker-miners/DESCR       Wed Nov 04 12:22:17 2020 +0000
@@ -0,0 +1,2 @@
+gnome-tracker indexer daemon (tracker-miner-fs) and tools to extract metadata
+from many different filetypes.
diff -r 2352a939f7de -r f61f1bba8e17 sysutils/gnome-tracker-miners/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gnome-tracker-miners/Makefile    Wed Nov 04 12:22:17 2020 +0000
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile,v 1.1 2020/11/04 12:22:17 nia Exp $
+
+DISTNAME=      tracker-miners-3.0.1
+PKGNAME=       gnome-${DISTNAME}
+CATEGORIES=    sysutils gnome
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/tracker-miners/3.0/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://wiki.gnome.org/Projects/Tracker
+COMMENT=       Desktop-neutral metadata-based search framework
+LICENSE=       gnu-gpl-v2 AND gnu-lgpl-v2.1
+
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
+USE_TOOLS+=    pkg-config xgettext
+
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/tracker-miners-3.0
+
+MESON_ARGS+=   -Dnetwork_manager=disabled
+MESON_ARGS+=   -Dminer_rss=false
+MESON_ARGS+=   -Dsystemd_user_services=false
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+SUBST_CLASSES+=                sha
+SUBST_STAGE.sha=       pre-configure
+SUBST_MESSAGE.sha=     Fixing the name of the SHA256 tool.
+SUBST_FILES.sha+=      meson.build
+SUBST_FILES.sha+=      src/tracker-extract/calculate-hash.sh
+SUBST_SED.sha+=                -e "s,sha256sum,sha256,g"
+.endif
+
+SUBST_CLASSES+=                asciidoc
+SUBST_STAGE.asciidoc=  pre-configure
+SUBST_MESSAGE.asciidoc=        Correcting the path to asciidoc files.
+SUBST_FILES.asciidoc+= docs/manpages/meson.build
+SUBST_SED.asciidoc+=   -e "s,/etc/asciidoc,${PREFIX}/share/asciidoc,g"
+
+CONF_FILES+=   ${PREFIX}/share/examples/xdg/autostart/tracker-miner-fs-3.desktop \
+               ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-fs-3.desktop
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/glib2/schemas.mk"
+.include "../../devel/exempi/buildlink3.mk"
+.include "../../graphics/gexiv2/buildlink3.mk"
+.include "../../graphics/giflib/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
+.include "../../multimedia/totem-pl-parser/buildlink3.mk"
+.include "../../print/poppler-glib/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/gnome-tracker/buildlink3.mk"
+.include "../../sysutils/upower/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2352a939f7de -r f61f1bba8e17 sysutils/gnome-tracker-miners/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gnome-tracker-miners/PLIST       Wed Nov 04 12:22:17 2020 +0000
@@ -0,0 +1,142 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/04 12:22:17 nia Exp $
+lib/tracker-miners-3.0/extract-modules/libextract-abw.so
+lib/tracker-miners-3.0/extract-modules/libextract-bmp.so
+lib/tracker-miners-3.0/extract-modules/libextract-desktop.so
+lib/tracker-miners-3.0/extract-modules/libextract-dummy.so
+lib/tracker-miners-3.0/extract-modules/libextract-dvi.so
+lib/tracker-miners-3.0/extract-modules/libextract-gif.so
+lib/tracker-miners-3.0/extract-modules/libextract-gstreamer.so
+lib/tracker-miners-3.0/extract-modules/libextract-html.so
+lib/tracker-miners-3.0/extract-modules/libextract-icon.so
+lib/tracker-miners-3.0/extract-modules/libextract-jpeg.so
+lib/tracker-miners-3.0/extract-modules/libextract-mp3.so
+lib/tracker-miners-3.0/extract-modules/libextract-pdf.so
+lib/tracker-miners-3.0/extract-modules/libextract-playlist.so
+lib/tracker-miners-3.0/extract-modules/libextract-png.so
+lib/tracker-miners-3.0/extract-modules/libextract-ps.so
+lib/tracker-miners-3.0/extract-modules/libextract-raw.so
+lib/tracker-miners-3.0/extract-modules/libextract-text.so
+lib/tracker-miners-3.0/extract-modules/libextract-tiff.so
+lib/tracker-miners-3.0/libtracker-extract.so
+lib/tracker-miners-3.0/libtracker-miner-3.0.so
+lib/tracker-miners-3.0/writeback-modules/libwriteback-gstreamer.so
+lib/tracker-miners-3.0/writeback-modules/libwriteback-xmp.so
+libexec/tracker-extract-3
+libexec/tracker-miner-fs-3
+libexec/tracker-miner-fs-control-3
+libexec/tracker-writeback-3
+libexec/tracker3/daemon
+libexec/tracker3/extract
+libexec/tracker3/index
+libexec/tracker3/info
+libexec/tracker3/reset
+libexec/tracker3/search
+libexec/tracker3/status
+libexec/tracker3/tag
+man/man1/tracker-miner-fs-3.1
+man/man1/tracker-writeback-3.1
+man/man1/tracker3-daemon.1
+man/man1/tracker3-extract.1
+man/man1/tracker3-index.1
+man/man1/tracker3-info.1
+man/man1/tracker3-reset.1
+man/man1/tracker3-search.1
+man/man1/tracker3-status.1
+man/man1/tracker3-tag.1
+share/dbus-1/interfaces/org.freedesktop.Tracker3.Miner.Files.Index.xml
+share/dbus-1/interfaces/org.freedesktop.Tracker3.Miner.xml
+share/dbus-1/services/org.freedesktop.Tracker3.Miner.Extract.service
+share/dbus-1/services/org.freedesktop.Tracker3.Miner.Files.Control.service
+share/dbus-1/services/org.freedesktop.Tracker3.Miner.Files.service
+share/dbus-1/services/org.freedesktop.Tracker3.Writeback.service
+share/examples/xdg/autostart/tracker-miner-fs-3.desktop
+share/glib-2.0/schemas/org.freedesktop.Tracker3.Extract.gschema.xml
+share/glib-2.0/schemas/org.freedesktop.Tracker3.FTS.gschema.xml
+share/glib-2.0/schemas/org.freedesktop.Tracker3.Miner.Files.gschema.xml
+share/glib-2.0/schemas/org.freedesktop.TrackerMiners3.enums.xml
+share/locale/ar/LC_MESSAGES/tracker3-miners.mo
+share/locale/as/LC_MESSAGES/tracker3-miners.mo
+share/locale/be/LC_MESSAGES/tracker3-miners.mo
+share/locale/be@latin/LC_MESSAGES/tracker3-miners.mo
+share/locale/bg/LC_MESSAGES/tracker3-miners.mo
+share/locale/bs/LC_MESSAGES/tracker3-miners.mo
+share/locale/ca/LC_MESSAGES/tracker3-miners.mo
+share/locale/ca@valencia/LC_MESSAGES/tracker3-miners.mo
+share/locale/cs/LC_MESSAGES/tracker3-miners.mo
+share/locale/da/LC_MESSAGES/tracker3-miners.mo
+share/locale/de/LC_MESSAGES/tracker3-miners.mo
+share/locale/dz/LC_MESSAGES/tracker3-miners.mo
+share/locale/el/LC_MESSAGES/tracker3-miners.mo
+share/locale/en_GB/LC_MESSAGES/tracker3-miners.mo
+share/locale/eo/LC_MESSAGES/tracker3-miners.mo
+share/locale/es/LC_MESSAGES/tracker3-miners.mo
+share/locale/et/LC_MESSAGES/tracker3-miners.mo
+share/locale/eu/LC_MESSAGES/tracker3-miners.mo
+share/locale/fi/LC_MESSAGES/tracker3-miners.mo
+share/locale/fr/LC_MESSAGES/tracker3-miners.mo
+share/locale/fur/LC_MESSAGES/tracker3-miners.mo
+share/locale/gl/LC_MESSAGES/tracker3-miners.mo
+share/locale/he/LC_MESSAGES/tracker3-miners.mo
+share/locale/hr/LC_MESSAGES/tracker3-miners.mo
+share/locale/hu/LC_MESSAGES/tracker3-miners.mo
+share/locale/id/LC_MESSAGES/tracker3-miners.mo
+share/locale/it/LC_MESSAGES/tracker3-miners.mo
+share/locale/ja/LC_MESSAGES/tracker3-miners.mo
+share/locale/kk/LC_MESSAGES/tracker3-miners.mo
+share/locale/ko/LC_MESSAGES/tracker3-miners.mo
+share/locale/lt/LC_MESSAGES/tracker3-miners.mo
+share/locale/lv/LC_MESSAGES/tracker3-miners.mo
+share/locale/mk/LC_MESSAGES/tracker3-miners.mo
+share/locale/ml/LC_MESSAGES/tracker3-miners.mo
+share/locale/ms/LC_MESSAGES/tracker3-miners.mo
+share/locale/nb/LC_MESSAGES/tracker3-miners.mo
+share/locale/nds/LC_MESSAGES/tracker3-miners.mo
+share/locale/ne/LC_MESSAGES/tracker3-miners.mo
+share/locale/nl/LC_MESSAGES/tracker3-miners.mo
+share/locale/oc/LC_MESSAGES/tracker3-miners.mo
+share/locale/pa/LC_MESSAGES/tracker3-miners.mo
+share/locale/pl/LC_MESSAGES/tracker3-miners.mo
+share/locale/pt/LC_MESSAGES/tracker3-miners.mo
+share/locale/pt_BR/LC_MESSAGES/tracker3-miners.mo
+share/locale/ro/LC_MESSAGES/tracker3-miners.mo
+share/locale/ru/LC_MESSAGES/tracker3-miners.mo
+share/locale/sk/LC_MESSAGES/tracker3-miners.mo
+share/locale/sl/LC_MESSAGES/tracker3-miners.mo
+share/locale/sr/LC_MESSAGES/tracker3-miners.mo
+share/locale/sr@latin/LC_MESSAGES/tracker3-miners.mo
+share/locale/sv/LC_MESSAGES/tracker3-miners.mo
+share/locale/te/LC_MESSAGES/tracker3-miners.mo
+share/locale/tg/LC_MESSAGES/tracker3-miners.mo
+share/locale/th/LC_MESSAGES/tracker3-miners.mo
+share/locale/tr/LC_MESSAGES/tracker3-miners.mo
+share/locale/uk/LC_MESSAGES/tracker3-miners.mo
+share/locale/vi/LC_MESSAGES/tracker3-miners.mo
+share/locale/zh_CN/LC_MESSAGES/tracker3-miners.mo
+share/locale/zh_HK/LC_MESSAGES/tracker3-miners.mo
+share/locale/zh_TW/LC_MESSAGES/tracker3-miners.mo
+share/tracker3-miners/domain-ontologies/default.rule
+share/tracker3-miners/extract-rules/10-abw.rule
+share/tracker3-miners/extract-rules/10-bmp.rule
+share/tracker3-miners/extract-rules/10-comics.rule
+share/tracker3-miners/extract-rules/10-desktop.rule
+share/tracker3-miners/extract-rules/10-dvi.rule
+share/tracker3-miners/extract-rules/10-ebooks.rule
+share/tracker3-miners/extract-rules/10-gif.rule
+share/tracker3-miners/extract-rules/10-html.rule
+share/tracker3-miners/extract-rules/10-ico.rule
+share/tracker3-miners/extract-rules/10-jpeg.rule
+share/tracker3-miners/extract-rules/10-mp3.rule
+share/tracker3-miners/extract-rules/10-pdf.rule
+share/tracker3-miners/extract-rules/10-png.rule
+share/tracker3-miners/extract-rules/10-ps.rule
+share/tracker3-miners/extract-rules/10-raw.rule
+share/tracker3-miners/extract-rules/10-svg.rule
+share/tracker3-miners/extract-rules/10-tiff.rule
+share/tracker3-miners/extract-rules/15-executable.rule
+share/tracker3-miners/extract-rules/15-games.rule
+share/tracker3-miners/extract-rules/15-gstreamer-guess.rule
+share/tracker3-miners/extract-rules/15-playlist.rule
+share/tracker3-miners/extract-rules/15-text.rule
+share/tracker3-miners/extract-rules/90-gstreamer-audio-generic.rule
+share/tracker3-miners/extract-rules/90-gstreamer-video-generic.rule
+share/tracker3-miners/miners/org.freedesktop.Tracker3.Miner.Files.service
diff -r 2352a939f7de -r f61f1bba8e17 sysutils/gnome-tracker-miners/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gnome-tracker-miners/distinfo    Wed Nov 04 12:22:17 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/11/04 12:22:17 nia Exp $
+
+SHA1 (tracker-miners-3.0.1.tar.xz) = adc32d374030535b5d13746ae7dbe857dbe17bbc
+RMD160 (tracker-miners-3.0.1.tar.xz) = 6b8a14da2de093002e6e227f8cdef55934673752
+SHA512 (tracker-miners-3.0.1.tar.xz) = 69a070e2464497d2f1d3aba0093188549dcae90fd14e08474b5624091a9d0d91332bdb40093bca7854965d5b0126cdbefd6f1de42dfe4c524ff5f398db4d4c47
+Size (tracker-miners-3.0.1.tar.xz) = 4018608 bytes
+SHA1 (patch-meson.build) = bf30486a24b591c51aea111d95a9a2360f8178b9
diff -r 2352a939f7de -r f61f1bba8e17 sysutils/gnome-tracker-miners/patches/patch-meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gnome-tracker-miners/patches/patch-meson.build   Wed Nov 04 12:22:17 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-meson.build,v 1.1 2020/11/04 12:22:17 nia Exp $
+
+Install config files to examples.
+
+--- meson.build.orig   2020-11-04 11:43:43.378300133 +0000
++++ meson.build
+@@ -426,7 +426,7 @@ uninstalled_tracker_extract_path = join_
+ 
+ gsettings_schema_dir = join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
+ po_dir = join_paths(meson.current_source_dir(), 'po')
+-xdg_autostart_dir = join_paths(get_option('sysconfdir'), 'xdg', 'autostart')
++xdg_autostart_dir = join_paths(get_option('prefix'), get_option('datadir'), 'examples', 'xdg', 'autostart')
+ 
+ glib_compile_schemas = find_program('glib-compile-schemas')
+ glib_mkenums = find_program('glib-mkenums')



Home | Main Index | Thread Index | Old Index