diff options
Diffstat (limited to 'sci-misc/apertium')
-rw-r--r-- | sci-misc/apertium/Manifest | 1 | ||||
-rw-r--r-- | sci-misc/apertium/apertium-3.2.0.ebuild | 49 | ||||
-rw-r--r-- | sci-misc/apertium/files/3.2.0-datadir.patch | 35 | ||||
-rw-r--r-- | sci-misc/apertium/files/3.2.0-flags.patch | 72 | ||||
-rw-r--r-- | sci-misc/apertium/files/apertium-3.2.0-autotools.patch | 81 | ||||
-rw-r--r-- | sci-misc/apertium/files/apertium-3.2.0-libpcre.patch | 43 |
6 files changed, 0 insertions, 281 deletions
diff --git a/sci-misc/apertium/Manifest b/sci-misc/apertium/Manifest index 08af11ef434c..337bb8eb51f2 100644 --- a/sci-misc/apertium/Manifest +++ b/sci-misc/apertium/Manifest @@ -1,2 +1 @@ -DIST apertium-3.2.0.tar.gz 767311 BLAKE2B 03069a0839d0ad61db12aea977e0847b3093a46becd7c36e3bb7b483242986f8f1b4a94c6c64bdfc94f11d13353fbdb6835ff032158d9a05151342606fdd57a1 SHA512 ec80d72480e414eb9a169241d0921b21009dde7c1da9a773f500f16ac785741be1f4a221c25b3b32e7847405f76e93b5feadb6f541170c0742718e27dfa1fb25 DIST apertium-3.8.3.tar.bz2 560957 BLAKE2B c610395fb1e725ddc628a15b1234c434d174c5b5664ed8fa2d1480d438e143bcd194b6f5a2e79ede6fec0d4fa156be2b7725134727e2f976fe7ecd053a88c520 SHA512 78da8ffcc01706563c4e34c73355b3c65bc2b22abf1501169638b89eae95cd0a4bff095eef5488cba58d0e67b8dd7efd93759981ebd28a9115028e7ad75fa551 diff --git a/sci-misc/apertium/apertium-3.2.0.ebuild b/sci-misc/apertium/apertium-3.2.0.ebuild deleted file mode 100644 index eea1d0d07414..000000000000 --- a/sci-misc/apertium/apertium-3.2.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Shallow-transfer machine Translation engine and toolbox" -HOMEPAGE="https://apertium.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-libs/libxslt - dev-libs/libpcre[cxx] - >=sci-misc/lttoolbox-3.2 - virtual/libiconv" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PV}-flags.patch - "${FILESDIR}"/${PV}-datadir.patch - "${FILESDIR}"/${P}-libpcre.patch - "${FILESDIR}"/${P}-autotools.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --disable-static -} - -src_compile() { - emake -j1 -} - -src_install() { - default - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-misc/apertium/files/3.2.0-datadir.patch b/sci-misc/apertium/files/3.2.0-datadir.patch deleted file mode 100644 index d081cd50bc79..000000000000 --- a/sci-misc/apertium/files/3.2.0-datadir.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -Nur apertium-3.2.0.orig/apertium/Makefile.am apertium-3.2.0/apertium/Makefile.am ---- apertium-3.2.0.orig/apertium/Makefile.am 2011-07-29 06:55:49.000000000 +0100 -+++ apertium-3.2.0/apertium/Makefile.am 2011-07-29 07:03:58.000000000 +0100 -@@ -66,10 +66,10 @@ - - instdir = apertium - --apertiumdir = $(prefix)/share/apertium -+apertiumdir = $(datadir)/ - apertiuminclude = $(prefix)/include/apertium-$(GENERIC_API_VERSION) - apertiumlib = $(prefix)/lib --apertiumsysconf = $(prefix)/etc/apertium -+apertiumsysconf = $(sysconfdir)/apertium - - apertium_DATA = deformat.xsl reformat.xsl new2old.xsl lexchoice.xsl \ - lexchoicebil.xsl tagger.dtd interchunk.dtd format.dtd \ -diff -Nur apertium-3.2.0.orig/Makefile.am apertium-3.2.0/Makefile.am ---- apertium-3.2.0.orig/Makefile.am 2011-07-29 06:55:49.000000000 +0100 -+++ apertium-3.2.0/Makefile.am 2011-07-29 07:08:39.000000000 +0100 -@@ -1,13 +1,10 @@ - SUBDIRS = $(GENERIC_LIBRARY_NAME) - DIST_SUBDIRS = $(GENERIC_LIBRARY_NAME) - --modesdir=$(prefix)/share/apertium/modes -+modesdir = $(datadir)/apertium/modes -+modes_DATA = README-MODES - - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = apertium-$(GENERIC_RELEASE).pc - - EXTRA_DIST=autogen.sh README-MODES -- --install-data-local: -- mkdir -p $(modesdir) -- $(INSTALL_DATA) README-MODES $(modesdir)/README diff --git a/sci-misc/apertium/files/3.2.0-flags.patch b/sci-misc/apertium/files/3.2.0-flags.patch deleted file mode 100644 index 9bdc4a34c117..000000000000 --- a/sci-misc/apertium/files/3.2.0-flags.patch +++ /dev/null @@ -1,72 +0,0 @@ -diff -Nur apertium-3.2.0.orig/configure.ac apertium-3.2.0/configure.ac ---- apertium-3.2.0.orig/configure.ac 2011-07-29 06:43:38.000000000 +0100 -+++ apertium-3.2.0/configure.ac 2011-07-29 06:46:26.000000000 +0100 -@@ -54,68 +54,6 @@ - - # Checks for programs. - --AC_MSG_CHECKING([Compilation architecture: PPC, i686, x86_64, Other]) --if test x$(which arch) = x --then ARCH=$($(which uname) -m) --else ARCH=$($(which arch)) --fi -- --case "${target_os}" in -- mingw*) -- MinGW=yes -- ;; -- cygwin*) -- Cygwin=yes -- ;; --esac -- --if test x$ARCH = xppc --then -- AC_MSG_RESULT([PowerPC]) -- CFLAGS="$CFLAGS -Wall -ansi -fomit-frame-pointer" -- CXXFLAGS="$CXXFLAGS -Wall -ansi -fomit-frame-pointer" --else -- if test x$MinGW = xyes -- then -- AC_MSG_RESULT([MinGW]) -- CFLAGS="$CFLAGS -Wall -march=i686 -O3 -DMINGW -fomit-frame-pointer \ -- -funroll-loops -I/include -L/lib" -- CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \ -- -fomit-frame-pointer -funroll-loops -I/include -L/lib" -- CPPFLAGS="$CPPFLAGS -I/include" -- else -- if test x$Cygwin = xyes -- then -- AC_MSG_RESULT([Cygwin]) -- CFLAGS="$CFLAGS -Wall -march=i686 -O3 -fomit-frame-pointer \ -- -funroll-loops" -- CXXFLAGS="$CXXFLAGS -Wall -march=i686 -O3 \ -- -fomit-frame-pointer -funroll-loops" -- CPPFLAGS="$CPPFLAGS" -- else -- if test x$ARCH = xi686 -- then -- AC_MSG_RESULT([i686]) -- CFLAGS="$CFLAGS -Wall -ansi -march=i686 -O3 -fomit-frame-pointer -funroll-loops" -- CXXFLAGS="$CXXFLAGS -Wall -ansi -march=i686 -O3 \ -- -fomit-frame-pointer -funroll-loops" -- else -- if test x$ARCH = xx86_64 -- then -- AC_MSG_RESULT([x86_64]) -- CFLAGS="-Wall -ansi -O3 -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS" -- CXXFLAGS="-Wall -ansi -O3 -mtune=nocona \ -- -fomit-frame-pointer -funroll-loops $CXXFLAGS" -- else -- AC_MSG_RESULT([Other]) -- CFLAGS="-Wall -ansi -O3 $CFLAGS" -- CXXFLAGS="-Wall -ansi -O3 $CXXFLAGS" -- fi -- fi -- fi -- fi --fi -- - AC_PROG_CXX - AC_PROG_LIBTOOL - AM_SANITY_CHECK diff --git a/sci-misc/apertium/files/apertium-3.2.0-autotools.patch b/sci-misc/apertium/files/apertium-3.2.0-autotools.patch deleted file mode 100644 index 4d3a91a795a6..000000000000 --- a/sci-misc/apertium/files/apertium-3.2.0-autotools.patch +++ /dev/null @@ -1,81 +0,0 @@ ---- a/apertium/Makefile.am -+++ b/apertium/Makefile.am -@@ -78,7 +78,7 @@ - - apertium_pretransfer_SOURCES = apertium_pretransfer.cc - apertium_multiple_translations_SOURCES = apertium-multiple-translations.cc --apertium_multiple_translations_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_multiple_translations_LDADD = $(APERTIUM_LIBS) libapertium3.la - apertium_destxt_SOURCES = apertium_destxt.cc - apertium_retxt_SOURCES = apertium_retxt.cc - apertium_deshtml_SOURCES = apertium_deshtml.cc -@@ -99,45 +99,45 @@ - apertium_remediawiki_SOURCES = apertium_remediawiki.cc - - apertium_tagger_SOURCES = apertium_tagger.cc --apertium_tagger_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_tagger_LDADD = $(APERTIUM_LIBS) libapertium3.la - - apertium_tmxbuild_SOURCES = apertium_tmxbuild.cc --apertium_tmxbuild_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_tmxbuild_LDADD = $(APERTIUM_LIBS) libapertium3.la - - apertium_preprocess_transfer_SOURCES = transferpp.cc - apertium_preprocess_transfer_LDADD = $(APERTIUM_LIBS) \ -- -lapertium$(GENERIC_MAJOR_VERSION) -+ libapertium3.la - - apertium_filter_ambiguity_SOURCES = apertium_filter_ambiguity.cc - apertium_filter_ambiguity_LDADD = $(APERTIUM_LIBS) \ -- -lapertium$(GENERIC_MAJOR_VERSION) -+ libapertium3.la - - apertium_transfer_SOURCES = apertium_transfer.cc --apertium_transfer_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_transfer_LDADD = $(APERTIUM_LIBS) libapertium3.la - - apertium_interchunk_SOURCES = apertium_interchunk.cc --apertium_interchunk_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_interchunk_LDADD = $(APERTIUM_LIBS) libapertium3.la - - apertium_postchunk_SOURCES = apertium_postchunk.cc --apertium_postchunk_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_postchunk_LDADD = $(APERTIUM_LIBS) libapertium3.la - - apertium_lextor_SOURCES = apertium_lextor.cc --apertium_lextor_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_lextor_LDADD = $(APERTIUM_LIBS) libapertium3.la - - #apertium_lextor_eval_SOURCES = apertium-lextor-eval.C --#apertium_lextor_eval_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+#apertium_lextor_eval_LDADD = $(APERTIUM_LIBS) libapertium3.la - - apertium_tagger_apply_new_rules_SOURCES = apertium_tagger_apply_new_rules.cc --apertium_tagger_apply_new_rules_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_tagger_apply_new_rules_LDADD = $(APERTIUM_LIBS) libapertium3.la - - ###apertium_lextor_search_SOURCES = apertium-lextor-search.C --###apertium_lextor_search_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+###apertium_lextor_search_LDADD = $(APERTIUM_LIBS) libapertium3.la - - ###pruebas_lextor_SOURCES = pruebas-lextor.C --###pruebas_lextor_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+###pruebas_lextor_LDADD = $(APERTIUM_LIBS) libapertium3.la - - apertium_gen_wlist_lextor_translation_SOURCES = apertium_gen_wlist_lextor_translation.cc --apertium_gen_wlist_lextor_translation_LDADD = $(APERTIUM_LIBS) -lapertium$(GENERIC_MAJOR_VERSION) -+apertium_gen_wlist_lextor_translation_LDADD = $(APERTIUM_LIBS) libapertium3.la - - INCLUDES = -I$(top_srcdir) $(APERTIUM_CFLAGS) - CLEANFILES = *~ apertium_destxt.cc apertium_retxt.cc apertium_deshtml.cc \ ---- a/configure.ac -+++ b/configure.ac -@@ -142,7 +142,7 @@ - - - PKG_CHECK_MODULES(APERTIUM, [dnl -- lttoolbox-3.2 >= required_lttoolbox_version dnl -+ lttoolbox >= required_lttoolbox_version dnl - libxml-2.0 >= required_libxml_version dnl - libpcre >= required_libpcre_version], CPPFLAGS="$CPPFLAGS $APERTIUM_CFLAGS"; LIBS="$LIBS $APERTIUM_LIBS") - diff --git a/sci-misc/apertium/files/apertium-3.2.0-libpcre.patch b/sci-misc/apertium/files/apertium-3.2.0-libpcre.patch deleted file mode 100644 index 29a6a5483bb8..000000000000 --- a/sci-misc/apertium/files/apertium-3.2.0-libpcre.patch +++ /dev/null @@ -1,43 +0,0 @@ - configure.ac | 28 ++++++++++++++++------------ - 1 file changed, 16 insertions(+), 12 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 0bfca01..2d8ec3b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -183,19 +183,23 @@ AC_CHECK_FUNCS(strcasecmp) - - if test x$(uname) != xDarwin; - then --AC_CHECK_HEADER(pcreposix.h, -- AC_CHECK_LIB(pcre, pcre_info,[ -- LIBS="$LIBS -lpcreposix -lpcre" -- no_comp_check=yes], -- AC_MSG_ERROR([*** unable to locate pcre library ***])), -- AC_MSG_ERROR([*** unable to locate pcreposix.h include file ***])) -+PKG_CHECK_MODULES([PCRE], -+ [libpcre libpcreposix libpcrecpp], -+ [LIBS="${LIBS} ${PCRE_LIBS}" no_comp_check=yes], [ -+ AC_CHECK_HEADER(pcreposix.h, -+ AC_CHECK_LIB(pcre, pcre_version,[ -+ LIBS="$LIBS -lpcreposix -lpcre" -+ no_comp_check=yes], -+ AC_MSG_ERROR([*** unable to locate pcre library ***])), -+ AC_MSG_ERROR([*** unable to locate pcreposix.h include file ***])) - --AC_CHECK_HEADER(pcrecpp.h, -- AC_CHECK_LIB(pcrecpp,pcre_compile,[ -- LIBS="$LIBS -lpcrecpp" -- no_comp_check=yes], -- AC_MSG_ERROR([*** unable to locate pcrecpp library ***])), -- AC_MSG_ERROR([*** unable to locate pcrecpp.h include file ***])) -+ AC_CHECK_HEADER(pcrecpp.h, -+ AC_CHECK_LIB(pcrecpp,pcre_compile,[ -+ LIBS="$LIBS -lpcrecpp" -+ no_comp_check=yes], -+ AC_MSG_ERROR([*** unable to locate pcrecpp library ***])), -+ AC_MSG_ERROR([*** unable to locate pcrecpp.h include file ***])) -+ ]) - fi - - |