app-text/*: import from portage

Just copying the ebuilds from portage/ so hopefully no functional changes.

BUG=chromium-os:26016
TEST=`cbuildbot arm-generic-full` works
TEST=build_packages+build_image for x86-alex boots

Change-Id: I24076698d982e35a5e192e334c2615919cf3f140
Reviewed-on: https://gerrit.chromium.org/gerrit/15592
Reviewed-by: David James <davidjames@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Mike Frysinger 2012-02-01 18:20:31 -05:00 committed by Gerrit
parent 5be7f8e7e7
commit 328fce31b7
60 changed files with 2477 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST build-docbook-catalog-1.4.bz2 3051 RMD160 5b55e774db345052aab32d9d49a44f01e16d1cbe SHA1 30e7a5e08982b485479332794f2e20b27d102e8a SHA256 ce0e9d5c988d165171ef1fde5e2de019c433af22d71db512e206356f3f0c149d

View File

@ -0,0 +1,23 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/build-docbook-catalog/build-docbook-catalog-1.4.ebuild,v 1.10 2009/07/08 20:18:17 ssuominen Exp $
DESCRIPTION="DocBook XML catalog auto-updater"
HOMEPAGE="http://unknown/"
SRC_URI="mirror://gentoo/${P}.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
RDEPEND="|| ( sys-apps/util-linux app-misc/getopt )
!<app-text/docbook-xsl-stylesheets-1.73.1"
DEPEND=""
S=${WORKDIR}
src_install() {
keepdir /etc/xml
newbin ${P} ${PN} || die "newbin failed"
}

View File

@ -0,0 +1 @@
DIST docbook-dsssl-1.79.tar.bz2 277650 RMD160 711c688901b33413868c06a10e5700ebdcb8b9fb SHA1 0ee935247c9f850e930f3b5c162dbc03915469cd SHA256 2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc

View File

@ -0,0 +1,56 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild,v 1.20 2008/07/04 08:49:24 eva Exp $
inherit sgml-catalog
MY_P=${P/-stylesheets/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="DSSSL Stylesheets for DocBook."
HOMEPAGE="http://wiki.docbook.org/topic/DocBookDssslStylesheets"
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
RDEPEND="app-text/sgml-common"
sgml-catalog_cat_include "/etc/sgml/dsssl-docbook-stylesheets.cat" \
"/usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
"/etc/sgml/dsssl-docbook-stylesheets.cat"
src_unpack() {
unpack ${A}
cd "${S}"
cp "${FILESDIR}/${PN}-1.77.Makefile" Makefile
}
src_compile() {
return 0
}
src_install() {
make \
BINDIR="${D}/usr/bin" \
DESTDIR="${D}/usr/share/sgml/docbook/dsssl-stylesheets-${PV}" \
install || die
dodir /usr/share/sgml/stylesheets/dsssl/
if [ -d /usr/share/sgml/stylesheets/dsssl/docbook ] &&
[ ! -L /usr/share/sgml/stylesheets/dsssl/docbook ]
then
ewarn "Not linking /usr/share/sgml/stylesheets/dsssl/docbook to"
ewarn "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}"
ewarn "as directory already exists there. Will assume you know"
ewarn "what you're doing."
else
dosym /usr/share/sgml/docbook/dsssl-stylesheets-${PV} \
/usr/share/sgml/stylesheets/dsssl/docbook
fi
dodoc BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew
}

View File

@ -0,0 +1,25 @@
BINDIR = /usr/bin
DESTDIR = /usr/share/sgml/docbook/dsssl-stylesheets-1.76
all: install
install:
mkdir -p $(BINDIR)
mkdir -p $(DESTDIR)/dtds/decls
mkdir -p $(DESTDIR)/lib
mkdir -p $(DESTDIR)/common
mkdir -p $(DESTDIR)/html
mkdir -p $(DESTDIR)/print
mkdir -p $(DESTDIR)/test
mkdir -p $(DESTDIR)/images
install bin/collateindex.pl $(BINDIR)
cp catalog $(DESTDIR)
cp VERSION $(DESTDIR)
cp dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls
cp lib/dblib.dsl $(DESTDIR)/lib
cp common/*.dsl $(DESTDIR)/common
cp common/*.ent $(DESTDIR)/common
cp html/*.dsl $(DESTDIR)/html
cp lib/*.dsl $(DESTDIR)/lib
cp print/*.dsl $(DESTDIR)/print
cp images/*.gif $(DESTDIR)/images

View File

@ -0,0 +1,8 @@
DIST docbk30.zip 43441 RMD160 29f2360c0eeef0f167ceb02dd91ef7e12f004136 SHA1 83b22b248ed17e686df3a04494ac696b9710e5af SHA256 ecf71cbe8ddbad7494ff520d5b4edf73a428c0b159178cb0cb619cba685e61c6
DIST docbk31.zip 55952 RMD160 840d2d47aee3ffd68dd3c84cb010ce10bbfec426 SHA1 75a5bb4f17b17ff0f7dd1cc2db7112bad0fb89e6 SHA256 20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538
DIST docbk40.zip 55742 RMD160 c479d08b1de3b8bab75fba9e89790a455973f7b2 SHA1 95f9c7d3d339d7d3889bd1f0dabaa6ca55445f26 SHA256 dfef22f109779e4cfaafa27b6d381d975ac05eaafb5b3d4407d7043e310817bb
DIST docbk41.zip 56654 RMD160 4d6f5636ad6e22fec53bc7c211b8133f8d657b56 SHA1 3009fcc364511d186da40e828bf0d5d1556c020e SHA256 deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311
DIST docbook-4.2.zip 61830 RMD160 f97bf5c595f1f28d0bb4be6549b27f701da7c9f8 SHA1 98afcae616ed24edb30e40baa4ddd8cd8731f2c7 SHA256 67ebd2c94b342718c6865d2de60f5d4ff02d77a7e4b0d9e72a48c45f2b2635c3
DIST docbook-4.3.zip 66117 RMD160 3054a9ba8456c12b11ecb8e2804248e4db920794 SHA1 c64759d07514a7ab4347b1fc03457664cdf98b3f SHA256 88f52fab7bd49b2e8f40c525014129c26a5a4b8bbd1494e00387556ec76f95ee
DIST docbook-4.4.zip 66879 RMD160 65a451c2783ea86ea471c180209e70444d30a5ab SHA1 9a7343709c1f5093f93b234d04f3d7f440a84dd0 SHA256 0ac7960409b032c8e517483523ecb92af4e59196a33b3e2c5617daa22b7a8a6c
DIST docbook-4.5.zip 71252 RMD160 79c86bd52dbcb3ac5ebc965b5f7c12073fc1a87f SHA1 5efeb22936ea30cdaf88053337de7966dfda02bd SHA256 8043e514e80c6c19cb146b5d37937d1305bf3abf9b0097c36df7f70f611cdf43

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0-r3.ebuild,v 1.9 2010/02/11 14:50:57 ulm Exp $
inherit sgml-catalog eutils
MY_P="docbk30"
DESCRIPTION="Docbook SGML DTD 3.0"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="3.0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc *.txt
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1-r3.ebuild,v 1.9 2010/02/11 14:50:57 ulm Exp $
inherit sgml-catalog eutils
MY_P="docbk31"
DESCRIPTION="Docbook SGML DTD 3.1"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="3.1"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc *.txt
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0-r3.ebuild,v 1.9 2010/02/11 14:50:57 ulm Exp $
inherit sgml-catalog eutils
MY_P="docbk40"
DESCRIPTION="Docbook SGML DTD 4.0"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="4.0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc *.txt
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1-r3.ebuild,v 1.9 2010/02/11 14:50:57 ulm Exp $
inherit sgml-catalog eutils
MY_P="docbk41"
DESCRIPTION="Docbook SGML DTD 4.1"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="4.1"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc *.txt
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.2-r2.ebuild,v 1.10 2010/02/11 14:50:57 ulm Exp $
inherit sgml-catalog eutils
MY_P="docbook-4.2"
DESCRIPTION="Docbook SGML DTD 4.2"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="4.2"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc ChangeLog README
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.3-r2.ebuild,v 1.9 2010/02/11 14:50:57 ulm Exp $
inherit sgml-catalog eutils
MY_P="docbook-${PV}"
DESCRIPTION="Docbook SGML DTD 4.3"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.docbook.org/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="4.3"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc ChangeLog README
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild,v 1.18 2010/02/11 14:50:57 ulm Exp $
inherit sgml-catalog eutils
MY_P="docbook-${PV}"
DESCRIPTION="Docbook SGML DTD 4.4"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.docbook.org/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="4.4"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc ChangeLog README
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5.ebuild,v 1.4 2010/02/11 14:50:57 ulm Exp $
inherit eutils sgml-catalog
MY_P="docbook-${PV}"
DESCRIPTION="Docbook SGML DTD 4.5"
HOMEPAGE="http://www.docbook.org/sgml/"
SRC_URI="http://www.docbook.org/sgml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="4.5"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
S=${WORKDIR}
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
doins *.dcl *.dtd *.mod *.xml || die "doins failed"
newins docbook.cat catalog || die "newins failed"
dodoc README
}

View File

@ -0,0 +1,32 @@
--- docbook.cat Tue Dec 10 16:35:22 1996
+++ catalog Mon Jun 5 11:08:34 2000
@@ -41,29 +41,6 @@
PUBLIC "-//Davenport//ELEMENTS DocBook Information Pool V3.0//EN" "dbpool.mod"
PUBLIC "-//Davenport//ELEMENTS DocBook Document Hierarchy V3.0//EN" "dbhier.mod"
PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" "dbgenent.mod"
-
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
-- End of catalog data for DocBook V3.0 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,32 @@
--- docbook.cat Tue Feb 2 06:53:32 1999
+++ catalog Thu May 25 11:45:01 2000
@@ -35,29 +35,6 @@
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" "dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" "dbnotn.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" "dbcent.mod"
-
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
-- End of catalog data for DocBook V3.1 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,32 @@
--- docbook.cat Mon May 22 22:38:05 2000
+++ catalog Mon May 22 22:12:36 2000
@@ -35,29 +35,6 @@
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.0//EN" "dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.0//EN" "dbnotn.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.0//EN" "dbcent.mod"
-
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
-- End of catalog data for DocBook V4.0 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,32 @@
--- docbook.cat Mon May 22 22:38:05 2000
+++ catalog Mon May 22 22:12:36 2000
@@ -35,29 +35,6 @@
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "dbcent.mod"
-
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
-- End of catalog data for DocBook V4.1 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,78 @@
diff -uNr 4.2/docbook.cat 4.2-gentoo/docbook.cat
--- 4.2/docbook.cat 2002-07-18 00:14:28.000000000 +0800
+++ 4.2-gentoo/docbook.cat 2003-01-18 22:25:05.000000000 +0800
@@ -19,6 +19,8 @@
-- ...................................................................... --
-- DocBook driver file .................................................. --
+DTDDECL "-//OASIS//DTD DocBook V4.2//EN" "docbook.dcl"
+
PUBLIC "-//OASIS//DTD DocBook V4.2//EN"
"docbook.dtd"
@@ -49,65 +51,5 @@
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN"
"dbcentx.mod"
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
- "iso-dia.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
- "iso-num.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"
- "iso-pub.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"
- "iso-tech.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"
- "iso-lat1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"
- "iso-lat2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"
- "iso-grk1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
- "iso-grk2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"
- "iso-grk3.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
- "iso-grk4.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
- "iso-amsa.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
- "iso-amsb.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
- "iso-amsc.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
- "iso-amsn.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
- "iso-amso.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
- "iso-amsr.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
- "iso-box.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
- "iso-cyr1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
- "iso-cyr2.gml"
-
-- End of catalog data for DocBook V4.2 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,77 @@
--- docbook.cat 2004-03-31 20:44:16.000000000 +0900
+++ docbook.cat-gentoo 2004-10-17 20:37:51.000000000 +0900
@@ -19,6 +19,8 @@
-- ...................................................................... --
-- DocBook driver file .................................................. --
+DTDDECL "-//OASIS//DTD DocBook V4.3//EN" "docbook.dcl"
+
PUBLIC "-//OASIS//DTD DocBook V4.3//EN"
"docbook.dtd"
@@ -49,65 +51,5 @@
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN"
"dbcentx.mod"
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
- "iso-dia.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
- "iso-num.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"
- "iso-pub.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"
- "iso-tech.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"
- "iso-lat1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"
- "iso-lat2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"
- "iso-grk1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
- "iso-grk2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"
- "iso-grk3.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
- "iso-grk4.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
- "iso-amsa.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
- "iso-amsb.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
- "iso-amsc.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
- "iso-amsn.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
- "iso-amso.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
- "iso-amsr.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
- "iso-box.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
- "iso-cyr1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
- "iso-cyr2.gml"
-
-- End of catalog data for DocBook V4.3 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,77 @@
--- docbook.cat 2005-01-27 08:59:49.000000000 -0500
+++ docbook.cat-gentoo 2005-07-11 21:12:28.000000000 -0500
@@ -19,6 +19,8 @@
-- ...................................................................... --
-- DocBook driver file .................................................. --
+DTDDECL "-//OASIS//DTD DocBook V4.4//EN" "docbook.dcl"
+
PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
"docbook.dtd"
@@ -52,65 +54,5 @@
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN"
"dbcentx.mod"
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
- "iso-dia.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
- "iso-num.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"
- "iso-pub.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"
- "iso-tech.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"
- "iso-lat1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"
- "iso-lat2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"
- "iso-grk1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
- "iso-grk2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"
- "iso-grk3.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
- "iso-grk4.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
- "iso-amsa.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
- "iso-amsb.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
- "iso-amsc.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
- "iso-amsn.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
- "iso-amso.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
- "iso-amsr.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
- "iso-box.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
- "iso-cyr1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
- "iso-cyr2.gml"
-
-- End of catalog data for DocBook V4.4 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,79 @@
diff -NurdB docbook-sgml-dtd/docbook.cat docbook-sgml-dtd_patch/docbook.cat
--- docbook-sgml-dtd/docbook.cat 2006-10-03 15:27:50.000000000 +0200
+++ docbook-sgml-dtd_patch/docbook.cat 2007-08-14 00:43:31.485987458 +0200
@@ -19,6 +19,8 @@
-- ...................................................................... --
-- DocBook driver file .................................................. --
+DTDDECL "-//OASIS//DTD DocBook V4.5//EN" "docbook.dcl"
+
PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"docbook.dtd"
@@ -52,65 +54,7 @@
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN"
"dbcentx.mod"
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
- "iso-dia.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
- "iso-num.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"
- "iso-pub.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"
- "iso-tech.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"
- "iso-lat1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"
- "iso-lat2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"
- "iso-grk1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
- "iso-grk2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"
- "iso-grk3.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
- "iso-grk4.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
- "iso-amsa.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
- "iso-amsb.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
- "iso-amsc.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
- "iso-amsn.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
- "iso-amso.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
- "iso-amsr.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
- "iso-box.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
- "iso-cyr1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
- "iso-cyr2.gml"
+
-- End of catalog data for DocBook V4.5 ................................. --
-- ...................................................................... --

View File

@ -0,0 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST docbkx412.zip 75683 RMD160 89af805434b21f12f7be7ef58cf52edeb458e0c9 SHA1 b9ae7a41056bfaf885581812d60651b7b5531519 SHA256 30f0644064e0ea71751438251940b1431f46acada814a062870f486c772e7772
DIST docbook-xml-4.2.zip 78428 RMD160 3ba17bf96ab2ab8fe6dc9ff82da8e22aaf9ce5e0 SHA1 5e3a35663cd028c5c5fbb959c3858fec2d7f8b9e SHA256 acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2
DIST docbook-xml-4.3.zip 83865 RMD160 deeb29ed336bcce6ed199c516f01bb1542ea16ee SHA1 e79a59e9164c1013b8cc9f64f96f909a184ca016 SHA256 23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464
DIST docbook-xml-4.4.zip 96107 RMD160 691a9230442be14d019af9d07e94f269824d85cc SHA1 7c4d91c82ad3747e1b5600c91782758e5d91c22b SHA256 02f159eb88c4254d95e831c51c144b1863b216d909b5ff45743a1ce6f5273090
DIST docbook-xml-4.5.zip 98497 RMD160 723347ef17950c5c8e81a7c9d44812261dcadc5d SHA1 b9124233b50668fb508773aa2b3ebc631d7c1620 SHA256 4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAkuE8ecACgkQNQqtfCuFneNvWQCcDXu9kphxlDNKdTrlE/9jAM/u
x/wAoJjl5qYKZsRRVFtppR7uvnhhc+m3
=parZ
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,56 @@
# Copyright 1999-2010 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-r6.ebuild,v 1.21 2010/02/11 14:51:39 ulm Exp $
inherit sgml-catalog
MY_P="docbkx412"
DESCRIPTION="Docbook DTD for XML"
HOMEPAGE="http://www.docbook.org/"
SRC_URI="http://www.docbook.org/xml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="${PV}"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=""
DEPEND=">=app-arch/unzip-5.41
>=dev-libs/libxml2-2.4
>=app-text/docbook-xsl-stylesheets-1.65
>=app-text/build-docbook-catalog-1.2"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/xml-dtd-${PV}/docbook.cat"
S=${WORKDIR}
src_unpack() {
unpack ${A}
# Prepend OVERRIDE directive
sed -i -e '1i\\OVERRIDE YES' docbook.cat
}
src_install() {
keepdir /etc/xml
insinto /usr/share/sgml/docbook/xml-dtd-${PV}
doins *.cat *.dtd *.mod || die
insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent
doins ent/*.ent || die
dodoc ChangeLog *.txt
}
pkg_postinst() {
build-docbook-catalog
sgml-catalog_pkg_postinst
}
pkg_postrm() {
build-docbook-catalog
sgml-catalog_pkg_postrm
}

View File

@ -0,0 +1,56 @@
# Copyright 1999-2010 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-r2.ebuild,v 1.15 2010/02/11 14:51:39 ulm Exp $
inherit sgml-catalog
MY_P=${P/-dtd/}
DESCRIPTION="Docbook DTD for XML"
HOMEPAGE="http://www.docbook.org/"
SRC_URI="http://www.docbook.org/xml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="${PV}"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=""
DEPEND=">=app-arch/unzip-5.41
>=dev-libs/libxml2-2.4
>=app-text/docbook-xsl-stylesheets-1.65
>=app-text/build-docbook-catalog-1.2"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/xml-dtd-${PV}/docbook.cat"
S=${WORKDIR}
src_unpack() {
unpack ${A}
# Prepend OVERRIDE directive
sed -i -e '1i\\OVERRIDE YES' docbook.cat
}
src_install() {
keepdir /etc/xml
insinto /usr/share/sgml/docbook/xml-dtd-${PV}
doins *.cat *.dtd *.mod || die
insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent
doins ent/*.ent || die
dodoc ChangeLog README
}
pkg_postinst() {
build-docbook-catalog
sgml-catalog_pkg_postinst
}
pkg_postrm() {
build-docbook-catalog
sgml-catalog_pkg_postrm
}

View File

@ -0,0 +1,56 @@
# Copyright 1999-2010 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.3-r1.ebuild,v 1.16 2010/02/24 09:31:13 fauli Exp $
inherit sgml-catalog
MY_P=${P/-dtd/}
DESCRIPTION="Docbook DTD for XML"
HOMEPAGE="http://www.docbook.org/"
SRC_URI="http://www.docbook.org/xml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="${PV}"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=""
DEPEND=">=app-arch/unzip-5.41
>=dev-libs/libxml2-2.4
>=app-text/docbook-xsl-stylesheets-1.65
>=app-text/build-docbook-catalog-1.2"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/xml-dtd-${PV}/docbook.cat"
S=${WORKDIR}
src_unpack() {
unpack ${A}
# Prepend OVERRIDE directive
sed -i -e '1i\\OVERRIDE YES' docbook.cat
}
src_install() {
keepdir /etc/xml
insinto /usr/share/sgml/docbook/xml-dtd-${PV}
doins *.cat *.dtd *.mod || die
insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent
doins ent/*.ent || die
dodoc ChangeLog README
}
pkg_postinst() {
build-docbook-catalog
sgml-catalog_pkg_postinst
}
pkg_postrm() {
build-docbook-catalog
sgml-catalog_pkg_postrm
}

View File

@ -0,0 +1,57 @@
# Copyright 1999-2010 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.4-r1.ebuild,v 1.21 2010/02/11 14:51:39 ulm Exp $
inherit sgml-catalog
MY_P=${P/-dtd/}
DESCRIPTION="Docbook DTD for XML"
HOMEPAGE="http://www.docbook.org/"
SRC_URI="http://www.docbook.org/xml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="${PV}"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=""
DEPEND=">=app-arch/unzip-5.41
>=dev-libs/libxml2-2.4
>=app-text/docbook-xsl-stylesheets-1.65
>=app-text/build-docbook-catalog-1.2"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/xml-dtd-${PV}/docbook.cat"
S=${WORKDIR}
src_unpack() {
unpack ${A}
# Prepend OVERRIDE directive
sed -i -e '1i\\OVERRIDE YES' docbook.cat
}
src_install() {
keepdir /etc/xml
insinto /usr/share/sgml/docbook/xml-dtd-${PV}
doins *.cat *.dtd *.mod || die
insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent
doins ent/*.ent || die
cp ent/README README.ent
dodoc ChangeLog README*
}
pkg_postinst() {
build-docbook-catalog
sgml-catalog_pkg_postinst
}
pkg_postrm() {
build-docbook-catalog
sgml-catalog_pkg_postrm
}

View File

@ -0,0 +1,57 @@
# Copyright 1999-2010 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.5.ebuild,v 1.12 2010/02/11 14:51:39 ulm Exp $
inherit sgml-catalog
MY_P=${P/-dtd/}
DESCRIPTION="Docbook DTD for XML"
HOMEPAGE="http://www.docbook.org/"
SRC_URI="http://www.docbook.org/xml/${PV}/${MY_P}.zip"
LICENSE="as-is"
SLOT="${PV}"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=""
DEPEND=">=app-arch/unzip-5.41
>=dev-libs/libxml2-2.4
>=app-text/docbook-xsl-stylesheets-1.65
>=app-text/build-docbook-catalog-1.2"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
sgml-catalog_cat_include "/etc/sgml/xml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/xml-dtd-${PV}/docbook.cat"
S=${WORKDIR}
src_unpack() {
unpack ${A}
# Prepend OVERRIDE directive
sed -i -e '1i\\OVERRIDE YES' docbook.cat
}
src_install() {
keepdir /etc/xml
insinto /usr/share/sgml/docbook/xml-dtd-${PV}
doins *.cat *.dtd *.mod *.xml || die
insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent
doins ent/*.ent || die
cp ent/README README.ent
dodoc ChangeLog README*
}
pkg_postinst() {
build-docbook-catalog
sgml-catalog_pkg_postinst
}
pkg_postrm() {
build-docbook-catalog
sgml-catalog_pkg_postrm
}

View File

@ -0,0 +1 @@
DIST docbook-xsl-1.75.2.tar.bz2 1543130 RMD160 2e297bd1ce0d480b6f8ea03846a8f8c0100b72dd SHA1 cd146012c07f3c2c79c1cd927ad1faf5bee6cc74 SHA256 0dcc3aebd2ada8719e47b77c62ab986c4f2747f9a7cab6f629b6472e6d058e09

View File

@ -0,0 +1,62 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.75.2.ebuild,v 1.10 2010/01/06 21:32:38 ranger Exp $
DESCRIPTION="XSL Stylesheets for Docbook"
HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets"
SRC_URI="mirror://sourceforge/docbook/docbook-xsl-${PV}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh ~sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=app-text/build-docbook-catalog-1.1"
S=${WORKDIR}/docbook-xsl-${PV}
# Makefile is broken in this release
RESTRICT=test
# The makefile runs tests, not builds.
src_compile() { :; }
src_test() {
emake check || die "test failed"
}
src_install() {
# Create the installation directory
DEST="/usr/share/sgml/docbook/xsl-stylesheets"
insinto ${DEST}
local i
for sheet in $(find . -maxdepth 1 -mindepth 1 -type d); do
i=$(basename $sheet)
cd "${S}"/${i}
for doc in ChangeLog README; do
if [ -e "$doc" ]; then
mv ${doc} ${doc}.${i}
dodoc ${doc}.${i}
rm ${doc}.${i}
fi
done
doins -r "${S}"/${i}
done
# Install misc. docs
# The changelog is now zipped, and copied as the RELEASE-NOTES, so we
# don't need to install it
cd "${S}"
dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO
doins VERSION
}
pkg_postinst() {
build-docbook-catalog
}
pkg_postrm() {
build-docbook-catalog
}

View File

@ -0,0 +1 @@
DIST gnome-doc-utils-0.16.1.tar.bz2 626475 RMD160 6a588c1cc4748a0ab8d2cf1db456ee3b085a7974 SHA1 b2f8623de2d0989ad2b6b8147cd8dba62895faa9 SHA256 73e0c7f06efcc42b3b3c353dd5d4c19f178119505bcbb554312be6862616e248

View File

@ -0,0 +1,73 @@
diff -Naur gnome-doc-utils-0.16.0/xml2po/Makefile.am gnome-doc-utils-0.16.0.new/xml2po/Makefile.am
--- gnome-doc-utils-0.16.0/xml2po/Makefile.am 2008-09-22 22:06:09.000000000 +0200
+++ gnome-doc-utils-0.16.0.new/xml2po/Makefile.am 2009-03-21 14:07:56.000000000 +0100
@@ -3,7 +3,6 @@
nodist_bin_SCRIPTS = xml2po
CLEANFILES = xml2po
-commondir = $(datadir)/xml2po
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xml2po.pc
@@ -12,7 +11,7 @@
xml2po: xml2po.py
sed -e "s/^VERSION =.*/VERSION = \"@VERSION@\"/" \
- -e "s+^submodes_path =.*+submodes_path = \"$(commondir)\"+" \
+ -e "s+^submodes_path =.*+submodes_path = \"$(pythondir)/xml2po\"+" \
-e "s+^#!.*python.*+#!$(PYTHON)+" \
< $(srcdir)/xml2po.py > xml2po
chmod +x xml2po
diff -Naur gnome-doc-utils-0.16.0/xml2po/Makefile.in gnome-doc-utils-0.16.0.new/xml2po/Makefile.in
--- gnome-doc-utils-0.16.0/xml2po/Makefile.in 2009-03-16 18:52:17.000000000 +0100
+++ gnome-doc-utils-0.16.0.new/xml2po/Makefile.in 2009-03-21 14:07:09.000000000 +0100
@@ -225,7 +225,6 @@
SUBDIRS = modes examples
nodist_bin_SCRIPTS = xml2po
CLEANFILES = xml2po
-commondir = $(datadir)/xml2po
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xml2po.pc
man_MANS = xml2po.1
@@ -631,7 +630,7 @@
xml2po: xml2po.py
sed -e "s/^VERSION =.*/VERSION = \"@VERSION@\"/" \
- -e "s+^submodes_path =.*+submodes_path = \"$(commondir)\"+" \
+ -e "s+^submodes_path =.*+submodes_path = \"$(pythondir)/xml2po\"+" \
-e "s+^#!.*python.*+#!$(PYTHON)+" \
< $(srcdir)/xml2po.py > xml2po
chmod +x xml2po
diff -Naur gnome-doc-utils-0.16.0/xml2po/modes/Makefile.am gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.am
--- gnome-doc-utils-0.16.0/xml2po/modes/Makefile.am 2008-09-22 22:06:09.000000000 +0200
+++ gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.am 2009-03-21 14:04:54.000000000 +0100
@@ -1,4 +1,4 @@
-commondir = $(datadir)/xml2po
+commondir = $(pythondir)/xml2po
common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py
EXTRA_DIST = $(common_DATA)
diff -Naur gnome-doc-utils-0.16.0/xml2po/modes/Makefile.in gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.in
--- gnome-doc-utils-0.16.0/xml2po/modes/Makefile.in 2009-03-16 18:52:17.000000000 +0100
+++ gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.in 2009-03-21 14:03:20.000000000 +0100
@@ -205,7 +205,7 @@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-commondir = $(datadir)/xml2po
+commondir = $(pythondir)/xml2po
common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py
EXTRA_DIST = $(common_DATA)
all: all-am
diff -Naur gnome-doc-utils-0.16.0/xml2po/xml2po.pc.in gnome-doc-utils-0.16.0.new/xml2po/xml2po.pc.in
--- gnome-doc-utils-0.16.0/xml2po/xml2po.pc.in 2008-09-22 22:06:09.000000000 +0200
+++ gnome-doc-utils-0.16.0.new/xml2po/xml2po.pc.in 2009-03-21 14:04:24.000000000 +0100
@@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=${prefix}
datarootdir=@datarootdir@
-modesdir=@datadir@/xml2po
+modesdir=@pythondir@/xml2po
Name: xml2po
Description: Tool for translating XML documents

