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

* Re: [PATCH] gnu: Add tracker.
  2016-02-06 20:47 [PATCH] gnu: Add tracker rennes
@ 2016-02-06 22:28 ` Leo Famulari
  2016-02-07  0:55   ` rennes
  0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2016-02-06 22:28 UTC (permalink / raw)
  To: rennes; +Cc: guix-devel

On Sat, Feb 06, 2016 at 09:47:22PM +0100, rennes@openmailbox.org wrote:
> 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.'

   Don't forget:
   c′) ./pre-inst-env guix lint tracker

>  d) git format-patch -1
  
[...]

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

Okay.

> +    (arguments
> +     ;; Testsuite finishes with errors.
> +     `(#:configure-flags '("--enable-unit-tests=no")))

Are these failures important? Are they caused by the unusual Guix build
environment? If so, can you disable only the specific tests that are
failing?

Otherwise, I wait for the input of a GNOME / GTK expert :)

> +    (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	[flat|nested] 7+ messages in thread

* Re: [PATCH] gnu: Add tracker.
  2016-02-06 22:28 ` Leo Famulari
@ 2016-02-07  0:55   ` rennes
  2016-02-07  2:19     ` 宋文武
  0 siblings, 1 reply; 7+ messages in thread
From: rennes @ 2016-02-07  0:55 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

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

 

On 2016-02-06 23:28, Leo Famulari wrote:
> On Sat, Feb 06, 2016 at 09:47:22PM +0100, rennes@openmailbox.org wrote:
>> 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.'
> 
> Don't forget:
> c′) ./pre-inst-env guix lint tracker
> 
>> d) git format-patch -1
> 
> [...]
> 
>> * gnu/packages/gnome.scm (tracker): New variable.
> 
> Okay.
> 
>> + (arguments
>> + ;; Testsuite finishes with errors.
>> + `(#:configure-flags '("--enable-unit-tests=no")))
> 
> Are these failures important? Are they caused by the unusual Guix build
> environment? If so, can you disable only the specific tests that are
> failing?
> 
> Otherwise, I wait for the input of a GNOME / GTK expert :)
> 
>> + (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
>>

Thanks Leo,

the errors during Testsuite are:

ERROR: tracker-utils - missing test plan
ERROR: tracker-utils - exited with status 133 (terminated by signal 5?)
PASS: tracker-dbus 1 /libtracker-common/tracker-dbus/slist_to_strv_ok
PASS: tracker-dbus 2
/libtracker-common/tracker-dbus/slist_to_strv_failures
PASS: tracker-dbus 3 /libtracker-common/tracker-dbus/request
ERROR: tracker-file-utils - missing test plan
ERROR: tracker-file-utils - exited with status 133 (terminated by signal
5?) 

Testsuite summary for tracker 1.7.2 

# TOTAL: 68
# PASS: 42
# SKIP: 22
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 4 

I can`t see more details. 

Regards 

 

[-- Attachment #2: Type: text/html, Size: 3332 bytes --]

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

* Re: [PATCH] gnu: Add tracker.
  2016-02-07  0:55   ` rennes
@ 2016-02-07  2:19     ` 宋文武
  0 siblings, 0 replies; 7+ messages in thread
From: 宋文武 @ 2016-02-07  2:19 UTC (permalink / raw)
  To: rennes; +Cc: guix-devel

rennes@openmailbox.org writes:

> On 2016-02-06 23:28, Leo Famulari wrote:
>> On Sat, Feb 06, 2016 at 09:47:22PM +0100, rennes@openmailbox.org wrote:
>>> 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.'
>> 
>>    Don't forget:
>>    c′) ./pre-inst-env guix lint tracker
>> 
>>>  d) git format-patch -1
>>   
>> [...]
>> 
>>> * gnu/packages/gnome.scm (tracker): New variable.
>> 
>> Okay.
>> 
>>> +    (arguments
>>> +     ;; Testsuite finishes with errors.
>>> +     `(#:configure-flags '("--enable-unit-tests=no")))
>> 
>> Are these failures important? Are they caused by the unusual Guix build
>> environment? If so, can you disable only the specific tests that are
>> failing?
>> 
>> Otherwise, I wait for the input of a GNOME / GTK expert :)
>> 
>>> +    (native-inputs
>>> +     `(("glib" ,glib) ; for glib-compile-schemas, gio-2.0.
Should be ("glib:bin" ,glib "bin"), `,glib "bin"` mean use the "bin"
output of the glib package, and "glib:bin" is a name for this input,
name is not important, but we usually use that.

>>> +       ("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)))
I think gobject-introspection, uuidgen and xsltproc should move to
native-inputs if they are only used during build phases\.
You can check that after build with `guix size tracker' to see if
those inputs are still in the closure.

>>> +    (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.")
For GNOME projects, which have detailed doap file, I prefer synopsis and
description from upstream:

https://git.gnome.org/browse/tracker/tree/tracker.doap

>>> +    ;; See COPYING for details.
>>> +    (license (list license:lgpl2.1+ license:gpl2+ license:bsd-3))))
>>> --
>>> 2.6.3
>>>
>
> Thanks Leo,
>
> the errors during Testsuite are:
>
> ERROR: tracker-utils - missing test plan
> ERROR: tracker-utils - exited with status 133 (terminated by signal
> 5?)
> PASS: tracker-dbus 1 /libtracker-common/tracker-dbus/slist_to_strv_ok
> PASS: tracker-dbus 2
> /libtracker-common/tracker-dbus/slist_to_strv_failures
> PASS: tracker-dbus 3 /libtracker-common/tracker-dbus/request
> ERROR: tracker-file-utils - missing test plan
> ERROR: tracker-file-utils - exited with status 133 (terminated by
> signal 5?)
>
> Testsuite summary for tracker 1.7.2
>
> # TOTAL: 68
> # PASS: 42
> # SKIP: 22
> # XFAIL: 0
> # FAIL: 0
> # XPASS: 0
> # ERROR: 4
>
> I can`t see more details.
The log files (test-suite.log or *.log) should have more details,
you can build with 'guix build -K tracker' to keep the directory,
and look the log files.

^ permalink raw reply	[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

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

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

rennes@openmailbox.org skribis:

> 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.

I’ve addressed these issues in the attached patch.  However, there’s
still a couple of test failures; probably not too hard to address, but
I’m running out of time.  ;-)

Would you or anyone like to continue?

Thanks,
Ludo’.


[-- Attachment #2: the patch --]
[-- Type: text/x-patch, Size: 5757 bytes --]

From d72a22ea23ce7f8dd05c8d8b512691f72943f7ef Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@openmailbox.org>
Date: Tue, 8 Mar 2016 10:28:17 +0100
Subject: [PATCH] gnu: Add Tracker.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/gnome.scm (tracker): New variable.
* gnu/packages/patches/tracker-dbus-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu-system.am                                |  1 +
 gnu/packages/gnome.scm                       | 61 ++++++++++++++++++++++++++++
 gnu/packages/patches/tracker-dbus-test.patch | 14 +++++++
 3 files changed, 76 insertions(+)
 create mode 100644 gnu/packages/patches/tracker-dbus-test.patch

diff --git a/gnu-system.am b/gnu-system.am
index f4f1b89..9d37933 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -730,6 +730,7 @@ dist_patch_DATA =						\
   gnu/packages/patches/tk-find-library.patch			\
   gnu/packages/patches/tophat-build-with-later-seqan.patch	\
   gnu/packages/patches/torsocks-dns-test.patch			\
+  gnu/packages/patches/tracker-dbus-test.patch			\
   gnu/packages/patches/tvtime-gcc41.patch			\
   gnu/packages/patches/tvtime-pngoutput.patch			\
   gnu/packages/patches/tvtime-videodev2.patch			\
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c945c0e..25243ee 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -72,6 +72,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)
@@ -4866,3 +4867,63 @@ command-line interface.  It can record part or all of an X display for a
 specified duration and save it as a GIF encoded animated image file.")
       (home-page "https://git.gnome.org/browse/byzanz")
       (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"))
+              (patches (list (search-patch "tracker-dbus-test.patch")))))
+    (build-system glib-or-gtk-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (delete 'check)
+                  (add-after 'install 'check
+                    ;; Tests in libtracker-data expect the GLib schemas and
+                    ;; stop-words database to be installed.
+                    (assoc-ref %standard-phases 'check))
+                  (add-before 'check 'pre-check
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      ;; tracker-locale.c insists on checking 'LANG'.
+                      (setenv "LANG" "en_US.utf8")
+
+                      ;; No /etc/machine-id.
+                      (setenv "DBUS_FATAL_WARNINGS" "0")
+
+                      ;; Help tests find GLib schemas.
+                      (setenv "XDG_DATA_DIRS"
+                              (string-append (assoc-ref outputs "out")
+                                             "/share"))
+                      #t)))))
+    (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 "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.
diff --git a/gnu/packages/patches/tracker-dbus-test.patch b/gnu/packages/patches/tracker-dbus-test.patch
new file mode 100644
index 0000000..4767290
--- /dev/null
+++ b/gnu/packages/patches/tracker-dbus-test.patch
@@ -0,0 +1,14 @@
+Skip the 'tracker-file-notifier-test' since it wants to start
+dbus-daemon and insists on having /etc/machine-id, which is
+missing in the build environment.
+
+--- tracker-1.7.2/tests/libtracker-miner/tracker-file-notifier-test.c	2016-03-07 17:07:31.167013848 +0100
++++ tracker-1.7.2/tests/libtracker-miner/tracker-file-notifier-test.c	2016-03-07 17:07:42.419104703 +0100
+@@ -752,6 +752,7 @@ main (gint    argc,
+ 	g_test_init (&argc, &argv, NULL);
+ 
+ 	g_test_message ("Testing file notifier");
++	return g_test_run ();			  /* Skip! */
+ 
+ 	/* Crawling */
+ 	test_add ("/libtracker-miner/file-notifier/crawling-non-recursive",
-- 
2.6.3


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

* Re: [PATCH] gnu: Add tracker.
  2016-03-08  9:38 ` Ludovic Courtès
@ 2016-03-14  0:19   ` rennes
  0 siblings, 0 replies; 7+ messages in thread
From: rennes @ 2016-03-14  0:19 UTC (permalink / raw)
  To: ludo; +Cc: guix-devel

On 2016-03-08 03:38, ludo@gnu.org wrote:
> rennes@openmailbox.org skribis:
> 
>> 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.
> 
> I’ve addressed these issues in the attached patch.  However, there’s
> still a couple of test failures; probably not too hard to address, but
> I’m running out of time.  ;-)
> 
> Would you or anyone like to continue?
> 
> Thanks,
> Ludo’.


Hi, i keep trying; thanks for the patch.

^ permalink raw reply	[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.