Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xindy/files/, app-text/xindy/
Date: Mon, 06 Feb 2017 19:44:16
Message-Id: 1486410246.024796580d4fb4e2e41cde0c1ffe503999632f70.ulm@gentoo
1 commit: 024796580d4fb4e2e41cde0c1ffe503999632f70
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 6 19:43:13 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 19:44:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02479658
7
8 app-text/xindy: Fix build of latin.xdy file.
9
10 Non-maintainer commit with permission from dilfridge.
11
12 Bug: 573794
13
14 Package-Manager: Portage-2.3.3, Repoman-2.3.1
15
16 app-text/xindy/files/xindy-2.4-nogrep.patch | 13 +++++++++
17 app-text/xindy/xindy-2.4-r1.ebuild | 42 +++++++++++++++++++++++++++++
18 2 files changed, 55 insertions(+)
19
20 diff --git a/app-text/xindy/files/xindy-2.4-nogrep.patch b/app-text/xindy/files/xindy-2.4-nogrep.patch
21 new file mode 100644
22 index 00000000..41f1b3a
23 --- /dev/null
24 +++ b/app-text/xindy/files/xindy-2.4-nogrep.patch
25 @@ -0,0 +1,13 @@
26 +https://bugs.gentoo.org/573794
27 +
28 +--- xindy-2.4-orig/make-rules/inputenc/Makefile.am
29 ++++ xindy-2.4/make-rules/inputenc/Makefile.am
30 +@@ -43,7 +43,7 @@
31 + latin.xdy : latin1.xdy latin2.xdy latin3.xdy
32 + echo ';; Generated from latin?.xdy' >latin.xdy
33 + echo >>latin.xdy
34 +- sort -u latin?.xdy | grep -v '^;' >>latin.xdy
35 ++ sort -u latin?.xdy | sed '/^;/d' >>latin.xdy
36 +
37 + %.xdy %.idx :
38 + $(PERL) $(srcdir)/make-testidx.pl TS1,T2A,T1 $* >$*.tex
39
40 diff --git a/app-text/xindy/xindy-2.4-r1.ebuild b/app-text/xindy/xindy-2.4-r1.ebuild
41 new file mode 100644
42 index 00000000..2a44636
43 --- /dev/null
44 +++ b/app-text/xindy/xindy-2.4-r1.ebuild
45 @@ -0,0 +1,42 @@
46 +# Copyright 1999-2017 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Id$
49 +
50 +EAPI=6
51 +
52 +inherit eutils autotools
53 +
54 +DESCRIPTION="A Flexible Indexing System"
55 +HOMEPAGE="http://www.xindy.org/"
56 +SRC_URI="http://www.xindy.org/xindy-2.4.tar.gz"
57 +
58 +LICENSE="GPL-2"
59 +SLOT="0"
60 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
61 +IUSE="doc"
62 +
63 +RDEPEND="virtual/latex-base
64 + dev-texlive/texlive-fontsrecommended
65 + >=dev-lisp/clisp-2.44.1-r1
66 + dev-texlive/texlive-langcyrillic"
67 +DEPEND="${RDEPEND}
68 + dev-lang/perl
69 + sys-devel/flex"
70 +
71 +PATCHES=("${FILESDIR}"/${P}-configure.patch
72 + "${FILESDIR}"/${P}-locale.patch
73 + "${FILESDIR}"/${P}-nogrep.patch)
74 +DOCS=(AUTHORS ChangeLog.Gour NEWS README)
75 +
76 +src_prepare() {
77 + default
78 + eautoreconf
79 +}
80 +
81 +src_configure() {
82 + econf $(use_enable doc docs)
83 +}
84 +
85 +src_compile() {
86 + VARTEXFONTS="${T}/fonts" emake
87 +}