1 |
commit: 6725a37b5c4eceb45fa398ab087b98f1107faec5 |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 25 19:26:11 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 5 21:28:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6725a37b |
7 |
|
8 |
app-text/linuxdoc-tools: verbump to 0.9.73 |
9 |
|
10 |
Among other things uses nsgmls without a pipe, which fixes bug 606768. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/606768 |
13 |
Signed-off-by: Ilya Tumaykin <itumaykin <AT> gmail.com> |
14 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
15 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
16 |
Closes: https://github.com/gentoo/gentoo/pull/9350 |
17 |
|
18 |
app-text/linuxdoc-tools/Manifest | 1 + |
19 |
.../linuxdoc-tools/linuxdoc-tools-0.9.73.ebuild | 74 ++++++++++++++++++++++ |
20 |
2 files changed, 75 insertions(+) |
21 |
|
22 |
diff --git a/app-text/linuxdoc-tools/Manifest b/app-text/linuxdoc-tools/Manifest |
23 |
index fe5f6726cb2..13d8bb69572 100644 |
24 |
--- a/app-text/linuxdoc-tools/Manifest |
25 |
+++ b/app-text/linuxdoc-tools/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST linuxdoc-tools-0.9.72.tar.gz 614429 BLAKE2B 404b311c0560780bd81f021760d32e47cd6ebe8abc9aa64a181b8ce727dd0edbbd88d286cdfdcc97a51981bd0bd299563d7b1b2945e06f83ff32c7d3e56abb19 SHA512 2d522a99212dab2535786b64e0b404a9bb023d1612d8e57a628de21b5e77b104285713a98591c61a2fb2196e687b34180198ab0dfeda2b44fbbce051e9919408 |
28 |
+DIST linuxdoc-tools-0.9.73.tar.gz 613971 BLAKE2B e2e04aaa44d5e2cea5af266e38b476381f87a02b9704e03ae5943f7714634d5d214350abd5b193f2efe656a264403c679495af5f954870b30d32b8b799ad7206 SHA512 b26896316e259cf4ef170814d410b1e39e58f61db49b03b4b9c1f767f8459d84214e92d9dcc09ad739508fd9c3c5fe4a2264cbb3c693a11362e59fd221655252 |
29 |
|
30 |
diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.73.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.73.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..18bccf5a487 |
33 |
--- /dev/null |
34 |
+++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.73.ebuild |
35 |
@@ -0,0 +1,74 @@ |
36 |
+# Copyright 1999-2018 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+# EAPI=6 is blocked by Gentoo bugs 497038, 497052. |
40 |
+EAPI=5 |
41 |
+ |
42 |
+inherit autotools latex-package perl-functions sgml-catalog toolchain-funcs |
43 |
+ |
44 |
+DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files" |
45 |
+HOMEPAGE="https://gitlab.com/agmartin/linuxdoc-tools" |
46 |
+SRC_URI="https://gitlab.com/agmartin/linuxdoc-tools/-/archive/${PV}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-3+ MIT SGMLUG" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd" |
51 |
+IUSE="doc" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ || ( app-text/openjade app-text/opensp ) |
55 |
+ app-text/sgml-common |
56 |
+ dev-lang/perl:= |
57 |
+ sys-apps/groff |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ sys-devel/flex |
61 |
+ virtual/awk |
62 |
+ doc? ( |
63 |
+ dev-texlive/texlive-fontsrecommended |
64 |
+ virtual/latex-base |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ # Pregenerated configure scripts fail. |
70 |
+ eautoreconf |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ perl_set_version |
75 |
+ tc-export CC |
76 |
+ local myeconfargs=( |
77 |
+ --disable-docs |
78 |
+ --with-texdir="${TEXMF}/tex/latex/${PN}" |
79 |
+ --with-perllibdir="${VENDOR_ARCH}" |
80 |
+ --with-installed-iso-entities |
81 |
+ ) |
82 |
+ use doc && myeconfargs+=(--enable-docs="txt pdf html") |
83 |
+ |
84 |
+ econf "${myeconfargs[@]}" |
85 |
+} |
86 |
+ |
87 |
+src_compile() { |
88 |
+ # Prevent access violations from bitmap font files generation. |
89 |
+ use doc && export VARTEXFONTS="${T}/fonts" |
90 |
+ default_src_compile |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ # Makefile ignores docdir configuration option. |
95 |
+ emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install |
96 |
+ dodoc ChangeLog README |
97 |
+} |
98 |
+ |
99 |
+sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" "/usr/share/${PN}/${PN}.catalog" |
100 |
+ |
101 |
+pkg_postinst() { |
102 |
+ latex-package_pkg_postinst |
103 |
+ sgml-catalog_pkg_postinst |
104 |
+} |
105 |
+ |
106 |
+pkg_postrm() { |
107 |
+ latex-package_pkg_postrm |
108 |
+ sgml-catalog_pkg_postrm |
109 |
+} |