View File

@ -0,0 +1,52 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.16.1.ebuild,v 1.13 2010/01/16 17:00:03 armin76 Exp $
EAPI="2"
inherit eutils python gnome2
DESCRIPTION="A collection of documentation utilities for the Gnome project"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sh sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-libs/libxml2-2.6.12[python]
>=dev-libs/libxslt-1.1.8
>=dev-lang/python-2"
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/intltool-0.35
>=dev-util/pkgconfig-0.9
~app-text/docbook-xml-dtd-4.4"
# dev-libs/glib needed for eautofoo, bug #255114.
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
G2CONF="${G2CONF} --disable-scrollkeeper"
}
src_prepare() {
gnome2_src_prepare
# Make xml2po FHS compliant, bug #190798
epatch "${FILESDIR}/${PN}-0.16.1-fhs.patch"
# If there is a need to reintroduce eautomake or eautoreconf, make sure
# to AT_M4DIR="tools m4", bug #224609 (m4 removes glib build time dep)
}
pkg_postinst() {
python_need_rebuild
python_mod_optimize $(python_get_sitedir)/xml2po
gnome2_pkg_postinst
}
pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/xml2po
gnome2_pkg_postrm
}

View File

@ -0,0 +1,2 @@
DIST tidy-20090325-doc.tar.bz2 13319 RMD160 8fee995d8eb385e87ec9a3fcd27b9a18abc4beaf SHA1 72ec377341a50369beffae2ab4a2a75b26d65798 SHA256 be018829d24d5477556f3b72a426335ca21f62ca103b50a5d17c0e16ffd97956
DIST tidy-20090325.tar.bz2 382016 RMD160 796a025bc1b67ea64394c64a1455a582e9285982 SHA1 28c000a2cd40262fc0d7c2c429eb2a09b2df7bf4 SHA256 58099898f326eff209a97509d1879cee19812a8a7048e2143b39821d35d7b6bd

