[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
234/402: gnu: tracker-miners: Update package definition.
From: |
guix-commits |
Subject: |
234/402: gnu: tracker-miners: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:47 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 247b9b2cfd0689bd5e30288f5b08eb3082b0939e
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 5856265..d32c55b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9738,45 +9738,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)
@@ -9785,25 +9800,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
- 194/402: gnu: gtk-vnc: Update package definition., (continued)
- 194/402: gnu: gtk-vnc: Update package definition., guix-commits, 2020/08/18
- 202/402: gnu: libgtop: Update package definition., guix-commits, 2020/08/18
- 207/402: gnu: libhandy: Update package definition., guix-commits, 2020/08/18
- 209/402: gnu: libnma: Update package definition., guix-commits, 2020/08/18
- 219/402: gnu: Add dnssec-trigger., guix-commits, 2020/08/18
- 221/402: gnu: appstream-glib: Fix tests., guix-commits, 2020/08/18
- 223/402: gnu: phodav: Update package definition., guix-commits, 2020/08/18
- 220/402: gnu: network-manager: Update package definition., guix-commits, 2020/08/18
- 227/402: gnu: vte: Update package definition., guix-commits, 2020/08/18
- 230/402: gnu: libquvi: Update package definition., guix-commits, 2020/08/18
- 234/402: gnu: tracker-miners: Update package definition.,
guix-commits <=
- 237/402: gnu: cheese: Update package definition., guix-commits, 2020/08/18
- 242/402: gnu: file-roller: Update package definition., guix-commits, 2020/08/18
- 246/402: gnu: gnome-boxes: Update package definition., guix-commits, 2020/08/18
- 255/402: gnu: gnome-boxes: Fix home-page., guix-commits, 2020/08/18
- 264/402: gnu: rust-cssparser: Remove duplicate definition., guix-commits, 2020/08/18
- 265/402: gnu: rust-cssparser-macros@0.6.0: Fix reference to rust-quote., guix-commits, 2020/08/18
- 267/402: gnu: rust-serial-test-derive@0.4.0: Fix reference to rust-quote., guix-commits, 2020/08/18
- 269/402: gnu: rust-peg@0.5.7: Remove duplicate definition., guix-commits, 2020/08/18
- 276/402: gnu: rust-serial-test-derive@0.4.0: Fix reference to rust-syn., guix-commits, 2020/08/18
- 277/402: gnu: rust-rgb@0.8.20: Fix references to rust-bytemuck, rust-serde, rust-serde-json., guix-commits, 2020/08/18