[Bug 1452] DocBook XSL Stylesheets-1.69.1

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Sat Sep 10 04:30:56 PDT 2005


http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=1452





------- Additional Comments From manuel at linuxfromscratch.org  2005-09-10 05:30 -------
All book's stylesheets has been updated to use version 1.69.1. Bellow is 
a revised  installation and configuration commands set. 
  
  INSTALLATION 
 
  Stylesheets installation: 
 
install -v -d -m755 /usr/share/xml/docbook/xsl-stylesheets-1.69.1 && 
cp -v -af VERSION common eclipse extensions fo html htmlhelp \ 
    images javahelp lib manpages params profiling slides \ 
    template website xhtml \ 
    /usr/share/xml/docbook/xsl-stylesheets-1.69.1 && 
chown -R root:root /usr/share/xml/docbook/xsl-stylesheets-1.69.1 
 
  Update system wide catalogs (maybe this fit better in the configuration   
section?): 
 
if [ ! -d /etc/xml ]; then 
  install -v -d -m755 /etc/xml 
fi && 
if [ ! -f /etc/xml/catalog ]; then 
  xmlcatalog --noout --create /etc/xml/catalog 
fi && 
xmlcatalog --noout --add "rewriteSystem" \ 
    "http://docbook.sourceforge.net/release/xsl/1.69.1" \ 
    "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \ 
    /etc/xml/catalog && 
xmlcatalog --noout --add "rewriteURI" \ 
    "http://docbook.sourceforge.net/release/xsl/1.69.1" \ 
    "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \ 
    /etc/xml/catalog && 
xmlcatalog --noout --add "rewriteSystem" \ 
    "http://docbook.sourceforge.net/release/xsl/current" \ 
    "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \ 
    /etc/xml/catalog && 
xmlcatalog --noout --add "rewriteURI" \ 
    "http://docbook.sourceforge.net/release/xsl/current" \ 
    "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \ 
    /etc/xml/catalog 
 
  Documentation installation: 
 
install -v -d -m755 /usr/share/doc/docbook-xsl-1.69.1 && 
cd doc && 
cp -v -af * /usr/share/doc/docbook-xsl-1.69.1 && 
chown -R root:root /usr/share/doc/docbook-xsl-1.69.1 
 
 
  CONFIGURATION 
 
  Required only by the [H]LFS Makefiles to can find the images: 
 
if [ ! -f usr/share/xml/docbook/xsl-stylesheets-current ]; then 
  rm /usr/share/xml/docbook/xsl-stylesheets-current 
fi && 
cd /usr/share/xml/docbook && 
ln -sv xsl-stylesheets-1.69.1 xsl-stylesheets-current 
 
The creation of /etc/profile.d/xsl.sh must be removed. Isn't needed 
and the catalog.xml file included with the package is bogus (point 
to 1.69.0 instead of 1.69.1). 
 
The catalogs updates to resolve older versions using the newest one should 
be removed. Generic stylesheets should to use "current" as the DocBook-XSL 
version. 
 
If some stylesheet use a harcoded DocBook-XSL version, then is most likely 
that the document that uses it don't will be properlly rendered using a 
different XSL version. 
 



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the blfs-book mailing list