Hi,
i made changes to the patch, i disable 'make check' because i found two
errors during this phase:
a) "Tracker-WARNING **: Locale '0' is not set, defaulting to C locale"
For this case i set LANG "en_US.UTF-8".
b) "Unable to load /var/lib/dbus/machine-id or /etc/machine-id"
For this i set DBUS_FATAL_WARNINGS" "0", but the error stay.
Thanks.
From 6c5efb2e7ce8102469c5ee15106e58ffcfb77fb3 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <ren...@openmailbox.org>
Date: Tue, 9 Feb 2016 19:27:15 -0600
Subject: [PATCH] gnu: Add tracker.
* gnu/packages/gnome.scm (tracker): New variable.
---
gnu/packages/gnome.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 49e6197..d7ce2ae 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -69,6 +69,7 @@
#:use-module (gnu packages ibus)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages libcanberra)
+ #:use-module (gnu packages libunistring)
#:use-module (gnu packages linux)
#:use-module (gnu packages libusb)
#:use-module (gnu packages lirc)
@@ -4648,3 +4649,47 @@ as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
design and behaviour, giving the user a simple way to navigate and manage its
files.")
(license license:gpl2+)))
+
+(define-public tracker
+ (package
+ (name "tracker")
+ (version "1.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1m6hys71n6faf6qx719vh8n4y2y63x7cygzh1rq56flvwa0fnxxx"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ `(#:tests? #f))
+ ;; XXX: fail on set LANG.
+ ;; XXX: fail on missing '/etc/machine-id'.
+ (native-inputs
+ `(("glib" ,glib) ;; XXX: fail with glib-compile-schemas, gio-2.0.
+ ("gobject-introspection" ,gobject-introspection)
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)
+ ("uuidgen" ,util-linux)
+ ("xsltproc" ,libxslt)))
+ (inputs
+ `(("libpng" ,libpng)
+ ("libunistring" ,libunistring)
+ ("libxml2" ,libxml2)
+ ("sqlite" ,sqlite)
+ ("zlib" ,zlib)))
+ (home-page "https://wiki.gnome.org/Projects/Tracker")
+ (synopsis "Desktop user information store, search tool and indexer")
+ (description
+ "Tracker is a semantic data storage for desktop and mobile devices.
+Tracker uses W3C standards for RDF ontologies using Nepomuk with SPARQL to query
+and update the data. Tracker is a central repository of user information, that
+provides two big benefits for the user; shared data between applications and
+information which is relational to other information.")
+ (license (list license:lgpl2.1+ ;; XXX: libtracker, tracker-extract.
+ ;; XXX: tracker-utils, gvdb.
+ license:gpl2+ ;; XXX: everything else.
+ license:bsd-3)))) ;; XXX: libstemmer.
--
2.6.3