diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2008-06-02 23:45:18 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2008-06-02 23:45:18 +0200 |
commit | 04b2f71674df62ace5befa55e628f0a392b5bd7b (patch) | |
tree | 4949d587fe5f6795adbfec9ffffae93a90a75c43 /app-text/linuxdoc-tools | |
parent | digest are not anymore require (diff) | |
download | portage-04b2f71674df62ace5befa55e628f0a392b5bd7b.tar.xz |
import personnal texlive and linuxdoc release
Diffstat (limited to 'app-text/linuxdoc-tools')
7 files changed, 224 insertions, 0 deletions
diff --git a/app-text/linuxdoc-tools/Manifest b/app-text/linuxdoc-tools/Manifest new file mode 100644 index 00000000..a4b5ddb6 --- /dev/null +++ b/app-text/linuxdoc-tools/Manifest @@ -0,0 +1,28 @@ +AUX linuxdoc-tools-0.9.13-letter.patch 1130 RMD160 dcdaa86650314a6d2eb695ed4badf426334424e0 SHA1 7ebc226b62e737ad2a9c8abd79cef5566ecc2dce SHA256 509af3d0f8570d7501e65366d7c72ccd7d5cefcd54efd3c9a4fc13ce6f9bc04c +MD5 adc768b3c89759488fd5f86c76a8faa7 files/linuxdoc-tools-0.9.13-letter.patch 1130 +RMD160 dcdaa86650314a6d2eb695ed4badf426334424e0 files/linuxdoc-tools-0.9.13-letter.patch 1130 +SHA256 509af3d0f8570d7501e65366d7c72ccd7d5cefcd54efd3c9a4fc13ce6f9bc04c files/linuxdoc-tools-0.9.13-letter.patch 1130 +AUX linuxdoc-tools-0.9.20-lib64.patch 400 RMD160 fe9d65815836b5dec682364caf2de0ed888e937c SHA1 e787c792f6964a81ac0f21103b6bfa9073af6135 SHA256 f681347bc2e59647bc7667d323825579ca325cef973250fb5192e01e16e14587 +MD5 5427146d492eadd6b04ae144a51f0d15 files/linuxdoc-tools-0.9.20-lib64.patch 400 +RMD160 fe9d65815836b5dec682364caf2de0ed888e937c files/linuxdoc-tools-0.9.20-lib64.patch 400 +SHA256 f681347bc2e59647bc7667d323825579ca325cef973250fb5192e01e16e14587 files/linuxdoc-tools-0.9.20-lib64.patch 400 +AUX linuxdoc-tools-0.9.20-strip.patch 348 RMD160 b44afd4975bcf7acd0137e4fe7a71b66c5c5acb8 SHA1 3cc40a552e11165d37276ac58177de1d81ebd039 SHA256 cf2e8127998c6c4215b7ea99035367780ac1767a83a1591359e5ee7f2c1a1d11 +MD5 0dd08fcb73bc04a46f6af4165b015554 files/linuxdoc-tools-0.9.20-strip.patch 348 +RMD160 b44afd4975bcf7acd0137e4fe7a71b66c5c5acb8 files/linuxdoc-tools-0.9.20-strip.patch 348 +SHA256 cf2e8127998c6c4215b7ea99035367780ac1767a83a1591359e5ee7f2c1a1d11 files/linuxdoc-tools-0.9.20-strip.patch 348 +AUX linuxdoc-tools-0.9.21-malloc.patch 319 RMD160 661ea0b64b0051362dbb856830b260d0d6650b50 SHA1 49bb3101115ca0ec40d7c327d24c12567c2c3092 SHA256 37739ab14bb0e2f7c89be84043c865eefe7d9f5473284ddd97fb1c05dd7916a3 +MD5 afd04d86a41faa67feb2cb399c97ebe4 files/linuxdoc-tools-0.9.21-malloc.patch 319 +RMD160 661ea0b64b0051362dbb856830b260d0d6650b50 files/linuxdoc-tools-0.9.21-malloc.patch 319 +SHA256 37739ab14bb0e2f7c89be84043c865eefe7d9f5473284ddd97fb1c05dd7916a3 files/linuxdoc-tools-0.9.21-malloc.patch 319 +AUX linuxdoc-tools-fi.patch 1126 RMD160 164cf2230e725ce43a7c0801cdd13c413f8a319e SHA1 c20027f6b997c72ff7dea1d95f5f5aa55446bcdf SHA256 57e547987c66153c5cb5add232c8b207e71155e72f6fa2df5752a8c937f4c9be +MD5 5562df4a3f96b9fa60ef108b255ceffa files/linuxdoc-tools-fi.patch 1126 +RMD160 164cf2230e725ce43a7c0801cdd13c413f8a319e files/linuxdoc-tools-fi.patch 1126 +SHA256 57e547987c66153c5cb5add232c8b207e71155e72f6fa2df5752a8c937f4c9be files/linuxdoc-tools-fi.patch 1126 +DIST linuxdoc-tools_0.9.21-0.4.tar.gz 590530 RMD160 35b03151b9977522d33c131e4eb117154f501722 SHA1 38472ba22b250fb9a95907fd1494f4310496ff7a SHA256 d36208dce68435598482d3ade8efcc4772f50c4d1c6712a00df13fb471e51b2b +EBUILD linuxdoc-tools-0.9.21_p4.ebuild 2347 RMD160 6822d197a45de9493dcfee581814402277342e81 SHA1 36b1e079dbe7f20bde744deab2f969afff737995 SHA256 f71c2dc3ee5fdb1a05c9f900b5115895fa48bb12e30eef7daae0a9ce2d720433 +MD5 f1339e8b2a900c946b51d81ede1a8f4b linuxdoc-tools-0.9.21_p4.ebuild 2347 +RMD160 6822d197a45de9493dcfee581814402277342e81 linuxdoc-tools-0.9.21_p4.ebuild 2347 +SHA256 f71c2dc3ee5fdb1a05c9f900b5115895fa48bb12e30eef7daae0a9ce2d720433 linuxdoc-tools-0.9.21_p4.ebuild 2347 +MD5 8f416727d3ad212105ab7e0f953563e3 files/digest-linuxdoc-tools-0.9.21_p4 277 +RMD160 cf4c80a8925527c11816f1004e6d22618f635b9f files/digest-linuxdoc-tools-0.9.21_p4 277 +SHA256 8d77085155c7c39ca544c42bcc9091d388101b60f7e715b5c4c245cae495a3e7 files/digest-linuxdoc-tools-0.9.21_p4 277 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 00000000..ed6e0e80 --- /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 00000000..04816c4f --- /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 00000000..198bd24a --- /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-0.9.21-malloc.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.21-malloc.patch new file mode 100644 index 00000000..2f5b3dc4 --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.21-malloc.patch @@ -0,0 +1,13 @@ +Index: linuxdoc-tools-0.9.21/rtf-fix/rtf2rtf.l +=================================================================== +--- linuxdoc-tools-0.9.21.orig/rtf-fix/rtf2rtf.l ++++ linuxdoc-tools-0.9.21/rtf-fix/rtf2rtf.l +@@ -22,7 +22,7 @@ + + %{ + +-#include <malloc.h> ++#include <stdlib.h> + #include <stdio.h> + #include <string.h> + 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 00000000..cc9e31f6 --- /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 00000000..522dc56c --- /dev/null +++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p4.ebuild @@ -0,0 +1,86 @@ +# 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.3 2006/09/22 05:36:01 dberkholz 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="~amd64 ~ppc ~x86 ~x86-fbsd" +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" + +RDEPEND="${DEPEND} + tetex? ( app-text/tetex )" + +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" + epatch "${FILESDIR}/${PN}-0.9.21-malloc.patch" +} +src_compile() { + local myconf="--with-installed-iso-entities" + + econf $myconf || die "./configure failed" + emake CFLAGS="${CFLAGS}" || 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 +} |