unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24145: asciidoc depends on Internet connection instead of docbook-xsl package
@ 2016-08-03 17:14 Tomáš Čech
  2016-08-03 21:07 ` bug#24145: [PATCH] gnu: asciidoc: Use local " Tomáš Čech
  0 siblings, 1 reply; 6+ messages in thread
From: Tomáš Čech @ 2016-08-03 17:14 UTC (permalink / raw)
  To: 24145

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

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <20160814171749.5qumfswbr54c63vr@venom>]

end of thread, other threads:[~2016-08-29 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-03 17:14 bug#24145: asciidoc depends on Internet connection instead of docbook-xsl package Tomáš Čech
2016-08-03 21:07 ` bug#24145: [PATCH] gnu: asciidoc: Use local " Tomáš Čech
2016-08-10 18:48   ` Leo Famulari
2016-08-29 15:41   ` Ludovic Courtès
     [not found] <20160814171749.5qumfswbr54c63vr@venom>
     [not found] ` <20160819190843.12364-1-sleep_walker@gnu.org>
     [not found]   ` <20160821214412.GA29775@jasmine>
2016-08-22  6:04     ` Tomáš Čech
     [not found]     ` <20160822060440.f4opialymti3dyln@venom>
2016-08-22  6:44       ` Leo Famulari

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