diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/linuxdoc-tools | |
download | gentoo-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/linuxdoc-tools')
7 files changed, 178 insertions, 0 deletions
diff --git a/app-text/linuxdoc-tools/Manifest b/app-text/linuxdoc-tools/Manifest new file mode 100644 index 000000000000..e5c25c948f36 --- /dev/null +++ b/app-text/linuxdoc-tools/Manifest @@ -0,0 +1 @@ +DIST linuxdoc-tools_0.9.68.tar.gz 619242 SHA256 3b8611683d61480a60cdd2497132f15ca15fb583c9fe5543f6750d187a5dee67 SHA512 a78c662f4bf69b68530af0176fb6b35328c004a80cc73e7ed1151d46da3a7868e4a8a61094f8c4081a686f1ed0c58bd19c2c5ad5a2b6677ddc7c686e67a71df7 WHIRLPOOL 966e47e081bf5eb35de546f7cd0522396aba306d8afbeeba55afb91f360c196b196c3271b84ae8a98d7f9a4d0460558986a8a32a824940b0340236c705490676 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 000000000000..2f5b3dc4a25a --- /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-0.9.68-compiler.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-compiler.patch new file mode 100644 index 000000000000..9ba731bf5843 --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-compiler.patch @@ -0,0 +1,38 @@ +--- rtf-fix/Makefile.orig ++++ rtf-fix/Makefile +@@ -1,6 +1,4 @@ +-CC=gcc + LEX=flex +-CFLAGS=-O + + all: rtf2rtf + +--- sgmls-1.1/Makefile.orig 2013-03-20 13:40:43.674880678 +0400 ++++ sgmls-1.1/Makefile 2013-03-20 13:40:58.558881151 +0400 +@@ -15,14 +15,11 @@ + # Permissions mode to use for man pages. + MANMODE=444 + +-CC=gcc + PROFILE= + INCLUDE= + OPTIMIZE=-O + DEBUG= + WARN= +-CFLAGS=$(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE) +-LDFLAGS=$(DEBUG) $(PROFILE) + # Additional libraries needed. + # Ultrix needs -li + LIBS= + +--- Makefile.in.orig 2013-03-20 13:43:36.900886178 +0400 ++++ Makefile.in 2013-03-20 13:43:49.783886587 +0400 +@@ -48,8 +48,6 @@ + OPTIMIZE = -O + DEBUG = + WARN = +-CFLAGS = $(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE) +-LDFLAGS = $(DEBUG) $(PROFILE) + + all: + ifeq ($(BUILD_SGMLSASP), true) diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-letter.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-letter.patch new file mode 100644 index 000000000000..8e5048e34265 --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-letter.patch @@ -0,0 +1,24 @@ +--- linuxdoc-tools-0.9.68/perl5lib/LinuxDocTools.pm.letter Mon Nov 26 16:09:37 2001 ++++ linuxdoc-tools-0.9.68/perl5lib/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.68/man/linuxdoc.1.letter Mon Nov 26 16:10:04 2001 ++++ linuxdoc-tools-0.9.68/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.68-lex.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-lex.patch new file mode 100644 index 000000000000..9ee97432fdc9 --- /dev/null +++ b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-lex.patch @@ -0,0 +1,11 @@ +--- rtf-fix/rtf2rtf.l.orig 2013-03-20 13:14:06.146829954 +0400 ++++ rtf-fix/rtf2rtf.l 2013-03-20 13:14:28.193830654 +0400 +@@ -72,7 +72,7 @@ + int skipnewline = 0; + + extern char *yytext; +-extern int yyleng; ++extern yy_size_t yyleng; + + #define CHAPTER 1 + #define SECTION 2 diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68-r1.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68-r1.ebuild new file mode 100644 index 000000000000..0a5eaa449dcd --- /dev/null +++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils sgml-catalog toolchain-funcs + +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}_${PV}.tar.gz" + +LICENSE="MIT SGMLUG" +SLOT="0" +KEYWORDS="amd64 ~ia64 ppc x86 ~x86-fbsd" + +DEPEND="app-text/openjade + app-text/opensp + app-text/sgml-common + dev-texlive/texlive-fontsrecommended + dev-lang/perl + sys-apps/gawk + sys-apps/groff + virtual/latex-base" + +RDEPEND="${DEPEND}" + +sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \ + "/usr/share/linuxdoc-tools/linuxdoc-tools.catalog" + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-letter.patch" \ + "${FILESDIR}/${PN}-0.9.21-malloc.patch" \ + "${FILESDIR}/${P}-compiler.patch" \ + "${FILESDIR}/${P}-lex.patch" + + # Wrong path for the catalog. + sed -i -e \ + 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \ + perl5lib/LinuxDocTools.pm || die 'sed failed' + + # Fix incorrect version string in upstream tarball + sed -i -e "s/0.9.66/${PV}/" VERSION || die 'sed on VERSION failed' + + epatch_user +} + +src_configure() { + tc-export CC + econf --with-installed-iso-entities +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +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="/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" + + eval `perl -V:installvendorarch` + emake \ + DESTDIR="${D}" \ + perl5libdir="${installvendorarch}" \ + LINUXDOCDOC="/usr/share/doc/${PF}/guide" \ + install + + insinto /usr/share/texmf/tex/latex/misc + doins tex/*.sty + + dodoc ChangeLog README +} diff --git a/app-text/linuxdoc-tools/metadata.xml b/app-text/linuxdoc-tools/metadata.xml new file mode 100644 index 000000000000..a1ff68285e07 --- /dev/null +++ b/app-text/linuxdoc-tools/metadata.xml @@ -0,0 +1,14 @@ +<?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> + <longdescription> + Linuxdoc-Tools is a small bug-fix version of SGML-Tools 1.0.9, and + is a toolset for processing LinuxDoc DTD SGML files. This system + is tailored for LinuxDoc DTD sgml files, and other DTDs are not + supported. If you need the tool for DocBook DTD (which is now a + more popular DTD than LinuxDoc in writing technical software + documentation), then you should check other packages such as + SGMLTools-Lite and OpenJade. + </longdescription> +</pkgmetadata> |