unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: rennes@openmailbox.org
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add tracker.
Date: Sun, 07 Feb 2016 10:19:36 +0800	[thread overview]
Message-ID: <87a8ndxnwn.fsf@member.fsf.org> (raw)
In-Reply-To: <4dcfb677f5dcedb93000cf585246fb58@openmailbox.org> (rennes@openmailbox.org's message of "Sun, 07 Feb 2016 01:55:38 +0100")

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.

  reply	other threads:[~2016-02-07  2:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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     ` 宋文武 [this message]
  -- 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8ndxnwn.fsf@member.fsf.org \
    --to=iyzsong@member.fsf.org \
    --cc=guix-devel@gnu.org \
    --cc=rennes@openmailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).