summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/docbook-sgml-utils
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/docbook-sgml-utils')
-rw-r--r--app-text/docbook-sgml-utils/Manifest1
-rw-r--r--app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild68
-rw-r--r--app-text/docbook-sgml-utils/files/docbook-sgml-utils-0.6.14-grep-2.7.patch17
-rw-r--r--app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-elinks.patch14
-rw-r--r--app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch90
-rw-r--r--app-text/docbook-sgml-utils/metadata.xml10
6 files changed, 200 insertions, 0 deletions
diff --git a/app-text/docbook-sgml-utils/Manifest b/app-text/docbook-sgml-utils/Manifest
new file mode 100644
index 00000000000..471a97f632a
--- /dev/null
+++ b/app-text/docbook-sgml-utils/Manifest
@@ -0,0 +1 @@
+DIST docbook-utils-0.6.14.tar.gz 124998 SHA256 48faab8ee8a7605c9342fb7b906e0815e3cee84a489182af38e8f7c0df2e92e9 SHA512 8052316a643b5eaa6c0373a9ed7f2406e7c3cb3da9d3c955a271c89813a8f3196fcd9e6c8385c7b6b7ecb916515e3ec7897aece4473989f0e4dc52a2bc8bbfdf WHIRLPOOL ca29b3c744e317108c627d1c669b2fec9ccda634c9bbdeed9d0121dbe06f4136a3cb7e29a23c71d8a857df07f7ec623f4549b437cd99f55376a4b6fc8dea76c6
diff --git a/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild
new file mode 100644
index 00000000000..47e5596765d
--- /dev/null
+++ b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit eutils autotools prefix
+
+MY_PN=${PN/-sgml/}
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Shell scripts to manage DocBook documents"
+HOMEPAGE="http://sources.redhat.com/docbook-tools/"
+SRC_URI="ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="jadetex"
+
+DEPEND=">=dev-lang/perl-5
+ app-text/docbook-dsssl-stylesheets
+ app-text/openjade
+ dev-perl/SGMLSpm
+ ~app-text/docbook-xml-simple-dtd-4.1.2.4
+ ~app-text/docbook-xml-simple-dtd-1.0
+ app-text/docbook-xml-dtd
+ ~app-text/docbook-sgml-dtd-3.0
+ ~app-text/docbook-sgml-dtd-3.1
+ ~app-text/docbook-sgml-dtd-4.0
+ ~app-text/docbook-sgml-dtd-4.1
+ jadetex? ( app-text/jadetex )
+ userland_GNU? ( sys-apps/which )
+ || (
+ www-client/lynx
+ www-client/links
+ www-client/elinks
+ virtual/w3m )"
+RDEPEND="${DEPEND}"
+
+# including both xml-simple-dtd 4.1.2.4 and 1.0, to ease
+# transition to simple-dtd 1.0, <obz@gentoo.org>
+
+src_prepare() {
+ epatch "${FILESDIR}"/${MY_P}-elinks.patch
+ epatch "${FILESDIR}"/${P}-grep-2.7.patch
+ if use prefix; then
+ epatch "${FILESDIR}"/${MY_P}-prefix.patch
+ eprefixify doc/{man,HTML}/Makefile.am bin/jw.in backends/txt configure.in
+ eautoreconf
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ install || die "Installation failed"
+
+ if ! use jadetex ; then
+ for i in dvi pdf ps ; do
+ rm "${ED}"/usr/bin/docbook2$i || die
+ rm "${ED}"/usr/share/sgml/docbook/utils-${PV}/backends/$i || die
+ rm "${ED}"/usr/share/man/man1/docbook2$i.1 || die
+ done
+ fi
+ dodoc AUTHORS ChangeLog NEWS README TODO || die
+}
diff --git a/app-text/docbook-sgml-utils/files/docbook-sgml-utils-0.6.14-grep-2.7.patch b/app-text/docbook-sgml-utils/files/docbook-sgml-utils-0.6.14-grep-2.7.patch
new file mode 100644
index 00000000000..490d65a0aa4
--- /dev/null
+++ b/app-text/docbook-sgml-utils/files/docbook-sgml-utils-0.6.14-grep-2.7.patch
@@ -0,0 +1,17 @@
+Fix wrong charakter classes no longer missinterpreted by grep-2.7
+Michael Weber <xmw@gentoo.org>
+
+--- docbook-utils-0.6.14/bin/jw.in
++++ docbook-utils-0.6.14/bin/jw.in
+@@ -80,9 +80,9 @@
+ SGML_CATALOGS_DIR="/etc/sgml"
+ if [ -f "$SGML_CONF" ]
+ then
+- RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
++ RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*'
+ SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
+- RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
++ RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*'
+ SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
+ fi
+
diff --git a/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-elinks.patch b/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-elinks.patch
new file mode 100644
index 00000000000..5256570458a
--- /dev/null
+++ b/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-elinks.patch
@@ -0,0 +1,14 @@
+diff -NurdB docbook-utils-0.6.14/backends/txt docbook-utils-0.6.14-patched/backends/txt
+--- docbook-utils-0.6.14/backends/txt 2004-02-11 08:58:03.000000000 -0500
++++ docbook-utils-0.6.14-patched/backends/txt 2006-06-05 21:57:23.000000000 -0500
+@@ -10,6 +10,10 @@
+ then
+ CONVERT=/usr/bin/links
+ ARGS="-dump"
++elif [ -x /usr/bin/elinks ]
++then
++ CONVERT=/usr/bin/elinks
++ ARGS="-dump"
+ elif [ -x /usr/bin/w3m ]
+ then
+ CONVERT=/usr/bin/w3m
diff --git a/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch b/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch
new file mode 100644
index 00000000000..29906c2046a
--- /dev/null
+++ b/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch
@@ -0,0 +1,90 @@
+--- doc/HTML/Makefile.am~ 2007-10-08 04:13:04 +0200
++++ doc/HTML/Makefile.am 2007-10-08 04:13:34 +0200
+@@ -23,7 +23,7 @@
+ $(top_srcdir)/doc/refentry/docbook2texi-spec.pl.sgml \
+ $(top_srcdir)/doc/refentry/frontend-spec.sgml \
+ $(top_srcdir)/doc/refentry/sgmldiff.sgml
+- SGML_CATALOG_FILES=/etc/sgml/catalog \
++ SGML_CATALOG_FILES=@GENTOO_PORTAGE_EPREFIX@/etc/sgml/catalog \
+ SGML_SEARCH_PATH=$(top_srcdir):$(top_srcdir)/doc:.. \
+ jade -t sgml -i html -d $(top_srcdir)/docbook-utils.dsl\#html \
+ -V '%use-id-as-filename%' $<
+--- doc/man/Makefile.am~ 2007-10-08 04:14:16 +0200
++++ doc/man/Makefile.am 2007-10-08 04:14:29 +0200
+@@ -10,7 +10,7 @@
+
+ $(man1_MANS) $(man7_MANS): $(top_srcdir)/doc/docbook-utils.sgml \
+ $(top_srcdir)/helpers/docbook2man-spec.pl
+- SGML_CATALOG_FILES=/etc/sgml/catalog \
++ SGML_CATALOG_FILES=@GENTOO_PORTAGE_EPREFIX@/etc/sgml/catalog \
+ SGML_SEARCH_PATH=$(top_srcdir)/doc:.. \
+ nsgmls $< | \
+ sgmlspl $(top_srcdir)/helpers/docbook2man-spec.pl
+--- bin/jw.in~ 2007-10-08 04:27:18 +0200
++++ bin/jw.in 2007-10-08 04:28:40 +0200
+@@ -63,7 +63,7 @@
+ then
+ SGML_CONF=`sgmlwhich`
+ else
+- SGML_CONF="/etc/sgml/sgml.conf"
++ SGML_CONF="@GENTOO_PORTAGE_EPREFIX@/etc/sgml/sgml.conf"
+ fi
+
+ # Set version message
+@@ -77,7 +77,7 @@
+
+ # Set SGML base directory and centralized catalogs directory
+ SGML_BASE_DIR="@prefix@/share/sgml"
+-SGML_CATALOGS_DIR="/etc/sgml"
++SGML_CATALOGS_DIR="@GENTOO_PORTAGE_EPREFIX@/etc/sgml"
+ if [ -f "$SGML_CONF" ]
+ then
+ RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
+--- backends/txt~ 2007-10-08 04:59:59 +0200
++++ backends/txt 2007-10-08 05:00:52 +0200
+@@ -2,21 +2,21 @@
+ # Send any comments to Eric Bischoff <eric@caldera.de>
+ # This program is under GPL license. See LICENSE file for details.
+
+-if [ -x /usr/bin/lynx ]
++if [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/lynx ]
+ then
+- CONVERT=/usr/bin/lynx
++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/lynx
+ ARGS="-force_html -dump -nolist -width=72"
+-elif [ -x /usr/bin/links ]
++elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/links ]
+ then
+- CONVERT=/usr/bin/links
++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/links
+ ARGS="-dump"
+-elif [ -x /usr/bin/elinks ]
++elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/elinks ]
+ then
+- CONVERT=/usr/bin/elinks
++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/elinks
+ ARGS="-dump"
+-elif [ -x /usr/bin/w3m ]
++elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/w3m ]
+ then
+- CONVERT=/usr/bin/w3m
++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/w3m
+ ARGS="-dump"
+ else
+ echo >&2 "No way to convert HTML to text found."
+--- configure.in~ 2004-02-11 15:14:15 +0100
++++ configure.in 2007-10-14 10:40:51 +0200
+@@ -20,11 +20,11 @@
+ AC_SUBST(docdir)
+
+ dnl Checks for programs.
+-jade_bindirs="/usr/bin /usr/local/bin"
++jade_bindirs="@GENTOO_PORTAGE_EPREFIX@/usr/bin"
+ AC_FIND_PROGRAM(nsgmls, $jade_bindirs, jade_bindir)
+ AC_SUBST(jade_bindir)
+
+-perl_bindirs="/usr/bin /usr/local/bin"
++perl_bindirs="@GENTOO_PORTAGE_EPREFIX@/usr/bin"
+ AC_FIND_PROGRAM(perl, $perl_bindirs, perl_bindir)
+ AC_SUBST(perl_bindir)
+
diff --git a/app-text/docbook-sgml-utils/metadata.xml b/app-text/docbook-sgml-utils/metadata.xml
new file mode 100644
index 00000000000..506295e08cd
--- /dev/null
+++ b/app-text/docbook-sgml-utils/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
+ <use>
+ <flag name='jadetex'>Add support for <pkg>app-text/jadetex</pkg>
+ (for processing tex files produced by the TeX backend of
+ Jade)</flag>
+ </use>
+</pkgmetadata>