View File

@ -0,0 +1,117 @@
--- html2b-unpatched/html2db/main.c 2003-03-11 04:28:46.000000000 +0800
+++ html2db/main.c 2003-11-08 12:32:41.000000000 +0800
@@ -75,8 +75,8 @@
doc = tidyDocToImpl( tdoc );
out = FileOutput(stdout, 0, '\n');
doc->docOut = out;
- PrintSgml( doc, 0, 0, doc->root );
- doc->docOut = null;
+ PrintSgml( doc, 0, 0, &( doc->root ) );
+ doc->docOut = NULL;
}
else {
fprintf(stderr, "Problem parsing file %s\n", file);
--- html2b-unpatched/html2db/pprint.c 2003-05-05 22:23:30.000000000 +0800
+++ html2db/pprint.c 2003-11-08 12:34:42.000000000 +0800
@@ -341,7 +341,7 @@
Node *parent;
for (parent = element->parent;
- parent != null; parent = parent->parent)
+ parent != NULL; parent = parent->parent)
{ if (parent->element && tmbstrcasecmp(parent->element, "address") == 0)
return yes;
}
@@ -488,7 +488,7 @@
Bool xhtml = cfgBool( doc, TidyXhtmlOut);
uint spaces = cfg( doc, TidyIndentSpaces );
- if (node == null)
+ if (node == NULL)
return;
if (node->type == TextNode) {
@@ -521,7 +521,7 @@
else if (node->type == RootNode)
{
for (content = node->content;
- content != null;
+ content != NULL;
content = content->next)
PrintSgml(doc, mode, indent, content);
}
@@ -565,7 +565,7 @@
PFlushLine(doc, indent);
for (content = node->content;
- content != null;
+ content != NULL;
content = content->next)
PrintSgml(doc, (mode | PREFORMATTED | NOWRAP),
indent, content);
@@ -574,7 +574,7 @@
PrintSgmlTag(doc, mode, indent, node, SgmlTagEnd);
PFlushLine(doc, indent);
- if ( !cfg(doc, TidyIndentContent) && node->next != null )
+ if ( !cfg(doc, TidyIndentContent) && node->next != NULL )
PFlushLine(doc, indent);
}
else if (node->tag->model & CM_INLINE)
@@ -586,7 +586,7 @@
indent += spaces;
for (content = node->content;
- content != null;
+ content != NULL;
content = content->next)
PrintSgml(doc, mode, indent, content);
@@ -598,7 +598,7 @@
{
for (content = node->content;
- content != null;
+ content != NULL;
content = content->next)
PrintSgml(doc, mode, indent, content);
}
@@ -607,7 +607,7 @@
}
else
{ PCondFlushLine(doc, indent);
-/* if (TidySmartIndent && node->prev != null)
+/* if (TidySmartIndent && node->prev != NULL)
PFlushLine(doc, indent);
*/
PrintSgmlTag(doc, mode ,indent, node, SgmlTagStart);
@@ -623,7 +623,7 @@
indent += spaces;
for (content = node->content;
- content != null;
+ content != NULL;
content = content->next)
PrintSgml(doc, mode, indent, content);
PCondFlushLine(doc, indent);
@@ -632,9 +632,9 @@
}
else
{ Node *last;
- last = null;
+ last = NULL;
for (content = node->content;
- content != null;
+ content != NULL;
content = content->next) {
/* kludge for naked text before block level tag */
if (last && !cfg(doc, TidyIndentContent) &&
@@ -654,7 +654,7 @@
PrintSgmlTag(doc, mode, indent, node, SgmlTagEnd);
PFlushLine(doc, indent);
if (cfg(doc, TidyIndentContent) == no &&
- node->next != null &&
+ node->next != NULL &&
TidyHideEndTags == no &&
(node->tag->model & (CM_BLOCK|CM_LIST|CM_DEFLIST|CM_TABLE)))
PFlushLine(doc, indent);

View File

@ -0,0 +1,98 @@
--- src/pprint.c.old 2003-11-08 13:01:16.000000000 +0800
+++ src/pprint.c 2003-11-08 13:03:05.000000000 +0800
@@ -40,7 +40,7 @@
static int TextEndsWithNewline( Lexer *lexer, Node *node, uint mode );
static int TextStartsWithWhitespace( Lexer *lexer, Node *node, uint start, uint mode );
static Bool InsideHead( TidyDocImpl* doc, Node *node );
-static Bool ShouldIndent( TidyDocImpl* doc, Node *node );
+Bool ShouldIndent( TidyDocImpl* doc, Node *node );
#if SUPPORT_ASIAN_ENCODINGS
/* #431953 - start RJ Wraplen adjusted for smooth international ride */
@@ -706,7 +706,7 @@
}
}
-static void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
+void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
{
tmbchar entity[128];
ctmbstr p;
@@ -941,7 +941,7 @@
to UTF-8 is deferred to the WriteChar() routine called
to flush the line buffer.
*/
-static void PPrintText( TidyDocImpl* doc, uint mode, uint indent,
+void PPrintText( TidyDocImpl* doc, uint mode, uint indent,
Node* node )
{
uint start = node->start;
@@ -982,13 +982,11 @@
}
}
-#if 0
-static void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str )
+void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str )
{
while ( *str != '\0' )
AddChar( &doc->pprint, *str++ );
}
-#endif /* 0 */
static void PPrintAttrValue( TidyDocImpl* doc, uint indent,
@@ -1370,7 +1368,7 @@
AddChar( pprint, '>' );
}
-static void PPrintComment( TidyDocImpl* doc, uint indent, Node* node )
+void PPrintComment( TidyDocImpl* doc, uint indent, Node* node )
{
TidyPrintImpl* pprint = &doc->pprint;
@@ -1454,7 +1452,7 @@
PCondFlushLine( doc, indent );
}
-static void PPrintPI( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintPI( TidyDocImpl* doc, uint indent, Node *node )
{
TidyPrintImpl* pprint = &doc->pprint;
tchar c;
@@ -1485,7 +1483,7 @@
PCondFlushLine( doc, indent );
}
-static void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node )
{
AttVal* att;
uint saveWrap;
@@ -1574,7 +1572,7 @@
WrapOn( doc, saveWrap );
}
-static void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node )
{
uint saveWrap;
TidyPrintImpl* pprint = &doc->pprint;
@@ -1593,7 +1591,7 @@
WrapOn( doc, saveWrap ); /* restore wrapping */
}
-static void PPrintSection( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintSection( TidyDocImpl* doc, uint indent, Node *node )
{
TidyPrintImpl* pprint = &doc->pprint;
Bool wrapSect = cfgBool( doc, TidyWrapSection );
@@ -1900,7 +1898,7 @@
-static Bool ShouldIndent( TidyDocImpl* doc, Node *node )
+Bool ShouldIndent( TidyDocImpl* doc, Node *node )
{
uint indentContent = cfg( doc, TidyIndentContent );
if ( indentContent == no )

View File

@ -0,0 +1,100 @@
--- src/pprint.c.orig 2004-08-02 16:14:50.000000000 +0900
+++ src/pprint.c 2004-08-18 08:49:24.000000000 +0900
@@ -40,7 +40,7 @@
static int TextEndsWithNewline( Lexer *lexer, Node *node, uint mode );
static int TextStartsWithWhitespace( Lexer *lexer, Node *node, uint start, uint mode );
static Bool InsideHead( TidyDocImpl* doc, Node *node );
-static Bool ShouldIndent( TidyDocImpl* doc, Node *node );
+Bool ShouldIndent( TidyDocImpl* doc, Node *node );
#if SUPPORT_ASIAN_ENCODINGS
/* #431953 - start RJ Wraplen adjusted for smooth international ride */
@@ -704,7 +704,7 @@
}
}
-static void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
+void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
{
tmbchar entity[128];
ctmbstr p;
@@ -939,7 +939,7 @@
to UTF-8 is deferred to the WriteChar() routine called
to flush the line buffer.
*/
-static void PPrintText( TidyDocImpl* doc, uint mode, uint indent,
+void PPrintText( TidyDocImpl* doc, uint mode, uint indent,
Node* node )
{
uint start = node->start;
@@ -980,15 +980,13 @@
}
}
-#if 0
-static void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str )
+void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str )
{
#pragma unused(indent)
while ( *str != '\0' )
AddChar( &doc->pprint, *str++ );
}
-#endif /* 0 */
static void PPrintAttrValue( TidyDocImpl* doc, uint indent,
@@ -1384,7 +1382,7 @@
AddChar( pprint, '>' );
}
-static void PPrintComment( TidyDocImpl* doc, uint indent, Node* node )
+void PPrintComment( TidyDocImpl* doc, uint indent, Node* node )
{
TidyPrintImpl* pprint = &doc->pprint;
@@ -1471,7 +1469,7 @@
PCondFlushLine( doc, indent );
}
-static void PPrintPI( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintPI( TidyDocImpl* doc, uint indent, Node *node )
{
TidyPrintImpl* pprint = &doc->pprint;
tchar c;
@@ -1502,7 +1500,7 @@
PCondFlushLine( doc, indent );
}
-static void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node )
{
AttVal* att;
uint saveWrap;
@@ -1590,7 +1588,7 @@
WrapOn( doc, saveWrap );
}
-static void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node )
{
uint saveWrap;
TidyPrintImpl* pprint = &doc->pprint;
@@ -1609,7 +1607,7 @@
WrapOn( doc, saveWrap ); /* restore wrapping */
}
-static void PPrintSection( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintSection( TidyDocImpl* doc, uint indent, Node *node )
{
TidyPrintImpl* pprint = &doc->pprint;
Bool wrapSect = cfgBool( doc, TidyWrapSection );
@@ -1825,7 +1823,7 @@
-static Bool ShouldIndent( TidyDocImpl* doc, Node *node )
+Bool ShouldIndent( TidyDocImpl* doc, Node *node )
{
uint indentContent = cfg( doc, TidyIndentContent );
if ( indentContent == no )

View File

@ -0,0 +1,99 @@
diff -urN tidy.old/src/pprint.c tidy-26/src/pprint.c
--- tidy.old/src/pprint.c 2005-08-03 08:58:11.000000000 +0200
+++ tidy-26/src/pprint.c 2006-02-13 17:29:01.000000000 +0100
@@ -40,7 +40,7 @@
static int TextEndsWithNewline( Lexer *lexer, Node *node, uint mode );
static int TextStartsWithWhitespace( Lexer *lexer, Node *node, uint start, uint mode );
static Bool InsideHead( TidyDocImpl* doc, Node *node );
-static Bool ShouldIndent( TidyDocImpl* doc, Node *node );
+Bool ShouldIndent( TidyDocImpl* doc, Node *node );
#if SUPPORT_ASIAN_ENCODINGS
/* #431953 - start RJ Wraplen adjusted for smooth international ride */
@@ -708,7 +708,7 @@
}
}
-static void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
+void PPrintChar( TidyDocImpl* doc, uint c, uint mode )
{
tmbchar entity[128];
ctmbstr p;
@@ -943,7 +943,7 @@
to UTF-8 is deferred to the WriteChar() routine called
to flush the line buffer.
*/
-static void PPrintText( TidyDocImpl* doc, uint mode, uint indent,
+void PPrintText( TidyDocImpl* doc, uint mode, uint indent,
Node* node )
{
uint start = node->start;
@@ -984,13 +984,11 @@
}
}
-#if 0
-static void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str )
+void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str )
{
while ( *str != '\0' )
AddChar( &doc->pprint, *str++ );
}
-#endif /* 0 */
static void PPrintAttrValue( TidyDocImpl* doc, uint indent,
@@ -1414,7 +1412,7 @@
AddChar( pprint, '>' );
}
-static void PPrintComment( TidyDocImpl* doc, uint indent, Node* node )
+void PPrintComment( TidyDocImpl* doc, uint indent, Node* node )
{
TidyPrintImpl* pprint = &doc->pprint;
@@ -1501,7 +1499,7 @@
PCondFlushLine( doc, indent );
}
-static void PPrintPI( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintPI( TidyDocImpl* doc, uint indent, Node *node )
{
TidyPrintImpl* pprint = &doc->pprint;
tchar c;
@@ -1532,7 +1530,7 @@
PCondFlushLine( doc, indent );
}
-static void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node )
{
AttVal* att;
uint saveWrap;
@@ -1620,7 +1618,7 @@
WrapOn( doc, saveWrap );
}
-static void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node )
{
uint saveWrap;
TidyPrintImpl* pprint = &doc->pprint;
@@ -1639,7 +1637,7 @@
WrapOn( doc, saveWrap ); /* restore wrapping */
}
-static void PPrintSection( TidyDocImpl* doc, uint indent, Node *node )
+void PPrintSection( TidyDocImpl* doc, uint indent, Node *node )
{
TidyPrintImpl* pprint = &doc->pprint;
Bool wrapSect = cfgBool( doc, TidyWrapSection );
@@ -1856,7 +1854,7 @@
-static Bool ShouldIndent( TidyDocImpl* doc, Node *node )
+Bool ShouldIndent( TidyDocImpl* doc, Node *node )
{
TidyTriState indentContent = cfgAutoBool( doc, TidyIndentContent );
if ( indentContent == TidyNoState )

View File

@ -0,0 +1,31 @@
Index: tidy-20090325/include/platform.h
===================================================================
--- tidy-20090325.orig/include/platform.h
+++ tidy-20090325/include/platform.h
@@ -24,7 +24,7 @@ extern "C" {
*/
/* #define TIDY_CONFIG_FILE "/etc/tidy_config.txt" */ /* original */
-/* #define TIDY_CONFIG_FILE "/etc/tidyrc" */
+#define TIDY_CONFIG_FILE "/etc/tidyrc"
/* #define TIDY_CONFIG_FILE "/etc/tidy.conf" */
/*
@@ -33,7 +33,7 @@ extern "C" {
It enables tidy to find config files named ~/.tidyrc if
the HTML_TIDY environment variable is not set.
*/
-/* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */
+#define TIDY_USER_CONFIG_FILE "~/.tidyrc"
/*
Uncomment the following #define if your
@@ -48,7 +48,7 @@ extern "C" {
Contributed by Todd Lewis.
*/
-/* #define SUPPORT_GETPWNAM */
+#define SUPPORT_GETPWNAM
/* Enable/disable support for Big5 and Shift_JIS character encodings */

View File

@ -0,0 +1,12 @@
diff -urN tidy.old/configure.in tidy-26/configure.in
--- tidy.old/configure.in 2006-02-13 17:17:49.000000000 +0100
+++ tidy-26/configure.in 2006-02-13 17:17:20.000000000 +0100
@@ -72,7 +72,7 @@
if test $debug_build = yes; then
CFLAGS="$save_cflags -g"
else
- CFLAGS="-O2 $save_cflags"
+ CFLAGS="$save_cflags"
fi
#
# =============================================

View File

@ -0,0 +1,74 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-20090325.ebuild,v 1.10 2010/01/02 12:16:07 fauli Exp $
EAPI=2
inherit eutils autotools
MY_PN="tidy"
MY_P=${MY_PN}-${PV}
S="${WORKDIR}"/${MY_P}
DESCRIPTION="Tidy the layout and correct errors in HTML and XML documents"
HOMEPAGE="http://tidy.sourceforge.net/"
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-doc.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="debug doc"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
src_prepare() {
# Required to setup the source dist for autotools
einfo "Setting up autotools for source build"
cp -R ./build/gnuauto/* . || die "could not prepare autotools environment"
# Stop tidy from appending -O2 to our CFLAGS
epatch "${FILESDIR}"/htmltidy-5.10.26-strip-O2-flag.patch
# Define /etc/tidyrc for system wide config, bug 154834
epatch "${FILESDIR}"/htmltidy-20090325-tidyrc.patch
eautoreconf
}
src_compile() {
default
if use doc ; then
doxygen htmldoc/doxygen.cfg || die "error making apidocs"
fi
}
src_configure() {
econf $(use_enable debug)
}
src_install() {
emake DESTDIR="${D}" install || die "error during make install"
cd "${S}"/htmldoc
# It seems the manual page installation in the Makefile's
# is commented out, so we need to install manually
# for the moment. Please check this on updates.
# mv man_page.txt tidy.1
# doman tidy.1
#
# Update:
# Now the man page is provided as an xsl file, which
# we can't use until htmltidy is merged.
# I have generated the man page and quickref which is on
# the mirrors. (bug #132429)
doman "${WORKDIR}"/${MY_P}-doc/tidy.1
# Install basic html documentation
dohtml *.html *.css *.gif "${WORKDIR}"/${MY_P}-doc/quickref.html
# If use 'doc' is set, then we also want to install the
# api documentation
use doc && dohtml -r api
}

View File

@ -0,0 +1 @@
DIST libpaper_1.1.23.tar.gz 351153 RMD160 bf407f5e75348abde5b7d3d3c8e2ea695de46cd7 SHA1 e1c03fc0fa708cafe12d00a120685ef566100468 SHA256 d6fe2af9da1f5f035665ba5f4600ea53cf00041eb268d981447c193eb3212acb

View File

@ -0,0 +1,12 @@
Index: libpaper-1.1.14ubuntu8/lib/paper.c
===================================================================
--- libpaper-1.1.14ubuntu8.orig/lib/paper.c
+++ libpaper-1.1.14ubuntu8/lib/paper.c
@@ -14,7 +14,6 @@
#include <sys/stat.h>
#include <stdio.h>
-#include <malloc.h>
#include <string.h>
#include <ctype.h>

View File

@ -0,0 +1,36 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.23.ebuild,v 1.10 2010/03/08 08:14:49 sping Exp $
inherit eutils libtool
MY_P=${P/-/_}
DESCRIPTION="Library for handling paper characteristics"
HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/libpaper-1.1.14.8-malloc.patch
elibtoolize
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README ChangeLog debian/changelog debian/NEWS
dodir /etc
(paperconf 2>/dev/null || echo a4) > "${D}"/etc/papersize
}
pkg_postinst() {
echo
elog "run \"paperconfig -p letter\" as root to use letter-pagesizes"
elog "or paperconf with normal user privileges."
echo
}

View File

@ -0,0 +1 @@
DIST OpenSP-1.5.2.tar.gz 1521390 RMD160 6e671a267562c5b9283e7e6504e8339cb1d86850 SHA1 b4e903e980f8a8b3887396a24e067bef126e97d5 SHA256 57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce

View File

@ -0,0 +1,10 @@
--- include/RangeMap.h~ 2004-04-22 20:34:13.729541096 +0300
+++ include/RangeMap.h 2004-04-22 20:31:48.473049702 +0300
@@ -8,6 +8,7 @@
#include "Boolean.h"
#include "ISet.h"
#include "types.h"
+#include "constant.h"
#include <stddef.h>
#ifdef SP_NAMESPACE

View File

@ -0,0 +1,77 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.2-r1.ebuild,v 1.11 2007/07/12 04:37:47 mr_bones_ Exp $
inherit eutils flag-o-matic
MY_P=${P/opensp/OpenSP}
S=${WORKDIR}/${MY_P}
DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity management"
HOMEPAGE="http://openjade.sourceforge.net/"
SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz"
LICENSE="JamesClark"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="doc nls"
DEPEND="nls? ( >=sys-devel/gettext-0.14.5 )
doc? (
app-text/xmlto
~app-text/docbook-xml-dtd-4.1.2
)"
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.5-gcc34.patch
}
src_compile() {
#
# The following filters are taken from openjade's ebuild. See bug #100828.
#
# Please note! Opts are disabled. If you know what you're doing
# feel free to remove this line. It may cause problems with
# docbook-sgml-utils among other things.
ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
strip-flags
# Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault
# on hppa. Using -O1 works fine. So I force it here.
use hppa && replace-flags -O2 -O1
local myconf="--enable-http \
--enable-default-catalog=/etc/sgml/catalog \
--enable-default-search-path=/usr/share/sgml \
--datadir=/usr/share/sgml/${P} \
$(use_enable nls) \
$(use_enable doc doc-build)"
econf ${myconf} || die "econf failed"
emake pkgdocdir=/usr/share/doc/${PF} || die "Compilation failed"
}
src_test() {
echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
einfo "Skipping tests known not to work"
make SHOWSTOPPERS= check || die "Make test failed"
SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
}
src_install() {
make DESTDIR="${D}" \
pkgdocdir=/usr/share/doc/${PF} install || die "Installation failed"
dodoc AUTHORS BUGS ChangeLog NEWS README
}
pkg_postinst() {
ewarn "Please note that the soname of the library changed."
ewarn "If you are upgrading from a previous version you need"
ewarn "to fix dynamic linking inconsistencies by executing:"
ewarn
ewarn " revdep-rebuild --library='libosp.so.*'"
}

View File

@ -0,0 +1 @@
DIST rarian-0.8.1.tar.bz2 324441 RMD160 2e4c0a4d22a4e0c41d4d3dc8e4a5ad080ee3b6ce SHA1 9b3f1bad1cdbb0de51d6f74431b20eb3647edc5a SHA256 aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577

View File

@ -0,0 +1,37 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/rarian/rarian-0.8.1.ebuild,v 1.10 2009/03/02 18:46:53 armin76 Exp $
inherit eutils gnome2
DESCRIPTION="A documentation metadata library"
HOMEPAGE="http://www.freedesktop.org"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
RDEPEND="dev-libs/libxslt"
DEPEND="${RDEPEND}
!<app-text/scrollkeeper-9999"
DOCS="ChangeLog NEWS README"
GCONF=""
src_unpack() {
# You cannot run src_unpack from gnome2; it will break the install by
# calling gnome2_omf_fix
unpack ${A}
cd "${S}"
# remove unneeded line, bug #240564
sed "s/ (foreign dist-bzip2 dist-gzip)//" -i configure || die "sed failed"
elibtoolize ${ELTCONF}
}
src_compile() {
gnome2_src_compile --localstatedir=/var
}

View File

@ -0,0 +1 @@
DIST scrollkeeper-omf.dtd 11031 RMD160 520e04cd1cdc055a523d7a6615b1079369a956c2 SHA1 b035cd72bf61354fdccbc90e5a6b76d44e2cfd2c SHA256 43df758009b17f8487419ef1fe3039379370417385885a2578e1789ab092ae26

View File

@ -0,0 +1,52 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild,v 1.2 2009/02/18 23:53:36 eva Exp $
DTD_FILE="scrollkeeper-omf.dtd"
DESCRIPTION="DTD from the Scrollkeeper package"
HOMEPAGE="http://scrollkeeper.sourceforge.net/"
SRC_URI="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/${DTD_FILE}"
LICENSE="FDL-1.1"
SLOT="1.0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-libs/libxml2-2.4.19"
DEPEND="${RDEPEND}
!<app-text/scrollkeeper-9999-r1"
src_unpack() { :; }
src_compile() { :; }
src_install() {
insinto "/usr/share/xml/scrollkeeper/dtds"
doins "${DISTDIR}/${DTD_FILE}"
}
pkg_postinst() {
einfo "Installing catalog..."
# Install regular DOCTYPE catalog entry
"${ROOT}"/usr/bin/xmlcatalog --noout --add "public" \
"-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
"`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \
"${ROOT}"/etc/xml/catalog
# Install catalog entry for calls like: xmllint --dtdvalid URL ...
"${ROOT}"/usr/bin/xmlcatalog --noout --add "system" \
"${SRC_URI}" \
"`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \
"${ROOT}"/etc/xml/catalog
}
pkg_postrm() {
# Remove all sk-dtd from the cache
einfo "Cleaning catalog..."
"${ROOT}"/usr/bin/xmlcatalog --noout --del \
"`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \
"${ROOT}"/etc/xml/catalog
}

View File

@ -0,0 +1,15 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-9999-r1.ebuild,v 1.4 2010/01/02 12:19:36 fauli Exp $
DESCRIPTION="Dummy scrollkeeper for testing rarian"
HOMEPAGE="http://gnome.gentoo.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="=app-text/scrollkeeper-dtd-1.0"
PDEPEND="app-text/rarian"

View File

@ -0,0 +1 @@
DIST sgml-common-0.6.3.tgz 76783 RMD160 246d01272f70cd8382a7d596392e61d7dc0eec78 SHA1 b7d211c19b83accb92dcb51719de65227fb4c27c SHA256 7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959

View File

@ -0,0 +1,13 @@
Index: sgml-common-0.6.3/configure.in
===================================================================
--- sgml-common-0.6.3.orig/configure.in
+++ sgml-common-0.6.3/configure.in
@@ -3,7 +3,7 @@ AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(sgml-common, 0.6.3)
-docdir='$(prefix)/doc'
+docdir='$(prefix)/share/doc'
AC_SUBST(docdir)
dnl Checks for programs.

View File

@ -0,0 +1,180 @@
#!/bin/bash
# Script to install a catalog in the centralized SGML catalog
# Send any comments to Eric Bischoff <eric@caldera.de>
# This program is under GPL license. See LICENSE file for details.
# Modified by Gentoo developers to better integrate it to portage.
# <text-markup@gentoo.org>
# Set help message
SGML_HELP_MESSAGE="Usage: `basename $0` [<option>] <action>\n\
where <option> is:\n\
\040 -d|--delegate: \t\t\t Use DELEGATE instead of CATALOG\n\
and where <action> is:\n\
\040 -a|--add <centralized> <ordinary>: \t Declare ordinary catalog in the centralized catalog\n\
\040 -r|--remove <centralized> <ordinary>:\t Remove ordinary catalog from the centralized catalog\n\
\040 -h, --help: \t\t\t\t Print this help message and exit\n\
\040 -v, --version: \t\t\t Print the version number and exit\n"
# Set version message
SGML_VERSION_MESSAGE="sgml-common version @VERSION@ (install-catalog version 1.0)"
# Set type of pointer
SGML_POINTER="CATALOG"
# Set action to be performed
SGML_ACTION=""
# Set catalogs
SGML_CENTRALIZED=""
SGML_ORDINARY=""
# Default ROOT value (usually defined by portage)
[ -z "$ROOT" ] && ROOT="/"
[[ $ROOT == */ ]] || ROOT="${ROOT}/"
# Process options
case $1 in
-d|--delegate) SGML_POINTER="DELEGATE"
shift 1
;;
esac
# Process actions
case $1 in
-a|--add) SGML_ACTION="addition"
SGML_CENTRALIZED=$2
SGML_ORDINARY=$3
;;
-r|--remove) if [ -z "$3" -o "$3" = "--version" ]
then
echo "install-catalog: Old syntax; doing nothing"
exit 0
fi
SGML_ACTION="removal"
SGML_CENTRALIZED=$2
SGML_ORDINARY=$3
;;
-h|--help) echo -e $SGML_HELP_MESSAGE
exit 0
;;
-v|--version) echo -e $SGML_VERSION_MESSAGE
exit 0
;;
--install) echo "install-catalog: Old syntax; doing nothing"
exit 0
;;
*) echo -e $SGML_HELP_MESSAGE >&2
exit 1
;;
esac
# The arguments to this program should always be relative to $ROOT. Here we
# declare some extra variables to distingish between the absolute and
# relative paths.
SGML_ROOT_CENTRALIZED="${ROOT%/}${SGML_CENTRALIZED}"
SGML_ROOT_ORDINARY="${ROOT%/}${SGML_ORDINARY}"
# Check that the super catalog can be created and changed and deleted
if [ ! -w ${ROOT}etc/sgml ]
then
echo "`basename $0`: unable to write in ${ROOT}etc/sgml." >&2
exit 2
fi
case $SGML_ACTION in
addition)
if [ -e ${ROOT}etc/sgml/catalog -a ! -w ${ROOT}etc/sgml/catalog ]
then
echo "`basename $0`: can not modify \"${ROOT}etc/sgml/catalog\"." >&2
exit 2
fi
;;
removal)
if [ ! -w ${ROOT}etc/sgml/catalog ]
then
echo "`basename $0`: can not modify \"${ROOT}etc/sgml/catalog\"." >&2
exit 2
fi
;;
esac
# Check that the centralized catalog can be created, changed and deleted
if [ -z "$SGML_ROOT_CENTRALIZED" ]
then
echo -e $SGML_HELP_MESSAGE >&2
exit 1
fi
case $SGML_ACTION in
addition)
if [ -e "$SGML_ROOT_CENTRALIZED" -a ! -w "$SGML_ROOT_CENTRALIZED" ]
then
echo "`basename $0`: can not modify \"$SGML_ROOT_CENTRALIZED\"." >&2
exit 2
fi
;;
removal)
if [ ! -w "$SGML_ROOT_CENTRALIZED" ]
then
echo "`basename $0`: can not modify \"$SGML_ROOT_CENTRALIZED\"." >&2
exit 2
fi
;;
esac
# Check that we have at least one ordinary package to process
if [ -z "$SGML_ROOT_ORDINARY" ]
then
echo -e $SGML_HELP_MESSAGE >&2
exit 1
fi
case $SGML_ACTION in
addition)
if [ ! -s $SGML_ROOT_ORDINARY ]
then
echo "`basename $0`: \"$SGML_ROOT_ORDINARY\" does not exist or is empty." >&2
exit 2
fi
;;
esac
# Installation or removal of pointers
case $SGML_ACTION in
addition)
echo "`basename $0`: addition of $SGML_ORDINARY in $SGML_CENTRALIZED"
if grep -q $SGML_ORDINARY $SGML_ROOT_CENTRALIZED 2>/dev/null
then
echo "Warning: $SGML_ORDINARY is already installed in the centralized catalog $SGML_CENTRALIZED" >&2
else
echo "$SGML_POINTER \"$SGML_ORDINARY\"" >> $SGML_ROOT_CENTRALIZED
fi
grep -q $SGML_CENTRALIZED ${ROOT}etc/sgml/catalog 2>/dev/null
if [ $? -ne 0 ]
then
echo "`basename $0`: addition of $SGML_CENTRALIZED in ${ROOT}etc/sgml/catalog"
echo "$SGML_POINTER \"$SGML_CENTRALIZED\"" >> ${ROOT}etc/sgml/catalog
fi
;;
removal)
echo "`basename $0`: removal of $SGML_ORDINARY from $SGML_CENTRALIZED"
if grep -q $SGML_ORDINARY $SGML_ROOT_CENTRALIZED 2>/dev/null
then
sed -e "\:$SGML_POINTER \"$SGML_ORDINARY\":d" < \
$SGML_ROOT_CENTRALIZED > ${SGML_ROOT_CENTRALIZED}.new
mv ${SGML_ROOT_CENTRALIZED}.new $SGML_ROOT_CENTRALIZED
else
echo "Warning: $SGML_ORDINARY was not found in the centralized catalog $SGML_CENTRALIZED" >&2
fi
if [ ! -s "$SGML_ROOT_CENTRALIZED" ]
then
rm $SGML_ROOT_CENTRALIZED
echo "`basename $0`: removal of $SGML_CENTRALIZED from ${ROOT}etc/sgml/catalog"
sed -e "\:$SGML_POINTER \"$SGML_CENTRALIZED\":d" < ${ROOT}etc/sgml/catalog > ${ROOT}etc/sgml/catalog.new
mv ${ROOT}etc/sgml/catalog.new ${ROOT}etc/sgml/catalog
fi
;;
esac
exit 0

