unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: John Darrington <jmd@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 5/6] gnu: Enable gnome-doc-utils tests
Date: Tue, 15 Jul 2014 22:59:17 +0200	[thread overview]
Message-ID: <87r41ml4nu.fsf@gnu.org> (raw)
In-Reply-To: <1405449096-29230-5-git-send-email-jmd@gnu.org> (John Darrington's message of "Tue, 15 Jul 2014 20:31:35 +0200")

John Darrington <jmd@gnu.org> skribis:

> * gnu/packages/gnome (gnome-doc-utils): Set the XML_CATALOG_FILES variable and
>   enable the tests.

OK to push for now, but:

> +    (arguments
> +     `(#:phases
> +       (alist-cons-before
> +        'check 'pre-check
> +        (lambda* (#:key inputs #:allow-other-keys #:rest args)
> +          ;; This is needed, because without it, xmlint etc tries
> +          ;; to download docbookx.dtd from the net
> +          (setenv "XML_CATALOG_FILES" 
> +                  (string-append (assoc-ref inputs "docbook-xml") 
> +                                 "/xml/dtd/docbook/catalog.xml")))
> +        %standard-phases)))
>      (native-inputs
>       `(("intltool" ,intltool)
> +       ("docbook-xml" ,docbook-xml-4.4)

We can’t copy that around forever.

The problem is that ‘search-path-specification’ is meant for $PATH-like
variables that list directories, not files.

So I see two solutions:

  1. Patch libxml2 so that it honors a new variable, say
     $XML_CATALOG_DIRECTORIES, which would allow us to use
     ‘search-path-specification’.

  2. Augment support for search paths to allow file-based search paths.

(2) may be best in the long run, but it has ramifications in different
places.

Thoughts?

Ludo’.

  reply	other threads:[~2014-07-15 20:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15 18:31 [PATCH 1/6] gnu: docbook-xsl update to 1.78.1 John Darrington
2014-07-15 18:31 ` [PATCH 2/6] gnu: Add docbook-xml version 4.3 and 4.4 John Darrington
2014-07-15 20:49   ` Ludovic Courtès
2014-07-15 18:31 ` [PATCH 3/6] gnu: docbook-xml: Substite remote xml_catalog uris with local ones John Darrington
2014-07-15 20:51   ` Ludovic Courtès
2014-07-15 18:31 ` [PATCH 4/6] gnu: docbook-xsl write absolute file:// uris in catalogs instead of ./ relative ones John Darrington
2014-07-15 20:51   ` Ludovic Courtès
2014-07-15 18:31 ` [PATCH 5/6] gnu: Enable gnome-doc-utils tests John Darrington
2014-07-15 20:59   ` Ludovic Courtès [this message]
2014-07-15 21:43     ` John Darrington
2014-07-16  9:23       ` Ludovic Courtès
2014-07-16 10:08         ` John Darrington
2014-07-15 18:31 ` [PATCH 6/6] gnu: Tinyproxy: Cleanup xml dependencies John Darrington
2014-07-15 21:00   ` Ludovic Courtès
2014-07-15 21:11     ` John Darrington
2014-07-15 20:49 ` [PATCH 1/6] gnu: docbook-xsl update to 1.78.1 Ludovic Courtès

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=87r41ml4nu.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=jmd@gnu.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).