[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
234/277: gnu: tracker-miners: Update package definition.
From: |
guix-commits |
Subject: |
234/277: gnu: tracker-miners: Update package definition. |
Date: |
Thu, 6 Aug 2020 17:03:48 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 1d0ad569f7a607ffe2f5366fcbb9135016bb9a1d
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 30 19:35:16 2020 -0400
gnu: tracker-miners: Update package definition.
* gnu/packages/gnome.scm (tracker-miners): Update package definition.
[arguments]<#:configure-flags>[-Dguarantee_metadata]: New flag.
[-Dbattery_detection]: New flag.
[-Dcharset_detection]: New flag.
[-Dgeneric_media_extractor]: New flag.
[-Dgstreamer_backend]: New flag.
[-Dsystemd_user_services]: New flag.
<#:phases>['disable-failing-tests]: New phase.
[native-inputs]: Move dbus to ...
[inputs]: ... here. Add gexiv2 and gst-plugins-base. Remove ffmpeg.
[synopsis]: Modify.
[description]: Modify.
[license]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 95 +++++++++++++++++++++++++++++---------------------
1 file changed, 56 insertions(+), 39 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 7c51a98..62c17e5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9735,45 +9735,60 @@ search tool. This package provides Tracker-Core, that
contains the database
(package
(name "tracker-miners")
(version "2.3.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/tracker-miners/"
- (version-major+minor version)
- "/tracker-miners-" version ".tar.xz"))
- (sha256
- (base32
- "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/tracker-miners/"
+ (version-major+minor version)
+ "/tracker-miners-" version ".tar.xz"))
+ (sha256
+ (base32 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:configure-flags
- (list "-Dminer_rss=false" ; libgrss is required.
- ;; Ensure the RUNPATH contains all installed library locations.
- (string-append "-Dc_link_args=-Wl,-rpath="
- (assoc-ref %outputs "out")
- "/lib/tracker-miners-2.0")
- ;; TODO: Enable functional tests. Currently, the following error
- ;; appears:
- ;; Exception: The functional tests require DConf to be the default
- ;; GSettings backend. Got GKeyfileSettingsBackend instead.
- "-Dfunctional_tests=false")))
+ (list
+ "-Dfunctional_tests=false"
+ "-Dguarantee_metadata=true"
+ "-Dbattery_detection=upower"
+ "-Dcharset_detection=icu"
+ "-Dgeneric_media_extractor=gstreamer"
+ "-Dgstreamer_backend=discoverer"
+ "-Dsystemd_user_services=no"
+ ;; Ensure the RUNPATH contains all installed library locations.
+ (string-append "-Dc_link_args=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib/tracker-miners-"
+ ,(version-major version)
+ ".0"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ (substitute* "tests/libtracker-miners-common/meson.build"
+ (("'file-utils',")
+ ""))
+ #t)))))
(native-inputs
- `(("dbus" ,dbus)
- ("intltool" ,intltool)
- ("glib:bin" ,glib "bin")
+ `(("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
+ ("intltool" ,intltool)
("pkg-config" ,pkg-config)
("python-pygobject" ,python-pygobject)))
(inputs
- `(("exempi" ,exempi)
- ("ffmpeg" ,ffmpeg)
+ `(("dbus" ,dbus)
+ ("exempi" ,exempi)
("flac" ,flac)
+ ("gexiv2" ,gexiv2)
("giflib" ,giflib)
("glib" ,glib)
("gstreamer" ,gstreamer)
- ("icu4c" ,icu4c)
+ ("gst-plugins-base" ,gst-plugins-base)
+ ("icu-uc" ,icu4c)
("libcue" ,libcue)
("libexif" ,libexif)
+ ("libgrss" ,libgrss)
("libgsf" ,libgsf)
("libgxps" ,libgxps)
("libiptcdata" ,libiptcdata)
@@ -9782,25 +9797,27 @@ search tool. This package provides Tracker-Core, that
contains the database
("libpng" ,libpng)
("libseccomp" ,libseccomp)
("libtiff" ,libtiff)
- ("libvorbis" ,libvorbis)
("libxml2" ,libxml2)
- ("poppler" ,poppler)
+ ("poppler-glib" ,poppler)
("taglib" ,taglib)
- ("totem-pl-parser" ,totem-pl-parser)
+ ("totem-plparser" ,totem-pl-parser)
("tracker" ,tracker)
- ("upower" ,upower)
+ ("upower-glib" ,upower)
+ ("vorbisfile" ,libvorbis)
("zlib" ,zlib)))
- (synopsis "Metadata database, indexer and search tool")
+ (synopsis "Search Engine and Triplestore")
+ (description "Tracker is a filesystem indexer, metadata storage system and
+search tool. This package provides Tracker-Miners, that contains the indexer
+daemon (tracker-miner-fs) and tools to extract metadata from many different
+filetypes.")
(home-page "https://wiki.gnome.org/Projects/Tracker")
- (description
- "Tracker is an advanced framework for first class objects with associated
-metadata and tags. It provides a one stop solution for all metadata, tags,
-shared object databases, search tools and indexing.")
- ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
- ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
- (license (list license:gpl2+
- license:lgpl2.1+
- license:lgpl2.0+))))
+ (license
+ (list
+ ;; LibTracker-Extract, LibTracker-Miners-Common
+ ;; and Tracker-Extract
+ license:lgpl2.1+
+ ;; Miners-Apps and Miners-FS
+ license:gpl2+))))
(define-public nautilus
(package
- 201/277: gnu: libgsf: Update package definition., (continued)
- 201/277: gnu: libgsf: Update package definition., guix-commits, 2020/08/06
- 203/277: gnu: libgudev: Update package definition., guix-commits, 2020/08/06
- 186/277: gnu: Add libdmapsharing., guix-commits, 2020/08/06
- 196/277: gnu: Add seed., guix-commits, 2020/08/06
- 197/277: gnu: Add memphis., guix-commits, 2020/08/06
- 200/277: gnu: libgnomekbd: Update package definition., guix-commits, 2020/08/06
- 202/277: gnu: libgtop: Update package definition., guix-commits, 2020/08/06
- 208/277: gnu: libmediaart: Update package definition., guix-commits, 2020/08/06
- 215/277: gnu: mm-common: Update package definition., guix-commits, 2020/08/06
- 194/277: gnu: gtk-vnc: Update package definition., guix-commits, 2020/08/06
- 234/277: gnu: tracker-miners: Update package definition.,
guix-commits <=
- 205/277: gnu: libgweather: Update package definition., guix-commits, 2020/08/06
- 209/277: gnu: libnma: Update package definition., guix-commits, 2020/08/06
- 240/277: gnu: texlive-bin: Recompile with -fPIC., guix-commits, 2020/08/06
- 246/277: gnu: gnome-boxes: Update package definition., guix-commits, 2020/08/06
- 223/277: gnu: phodav: Update package definition., guix-commits, 2020/08/06
- 226/277: gnu: Add libgrss., guix-commits, 2020/08/06
- 231/277: gnu: totem-pl-parser: Update package definition., guix-commits, 2020/08/06
- 239/277: gnu: epiphany: Update package definition., guix-commits, 2020/08/06
- 250/277: gnu: gnome-clocks: Update package definition., guix-commits, 2020/08/06
- 182/277: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2020/08/06