[MPlayer-users] Slackware: Generating html docs for the svn mplayer

andrew andrew.david.45 at gmail.com
Wed Mar 5 23:01:20 CET 2008


On Wed, Mar 05, 2008 at 02:05:51PM +0100, Guillaume POIRIER wrote:
> Hello,
> 
> On Wed, Mar 5, 2008 at 1:22 AM, andrew <andrew.david.45 at gmail.com> wrote:
> > Hi,
> >
> >   I make sure to generate the html docs from the current svn each time
> >  I update but under a default installation of Slackware 12 there is a
> >  problem in that the required tools to convert the XML documentation
> >  are not found in the location suggested by /DOCS/xml/configure and the
> >  process of generating the docs fails.
> >
> >   I generate the files with my own clumsily patched /DOCS/xml/configure
> >  but is it possible for the following additions to be made to this file
> >  for the sake of Slackware 12 users? This would mean an automatic
> >  generation of the html files with no additions required:
> 
> Please send a patch instead. I believe the doc has all the details,
> though the operation is very simple:
> 
> cd mplayer
> diff DOCS/ > /tmp/path_fix.diff
> 
> And attach /tmp/path_fix.diff to your mail.

Indeed it is a simple procedure as I have just found out. I attach the
file as suggested to this email although I gather from patches.txt
this is not the normal procedure?

Please let me know if I should direct the small patch elsewhere or if
my technique is a little flawed?

    Andrew
-- 
http://www.andrews-corner.org
-------------- next part --------------
Index: DOCS/xml/configure
===================================================================
--- DOCS/xml/configure	(revision 26163)
+++ DOCS/xml/configure	(working copy)
@@ -8,6 +8,7 @@
 
 echo "Searching for XML catalogs..."
 for _try_catalog in \
+  /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog \
   /etc/sgml/catalog \
   /usr/share/xml/docbook/*/catalog.xml \
   /opt/local/share/xml/docbook-xml/*/catalog.xml \
@@ -40,6 +41,7 @@
 echo "Searching for stylesheets..."
 echo "Searching for html/chunk.xsl..."
 for _try_chunk_xsl in \
+  /usr/share/xml/docbook/xsl-stylesheets-1.72.0/html/chunk.xsl \
   /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl \
   /usr/share/sgml/docbook/yelp/docbook/html/chunk.xsl \
   /usr/local/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl \
@@ -68,6 +70,7 @@
 
 echo "Searching for html/docbook.xsl..."
 for _try_docbook_xsl in \
+  /usr/share/xml/docbook/xsl-stylesheets-1.72.0/html/docbook.xsl \
   /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl \
   /usr/share/sgml/docbook/yelp/docbook/html/docbook.xsl \
   /usr/local/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl \


More information about the MPlayer-users mailing list