[Lunar-commits] <moonbase-other> docbook-xml: Moved from other to core.

Peter de Ridder peter at lunar-linux.org
Fri Jun 7 10:27:10 CEST 2013


commit cd08563b4027db19a16b72506cb86a979fff9cbf
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Thu, 06 Jun 2013 10:33:59 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/cd08563b4027db19a16b72506cb86a979fff9cbf

docbook-xml: Moved from other to core.
---
  doc-tools/docbook-xml/BUILD        | +0/-15    
  doc-tools/docbook-xml/DEPENDS      | +0/-3     
  doc-tools/docbook-xml/DETAILS      | +0/-40    
  doc-tools/docbook-xml/POST_INSTALL | +0/-34    
  doc-tools/docbook-xml/PRE_BUILD    | +0/-16    
  doc-tools/docbook-xml/PRE_REMOVE   | +0/-9     
  6 files changed, 117 deletions(-)

--- a/doc-tools/docbook-xml/BUILD
+++ /dev/null
@@ -1,15 +0,0 @@
-(
-
-  for DOCBOOK in `ls`; do
-      cd $DOCBOOK
-      ln -sf docbook.cat catalog
-      cd ..
-  done &&
-
-  prepare_install &&
-  rm -rf old.libraries &&
-  mkdir -p /usr/share/sgml/docbook &&
-  cp -rf $BUILD_DIRECTORY/xml /usr/share/sgml/docbook &&
-  install -m755 $SOURCE_CACHE/$SOURCE2 /usr/bin
-
-) > $C_FIFO 2>&1
--- a/doc-tools/docbook-xml/DEPENDS
+++ /dev/null
@@ -1,3 +0,0 @@
-depends docbook-sgml
-depends libxml2
-depends unzip
--- a/doc-tools/docbook-xml/DETAILS
+++ /dev/null
@@ -1,40 +0,0 @@
-          MODULE=docbook-xml
-         VERSION=4.5
-         SOURCE1=$MODULE-4.3.zip
-         SOURCE2=buildDocBookCatalog
-         SOURCE3=$MODULE-4.5.zip
-         SOURCE4=docbkx412.zip
-         SOURCE5=$MODULE-4.2.zip
-         SOURCE6=$MODULE-4.4.zip
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/xml
-  SOURCE1_URL[0]=http://www.oasis-open.org/docbook/xml/4.3
-  SOURCE1_URL[1]=http://www.docbook.org/xml/4.3
-  SOURCE2_URL[0]=http://xmlsoft.org
-  SOURCE3_URL[0]=http://www.oasis-open.org/docbook/xml/4.5
-  SOURCE3_URL[1]=http://www.docbook.org/xml/4.5
-  SOURCE4_URL[0]=http://www.oasis-open.org/docbook/xml/4.1.2
-  SOURCE4_URL[1]=http://www.docbook.org/xml/4.1.2
-  SOURCE5_URL[0]=http://www.oasis-open.org/docbook/xml/4.2
-  SOURCE5_URL[1]=http://www.docbook.org/xml/4.2
-  SOURCE6_URL[0]=http://www.oasis-open.org/docbook/xml/4.4
-  SOURCE6_URL[1]=http://www.docbook.org/xml/4.4
-       SOURCE1_VFY=sha1:e79a59e9164c1013b8cc9f64f96f909a184ca016
-     SOURCE2_VFY=sha1:9890a7505713a5c78b038f7e5a2b9e06d6f96f1d
-     SOURCE3_VFY=sha1:b9124233b50668fb508773aa2b3ebc631d7c1620
-     SOURCE4_VFY=sha1:b9ae7a41056bfaf885581812d60651b7b5531519
-     SOURCE5_VFY=sha1:5e3a35663cd028c5c5fbb959c3858fec2d7f8b9e
-     SOURCE6_VFY=sha1:7c4d91c82ad3747e1b5600c91782758e5d91c22b
-        WEB_SITE=http://www.oasis-open.org/docbook/xml
-         ENTERED=20030103
-         UPDATED=20100814
-           SHORT="The DocBook XML DTD"
-
-cat << EOF
-DocBook is an XML/SGML vocabulary particularly well suited to books
-and papers about computer hardware and software (though it is by no
-means limited to these applications).
-The DocBook Technical Committee maintains the DocBook schema.
-DocBook is officially available as a Document Type Definition (DTD)
-for both XML and SGML. It is unofficially available in other forms
-as well.
-EOF
--- a/doc-tools/docbook-xml/POST_INSTALL
+++ /dev/null
@@ -1,34 +0,0 @@
-mkdir -p /etc/xml
-
-/usr/bin/$SOURCE2 --prefix=/etc/xml --version=4.1.2
-/usr/bin/$SOURCE2 --prefix=/etc/xml --version=4.2
-/usr/bin/$SOURCE2 --prefix=/etc/xml --version=4.3
-/usr/bin/$SOURCE2 --prefix=/etc/xml --version=4.4
-/usr/bin/$SOURCE2 --prefix=/etc/xml --version=4.5
-
-# Docbook 4.3 and 4.5 for some unknown reason are not registered
-# at first time so we repeat those registrations (fixes gtk-doc)
-/usr/bin/$SOURCE2 --prefix=/etc/xml --version=4.3
-/usr/bin/$SOURCE2 --prefix=/etc/xml --version=4.5
-
-(
-
-xmlcatalog --noout --add "delegateSystem" \
-    "http://www.oasis-open.org/" \
-    "file:///usr/share/sgml" /etc/xml/catalog &&
-xmlcatalog --noout --add "delegateURI" \
-    "http://www.oasis-open.org" \
-    "file:///usr/share/sgml" /etc/xml/catalog &&
-xmlcatalog --noout --add "rewriteSystem" \
-    "http://www.oasis-open.org" \
-    "file:///usr/share/sgml" /etc/xml/catalog &&
-xmlcatalog --noout --add "rewriteURI" \
-    "http://www.oasis-open.org" \
-    "file:///usr/share/sgml" /etc/xml/catalog
-
-)
-
-# Clean up wrongly added sgml to xml (fixes scrollkeeper)
-sedit '/sgml\/docbook\/sgml/d' /etc/xml/docbook
-
-if module_installed scrollkeeper; then lin -c scrollkeeper; fi
--- a/doc-tools/docbook-xml/PRE_BUILD
+++ /dev/null
@@ -1,16 +0,0 @@
-mk_source_dir $SOURCE_DIRECTORY &&
-cd $SOURCE_DIRECTORY &&
-for dir in '4.1.2 4.2 4.3 4.4 4.5'
-do mkdir $dir; done &&
-unzip $SOURCE_CACHE/$SOURCE4 -d $SOURCE_DIRECTORY/4.1.2 &&
-unzip $SOURCE_CACHE/$SOURCE5 -d $SOURCE_DIRECTORY/4.2 &&
-unzip $SOURCE_CACHE/$SOURCE1 -d $SOURCE_DIRECTORY/4.3 &&
-unzip $SOURCE_CACHE/$SOURCE6 -d $SOURCE_DIRECTORY/4.4 &&
-unzip $SOURCE_CACHE/$SOURCE3 -d $SOURCE_DIRECTORY/4.5 &&
-#Remove old directory structure
-CENTRALIZED=/etc/sgml/catalog
-for DOCBOOK_INSTALL_DIR in `ls -d /usr/share/sgml/docbook/docbook-xml* 2>/dev/null`
-do install-catalog -r $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog; done
-for DOCBOOK_INSTALL_DIR in `ls -d /usr/share/sgml/docbook/xml 2>/dev/null`
-do install-catalog -r $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog; done
-rm -rf /usr/share/sgml/docbook/{docbook-xml-*,xml,old.libraries}
--- a/doc-tools/docbook-xml/PRE_REMOVE
+++ /dev/null
@@ -1,9 +0,0 @@
-CENTRALIZED=/etc/sgml/catalog
-for DOCBOOK_INSTALL_DIR in `ls -d /usr/share/sgml/docbook/docbook-xml* 2>/dev/null`
-do
-install-catalog -r $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog
-done
-for DOCBOOK_INSTALL_DIR in `ls -d /usr/share/sgml/docbook/xml/* 2>/dev/null`
-do
-install-catalog -r $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog
-done




More information about the Lunar-commits mailing list