r37933 - trunk/configure
Author: ib Date: Thu Apr 20 23:59:57 2017 New Revision: 37933 Log: Change XSL and DocBook defaults. The current defaults have already been checked by configure and proven to be non-existent. So use network definitions as defaults instead. Additionally, update DocBook XML DTD to use V4.5. Modified: trunk/configure Modified: trunk/configure ============================================================================== --- trunk/configure Thu Apr 20 02:06:04 2017 (r37932) +++ trunk/configure Thu Apr 20 23:59:57 2017 (r37933) @@ -8235,7 +8235,7 @@ for try_chunk_xsl in \ done if test -z "$chunk_xsl"; then - chunk_xsl=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl + chunk_xsl=http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl echores "not found, using default" fake_chunk_xsl=yes else @@ -8260,7 +8260,7 @@ for try_docbook_xsl in \ done if test -z "$docbook_xsl"; then - docbook_xsl=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl + docbook_xsl=http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl echores "not found, using default" else echores "docbook.xsl" @@ -8312,7 +8312,7 @@ for try_dtd in \ done if test -z "$dtd"; then - dtd=/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd + dtd=http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd echores "not found, using default" else echores "docbookx.dtd" @@ -8324,7 +8324,7 @@ for lang in $language_doc; do <!-- ************************************************** This file is generated automatically. DO NOT EDIT. ************************************************** --> -<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "$dtd" [ <!ENTITY bugreports.xml SYSTEM "bugreports.xml">
On Thursday, 20 April 2017 at 22:59, ib wrote:
Author: ib Date: Thu Apr 20 23:59:57 2017 New Revision: 37933
Log: Change XSL and DocBook defaults.
The current defaults have already been checked by configure and proven to be non-existent. So use network definitions as defaults instead.
Won't this break building when there's no network access? Regards, Dominik -- MPlayer http://mplayerhq.hu | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
Dominik 'Rathann' Mierzejewski wrote on Fri, 21 Apr 2017 10:39:45 +0200:
On Thursday, 20 April 2017 at 22:59, ib wrote:
Author: ib Date: Thu Apr 20 23:59:57 2017 New Revision: 37933
Log: Change XSL and DocBook defaults.
The current defaults have already been checked by configure and proven to be non-existent. So use network definitions as defaults instead.
Won't this break building when there's no network access?
No more than it was already broken before. The old defaults have been proven to be non-existent by configure, so still using them will cause the documentation build to fail. If you don't have network access with the new defaults, the documentation build will fail, too. Same result, then. The network definitions are just the last attempt in case no local DocBook installation could be found. (And appropriately configuring the catalog of an existing local DocBook installation not found by configure with rewrite rules will avoid any network access at all.) Ingo
participants (3)
-
Dominik 'Rathann' Mierzejewski -
ib -
Ingo Brückl