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

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


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

docbook-sgml: Moved from other to core.
---
  doc-tools/docbook-sgml/BUILD        | +0/-14    
  doc-tools/docbook-sgml/DEPENDS      | +0/-2     
  doc-tools/docbook-sgml/DETAILS      | +0/-42    
  doc-tools/docbook-sgml/POST_INSTALL | +0/-19    
  doc-tools/docbook-sgml/PRE_BUILD    | +0/-13    
  doc-tools/docbook-sgml/PRE_REMOVE   | +0/-5     
  6 files changed, 95 deletions(-)

--- a/doc-tools/docbook-sgml/BUILD
+++ /dev/null
@@ -1,14 +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/sgml /usr/share/sgml/docbook
-
-) > $C_FIFO 2>&1
--- a/doc-tools/docbook-sgml/DEPENDS
+++ /dev/null
@@ -1,2 +0,0 @@
-depends sgml-common
-depends unzip
--- a/doc-tools/docbook-sgml/DETAILS
+++ /dev/null
@@ -1,42 +0,0 @@
-# All docbook packages are NOT cumulative so do NOT replace old releases with new one
-# If you need to add new docbook release add it as another SOURCE.
-# You have to review all scripts in this module to modify them to add another source.
-          MODULE=docbook-sgml
-             MOD=docbook
-         VERSION=4.5
-          SOURCE1=docbk31.zip
-          SOURCE2=docbk41.zip
-          SOURCE3=$MOD-4.2.zip
-          SOURCE4=$MOD-4.3.zip
-          SOURCE5=$MOD-$VERSION.zip
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/sgml
-      SOURCE5_URL[0]=http://www.oasis-open.org/docbook/sgml/4.5
-      SOURCE5_URL[1]=http://www.docbook.org/sgml/4.5
-      SOURCE4_URL[0]=http://www.oasis-open.org/docbook/sgml/4.3
-      SOURCE4_URL[1]=http://www.docbook.org/sgml/4.3
-      SOURCE3_URL[0]=http://www.oasis-open.org/docbook/sgml/4.2
-      SOURCE3_URL[1]=http://www.docbook.org/sgml/4.2
-      SOURCE2_URL[0]=http://www.oasis-open.org/docbook/sgml/4.1
-      SOURCE2_URL[1]=http://www.docbook.org/sgml/4.1
-      SOURCE1_URL[0]=http://www.oasis-open.org/docbook/sgml/3.1
-      SOURCE1_URL[1]=http://www.docbook.org/sgml/3.1
-     SOURCE1_VFY=sha1:75a5bb4f17b17ff0f7dd1cc2db7112bad0fb89e6
-     SOURCE2_VFY=sha1:3009fcc364511d186da40e828bf0d5d1556c020e
-     SOURCE3_VFY=sha1:98afcae616ed24edb30e40baa4ddd8cd8731f2c7
-     SOURCE4_VFY=sha1:c64759d07514a7ab4347b1fc03457664cdf98b3f
-     SOURCE5_VFY=sha1:5efeb22936ea30cdaf88053337de7966dfda02bd
-        WEB_SITE=http://www.oasis-open.org/docbook/sgml
-         ENTERED=20030103
-         UPDATED=20100814
-           SHORT="The DocBook SGML DTD pack"
-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-sgml/POST_INSTALL
+++ /dev/null
@@ -1,19 +0,0 @@
-CENTRALIZED=/etc/sgml/catalog
-if ! [ -e "$CENTRALIZED" ]; then
-     echo "Creating $CENTRALIZED"
-     mkdir -p /etc/sgml
-     touch $CENTRALIZED
-fi
-
-DOCBOOK_INSTALL_DIR=/usr/share/sgml/docbook/sgml
-for DOCBOOK in `ls -d $DOCBOOK_INSTALL_DIR/*`
-do
-install-catalog --add $CENTRALIZED $DOCBOOK/catalog
-done
-
-# Do not loopback (breaks docbook-utils build)
-install-catalog -r $CENTRALIZED /etc/sgml/catalog
-
-if module_installed docbook-utils; then
-  lin -rc docbook-utils
-fi
--- a/doc-tools/docbook-sgml/PRE_BUILD
+++ /dev/null
@@ -1,13 +0,0 @@
-mk_source_dir $SOURCE_DIRECTORY &&
-cd $SOURCE_DIRECTORY &&
-for dir in '3.1 4.1 4.2 4.3 4.5'
-do mkdir $dir; done &&
-unzip $SOURCE_CACHE/$SOURCE1 -d $SOURCE_DIRECTORY/3.1 &&
-unzip $SOURCE_CACHE/$SOURCE2 -d $SOURCE_DIRECTORY/4.1 &&
-unzip $SOURCE_CACHE/$SOURCE3 -d $SOURCE_DIRECTORY/4.2 &&
-unzip $SOURCE_CACHE/$SOURCE4 -d $SOURCE_DIRECTORY/4.3 &&
-unzip $SOURCE_CACHE/$SOURCE5 -d $SOURCE_DIRECTORY/4.5 &&
-CENTRALIZED=/etc/sgml/catalog
-for DOCBOOK_INSTALL_DIR in `ls -d /usr/share/sgml/docbook/{3*,4*,docbook-sgml*,sgml} 2>/dev/null`
-do install-catalog -r $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog; done
-rm -rf /usr/share/sgml/docbook/{3*,4*,docbook-sgml-*,old.libraries,sgml}
--- a/doc-tools/docbook-sgml/PRE_REMOVE
+++ /dev/null
@@ -1,5 +0,0 @@
-CENTRALIZED=/etc/sgml/catalog
-for DOCBOOK_INSTALL_DIR in `ls -d /usr/share/sgml/docbook/sgml/* 2>/dev/null`
-do
-install-catalog -r $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog
-done




More information about the Lunar-commits mailing list