View File

@ -0,0 +1,7 @@
diff -ur sgml-common-0.6.3.orig/doc/man/Makefile.am sgml-common-0.6.3/doc/man/Makefile.am
--- sgml-common-0.6.3.orig/doc/man/Makefile.am 2001-01-30 16:42:22.000000000 +0200
+++ sgml-common-0.6.3/doc/man/Makefile.am 2009-07-19 14:09:48.000000000 +0300
@@ -1,2 +1 @@
-man8dir = $(mandir)/man8
-man8_DATA = *.8
+man_MANS = *.8

View File

@ -0,0 +1,83 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild,v 1.19 2009/07/19 11:18:02 ssuominen Exp $
inherit autotools eutils
DESCRIPTION="Base ISO character entities and utilities for SGML"
HOMEPAGE="http://www.iso.ch/cate/3524030.html"
SRC_URI="mirror://kde/devel/docbook/SOURCES/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
RDEPEND=""
DEPEND=""
src_unpack() {
unpack ${A}
# We use a hacked version of install-catalog that supports the ROOT
# variable, and puts quotes around the CATALOG files.
cp "${FILESDIR}/${P}-install-catalog.in" "${S}/bin/install-catalog.in"
cd "${S}"
epatch "${FILESDIR}"/${P}-configure.in.patch
epatch "${FILESDIR}"/${P}-man_MANS.patch
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
pkg_postinst() {
local installer="${ROOT}usr/bin/install-catalog"
if [ ! -x "${installer}" ]; then
eerror "install-catalog not found! Something went wrong!"
die
fi
einfo "Installing Catalogs..."
$installer --add \
/etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
$installer --add \
/etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat
local file
for file in `find "${ROOT}etc/sgml/" -name "*.cat"` "${ROOT}etc/sgml/catalog"
do
einfo "Fixing ${file}"
awk '/"$/ { print $1 " " $2 }
! /"$/ { print $1 " \"" $2 "\"" }' ${file} > ${file}.new
mv ${file}.new ${file}
done
}
pkg_prerm() {
cp "${ROOT}usr/bin/install-catalog" "${T}"
}
pkg_postrm() {
if [ ! -x "${T}/install-catalog" ]; then
return
fi
einfo "Removing Catalogs..."
if [ -e "${ROOT}etc/sgml/sgml-ent.cat" ]; then
"${T}"/install-catalog --remove \
/etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
fi
if [ -e "${ROOT}etc/sgml/sgml-docbook.cat" ]; then
"${T}"/install-catalog --remove \
/etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat
fi
}

