Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/linuxdoc-tools/files/, app-text/linuxdoc-tools/
Date: Tue, 06 Oct 2015 16:12:04
Message-Id: 1444147799.3f4430b4044adc603b12af3c71c06b4c4bb524b7.monsieurp@gentoo
1 commit: 3f4430b4044adc603b12af3c71c06b4c4bb524b7
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 6 16:09:59 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 6 16:09:59 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4430b4
7
8 app-text/linuxdoc-tools: Clean up old.
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 app-text/linuxdoc-tools/Manifest | 1 -
14 .../files/linuxdoc-tools-0.9.21-malloc.patch | 13 ----
15 .../files/linuxdoc-tools-0.9.68-compiler.patch | 38 -----------
16 .../files/linuxdoc-tools-0.9.68-letter.patch | 24 -------
17 .../files/linuxdoc-tools-0.9.68-lex.patch | 11 ----
18 .../linuxdoc-tools-0.9.69-disable-doc-build.patch | 28 --------
19 .../linuxdoc-tools/linuxdoc-tools-0.9.68-r1.ebuild | 77 ----------------------
20 7 files changed, 192 deletions(-)
21
22 diff --git a/app-text/linuxdoc-tools/Manifest b/app-text/linuxdoc-tools/Manifest
23 index 1d8d55f..72d51ae 100644
24 --- a/app-text/linuxdoc-tools/Manifest
25 +++ b/app-text/linuxdoc-tools/Manifest
26 @@ -1,2 +1 @@
27 -DIST linuxdoc-tools_0.9.68.tar.gz 619242 SHA256 3b8611683d61480a60cdd2497132f15ca15fb583c9fe5543f6750d187a5dee67 SHA512 a78c662f4bf69b68530af0176fb6b35328c004a80cc73e7ed1151d46da3a7868e4a8a61094f8c4081a686f1ed0c58bd19c2c5ad5a2b6677ddc7c686e67a71df7 WHIRLPOOL 966e47e081bf5eb35de546f7cd0522396aba306d8afbeeba55afb91f360c196b196c3271b84ae8a98d7f9a4d0460558986a8a32a824940b0340236c705490676
28 DIST linuxdoc-tools_0.9.69.orig.tar.gz 604379 SHA256 7103facee18a2ea97186ca459d743d22f7f89ad4b5cd1dfd1c34f83d6bfd4101 SHA512 5e0ca7614acd5a4c67d4beadd12e9665540d664dc4796c361a25d26ccdc53ef9e0b58cd051d028659e07530e351b0773895f8e6d06e5d2c6ffaad0a1f0c4d41e WHIRLPOOL 0ee3492252f6607169a6404701e04030047f4a4d9237d213606a67c8f6b9ec019315a355e78318a2c57ac8cb2eb08b1ab4d6b81a7f05b77b257127b70cd8ae1d
29
30 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
31 deleted file mode 100644
32 index 2f5b3dc..0000000
33 --- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.21-malloc.patch
34 +++ /dev/null
35 @@ -1,13 +0,0 @@
36 -Index: linuxdoc-tools-0.9.21/rtf-fix/rtf2rtf.l
37 -===================================================================
38 ---- linuxdoc-tools-0.9.21.orig/rtf-fix/rtf2rtf.l
39 -+++ linuxdoc-tools-0.9.21/rtf-fix/rtf2rtf.l
40 -@@ -22,7 +22,7 @@
41 -
42 - %{
43 -
44 --#include <malloc.h>
45 -+#include <stdlib.h>
46 - #include <stdio.h>
47 - #include <string.h>
48 -
49
50 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
51 deleted file mode 100644
52 index 9ba731b..0000000
53 --- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-compiler.patch
54 +++ /dev/null
55 @@ -1,38 +0,0 @@
56 ---- rtf-fix/Makefile.orig
57 -+++ rtf-fix/Makefile
58 -@@ -1,6 +1,4 @@
59 --CC=gcc
60 - LEX=flex
61 --CFLAGS=-O
62 -
63 - all: rtf2rtf
64 -
65 ---- sgmls-1.1/Makefile.orig 2013-03-20 13:40:43.674880678 +0400
66 -+++ sgmls-1.1/Makefile 2013-03-20 13:40:58.558881151 +0400
67 -@@ -15,14 +15,11 @@
68 - # Permissions mode to use for man pages.
69 - MANMODE=444
70 -
71 --CC=gcc
72 - PROFILE=
73 - INCLUDE=
74 - OPTIMIZE=-O
75 - DEBUG=
76 - WARN=
77 --CFLAGS=$(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE)
78 --LDFLAGS=$(DEBUG) $(PROFILE)
79 - # Additional libraries needed.
80 - # Ultrix needs -li
81 - LIBS=
82 -
83 ---- Makefile.in.orig 2013-03-20 13:43:36.900886178 +0400
84 -+++ Makefile.in 2013-03-20 13:43:49.783886587 +0400
85 -@@ -48,8 +48,6 @@
86 - OPTIMIZE = -O
87 - DEBUG =
88 - WARN =
89 --CFLAGS = $(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE)
90 --LDFLAGS = $(DEBUG) $(PROFILE)
91 -
92 - all:
93 - ifeq ($(BUILD_SGMLSASP), true)
94
95 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
96 deleted file mode 100644
97 index 8e5048e..0000000
98 --- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-letter.patch
99 +++ /dev/null
100 @@ -1,24 +0,0 @@
101 ---- linuxdoc-tools-0.9.68/perl5lib/LinuxDocTools.pm.letter Mon Nov 26 16:09:37 2001
102 -+++ linuxdoc-tools-0.9.68/perl5lib/LinuxDocTools.pm Mon Nov 26 16:09:49 2001
103 -@@ -108,7 +108,7 @@
104 - { option => "pass", type => "s", short => "P" }
105 - ];
106 - $global->{backend} = "linuxdoc";
107 -- $global->{papersize} = "a4";
108 -+ $global->{papersize} = "letter";
109 - $global->{language} = "en";
110 - $global->{charset} = "ascii";
111 - $global->{style} = "";
112 ---- linuxdoc-tools-0.9.68/man/linuxdoc.1.letter Mon Nov 26 16:10:04 2001
113 -+++ linuxdoc-tools-0.9.68/man/linuxdoc.1 Mon Nov 26 16:10:42 2001
114 -@@ -46,8 +46,8 @@
115 - format, but just output the usage of this suites.
116 - Available formats are: html, info, latex, lyx, rtf, tex, check.
117 - .IP "--papersize=\fIsize\fR, -p
118 --Set the paper size. Default is ``a4'' (European 297x210mm paper).
119 --You may also specify ``letter'' size.
120 -+Set the paper size. Default is ``letter''.
121 -+You may also specify ``a4'' size (European 297x210mm paper).
122 - .IP "--language=\fIlang\fR, -l"
123 - Specify the language of the document (this may change which style
124 - files are used for formatting by a back end). The default language is
125
126 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
127 deleted file mode 100644
128 index 9ee9743..0000000
129 --- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.68-lex.patch
130 +++ /dev/null
131 @@ -1,11 +0,0 @@
132 ---- rtf-fix/rtf2rtf.l.orig 2013-03-20 13:14:06.146829954 +0400
133 -+++ rtf-fix/rtf2rtf.l 2013-03-20 13:14:28.193830654 +0400
134 -@@ -72,7 +72,7 @@
135 - int skipnewline = 0;
136 -
137 - extern char *yytext;
138 --extern int yyleng;
139 -+extern yy_size_t yyleng;
140 -
141 - #define CHAPTER 1
142 - #define SECTION 2
143
144 diff --git a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.69-disable-doc-build.patch b/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.69-disable-doc-build.patch
145 deleted file mode 100644
146 index 075eae6..0000000
147 --- a/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.69-disable-doc-build.patch
148 +++ /dev/null
149 @@ -1,28 +0,0 @@
150 -diff --git a/Makefile.in b/Makefile.in
151 -index 359f14e..1649245 100644
152 ---- a/Makefile.in
153 -+++ b/Makefile.in
154 -@@ -161,23 +161,6 @@ endif
155 - mkdir -m 755 -p $(tex_ddir)
156 - $(INSTALL_DATA) tex/* $(tex_ddir)
157 -
158 --# -- Build and install documentation
159 -- @echo "Installing documentation in $(doc_ddir) ..."
160 -- (cd doc; \
161 -- PATH=${PATH}:$(bin_ddir) \
162 -- PREFIX=$(DESTDIR)$(prefix) \
163 -- AUXBINDIR=$(auxbin_ddir) \
164 -- PKGPERL5LIB=$(perl5lib_ddir) \
165 -- PKGDATADIR=$(pkgdata_ddir) \
166 -- bash Makedoc.sh)
167 --
168 -- mkdir -m 755 -p $(doc_ddir)
169 -- # cp -r doc/* $(doc_ddir)
170 -- ( cd doc && tar --exclude='CVS' -cpf - . ) | ( cd $(doc_ddir) && tar -xpf - )
171 -- rm -f $(doc_ddir)/Makedoc.sh
172 -- find $(doc_ddir) -type d -print | xargs chmod 755
173 -- find $(doc_ddir) -type f -print | xargs chmod 644
174 --
175 - # what dirs do the targets clean and distclean need?
176 - DDIRS=
177 - MDIRS=
178
179 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
180 deleted file mode 100644
181 index 0a5eaa4..0000000
182 --- a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.68-r1.ebuild
183 +++ /dev/null
184 @@ -1,77 +0,0 @@
185 -# Copyright 1999-2013 Gentoo Foundation
186 -# Distributed under the terms of the GNU General Public License v2
187 -# $Id$
188 -
189 -EAPI=5
190 -
191 -inherit eutils sgml-catalog toolchain-funcs
192 -
193 -DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files"
194 -HOMEPAGE="http://packages.qa.debian.org/l/linuxdoc-tools.html"
195 -SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz"
196 -
197 -LICENSE="MIT SGMLUG"
198 -SLOT="0"
199 -KEYWORDS="amd64 ~ia64 ppc x86 ~x86-fbsd"
200 -
201 -DEPEND="app-text/openjade
202 - app-text/opensp
203 - app-text/sgml-common
204 - dev-texlive/texlive-fontsrecommended
205 - dev-lang/perl
206 - sys-apps/gawk
207 - sys-apps/groff
208 - virtual/latex-base"
209 -
210 -RDEPEND="${DEPEND}"
211 -
212 -sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \
213 - "/usr/share/linuxdoc-tools/linuxdoc-tools.catalog"
214 -
215 -src_prepare() {
216 - epatch \
217 - "${FILESDIR}/${P}-letter.patch" \
218 - "${FILESDIR}/${PN}-0.9.21-malloc.patch" \
219 - "${FILESDIR}/${P}-compiler.patch" \
220 - "${FILESDIR}/${P}-lex.patch"
221 -
222 - # Wrong path for the catalog.
223 - sed -i -e \
224 - 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \
225 - perl5lib/LinuxDocTools.pm || die 'sed failed'
226 -
227 - # Fix incorrect version string in upstream tarball
228 - sed -i -e "s/0.9.66/${PV}/" VERSION || die 'sed on VERSION failed'
229 -
230 - epatch_user
231 -}
232 -
233 -src_configure() {
234 - tc-export CC
235 - econf --with-installed-iso-entities
236 -}
237 -
238 -src_compile() {
239 - emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
240 -}
241 -
242 -src_install() {
243 - # Else fails with sandbox violations
244 - export VARTEXFONTS="${T}/fonts"
245 -
246 - # Besides the path being wrong, in changing perl5libdir, it cannot find the
247 - # catalog.
248 - export SGML_CATALOG_FILES="/usr/share/sgml/sgml-iso-entities-8879.1986/catalog"
249 -
250 - eval `perl -V:installvendorarch`
251 - emake \
252 - DESTDIR="${D}" \
253 - perl5libdir="${installvendorarch}" \
254 - LINUXDOCDOC="/usr/share/doc/${PF}/guide" \
255 - install
256 -
257 - insinto /usr/share/texmf/tex/latex/misc
258 - doins tex/*.sty
259 -
260 - dodoc ChangeLog README
261 -}