From 062c31f995761199894b146d2ed99d9277e10297 Mon Sep 17 00:00:00 2001 From: Leonardo Boshell Date: Sun, 5 Jun 2005 17:50:45 +0000 Subject: Removing obsolete ebuilds/files. (Portage version: 2.0.51.22-r1) --- .../docbook-xml-dtd-4.1.2-r4.ebuild | 69 ------ .../docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild | 66 ------ .../files/build-docbook-catalog-4.1.2 | 244 --------------------- .../files/build-docbook-catalog-4.1.2-r3 | 244 --------------------- .../files/build-docbook-catalog-4.2 | 244 --------------------- .../files/digest-docbook-xml-dtd-4.1.2-r4 | 1 - .../files/digest-docbook-xml-dtd-4.2 | 1 - 7 files changed, 869 deletions(-) delete mode 100644 app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild delete mode 100644 app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild delete mode 100644 app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2 delete mode 100644 app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2-r3 delete mode 100644 app-text/docbook-xml-dtd/files/build-docbook-catalog-4.2 delete mode 100644 app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r4 delete mode 100644 app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.2 (limited to 'app-text') diff --git a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild deleted file mode 100644 index 824f29d21f74..000000000000 --- a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r4.ebuild,v 1.11 2005/01/01 16:10:41 eradicator Exp $ - -MY_P="docbkx412" -DESCRIPTION="Docbook DTD for XML" -HOMEPAGE="http://www.oasis-open.org/docbook/" -SRC_URI="http://www.oasis-open.org/docbook/xml/${PV}/${MY_P}.zip" - -LICENSE="X11" -SLOT="4.1.2" -KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64" -IUSE="" - -DEPEND=">=app-arch/unzip-5.41 - >=dev-libs/libxml2-2.4 - >=app-text/docbook-xsl-stylesheets-1.45" - -src_unpack() { - mkdir ${S} - cd ${S} - unpack ${A} -} - -src_install() { - - # still use the -r3 build file - newbin ${FILESDIR}/build-docbook-catalog-${PV}-r3 build-docbook-catalog - - keepdir /etc/xml - - insinto /usr/share/sgml/docbook/xml-dtd-${PV} - doins *.dtd *.mod - doins docbook.cat - insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent - doins ent/*.ent - - dodoc ChangeLog *.txt -} - -pkg_postinst() { - build-docbook-catalog - - # we need to add the docbookx.dtd to local, so - # packages that refer to it dont need to go http - # for it - CATALOG=/etc/xml/catalog - - /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \ - "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" \ - ${CATALOG} - - /usr/bin/xmlcatalog --noout --add "rewriteURI" \ - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \ - "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" \ - ${CATALOG} - -} - -pkg_postrm( ) { - - # and clean up the docbookx.dtd once we've been removed - CATALOG=/etc/xml/catalog - /usr/bin/xmlcatalog --noout --del \ - "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" \ - ${CATALOG} - -} diff --git a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild deleted file mode 100644 index 28f2cc07c922..000000000000 --- a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/docbook-xml-dtd-4.2.ebuild,v 1.24 2005/01/01 16:10:41 eradicator Exp $ - -MY_P="docbook-xml-4.2" -DESCRIPTION="Docbook DTD for XML" -HOMEPAGE="http://www.oasis-open.org/docbook/" -SRC_URI="http://www.oasis-open.org/docbook/xml/${PV}/${MY_P}.zip" - -LICENSE="X11" -SLOT="4.2" -KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 s390 ppc64" -IUSE="" - -DEPEND=">=app-arch/unzip-5.41 - >=dev-libs/libxml2-2.4 - >=app-text/docbook-xsl-stylesheets-1.45" - -src_unpack() { - mkdir ${S} - cd ${S} - unpack ${A} -} - -src_install() { - newbin ${FILESDIR}/build-docbook-catalog-${PV} build-docbook-catalog - - keepdir /etc/xml - - insinto /usr/share/sgml/docbook/xml-dtd-${PV} - doins *.dtd *.mod - doins docbook.cat - insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent - doins ent/*.ent - - dodoc ChangeLog README -} - -pkg_postinst() { - # FIXME: this script needs to work with 4.2 as well as 4.1.2 - build-docbook-catalog - - # we need to add the docbookx.dtd to local, so - # packages that refer to it dont need to go http - # for it - CATALOG=/etc/xml/catalog - - /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ - "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \ - "/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd" \ - ${CATALOG} - - /usr/bin/xmlcatalog --noout --add "rewriteURI" \ - "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \ - "/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd" \ - ${CATALOG} -} - -pkg_postrm() { - # and clean up the docbookx.dtd once we've been removed - CATALOG=/etc/xml/catalog - /usr/bin/xmlcatalog --noout --del \ - "/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd" \ - ${CATALOG} - -} diff --git a/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2 b/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2 deleted file mode 100644 index af133ef9b6a9..000000000000 --- a/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2 +++ /dev/null @@ -1,244 +0,0 @@ -#!/bin/sh - -ROOTCATALOG=/etc/xml/catalog -CATALOG=/etc/xml/docbook - -# -# create the catalogs root and docbook specific -# -if [ ! -r $ROOTCATALOG ] ; then - echo creating XML Catalog root $ROOTCATALOG - /usr/bin/xmlcatalog --noout --create $ROOTCATALOG -fi -if [ ! -r $ROOTCATALOG ] ; then - echo Failed creating XML Catalog root $ROOTCATALOG - exit 1 -fi -if [ ! -r $CATALOG ] ; then - echo creating DocBook XML Catalog $CATALOG - /usr/bin/xmlcatalog --noout --create $CATALOG -fi -if [ ! -r $CATALOG ] ; then - echo Failed creating DocBook XML Catalog $CATALOG - exit 1 -fi - -# -# find the prefix for DocBook DTD -# -found=`find /usr/share/xml -name docbookx.dtd` -if [ "$found" = "" ] ; then - found=`find $HOME -name docbookx.dtd` -fi -if [ "$found" = "" ] ; then - echo could not locate docbookx.dtd for DocBook XML - exit 1 -fi - -dtd421="" -for dtd in $found; do - check=`grep '//OASIS//DTD DocBook XML V4.1.2//EN' $dtd` - if [ "$check" != "" ] ; then - dtd421=$dtd - break - fi -done - -if [ "$dtd421" = "" ] ; then - echo could not locate version 4.1.2 of DocBook XML - exit 1 -fi - -docbookdir=`dirname $dtd421` -echo Found DocBook XML 4.1.2 DTD in $docbookdir -if [ ! -w $docbookdir ] ; then - echo Cannot write to $docbookdir - exit 2 -fi - -xmlcatalog --noout --add "public" \ - "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ - "file://$docbookdir/dbpoolx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD DocBook XML V4.1.2//EN" \ - "file://$docbookdir/docbookx.dtd" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ - "file://$docbookdir/dbcentx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ - "file://$docbookdir/dbnotnx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ - "file://$docbookdir/dbgenent.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ - "file://$docbookdir/dbhierx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ - "file://$docbookdir/soextblx.dtd" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ - "file://$docbookdir/calstblx.dtd" $CATALOG -xmlcatalog --noout --add "rewriteSystem" \ - "http://www.oasis-open.org/docbook/xml/4.1.2" \ - "file://$docbookdir" $CATALOG -xmlcatalog --noout --add "rewriteURI" \ - "http://www.oasis-open.org/docbook/xml/4.1.2" \ - "file://$docbookdir" $CATALOG - -xmlcatalog --noout --add "delegatePublic" \ - "-//OASIS//ENTITIES DocBook XML" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegatePublic" \ - "-//OASIS//DTD DocBook XML" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateSystem" \ - "http://www.oasis-open.org/docbook/" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateURI" \ - "http://www.oasis-open.org/docbook/" \ - "file://$CATALOG" $ROOTCATALOG - -# -# find the prefix for ISO DocBook entities -# -top=`dirname $docbookdir` -found=`find $top -name iso-amsb.ent` -if [ "$found" = "" ] ; then - found=`find /usr/share/xml -name iso-amsb.ent` -fi -if [ "$found" = "" ] ; then - echo could not locate iso-amsb.ent of ISO DocBook entities - exit 1 -fi - -entxml="" -for tst in $found; do - check=`grep '' $tst` - if [ "$check" != "" ] ; then - entxml=$tst - break - fi -done - -if [ "$entxml" = "" ] ; then - echo could not locate ISO DocBook entities - exit 1 -fi -isodir=`dirname $entxml` -echo Found ISO DocBook entities in $isodir - -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Publishing//EN" \ - "file://$isodir/iso-pub.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Greek Letters//EN" \ - "file://$isodir/iso-grk1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" \ - "file://$isodir/iso-box.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Greek Symbols//EN" \ - "file://$isodir/iso-grk3.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" \ - "file://$isodir/iso-amsn.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" \ - "file://$isodir/iso-num.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" \ - "file://$isodir/iso-grk4.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Diacritical Marks//EN" \ - "file://$isodir/iso-dia.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" \ - "file://$isodir/iso-grk2.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" \ - "file://$isodir/iso-amsa.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" \ - "file://$isodir/iso-amso.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" \ - "file://$isodir/iso-cyr1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES General Technical//EN" \ - "file://$isodir/iso-tech.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" \ - "file://$isodir/iso-amsc.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Latin 1//EN" \ - "file://$isodir/iso-lat1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" \ - "file://$isodir/iso-amsb.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Latin 2//EN" \ - "file://$isodir/iso-lat2.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" \ - "file://$isodir/iso-amsr.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" \ - "file://$isodir/iso-cyr2.ent" $CATALOG - -xmlcatalog --noout --add "delegatePublic" \ - "ISO 8879:1986" \ - "file://$CATALOG" $ROOTCATALOG - -# -# find the prefix for XSLT stylesheets -# -top=`dirname $docbookdir` -found=`find $top -name chunk.xsl` -if [ "$found" = "" ] ; then - found=`find /usr/share/xml -name chunk.xsl` -fi -if [ "$found" = "" ] ; then - found=`find /usr/share/sgml -name chunk.xsl` -fi -if [ "$found" = "" ] ; then - echo could not locate chunk-common.xsl of DocBook XSLT stylesheets - exit 1 -fi - -xsldir="" -for tst in $found; do - dir=`dirname $tst` - dir=`dirname $dir` - if [ -r $dir/html/docbook.xsl -a -r $dir/common/l10n.xml ]; then - xsldir=$dir - break - fi -done - -if [ "$xsldir" = "" ] ; then - echo could not locate DocBook XSLT stylesheets - exit 1 -fi -echo Found DocBook XSLT stylesheets in $xsldir -for version in current 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 \ - 1.48 1.49 1.50 -do - xmlcatalog --noout --add "rewriteSystem" \ - "http://docbook.sourceforge.net/release/xsl/$version" \ - "file://$xsldir" $CATALOG - xmlcatalog --noout --add "rewriteURI" \ - "http://docbook.sourceforge.net/release/xsl/$version" \ - "file://$xsldir" $CATALOG -done - -xmlcatalog --noout --add "delegateSystem" \ - "http://docbook.sourceforge.net/release/xsl/" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateURI" \ - "http://docbook.sourceforge.net/release/xsl/" \ - "file://$CATALOG" $ROOTCATALOG - -# -# diff --git a/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2-r3 b/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2-r3 deleted file mode 100644 index eca1d4e8b5d9..000000000000 --- a/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.1.2-r3 +++ /dev/null @@ -1,244 +0,0 @@ -#!/bin/sh - -ROOTCATALOG=/etc/xml/catalog -CATALOG=/etc/xml/docbook - -# -# create the catalogs root and docbook specific -# -if [ ! -r $ROOTCATALOG ] ; then - echo creating XML Catalog root $ROOTCATALOG - /usr/bin/xmlcatalog --noout --create $ROOTCATALOG -fi -if [ ! -r $ROOTCATALOG ] ; then - echo Failed creating XML Catalog root $ROOTCATALOG - exit 1 -fi -if [ ! -r $CATALOG ] ; then - echo creating DocBook XML Catalog $CATALOG - /usr/bin/xmlcatalog --noout --create $CATALOG -fi -if [ ! -r $CATALOG ] ; then - echo Failed creating DocBook XML Catalog $CATALOG - exit 1 -fi - -# -# find the prefix for DocBook DTD -# -found=`find /usr/share/sgml -name docbookx.dtd` -if [ "$found" = "" ] ; then - found=`find $HOME -name docbookx.dtd` -fi -if [ "$found" = "" ] ; then - echo could not locate docbookx.dtd for DocBook XML - exit 1 -fi - -dtd421="" -for dtd in $found; do - check=`grep '//OASIS//DTD DocBook XML V4.1.2//EN' $dtd` - if [ "$check" != "" ] ; then - dtd421=$dtd - break - fi -done - -if [ "$dtd421" = "" ] ; then - echo could not locate version 4.1.2 of DocBook XML - exit 1 -fi - -docbookdir=`dirname $dtd421` -echo Found DocBook XML 4.1.2 DTD in $docbookdir -if [ ! -w $docbookdir ] ; then - echo Cannot write to $docbookdir - exit 2 -fi - -xmlcatalog --noout --add "public" \ - "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ - "file://$docbookdir/dbpoolx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD DocBook XML V4.1.2//EN" \ - "file://$docbookdir/docbookx.dtd" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ - "file://$docbookdir/dbcentx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ - "file://$docbookdir/dbnotnx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ - "file://$docbookdir/dbgenent.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ - "file://$docbookdir/dbhierx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ - "file://$docbookdir/soextblx.dtd" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ - "file://$docbookdir/calstblx.dtd" $CATALOG -xmlcatalog --noout --add "rewriteSystem" \ - "http://www.oasis-open.org/docbook/xml/4.1.2" \ - "file://$docbookdir" $CATALOG -xmlcatalog --noout --add "rewriteURI" \ - "http://www.oasis-open.org/docbook/xml/4.1.2" \ - "file://$docbookdir" $CATALOG - -xmlcatalog --noout --add "delegatePublic" \ - "-//OASIS//ENTITIES DocBook XML" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegatePublic" \ - "-//OASIS//DTD DocBook XML" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateSystem" \ - "http://www.oasis-open.org/docbook/" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateURI" \ - "http://www.oasis-open.org/docbook/" \ - "file://$CATALOG" $ROOTCATALOG - -# -# find the prefix for ISO DocBook entities -# -top=`dirname $docbookdir` -found=`find $top -name iso-amsb.ent` -if [ "$found" = "" ] ; then - found=`find /usr/share/sgml -name iso-amsb.ent` -fi -if [ "$found" = "" ] ; then - echo could not locate iso-amsb.ent of ISO DocBook entities - exit 1 -fi - -entxml="" -for tst in $found; do - check=`grep '' $tst` - if [ "$check" != "" ] ; then - entxml=$tst - break - fi -done - -if [ "$entxml" = "" ] ; then - echo could not locate ISO DocBook entities - exit 1 -fi -isodir=`dirname $entxml` -echo Found ISO DocBook entities in $isodir - -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Publishing//EN" \ - "file://$isodir/iso-pub.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Greek Letters//EN" \ - "file://$isodir/iso-grk1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" \ - "file://$isodir/iso-box.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Greek Symbols//EN" \ - "file://$isodir/iso-grk3.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" \ - "file://$isodir/iso-amsn.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" \ - "file://$isodir/iso-num.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" \ - "file://$isodir/iso-grk4.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Diacritical Marks//EN" \ - "file://$isodir/iso-dia.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" \ - "file://$isodir/iso-grk2.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" \ - "file://$isodir/iso-amsa.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" \ - "file://$isodir/iso-amso.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" \ - "file://$isodir/iso-cyr1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES General Technical//EN" \ - "file://$isodir/iso-tech.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" \ - "file://$isodir/iso-amsc.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Latin 1//EN" \ - "file://$isodir/iso-lat1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" \ - "file://$isodir/iso-amsb.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Latin 2//EN" \ - "file://$isodir/iso-lat2.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" \ - "file://$isodir/iso-amsr.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" \ - "file://$isodir/iso-cyr2.ent" $CATALOG - -xmlcatalog --noout --add "delegatePublic" \ - "ISO 8879:1986" \ - "file://$CATALOG" $ROOTCATALOG - -# -# find the prefix for XSLT stylesheets -# -top=`dirname $docbookdir` -found=`find $top -name chunk.xsl` -if [ "$found" = "" ] ; then - found=`find /usr/share/sgml -name chunk.xsl` -fi -if [ "$found" = "" ] ; then - found=`find /usr/share/sgml -name chunk.xsl` -fi -if [ "$found" = "" ] ; then - echo could not locate chunk-common.xsl of DocBook XSLT stylesheets - exit 1 -fi - -xsldir="" -for tst in $found; do - dir=`dirname $tst` - dir=`dirname $dir` - if [ -r $dir/html/docbook.xsl -a -r $dir/common/l10n.xml ]; then - xsldir=$dir - break - fi -done - -if [ "$xsldir" = "" ] ; then - echo could not locate DocBook XSLT stylesheets - exit 1 -fi -echo Found DocBook XSLT stylesheets in $xsldir -for version in current 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 \ - 1.48 1.49 1.50 -do - xmlcatalog --noout --add "rewriteSystem" \ - "http://docbook.sourceforge.net/release/xsl/$version" \ - "file://$xsldir" $CATALOG - xmlcatalog --noout --add "rewriteURI" \ - "http://docbook.sourceforge.net/release/xsl/$version" \ - "file://$xsldir" $CATALOG -done - -xmlcatalog --noout --add "delegateSystem" \ - "http://docbook.sourceforge.net/release/xsl/" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateURI" \ - "http://docbook.sourceforge.net/release/xsl/" \ - "file://$CATALOG" $ROOTCATALOG - -# -# diff --git a/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.2 b/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.2 deleted file mode 100644 index af133ef9b6a9..000000000000 --- a/app-text/docbook-xml-dtd/files/build-docbook-catalog-4.2 +++ /dev/null @@ -1,244 +0,0 @@ -#!/bin/sh - -ROOTCATALOG=/etc/xml/catalog -CATALOG=/etc/xml/docbook - -# -# create the catalogs root and docbook specific -# -if [ ! -r $ROOTCATALOG ] ; then - echo creating XML Catalog root $ROOTCATALOG - /usr/bin/xmlcatalog --noout --create $ROOTCATALOG -fi -if [ ! -r $ROOTCATALOG ] ; then - echo Failed creating XML Catalog root $ROOTCATALOG - exit 1 -fi -if [ ! -r $CATALOG ] ; then - echo creating DocBook XML Catalog $CATALOG - /usr/bin/xmlcatalog --noout --create $CATALOG -fi -if [ ! -r $CATALOG ] ; then - echo Failed creating DocBook XML Catalog $CATALOG - exit 1 -fi - -# -# find the prefix for DocBook DTD -# -found=`find /usr/share/xml -name docbookx.dtd` -if [ "$found" = "" ] ; then - found=`find $HOME -name docbookx.dtd` -fi -if [ "$found" = "" ] ; then - echo could not locate docbookx.dtd for DocBook XML - exit 1 -fi - -dtd421="" -for dtd in $found; do - check=`grep '//OASIS//DTD DocBook XML V4.1.2//EN' $dtd` - if [ "$check" != "" ] ; then - dtd421=$dtd - break - fi -done - -if [ "$dtd421" = "" ] ; then - echo could not locate version 4.1.2 of DocBook XML - exit 1 -fi - -docbookdir=`dirname $dtd421` -echo Found DocBook XML 4.1.2 DTD in $docbookdir -if [ ! -w $docbookdir ] ; then - echo Cannot write to $docbookdir - exit 2 -fi - -xmlcatalog --noout --add "public" \ - "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ - "file://$docbookdir/dbpoolx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD DocBook XML V4.1.2//EN" \ - "file://$docbookdir/docbookx.dtd" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ - "file://$docbookdir/dbcentx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ - "file://$docbookdir/dbnotnx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ - "file://$docbookdir/dbgenent.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ - "file://$docbookdir/dbhierx.mod" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ - "file://$docbookdir/soextblx.dtd" $CATALOG -xmlcatalog --noout --add "public" \ - "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ - "file://$docbookdir/calstblx.dtd" $CATALOG -xmlcatalog --noout --add "rewriteSystem" \ - "http://www.oasis-open.org/docbook/xml/4.1.2" \ - "file://$docbookdir" $CATALOG -xmlcatalog --noout --add "rewriteURI" \ - "http://www.oasis-open.org/docbook/xml/4.1.2" \ - "file://$docbookdir" $CATALOG - -xmlcatalog --noout --add "delegatePublic" \ - "-//OASIS//ENTITIES DocBook XML" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegatePublic" \ - "-//OASIS//DTD DocBook XML" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateSystem" \ - "http://www.oasis-open.org/docbook/" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateURI" \ - "http://www.oasis-open.org/docbook/" \ - "file://$CATALOG" $ROOTCATALOG - -# -# find the prefix for ISO DocBook entities -# -top=`dirname $docbookdir` -found=`find $top -name iso-amsb.ent` -if [ "$found" = "" ] ; then - found=`find /usr/share/xml -name iso-amsb.ent` -fi -if [ "$found" = "" ] ; then - echo could not locate iso-amsb.ent of ISO DocBook entities - exit 1 -fi - -entxml="" -for tst in $found; do - check=`grep '' $tst` - if [ "$check" != "" ] ; then - entxml=$tst - break - fi -done - -if [ "$entxml" = "" ] ; then - echo could not locate ISO DocBook entities - exit 1 -fi -isodir=`dirname $entxml` -echo Found ISO DocBook entities in $isodir - -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Publishing//EN" \ - "file://$isodir/iso-pub.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Greek Letters//EN" \ - "file://$isodir/iso-grk1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" \ - "file://$isodir/iso-box.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Greek Symbols//EN" \ - "file://$isodir/iso-grk3.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" \ - "file://$isodir/iso-amsn.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" \ - "file://$isodir/iso-num.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" \ - "file://$isodir/iso-grk4.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Diacritical Marks//EN" \ - "file://$isodir/iso-dia.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" \ - "file://$isodir/iso-grk2.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" \ - "file://$isodir/iso-amsa.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" \ - "file://$isodir/iso-amso.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" \ - "file://$isodir/iso-cyr1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES General Technical//EN" \ - "file://$isodir/iso-tech.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" \ - "file://$isodir/iso-amsc.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Latin 1//EN" \ - "file://$isodir/iso-lat1.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" \ - "file://$isodir/iso-amsb.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Latin 2//EN" \ - "file://$isodir/iso-lat2.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" \ - "file://$isodir/iso-amsr.ent" $CATALOG -xmlcatalog --noout --add "public" \ - "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" \ - "file://$isodir/iso-cyr2.ent" $CATALOG - -xmlcatalog --noout --add "delegatePublic" \ - "ISO 8879:1986" \ - "file://$CATALOG" $ROOTCATALOG - -# -# find the prefix for XSLT stylesheets -# -top=`dirname $docbookdir` -found=`find $top -name chunk.xsl` -if [ "$found" = "" ] ; then - found=`find /usr/share/xml -name chunk.xsl` -fi -if [ "$found" = "" ] ; then - found=`find /usr/share/sgml -name chunk.xsl` -fi -if [ "$found" = "" ] ; then - echo could not locate chunk-common.xsl of DocBook XSLT stylesheets - exit 1 -fi - -xsldir="" -for tst in $found; do - dir=`dirname $tst` - dir=`dirname $dir` - if [ -r $dir/html/docbook.xsl -a -r $dir/common/l10n.xml ]; then - xsldir=$dir - break - fi -done - -if [ "$xsldir" = "" ] ; then - echo could not locate DocBook XSLT stylesheets - exit 1 -fi -echo Found DocBook XSLT stylesheets in $xsldir -for version in current 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 \ - 1.48 1.49 1.50 -do - xmlcatalog --noout --add "rewriteSystem" \ - "http://docbook.sourceforge.net/release/xsl/$version" \ - "file://$xsldir" $CATALOG - xmlcatalog --noout --add "rewriteURI" \ - "http://docbook.sourceforge.net/release/xsl/$version" \ - "file://$xsldir" $CATALOG -done - -xmlcatalog --noout --add "delegateSystem" \ - "http://docbook.sourceforge.net/release/xsl/" \ - "file://$CATALOG" $ROOTCATALOG -xmlcatalog --noout --add "delegateURI" \ - "http://docbook.sourceforge.net/release/xsl/" \ - "file://$CATALOG" $ROOTCATALOG - -# -# diff --git a/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r4 b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r4 deleted file mode 100644 index 59dfef960c9d..000000000000 --- a/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2-r4 +++ /dev/null @@ -1 +0,0 @@ -MD5 0d5a4a999a2d7b2e77a46bd069301caf docbkx412.zip 75570 diff --git a/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.2 b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.2 deleted file mode 100644 index fa78528f0e4b..000000000000 --- a/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 73fe50dfe74ca631c1602f558ed8961f docbook-xml-4.2.zip 78428 -- cgit v1.2.3-65-gdbad