diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2006-07-01 19:15:36 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2006-07-01 19:15:36 +0000 |
commit | 4fb0c82929e4b99318fc88b2adf2b39bc97e5c90 (patch) | |
tree | 65838d3d4064040b12c0a4abbdf5589bd948c780 /app-text/linuxdoc-tools | |
parent | Added avahi and meanwhile use flags for Gaim. (diff) | |
download | gentoo-2-4fb0c82929e4b99318fc88b2adf2b39bc97e5c90.tar.gz gentoo-2-4fb0c82929e4b99318fc88b2adf2b39bc97e5c90.tar.bz2 gentoo-2-4fb0c82929e4b99318fc88b2adf2b39bc97e5c90.zip |
Update version. Add patches from fedora and fix catalog path (based on
fedora's method, but non-broken). Install latex files.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'app-text/linuxdoc-tools')
8 files changed, 199 insertions, 2 deletions
diff --git a/app-text/linuxdoc-tools/ChangeLog b/app-text/linuxdoc-tools/ChangeLog index 35777b5b919d..bf458c8f77e4 100644 --- a/app-text/linuxdoc-tools/ChangeLog +++ b/app-text/linuxdoc-tools/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-text/linuxdoc-tools -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.3 2005/11/18 16:01:30 leonardop Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.4 2006/07/01 19:15:36 azarah Exp $ + +*linuxdoc-tools-0.9.21_p4 (01 Jul 2006) + + 01 Jul 2006; Martin Schlemmer <azarah@gentoo.org> + +files/linuxdoc-tools-0.9.13-letter.patch, + +files/linuxdoc-tools-0.9.20-lib64.patch, + +files/linuxdoc-tools-0.9.20-strip.patch, +files/linuxdoc-tools-fi.patch, + +linuxdoc-tools-0.9.21_p4.ebuild: + Update version. Add patches from fedora and fix catalog path (based on + fedora's method, but non-broken). Install latex files. 18 Nov 2005; Leonardo Boshell <leonardop@gentoo.org> linuxdoc-tools-0.9.21.ebuild: diff --git a/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21 b/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21 index 16ba9d477ba6..1fbf3f09934e 100644 --- a/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21 +++ b/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21 @@ -1 +1,3 @@ MD5 55e2575d96cd91316b7ad269c0b797c3 linuxdoc-tools_0.9.21.tar.gz 609452 +RMD160 58f9f40260d589eae13e3b8bb00aa9191dfe1c32 linuxdoc-tools_0.9.21.tar.gz 609452 +SHA256 0b32a21943ec548f07b3f9bbef8bd5fe836407516b8be9b75c715411debe492c linuxdoc-tools_0.9.21.tar.gz 609452 diff --git a/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21_p4 b/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21_p4 new file mode 100644 index 000000000000..a944211ba9cb --- /dev/null +++ b/app-text/linuxdoc-tools/files/digest-linuxdoc-tools-0.9.21_p4 @@ -0,0 +1,3 @@ +MD5 01db4859af60f1fae4485eb4a4d89f16 linuxdoc-tools_0.9.21-0.4.tar.gz 590530 +RMD160 35b03151b9977522d33c131e4eb117154f501722 linuxdoc-tools_0.9.21-0.4.tar.gz 590530 +SHA256 d36208dce68435598482d3ade8efcc4772f50c4d1c6712a00df13fb471e51b2b linuxdoc-tools_0.9.21-0.4.tar.gz 590530 diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.13-letter.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.13-letter.patch new file mode 100644 index 000000000000..ed6e0e80a105 --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.13-letter.patch @@ -0,0 +1,24 @@ +--- linuxdoc-tools-0.9.13/lib/LinuxDocTools.pm.letter Mon Nov 26 16:09:37 2001 ++++ linuxdoc-tools-0.9.13/lib/LinuxDocTools.pm Mon Nov 26 16:09:49 2001 +@@ -108,7 +108,7 @@ + { option => "pass", type => "s", short => "P" } + ]; + $global->{backend} = "linuxdoc"; +- $global->{papersize} = "a4"; ++ $global->{papersize} = "letter"; + $global->{language} = "en"; + $global->{charset} = "ascii"; + $global->{style} = ""; +--- linuxdoc-tools-0.9.13/man/linuxdoc.1.letter Mon Nov 26 16:10:04 2001 ++++ linuxdoc-tools-0.9.13/man/linuxdoc.1 Mon Nov 26 16:10:42 2001 +@@ -46,8 +46,8 @@ + format, but just output the usage of this suites. + Available formats are: html, info, latex, lyx, rtf, tex, check. + .IP "--papersize=\fIsize\fR, -p +-Set the paper size. Default is ``a4'' (European 297x210mm paper). +-You may also specify ``letter'' size. ++Set the paper size. Default is ``letter''. ++You may also specify ``a4'' size (European 297x210mm paper). + .IP "--language=\fIlang\fR, -l" + Specify the language of the document (this may change which style + files are used for formatting by a back end). The default language is diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.20-lib64.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.20-lib64.patch new file mode 100644 index 000000000000..04816c4f888c --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.20-lib64.patch @@ -0,0 +1,13 @@ +--- linuxdoc-tools-0.9.20/bin/linuxdoc.in.orig 2002-09-10 14:31:56.000000000 -0400 ++++ linuxdoc-tools-0.9.20/bin/linuxdoc.in 2002-09-10 14:32:32.000000000 -0400 +@@ -23,8 +23,10 @@ + + use lib "@DATADIR@"; + use lib "@prefix@/perl5"; ++use lib "@prefix@/lib64/perl5"; + use lib "@prefix@/lib/perl5"; + use lib "@prefix@/share/perl5"; ++ + $progs = { + "NSGMLS" => "@NSGMLS@", + "SGMLSASP" => "@SGMLSASP@", diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.20-strip.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.20-strip.patch new file mode 100644 index 000000000000..198bd24ac0e7 --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.20-strip.patch @@ -0,0 +1,10 @@ +--- linuxdoc-tools-0.9.20/Makefile.in.strip Mon Apr 22 17:30:06 2002 ++++ linuxdoc-tools-0.9.20/Makefile.in Mon Apr 22 17:30:19 2002 +@@ -87,7 +87,6 @@ + ( cd iso-entities; \ + $(MAKE) install ) + endif +- strip sgmlpre/sgmlpre + for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \ + bn=`basename $$ii`; \ + $(INSTALL_PROGRAM) $$ii $(bindir)/$$bn; \ diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-fi.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-fi.patch new file mode 100644 index 000000000000..cc9e31f6de31 --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-fi.patch @@ -0,0 +1,50 @@ +--- linuxdoc-tools-0.9.21/lib/LinuxDocTools/Lang.pm.fi 2001-05-24 16:57:41.000000000 +0100 ++++ linuxdoc-tools-0.9.21/lib/LinuxDocTools/Lang.pm 2005-06-30 13:09:18.000000000 +0100 +@@ -64,6 +64,7 @@ + ja japanese japanese + pl polski polish + ko korean korean ++ fi suomi finnish + ); + + +@@ -170,7 +171,8 @@ + "ro" => "Înapoi", + "ja" => "Á°¤Î¥Ú¡¼¥¸", + "pl" => "Poprzedni", +- "ko" => "ÀÌÀü" ++ "ko" => "ÀÌÀü", ++ "fi" => "Edellinen" + }, + "Next" => { + "nl" => "Verder", +@@ -186,7 +188,8 @@ + "ro" => "Înainte", + "ja" => "¼¡¤Î¥Ú¡¼¥¸", + "pl" => "Nastny", +- "ko" => "´ÙÀ½" ++ "ko" => "´ÙÀ½", ++ "fi" => "Seuraava" + }, + "Contents" => { + "nl" => "Inhoud", +@@ -202,7 +205,8 @@ + "ro" => "Cuprins", + "ja" => "Ìܼ¡¤Ø", + "pl" => "Spis Trei", +- "ko" => "Â÷·Ê" ++ "ko" => "Â÷·Ê", ++ "fi" => "Sisällys" + }, + "Table of Contents" => { + "nl" => "Inhoudsopgave", +@@ -218,7 +222,8 @@ + "ro" => "Cuprins", + "ja" => "Ìܼ¡", + "pl" => "Spis Trei", +- "ko" => "Â÷·Ê" ++ "ko" => "Â÷·Ê", ++ "fi" => "Sisällysluettelo" + } + }; + diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p4.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p4.ebuild new file mode 100644 index 000000000000..7e17b4b51fcc --- /dev/null +++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p4.ebuild,v 1.1 2006/07/01 19:15:36 azarah Exp $ + +# If docs fails to generate with the following type of errors: +# +# /usr/bin/nsgmls:.*:E: "X0393" is not a function name +# +# then its is probably sgml-common that did not add all its on catalogs +# properly, namely: +# +# /usr/share/sgml/sgml-iso-entities-8879.1986/catalog +# + +inherit eutils sgml-catalog + +MY_PV="${PV/_p/-0.}" + +S="${WORKDIR}/${P/_p*}" +DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files" +HOMEPAGE="http://packages.qa.debian.org/l/linuxdoc-tools.html" +SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${MY_PV}.tar.gz" + +LICENSE="KenMacLeod SGMLUG" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="tetex" + +DEPEND="app-text/openjade + app-text/sgml-common + >=dev-lang/perl-5.004 + sys-apps/gawk + sys-apps/groff + !<app-text/sgmltools-lite-3.0.3-r10 + !<app-text/tetex-3" + +RDEPEND="${DEPEND} + tetex? ( >=app-text/tetex-3 )" + +sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \ + "/usr/share/linuxdoc-tools/linuxdoc-tools.catalog" + + +src_unpack() { + unpack ${A} + + cd ${S} + epatch "${FILESDIR}/${PN}-fi.patch" + epatch "${FILESDIR}/${PN}-0.9.13-letter.patch" + epatch "${FILESDIR}/${PN}-0.9.20-lib64.patch" + epatch "${FILESDIR}/${PN}-0.9.20-strip.patch" +} +src_compile() { + local myconf="--with-installed-iso-entities" + + econf $myconf || die "./configure failed" + emake || die "Compilation failed" +} + +src_install() { + # Else fails with sandbox violations + export VARTEXFONTS="${T}/fonts" + + # Besides the path being wrong, in changing perl5libdir, it cannot find the + # catalog. + export SGML_CATALOG_FILES="${ROOT}/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" + + eval `perl -V:installvendorarch` + einstall \ + perl5libdir="${D}${installvendorarch}" \ + LINUXDOCDOC="${D}/usr/share/doc/${PF}/guide" \ + || die "Installation failed" + + # Wrong path for the catalog. + dosed -e \ + 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \ + /usr/share/linuxdoc-tools/LinuxDocTools.pm + + if use tetex ; then + insinto /usr/share/texmf/tex/latex/misc + doins "${S}"/lib/*.sty + fi + + dodoc ChangeLog README +} |