all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add tracker.
@ 2016-02-06 20:47 rennes
  2016-02-06 22:28 ` Leo Famulari
  0 siblings, 1 reply; 7+ messages in thread
From: rennes @ 2016-02-06 20:47 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

Hi,

i attached patch with new variable(tracker) for gnome.scm.

Tracker, is a search engine and metadata storage system used for 
nautilus(gnome file manager).

The steps i follow are:

  a) I edit gnu/packages/gnome.scm and added tracker variable.
  b) git add gnu/packages/gnome.scm
  c) git commit -m 'gnu: Add tracker.'
  d) git format-patch -1

i wait your comments. Regards.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-tracker.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-tracker.patch, Size: 2603 bytes --]

From 5f12e06b8ab0861644a07ea070ed276ad34f4701 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@openmailbox.org>
Date: Sat, 6 Feb 2016 21:31:09 +0100
Subject: [PATCH] gnu: Add tracker.

* gnu/packages/gnome.scm (tracker): New variable.

---
 gnu/packages/gnome.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2230dcc..a8f2b5b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -68,6 +68,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)
@@ -4602,3 +4603,43 @@ applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
 GTK-VNC implements client side RFB protocol and authentication extensions such
 as SASL, TLS and VeNCrypt.  Additionally it supports encoding extensions.")
     (license license:lgpl2.1+)))
+
+(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
+     ;; Testsuite finishes with errors.
+     `(#:configure-flags '("--enable-unit-tests=no")))
+    (native-inputs
+     `(("glib" ,glib) ; for glib-compile-schemas, gio-2.0.
+       ("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gobject-introspection" ,gobject-introspection)
+       ("libpng" ,libpng)
+       ("libunistring" ,libunistring)
+       ("libxml2" ,libxml2)
+       ("sqlite" ,sqlite)
+       ("uuidgen" ,util-linux)
+       ("xsltproc" ,libxslt)
+       ("zlib" ,zlib)))
+    (home-page "https://wiki.gnome.org/Projects/Tracker")
+    (synopsis "Search engine and metadata storage system")
+    (description
+     "Tracker is a search engine, search tool and metadata storage
+system.  Tracker allows the user to find their data as fast as possible.
+Tracker organises data in categories and enable tag in the data with
+keywords which can be used to find related information.")
+    ;; See COPYING for details.
+    (license (list license:lgpl2.1+ license:gpl2+ license:bsd-3))))
-- 
2.6.3


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] gnu: Add tracker.
@ 2016-02-10  1:35 rennes
  2016-03-08  9:38 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: rennes @ 2016-02-10  1:35 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-tracker.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-tracker.patch, Size: 2838 bytes --]

From 6c5efb2e7ce8102469c5ee15106e58ffcfb77fb3 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-14  0:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-06 20:47 [PATCH] gnu: Add tracker rennes
2016-02-06 22:28 ` Leo Famulari
2016-02-07  0:55   ` rennes
2016-02-07  2:19     ` 宋文武
  -- strict thread matches above, loose matches on Subject: below --
2016-02-10  1:35 rennes
2016-03-08  9:38 ` Ludovic Courtès
2016-03-14  0:19   ` rennes

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.