docbook-xsl patch



Here is a patch against garnome-0.25.1 that will grab docbook-xsl style sheets and place them in the garnome tree, it also updates the buildDocBookCatalog script so it knows where to look for them.

I also updated the md5sums

Let me know if what I have put here is reasonable.  Some thoughts;

1. when buildDocBookCatalog looks for the xsl stylesheets it first looks in dirname $docbookdir, then /usr/share/xml, then /usr/local, then /usr/share/sgml then where I put them, in $sharedstatedir/sgml.

Maybe it should look in $sharedstatedir first? In case an old/incompatible version is installed on the system.

2. This could be done for other docbook stuff, like ISO DocBook entries and DocBook DTD.

Mike

diff -uNr garnome-0.25.1/bootstrap/docbook-xsl/Makefile garnome-0.25.1.orig/bootstrap/docbook-xsl/Makefile
--- garnome-0.25.1/bootstrap/docbook-xsl/Makefile	Thu Jul 17 18:43:23 2003
+++ garnome-0.25.1.orig/bootstrap/docbook-xsl/Makefile	Wed Dec 31 17:00:00 1969
@@ -1,25 +0,0 @@
-GARNAME = docbook-xsl
-GARVERSION = 1.61.3
-CATEGORIES = bootstrap
-DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
-
-MASTER_SITES = http://dl.sourceforge.net/docbook/
-
-DESCRIPTION = bootstrap
-define BLURB
-#FIXME: blurb goes here
-endef
-
-#CONFIGURE_SCRIPTS = $(WORKSRC)/configure
-#BUILD_SCRIPTS = $(WORKSRC)/Makefile
-#INSTALL_SCRIPTS = $(WORKSRC)/Makefile
-
-CONFIGURE_ARGS = $(DIRPATHS)
-
-include ../category.mk
-
-install:
-	echo $(main_sharedstatedir)
-	mkdir -p $(main_sharedstatedir)/sgml/docbook
-	cp -r $(WORKSRC) $(main_sharedstatedir)/sgml/docbook
-	@$(MAKECOOKIE)
diff -uNr garnome-0.25.1/bootstrap/docbook-xsl/checksums garnome-0.25.1.orig/bootstrap/docbook-xsl/checksums
--- garnome-0.25.1/bootstrap/docbook-xsl/checksums	Thu Jul 17 18:34:18 2003
+++ garnome-0.25.1.orig/bootstrap/docbook-xsl/checksums	Wed Dec 31 17:00:00 1969
@@ -1 +0,0 @@
-dc91b494e0afc586482c17e9373c0c56  download/docbook-xsl-1.61.3.tar.gz
diff -uNr garnome-0.25.1/gnome/libxml2/checksums garnome-0.25.1.orig/gnome/libxml2/checksums
--- garnome-0.25.1/gnome/libxml2/checksums	Thu Jul 17 18:52:03 2003
+++ garnome-0.25.1.orig/gnome/libxml2/checksums	Sun Jul 13 04:18:47 2003
@@ -1,3 +1,3 @@
 526b84406f163d8f514f40f9ba46c336  download/libxml2-2.5.8.tar.bz2
-3e4278bbf2e25804cedc34d8d5327e42  download/buildDocBookCatalog
+03fd5ed2951f830aba7e78ec55f1b156  download/buildDocBookCatalog
 f417b003b4d93c408ec005bcb6012eae  download/gar-base.diff
diff -uNr garnome-0.25.1/gnome/libxml2/files/buildDocBookCatalog garnome-0.25.1.orig/gnome/libxml2/files/buildDocBookCatalog
--- garnome-0.25.1/gnome/libxml2/files/buildDocBookCatalog	Thu Jul 17 18:49:02 2003
+++ garnome-0.25.1.orig/gnome/libxml2/files/buildDocBookCatalog	Sun Jul 13 04:18:47 2003
@@ -213,9 +213,6 @@
     found=`find /usr/share/sgml -name chunk.xsl 2> /dev/null`
 fi
 if [ "$found" = "" ] ; then
-    found=`find $sharedstatedir/sgml -name chunk.xsl 2> /dev/null`
-fi
-if [ "$found" = "" ] ; then
     echo could not locate chunk-common.xsl of DocBook XSLT stylesheets
     exit 1
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]