--- Begin Message ---
Subject: |
asciidoc depends on Internet connection instead of docbook-xsl package |
Date: |
Wed, 3 Aug 2016 19:14:54 +0200 |
User-agent: |
Mutt/1.6.2 (2016-07-01) |
I'm trying to create package for sway and I noticed strange behavior
difference between build by daemon and by me within prepared
environment.
I found the reason for that - a2x (asciidoc) is trying to access
manpage/docbook.xsl.
asciidoc package needs to be adjusted to use docbook-xsl package files
instead so it could be used for build.
$ ag 'import.*docbook\.xsl' /gnu/store/*-asciidoc-*
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/xhtml.xsl
12:<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/fo.xsl
16:<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/manpage.xsl
12:<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/epub.xsl
12: <xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl"/>
IMO, for these files it should be sufficient to replace:
http://docbook.sourceforge.net/release/xsl/current/
with
/gnu/store/…-docbook-xsl-*/xml/xsl/docbook-xsl-*/
S_W
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24145: [PATCH] gnu: asciidoc: Use local docbook-xsl package. |
Date: |
Mon, 22 Aug 2016 02:44:57 -0400 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Mon, Aug 22, 2016 at 08:04:40AM +0200, Tomáš Čech wrote:
> On Sun, Aug 21, 2016 at 05:44:12PM -0400, Leo Famulari wrote:
> > On Fri, Aug 19, 2016 at 09:08:43PM +0200, Tomáš Čech wrote:
> > > * gnu/packages/documentation.scm (asciidoc)[inputs]: Add docbook-xsl.
> > > [arguments]: Add 'make-local-docbook-xsl' phase.
> >
> > Thanks! I added a comment above the phase and pushed as dd10ba6356.
>
> Thanks!
>
> > And then I remembered that you could have pushed it yourself. Oops!
>
> That doesn't matter :)
>
> I think we can close bug#24145 now.
>
> S_W
signature.asc
Description: PGP signature
--- End Message ---