[Lunar-commits] CVS: moonbase/doc-tools/docbook-xsl BUILD, 1.6, 1.7 DETAILS, 1.14, 1.15 POST_INSTALL, 1.3, 1.4 POST_REMOVE, 1.1, 1.2 rebuild-docbook-catalog, 1.11, NONE

Moritz Heiber moe at lunar-linux.org
Wed Feb 16 02:20:01 UTC 2005


Update of /var/cvs/lunar/moonbase/doc-tools/docbook-xsl
In directory espresso.foo-projects.org:/tmp/cvs-serv13315/docbook-xsl

Modified Files:
	BUILD DETAILS POST_INSTALL POST_REMOVE 
Removed Files:
	rebuild-docbook-catalog 
Log Message:
Well, what can I say. I've been working on this for 10 hours straight
(Yes, ten hours). I just couldn't stand how broken docbook* was.

Everything is now updatable independently, there is nothing left behind
in any global configuration file. I also updated a couple of those modules
as they really deserved it.

Scheme change:

docbook-3.1 replaces any docbook-3.x module
docbook-sgml replaces any docbook-4.x module

iso832943-whatever was deprecated.
The /etc/xml/catalog rebuild is now done by a dynamic file fetched from
docbook.org (yeah, I know Nick, you modified it to fit in with Lunar ..
unfortunately you didn't catch up).

sgml-common has been sanitized.

Tested with gcc 3.3.3, 2.6.x and scrollkeeper, docbook-utils, glade2, gtk-doc
and a hell lot of others I probably forgot. Enjoy.

Oh and .. bow before your god.
(j/k)

PS: Thanks to the folks at BLFS .. without them I would have been clueless
(occasionally)


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/BUILD,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- BUILD	6 Jun 2004 12:30:53 -0000	1.6
+++ BUILD	16 Feb 2005 02:19:58 -0000	1.7
@@ -1,9 +1,14 @@
 (
 
-  DITDIR=/usr/share/sgml/docbook/xsl-stylesheets-$VERSION
-  prepare_install  &&  
-  mkdir -p $DITDIR &&
-  cp -R * $DITDIR  &&
-  cp $SCRIPT_DIRECTORY/rebuild-docbook-catalog /usr/sbin
+  TARGET=/usr/share/sgml/docbook/xsl-stylesheets-$VERSION
   
+  prepare_install &&
+  if ! [ -d "$TARGET" ]; then
+       mkdir -p $TARGET
+  fi &&
+  
+  rm -rf $SOURCE_DIRECTORY/old.libraries &&
+
+  cp -a $SOURCE_DIRECTORY/* $TARGET/
+
 ) > $C_FIFO 2>&1

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/DETAILS,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- DETAILS	10 Nov 2004 20:56:33 -0000	1.14
+++ DETAILS	16 Feb 2005 02:19:58 -0000	1.15
@@ -1,11 +1,11 @@
           MODULE=docbook-xsl
-         VERSION=1.67.0
-          SOURCE=$MODULE-$VERSION.tar.gz
+         VERSION=1.68.1
+          SOURCE=$MODULE-$VERSION.tar.bz2
    SOURCE_URL=$SFORGE_URL/docbook/
-      SOURCE_VFY=sha1:2fc43f6f2258fc604e295fef9f72ecf6bc31965c
+      SOURCE_VFY=sha1:b39a164cbfa6ec1373266bf1593610a366d72fa8
         WEB_SITE=http://docbook.sourceforge.net/projects/xsl/
          ENTERED=20020703
-         UPDATED=20041110
+         UPDATED=20050215
            SHORT="These are XSL stylesheets for the DocBook DTD and its derivatives."
 
 cat << EOF

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/POST_INSTALL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- POST_INSTALL	18 Sep 2003 00:54:41 -0000	1.3
+++ POST_INSTALL	16 Feb 2005 02:19:58 -0000	1.4
@@ -1,10 +1,3 @@
-( 
-if module_installed scrollkeeper; then
-   export FORCELINSK="yes" &&
-   message "Rebuilding docbook catalogs" &&
-   $SCRIPT_DIRECTORY/rebuild-docbook-catalog &&
-   unset FORCELINSK
-fi
-)
-                                                                                
+# We need to rebuild some modules
 
+if module_installed docbook-xml; then lin -c docbook-xml; fi

Index: POST_REMOVE
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/POST_REMOVE,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- POST_REMOVE	24 May 2003 20:48:04 -0000	1.1
+++ POST_REMOVE	16 Feb 2005 02:19:58 -0000	1.2
@@ -1,4 +1,2 @@
-(
-rm -fr /usr/share/docbook-xsl &&
-rm -fr /usr/share/sgml/docbook/xsl-stylesheets*
-)
+# Cleanups
+rm -rf /usr/share/sgml/docbook/xsl-stylesheets*

--- rebuild-docbook-catalog DELETED ---



More information about the Lunar-commits mailing list