summaryrefslogtreecommitdiff
path: root/app-text/xindy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/xindy
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/xindy')
-rw-r--r--app-text/xindy/Manifest10
-rw-r--r--app-text/xindy/files/xindy-2.4-configure.patch21
-rw-r--r--app-text/xindy/files/xindy-2.4-locale.patch22
-rw-r--r--app-text/xindy/files/xindy-2.4-nogrep.patch13
-rw-r--r--app-text/xindy/files/xindy-2.4-perl5.26.patch11
-rw-r--r--app-text/xindy/metadata.xml25
-rw-r--r--app-text/xindy/xindy-2.4-r1.ebuild42
-rw-r--r--app-text/xindy/xindy-2.4.ebuild44
8 files changed, 188 insertions, 0 deletions
diff --git a/app-text/xindy/Manifest b/app-text/xindy/Manifest
new file mode 100644
index 000000000000..82f8559301a6
--- /dev/null
+++ b/app-text/xindy/Manifest
@@ -0,0 +1,10 @@
+AUX xindy-2.4-configure.patch 884 SHA256 8c65bc27d6f62898999ec22bf99096022df4b47d04b0d93550d2599837037725 SHA512 1b40f03481ced4caa2a4e137c7ec2ce970c8eeba9c228da4caa1952b533f5346a025f885860024168a95739d3f0e6bfe3173f1654ce747a4f2b4f6e4ba41c1d0 WHIRLPOOL eb480dc16faa208b1966843f47a46f68b1ece2f8c0ed9321d2f9c9bfdd16099db415309f3f48cf0f4760074752173c4a9aa533ea37704adceb957c0b633e974b
+AUX xindy-2.4-locale.patch 679 SHA256 654c301948d9d6764c4b444b343429203c7213d3064138925751f4032074d6bc SHA512 4d80684d08def3d3cde3765056d562b60d6bbef36e3495933c0aba0016308f95e462c2857215b4e47325339c5238f565bb798b96ad197c23e156d9b9c7fb3f4a WHIRLPOOL fee60de9161aa6e0de7640f4334ffee9a1ca3b933dd4af6055dbe5421a99d38a495d6aedf59c601e0bfed01091072d809a568e39b2ffad03202cc820033d05ab
+AUX xindy-2.4-nogrep.patch 431 SHA256 718c4d8558c0daef5e405a476af31c67904622f113b7b055278b45266345fe60 SHA512 fdcc109b89a6e56c86624f348ebe1c98f574b9f788e3f307e3b110fc2b93643af087e16711b3f0bc6604dbdcfae06080693e4976d8ebec5816e68fb73f89fa6c WHIRLPOOL 65a708e2158f033aae5ea6129ce53a8187a5277c05320a041ef63d2c84d353224817fbfa41e670455d6626f9b00b87fdce13273d0f4fe822f0417d4fab34f549
+AUX xindy-2.4-perl5.26.patch 337 SHA256 dcc0d8be2ada7ba13cdae7a2351faa018fdb7df9e16dcd0a97012a5be6217679 SHA512 3f3abc9654e3c7c9de12a542241e107d80046bc26d0eed336e046835a221ea190d526b37c85f91b722e6cac89f140e38b0cebaf208a2391d8d7a42a2ca4b8459 WHIRLPOOL 4490a415c2215fc6b3e82b1e142c0dbb1eb9514d77adb8c31b09bfd09d2094834a545ec518c1b7ccb576a3ad3cc3dbce812e3ba2fb58f79e499b470adbbe5b67
+DIST xindy-2.4.tar.gz 498024 SHA256 616f977b014d67814d6ca45149e1452f3b1410176969d32b6ead5bdf6dc55d71 SHA512 d718954c0c9efcf36dcc99518542b45b3fbbb922b98989c56feb542b00944003adb5834656add0aa88b1983f98e1d9d76e5355aaf9e6ad39f3e0dd109a18ade4 WHIRLPOOL 2f361bd5d395f3b5cfb63d7dcdaea6d152e979b173244ed32438108639cee31ef71f53fdfc556549ad38dfc85ccc221360d0bce8f3d8b1f86407bd33cd31a9ca
+EBUILD xindy-2.4-r1.ebuild 843 SHA256 653bcf0035ca9a13ba46d61d59ddacee1d68e9de58a66460a3a84df53d82e0a9 SHA512 7add4ebf279ff50220c86d6ad944fb15c5233078bedefcd23cc4a7927aeba4f0e0730e3f5f0d191c97efefd786634d691e6159e75e2affaf31c5ed742b6a8f38 WHIRLPOOL a3530290e634bcf9e7a393671bd97d1fa0da096b8fd0ab6b501112bcce3a111c42e6eed8778536933109e9d0b9b6f866a1aa0a1707564e9cc95ffaa0edd92f0a
+EBUILD xindy-2.4.ebuild 916 SHA256 410c194685ff7e457695efe478afdc94e843d879ce17441ad96481081bd9c6ce SHA512 a0fbb71485435db4059eb3dae30508af91956876ccfba14b5d0abb75e53de98521801b8af8f82ca78b17379465b61f9af330b836ecd0a86850b7f8e38e3089d4 WHIRLPOOL bdad2b32fcabce6638952a7421e312d0b9ce29fb9f17a7d0759d93b058a22fc155ca665d64a731143b818498bd001dcbcec39ed66a57cfc79cc329f5d32d50d5
+MISC ChangeLog 2652 SHA256 41a5cfd677b6b4d51cca47fd996f9ffd79870e4108b647576c0be4bd1589e4d5 SHA512 131efb479a943983e8272cb7c30a09032cc2b856356c631212c0193042f7bb74356f4237461fbea31547129bbb1ebd4cc3fa07ea33f5548d81b6e78b6c25a120 WHIRLPOOL ed4457314dcd85d2b11bd2af2cc96ada78076fba6d05b80b4ceb6a192e0b581b119ede02d9114c1f6f9593fabaa3a38aaffbb0b9943a2dbee1ec89a7bb266403
+MISC ChangeLog-2015 2733 SHA256 545bd41538c809b0f17c2ba6fe691b45801763a244a22dfcb4acd6816261cc04 SHA512 ffcaed4c7adb5885b31cbc36cf2c8d383c636ab1cdda3b28b4a67aabeebffb3aa7a1e05df2c80d470073aabe76a8a8e7e5db47b1d2940174e5d21e16471f85b8 WHIRLPOOL 5e2849c30cd5db3511250add9fca58d04dffcdae0c4626fdb0f43f331be0ed70b87a0ce09b3cdb35634d4962e29a6831be7098a04a744e65f3ff343da4363567
+MISC metadata.xml 1108 SHA256 f14279a8b3c36c96ec42362d9eba774801dd1b86ef3b097ffba1ebbdff7e0a6f SHA512 ad76e6c8dacc9f2f1734a203b856d040c498774b6dcaadc0b267d25f735f26f3caf40446b7f5acd96e8d67c6b70cb0cab006c9d4016945f379492bbb5bfcc792 WHIRLPOOL ad0c6c4acec3186e9f5da54b1a34526199d0ed7ff7b93065c9b4a57a51f06dc3cffb3a46ca7450ee0ac9780183ec90334108346bbefc980e9054c2ff729c8fdc
diff --git a/app-text/xindy/files/xindy-2.4-configure.patch b/app-text/xindy/files/xindy-2.4-configure.patch
new file mode 100644
index 000000000000..b76341f1f759
--- /dev/null
+++ b/app-text/xindy/files/xindy-2.4-configure.patch
@@ -0,0 +1,21 @@
+--- xindy-2.4/configure.ac.orig 2010-05-10 16:12:10.000000000 -0700
++++ xindy-2.4/configure.ac 2010-09-28 23:43:39.591495118 -0700
+@@ -42,12 +42,16 @@
+
+ # Test for building make-rules
+ AC_ARG_ENABLE(make-rules, AS_HELP_STRING([--enable-make-rules ],[build and install make-rules package (default is YES)]),[BUILDRULES=$enableval],[BUILDRULES=yes])
+-test "$BUILDRULES" = "yes" && AC_PROG_LATEX
++if test "x$BUILDRULES" = "xyes"; then
++ AC_PROG_LATEX
++fi
+ AM_CONDITIONAL(BUILDRULES, test "$BUILDRULES" = "yes")
+
+ # Test for building Documentation
+ AC_ARG_ENABLE(docs, AS_HELP_STRING([--enable-docs ],[build and install documentation (default is YES)]),[BUILDDOCS=$enableval],[BUILDDOCS=yes])
+-test "$BUILDDOCS" = "yes" && AC_PROG_PDFLATEX
++if test "x$BUILDDOCS" = "xyes"; then
++ AC_PROG_PDFLATEX
++fi
+ AM_CONDITIONAL(BUILDDOCS, test "$BUILDDOCS" = "yes")
+
+ # Checks for programs:
diff --git a/app-text/xindy/files/xindy-2.4-locale.patch b/app-text/xindy/files/xindy-2.4-locale.patch
new file mode 100644
index 000000000000..c2edccc4bef6
--- /dev/null
+++ b/app-text/xindy/files/xindy-2.4-locale.patch
@@ -0,0 +1,22 @@
+--- xindy-2.4.orig/src/Makefile.am
++++ xindy-2.4/src/Makefile.am
+@@ -41,7 +41,7 @@
+ DEFAULTS = defaults.xdy
+ DUMP_XINDY = dump-xindy.lsp
+ MEMFILE = xindy.mem
+-CLISP = @CLISP@ -q -E iso-8859-1
++CLISP = @CLISP@ -q
+
+ xindy.mem: $(DEFAULTS) $(FAS) $(DUMP_XINDY)
+ rm -f $(MEMFILE)
+--- xindy-2.4.orig/user-commands/xindy.in
++++ xindy-2.4/user-commands/xindy.in
+@@ -777,7 +777,7 @@
+ sub call_xindy ( $$ ) {
+ my ($mem_file, $xindy_exp) = @_;
+
+- my @command = ($clisp, '-M', $mem_file, '-E', 'iso-8859-1');
++ my @command = ($clisp, '-M', $mem_file);
+ if ( $interactive ) {
+ print "Proposed xindy expression:\n\n$xindy_exp\n" unless $quiet;
+ } else {
diff --git a/app-text/xindy/files/xindy-2.4-nogrep.patch b/app-text/xindy/files/xindy-2.4-nogrep.patch
new file mode 100644
index 000000000000..41f1b3a03609
--- /dev/null
+++ b/app-text/xindy/files/xindy-2.4-nogrep.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/573794
+
+--- xindy-2.4-orig/make-rules/inputenc/Makefile.am
++++ xindy-2.4/make-rules/inputenc/Makefile.am
+@@ -43,7 +43,7 @@
+ latin.xdy : latin1.xdy latin2.xdy latin3.xdy
+ echo ';; Generated from latin?.xdy' >latin.xdy
+ echo >>latin.xdy
+- sort -u latin?.xdy | grep -v '^;' >>latin.xdy
++ sort -u latin?.xdy | sed '/^;/d' >>latin.xdy
+
+ %.xdy %.idx :
+ $(PERL) $(srcdir)/make-testidx.pl TS1,T2A,T1 $* >$*.tex
diff --git a/app-text/xindy/files/xindy-2.4-perl5.26.patch b/app-text/xindy/files/xindy-2.4-perl5.26.patch
new file mode 100644
index 000000000000..657b5e94c362
--- /dev/null
+++ b/app-text/xindy/files/xindy-2.4-perl5.26.patch
@@ -0,0 +1,11 @@
+--- xindy-2.4/make-rules/inputenc/make-inp-rules.pl
++++ xindy-2.4/make-rules/inputenc/make-inp-rules.pl
+@@ -8,7 +8,7 @@
+
+
+ while (<STDIN>) {
+- if (/\\indexentry{(.+)--([8-9a-f][0-9a-f])\}\{1\}/) {
++ if (/\\indexentry\{(.+)--([8-9a-f][0-9a-f])\}\{1\}/) {
+ if (!($1 =~ /inputenc Error/)) {
+ $i = hex($2);
+ $macro = $1;
diff --git a/app-text/xindy/metadata.xml b/app-text/xindy/metadata.xml
new file mode 100644
index 000000000000..3ace0f4c544b
--- /dev/null
+++ b/app-text/xindy/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+</maintainer>
+<maintainer type="project">
+ <email>common-lisp@gentoo.org</email>
+ <name>Gentoo Common Lisp Project</name>
+</maintainer>
+<longdescription lang="en">
+ xindy is an index processor that can be used to generate book-like indexes
+ for arbitrary document-preparation systems. This includes systems such as
+ TeX and LaTeX, the roff-family, SGML/XML-based systems (e.g., HTML) that
+ process some kind of text and generate indexing information. The kernel
+ system is not fixed to any specific system, but can be configured to work
+ together with such systems.
+
+ In comparison to other index processors xindy has several powerful features
+ that make it an ideal framework for describing and generating complex
+ indices, addressing especially international indexing. Have a look at
+ xindy's Overview that describes its most important features!
+</longdescription>
+</pkgmetadata>
diff --git a/app-text/xindy/xindy-2.4-r1.ebuild b/app-text/xindy/xindy-2.4-r1.ebuild
new file mode 100644
index 000000000000..4575091c5636
--- /dev/null
+++ b/app-text/xindy/xindy-2.4-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A Flexible Indexing System"
+HOMEPAGE="http://www.xindy.org/"
+SRC_URI="http://www.xindy.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE="doc"
+
+RDEPEND="virtual/latex-base
+ dev-texlive/texlive-fontsrecommended
+ >=dev-lisp/clisp-2.44.1-r1
+ dev-texlive/texlive-langcyrillic"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ sys-devel/flex"
+
+PATCHES=("${FILESDIR}"/${P}-configure.patch
+ "${FILESDIR}"/${P}-locale.patch
+ "${FILESDIR}"/${P}-nogrep.patch
+ "${FILESDIR}"/${P}-perl5.26.patch)
+DOCS=(AUTHORS ChangeLog.Gour NEWS README)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable doc docs)
+}
+
+src_compile() {
+ VARTEXFONTS="${T}/fonts" emake
+}
diff --git a/app-text/xindy/xindy-2.4.ebuild b/app-text/xindy/xindy-2.4.ebuild
new file mode 100644
index 000000000000..70a2f65a96d7
--- /dev/null
+++ b/app-text/xindy/xindy-2.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=3
+
+inherit eutils autotools
+
+DESCRIPTION="A Flexible Indexing System"
+HOMEPAGE="http://www.xindy.org/"
+SRC_URI="http://www.xindy.org/xindy-2.4.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc x86"
+IUSE="doc"
+
+RDEPEND="virtual/latex-base
+ dev-texlive/texlive-fontsrecommended
+ >=dev-lisp/clisp-2.44.1-r1
+ dev-texlive/texlive-langcyrillic"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ sys-devel/flex"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.patch
+ epatch "${FILESDIR}"/${P}-locale.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable doc docs)
+}
+
+src_compile() {
+ VARTEXFONTS="${T}/fonts" emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog.Gour NEWS README
+}