[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/3] gnu: Add reposurgeon.

From: Ludovic Courtès
Subject: Re: [PATCH 2/3] gnu: Add reposurgeon.
Date: Wed, 13 Apr 2016 23:01:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mathieu Lirzin <address@hidden> skribis:

> * gnu/packages/version-control.scm (reposurgeon): New variable.


> +         (add-before 'build 'fix-docbook
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (setenv "XML_CATALOG_FILE"
> +                     (string-append (assoc-ref inputs "docbook-xsl")
> +                                    "/xml/xsl/docbook-xsl-"
> +                                    ,(package-version docbook-xsl)
> +                                    "/manpages/docbook.xsl"))

Could you add a comment on why this is needed?

Normally, with libxml2 as an input, ‘XML_CATALOG_FILE’ should be
properly initialized.

> +             ;; xsltproc generates random ids when the source document 
> doesn't
> +             ;; provide them.  This is making the build not reproducible.
> +             (substitute* "reposurgeon.xml"

Eventually we should fix it in libxslt along these lines:

Could you send an updated patch?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]