View File

@ -0,0 +1 @@
DIST tree-1.5.3.tgz 34494 RMD160 72ca2be3ea05bd18819973ad0dfc60a3b9247d90 SHA1 329e05e500754109ff1f648c14924d8cac42c6ea SHA256 1128755ea9455615188212bb04319cf103114fb78f687aa887ce29ef184ffb8d

View File

@ -0,0 +1,35 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/tree/files/tree.bashcomp,v 1.1 2005/08/30 14:15:49 ka0ttic Exp $
# bash command-line completion for tree
# Author: Aaron Walker <ka0ttic@gentoo.org>
_tree() {
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-a -d -l -f -i -q -N -p -u -g -s -D -F -r -t -x -L -A
-S -n -C -P -I -H -T -R -o --inodes --device --noreport --nolinks
--dirsfirst --charset --help"
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
case "${prev}" in
-L|-P|-I|-H|-T|--charset|--help)
;;
-o)
COMPREPLY=( $(compgen -f -- ${cur}) )
;;
*)
COMPREPLY=( $(compgen -d -- ${cur}) )
;;
esac
}
complete -o filenames -F _tree tree
# vim: set ft=sh tw=80 sw=4 et :

View File

@ -0,0 +1,38 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.5.3.ebuild,v 1.6 2010/03/08 15:25:58 pacho Exp $
EAPI=2
inherit toolchain-funcs flag-o-matic bash-completion
DESCRIPTION="Lists directories recursively, and produces an indented listing of files."
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE=""
src_prepare() {
sed -i \
-e 's:LINUX:__linux__:' tree.c \
|| die "sed failed"
}
src_compile() {
append-lfs-flags
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
XOBJS="$(use elibc_uclibc && echo strverscmp.o)" \
|| die "emake failed"
}
src_install() {
dobin tree || die "dobin failed"
doman man/tree.1
dodoc CHANGES README*
dobashcompletion "${FILESDIR}"/${PN}.bashcomp
}