summaryrefslogtreecommitdiff
path: root/app-text/teckit
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/teckit
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/teckit')
-rw-r--r--app-text/teckit/Manifest12
-rw-r--r--app-text/teckit/files/teckit-2.5.1-gcc43.patch12
-rw-r--r--app-text/teckit/files/teckit-2.5.1-mixcflagscxxflags.patch16
-rw-r--r--app-text/teckit/files/teckit-2.5.1-rc.patch15
-rw-r--r--app-text/teckit/metadata.xml11
-rw-r--r--app-text/teckit/teckit-2.5.1.ebuild42
-rw-r--r--app-text/teckit/teckit-2.5.3.ebuild43
-rw-r--r--app-text/teckit/teckit-2.5.6.ebuild42
8 files changed, 193 insertions, 0 deletions
diff --git a/app-text/teckit/Manifest b/app-text/teckit/Manifest
new file mode 100644
index 000000000000..c6c0ff28aea5
--- /dev/null
+++ b/app-text/teckit/Manifest
@@ -0,0 +1,12 @@
+AUX teckit-2.5.1-gcc43.patch 327 SHA256 7391726e9b29f488f5405dddc25bdf78a790760dd60397200dacf23efb24882d SHA512 455e4b610ee8945113f3f73e1d710d34b3eeede81bced34fa8287bc63e685e298049fb6bb05485407a4bbdd5712a3e1e565e5e38b93fcf91c2f4eaa25e0a52f8 WHIRLPOOL def97d14ec627d100bd8ff59d27bcbf6083471b8e1d1fcf91a51a082dfb1dd15cba81454915e5d1a883dd74d2808b4ee5c4ca86b3eb8029fbaab59b9152285a9
+AUX teckit-2.5.1-mixcflagscxxflags.patch 534 SHA256 b59fdcdb7489293ba9420d66a415f62b0369ba3c5d844b42531a0dddcf469df7 SHA512 7b76d3ebc6ecba24a7cd6469b47b35245e73d5c02a32c67a6205434f8c4b73ab6f1a77d0f8cf95081c4b441e876a2d62a1c276f69171d4f9f4679ccccbfd1c87 WHIRLPOOL dc48c8169d5b1524c0ea905bc584e7e86929092de7aefa9a0ad14852d334f2f8454dbc4e80bbc044caed18a7ccc745b6475fad2e9b46b1bd17894f622e484ed8
+AUX teckit-2.5.1-rc.patch 418 SHA256 d9b52fe040af796f64ba9da0c3926db7b8ebe118f38516200485db155f94aced SHA512 d2e93369fe9706726ac0042d68d5444843a2b572ecae7bbc54a4dd39bf75a36080d49bd8acca30a36b3a8ee2e28836e4b0308bbd1bc955f3d5d5c3302b4c78f3 WHIRLPOOL 63c1d3af4afa15e98cf775667830d3c0e7be8a268d08d5a56fcc17dedf70f5bbc3d6874fa6077b93b7c3395c931ef80ab886534f874614651e225e427987d849
+DIST TECkit_2.5.3.tar.gz 2417611 SHA256 c048f1bdcfe3d361574818ca693e15295ece124f66db651f96c50379ae353e0c SHA512 7d2d315a38fa8df82a6180bfcd4737f5b9c664ff27d723c9dfd51902e0aa195d1eba4b49665cd22a2bbf28a9626b3569cb8aceb74b6f390c12c108a748a2e49e WHIRLPOOL 72046c709c1a2a12c52511669c4d0a3bca3800086041fa3cc15fb9d35274ea670bc4f1de19c574982fcea4aeff1824863dd57d96de010b36ca4d80fed8a599cc
+DIST TECkit_2_5_1.tar.gz 2630207 SHA256 59a01952684c4599a7f30b4f0deedcb6276f04fce73ac6fcbcbd55c4e2e6513a SHA512 db38ead681a5f3005769bf86bd39e3e769836885f672aea593284f0ad90932827697c30244944097ac4173633e6d0daa86e993136f179c4634440384811b418c WHIRLPOOL 2967688f1d78b3c1f2c42a72c12bf7c8c612d182a232432d2083e4e1b05d2bd92115fe28e8bc29596414c7e81da7fc48277666141e39f217d7cb9ea09a46c5c2
+DIST teckit-2.5.6.tar.gz 2500800 SHA256 a27bcee822111efe56ee0c9047d6ed5d8cb1b5005c372517c42c4a7552884105 SHA512 d3462dbf22658de85fd718c43229259c460730d907226435195742f1ab65accc4ec83f7b6cb32a0e99fa12ddb7f2b7b5f2598c8853636aa5b31c8592ed9b4745 WHIRLPOOL 796d19d557e94871017b41978ebbecdb5f80cd6cafc15a6a395c56db76709c6bb64ee6536cf0ce29cda29bb92050faa765e437de9d362106d312ed66dfb7b1c6
+EBUILD teckit-2.5.1.ebuild 1126 SHA256 eae5459e0c66c28b93e7c271eef0fe389966624f0a0013e05655939dbe94c979 SHA512 ae98b74bfc9b2386190160c82188c84b67cbbdf63205ef45c1d45d187e50b1d4228fc0deaa8825e9d8c437185aa21ef1070572f4d4ecb762e5bd595254f38d3b WHIRLPOOL c8d22f8fdb0561c3e8a118c2d2912e366ae8c9814025e313add27d7585a231516f680cbca34419ce34b09e1c2e31b4be032d37f73536bd48ca53e40d329bbd9c
+EBUILD teckit-2.5.3.ebuild 1221 SHA256 05b79a97c447f9258c580a42f01dd3933c3c8fab907c041b0111e6678729f047 SHA512 489359d29292a2b7bab49bc8e939cc4f3601c96829f5d373970a0de551e61a1e8575f5b111b644d49a5465f1faabd6fe2671ef87e726eaf883d537a661f7cb3f WHIRLPOOL cc5ebba8564285be4e3f9e9c5df6bee39731aef79ba02b9123ebf4bb2c9b2a997de41ed3c0571d444cb2e7c53d0bf86467d6da440b4e4ac53120fbe13ff0c23c
+EBUILD teckit-2.5.6.ebuild 1144 SHA256 3f87605565228aec43dfbb8afa6548761a789ada77dca5501f4342c077ccc9d0 SHA512 5c513708c5641db73d1d7cb478df5a6b6474115a1f60f91e299de3c61f29978530176cfa907e93e0eb67afd6630fb97a369e0b8fe4cb681bde480b16cf585dcc WHIRLPOOL ab6544df2b2dc06322b9e772c331171ab5ef7101b34cba5d014b986b34828793376b33303e5e857813792e34fcacea7e6c674950f789225b2573b09f1c5b43f2
+MISC ChangeLog 2740 SHA256 f09bcede5d1024be620d7f4f2369d216f67f9127c060d4982a1583d763bfb187 SHA512 34763bbcf7511b8e407fcf57f42b7a8719b5c216940a64b6fd34d6372c359838e234c3dc6f125a7ab8d10e9d353b3cdec0820beeba90b5b36f0f293a0318cb5c WHIRLPOOL ef0d845a60756ff6f2572fc8475b14f2ce0000a3c55735ba1f7f615de89492105dfde6968068ad7ae972324804c636f4b8dcda577560378a080dcf84ddb94738
+MISC ChangeLog-2015 3154 SHA256 ab3624ba71ee0c9145dc090f2f37ac1a21d96b94ceeaef1df25b781a7294e778 SHA512 8eb8c02321893bd70501de199723e73f5107e36cb39f4f1a2cf74e2d257970bef0492685992f09fbbb1df1191b0cdea58621ed8c74f533a6eb6594b0f5723858 WHIRLPOOL a8f17409d52dd37fc763a974877fb8506f4f271d8c21519fe0cb0d6be9b7f47edc56df49d726b4dc9ff6dff56cae5f1927ea826cfa1c1599002bb63e5353f9fa
+MISC metadata.xml 328 SHA256 56ac15fc96baf7896901fe99367ad7c8822461df683f2eb996dbe7d365cf3365 SHA512 f4ee21269605eb831d9a6cbe639da9f2bf63aa14ffb69bf41b7fa4304e4680f5e11ff9efaf30b63cbe0f3708468af19c5412353dab4af8d9a49e6f845a2b7f67 WHIRLPOOL ee99d3cea5fb495dd0efc7f1016b9a7240af329335130667e7bd2a554740b63767ec6448d42a558957bc8238833be617b1779f0f2b378095f95b56e5a2c9273e
diff --git a/app-text/teckit/files/teckit-2.5.1-gcc43.patch b/app-text/teckit/files/teckit-2.5.1-gcc43.patch
new file mode 100644
index 000000000000..f5a6bfddcfa2
--- /dev/null
+++ b/app-text/teckit/files/teckit-2.5.1-gcc43.patch
@@ -0,0 +1,12 @@
+Index: TECkit_2_5_1/source/Compiler.cpp
+===================================================================
+--- TECkit_2_5_1.orig/source/Compiler.cpp
++++ TECkit_2_5_1/source/Compiler.cpp
+@@ -29,6 +29,7 @@ Description:
+
+ #include "Compiler.h"
+
++#include <cstdio>
+ #include <iostream>
+ #include <iomanip>
+ #include <algorithm>
diff --git a/app-text/teckit/files/teckit-2.5.1-mixcflagscxxflags.patch b/app-text/teckit/files/teckit-2.5.1-mixcflagscxxflags.patch
new file mode 100644
index 000000000000..5a290f45133b
--- /dev/null
+++ b/app-text/teckit/files/teckit-2.5.1-mixcflagscxxflags.patch
@@ -0,0 +1,16 @@
+No need to pass CFLAGS twice, esp. if they are used to feed g++
+Bug #338110
+
+Index: TECkit_2_5_1/configure.ac
+===================================================================
+--- TECkit_2_5_1.orig/configure.ac
++++ TECkit_2_5_1/configure.ac
+@@ -76,7 +76,7 @@ noexpat_CFLAGS="$CFLAGS"
+ noexpat_LIBS="$LIBS"
+ AC_CHECK_LIB(expat, XML_ExpatVersion)
+ AM_CONDITIONAL(SYSTEM_EXPAT, test x$ac_cv_lib_expat_XML_ExpatVersion = xyes)
+-expat_CFLAGS="$CFLAGS"
++expat_CFLAGS=""
+ expat_LIBS="$LIBS"
+ CFLAGS="$noexpat_CFLAGS"
+ LIBS="$noexpat_LIBS"
diff --git a/app-text/teckit/files/teckit-2.5.1-rc.patch b/app-text/teckit/files/teckit-2.5.1-rc.patch
new file mode 100644
index 000000000000..a4f1a3fae5d6
--- /dev/null
+++ b/app-text/teckit/files/teckit-2.5.1-rc.patch
@@ -0,0 +1,15 @@
+Index: TECkit_2_5_1/configure.ac
+===================================================================
+--- TECkit_2_5_1.orig/configure.ac
++++ TECkit_2_5_1/configure.ac
+@@ -15,10 +15,6 @@ AM_PROG_CC_C_O
+ AC_PROG_INSTALL
+ AC_PROG_LIBTOOL
+
+-if test "${target_os}" = "mingw32"; then
+-AC_PROG_RC
+-fi
+-
+ AC_ARG_WITH(old-lib-names,
+ [ --with-old-lib-names Use old library names (for Windows only)],
+ [case "${withval}" in
diff --git a/app-text/teckit/metadata.xml b/app-text/teckit/metadata.xml
new file mode 100644
index 000000000000..480b5571f79a
--- /dev/null
+++ b/app-text/teckit/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="github">silnrsi/teckit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/teckit/teckit-2.5.1.ebuild b/app-text/teckit/teckit-2.5.1.ebuild
new file mode 100644
index 000000000000..8d5e637df119
--- /dev/null
+++ b/app-text/teckit/teckit-2.5.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit autotools eutils
+
+MY_P=TECkit_${PV//./_}
+DESCRIPTION="Text Encoding Conversion toolkit"
+HOMEPAGE="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=TECkit"
+SRC_URI="http://scripts.sil.org/svn-view/teckit/TAGS/${MY_P}.tar.gz"
+
+LICENSE="|| ( CPL-0.5 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ dev-libs/expat"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-rc.patch"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+ epatch "${FILESDIR}/${P}-mixcflagscxxflags.patch"
+ rm -f configure
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README NEWS
+}
+
+src_test() {
+ cd "${S}/test"
+ chmod +x dotests.pl
+ ./dotests.pl || die "tests failed"
+}
diff --git a/app-text/teckit/teckit-2.5.3.ebuild b/app-text/teckit/teckit-2.5.3.ebuild
new file mode 100644
index 000000000000..ec0249e01485
--- /dev/null
+++ b/app-text/teckit/teckit-2.5.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+MY_P=TECkit_${PV}
+DESCRIPTION="Text Encoding Conversion toolkit"
+HOMEPAGE="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=TECkit"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+# Upstream regenerates tarballs at each fetch, breaking checksums:
+# SRC_URI="http://scripts.sil.org/svn-view/teckit/TAGS/${MY_P}.tar.gz"
+# https://bugs.gentoo.org/show_bug.cgi?id=554972
+
+LICENSE="|| ( CPL-0.5 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ dev-libs/expat"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.5.1-mixcflagscxxflags.patch"
+ rm -f configure
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README NEWS
+}
+
+src_test() {
+ cd "${S}/test"
+ chmod +x dotests.pl
+ ./dotests.pl || die "tests failed"
+}
diff --git a/app-text/teckit/teckit-2.5.6.ebuild b/app-text/teckit/teckit-2.5.6.ebuild
new file mode 100644
index 000000000000..607a5a9834f2
--- /dev/null
+++ b/app-text/teckit/teckit-2.5.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Text Encoding Conversion toolkit"
+HOMEPAGE="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=TECkit"
+SRC_URI="https://github.com/silnrsi/teckit/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( CPL-0.5 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND="sys-libs/zlib
+ dev-libs/expat"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.5.1-mixcflagscxxflags.patch"
+ rm -f configure
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README NEWS
+ find "${ED}" -name '*.la' -delete || die
+}
+
+src_test() {
+ cd "${S}/test"
+ chmod +x dotests.pl
+ ./dotests.pl || die "tests failed"
+}