GNOME Bugzilla – Bug 135499
docs don't build offline
Last modified: 2004-12-22 21:47:04 UTC
ifdown eth0 [or whatever interface] cd docs/pwg make and you'll see what I mean...
A temporary fix is to change line 2 of each "main" XML/docs file like this (example for gstreamer/docs/pwg/pwg.xml): --- a/pwg.xml 12 Feb 2004 13:04:02 -0000 1.8 +++ b/pwg.xml 28 Feb 2004 18:20:51 -0000 @@ -1,6 +1,6 @@ <?xml version='1.0'?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" - "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + "/usr/share/sgml/docbook/xml-dtd-4.2-1.0-17/docbookx.dtd" [ <!ENTITY % image-entities SYSTEM "image.entities"> %image-entities; <!ENTITY % version-entities SYSTEM "version.entities"> This makes this fairly low priority, but it'd still be nice to build docs without modifying... The proper way of doing this is probably to mess around with the XML catalog, but I don't know how to do that... Therefore, I'm leaving this open until that's fixed. :).
The solution is to get a very recent distro (those handle xml catalogs well) or hack around with the script located at http://xmlsoft.org/buildDocBookCatalog
*** Bug 137651 has been marked as a duplicate of this bug. ***
it is a distro specific bug. as stated in comment #2, smart distro have docbook tools that are smart enought to have a local catalog and to not fetch the on-line version everytime. so, i close this one as NOTGNOME