diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-02-15 11:45:27 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-02-15 11:45:27 +0000 |
commit | 16de0fa190b45e4f57e90f484e41f1234b893dfd (patch) | |
tree | b65bae3344e5803fcdbe8d16d293ef7e54be7cc8 /app-text/hunspell | |
parent | Fallback to gentoo.org webpage as upstream is dead. (diff) | |
download | gentoo-2-16de0fa190b45e4f57e90f484e41f1234b893dfd.tar.gz gentoo-2-16de0fa190b45e4f57e90f484e41f1234b893dfd.tar.bz2 gentoo-2-16de0fa190b45e4f57e90f484e41f1234b893dfd.zip |
Cleanup to keep only latest.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'app-text/hunspell')
-rw-r--r-- | app-text/hunspell/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/hunspell/files/hunspell-1.2.11-renameexes.patch | 116 | ||||
-rw-r--r-- | app-text/hunspell/files/hunspell-1.2.12-renameexes.patch | 116 | ||||
-rw-r--r-- | app-text/hunspell/files/hunspell-1.2.9-renameexes.patch | 116 | ||||
-rw-r--r-- | app-text/hunspell/hunspell-1.2.11.ebuild | 77 | ||||
-rw-r--r-- | app-text/hunspell/hunspell-1.2.12-r1.ebuild | 78 | ||||
-rw-r--r-- | app-text/hunspell/hunspell-1.3.2-r1.ebuild | 95 | ||||
-rw-r--r-- | app-text/hunspell/hunspell-1.3.2-r2.ebuild | 93 |
8 files changed, 8 insertions, 692 deletions
diff --git a/app-text/hunspell/ChangeLog b/app-text/hunspell/ChangeLog index c3c77553a463..dc019f4f1a1c 100644 --- a/app-text/hunspell/ChangeLog +++ b/app-text/hunspell/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/hunspell # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.103 2012/01/14 19:27:39 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.104 2012/02/15 11:45:26 scarabeus Exp $ + + 15 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> + -files/hunspell-1.2.9-renameexes.patch, -hunspell-1.2.11.ebuild, + -files/hunspell-1.2.11-renameexes.patch, -hunspell-1.2.12-r1.ebuild, + -files/hunspell-1.2.12-renameexes.patch, -hunspell-1.3.2-r1.ebuild, + -hunspell-1.3.2-r2.ebuild: + Cleanup to keep only latest. 14 Jan 2012; Raúl Porcel <armin76@gentoo.org> hunspell-1.3.2-r3.ebuild: alpha/ia64/sh/sparc stable wrt #379045 diff --git a/app-text/hunspell/files/hunspell-1.2.11-renameexes.patch b/app-text/hunspell/files/hunspell-1.2.11-renameexes.patch deleted file mode 100644 index e037448a2590..000000000000 --- a/app-text/hunspell/files/hunspell-1.2.11-renameexes.patch +++ /dev/null @@ -1,116 +0,0 @@ -=== modified file 'src/tools/Makefile.am' ---- src/tools/Makefile.am 2010-05-17 09:20:26 +0000 -+++ src/tools/Makefile.am 2010-05-17 09:23:40 +0000 -@@ -1,4 +1,5 @@ - bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip -+bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip - - INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers - -@@ -6,8 +7,8 @@ - hunzip_SOURCES=hunzip.cxx - hunzip_LDADD = ../hunspell/libhunspell-1.2.la - --munch_SOURCES=munch.c munch.h --unmunch_SOURCES=unmunch.c unmunch.h -+hunspell_munch_SOURCES=munch.c munch.h -+hunspell_unmunch_SOURCES=unmunch.c unmunch.h - - example_SOURCES=example.cxx - example_LDADD = ../hunspell/libhunspell-1.2.la -@@ -16,11 +17,11 @@ - hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \ - ../hunspell/libhunspell-1.2.la @CURSESLIB@ @READLINELIB@ - --analyze_SOURCES=analyze.cxx --analyze_LDADD = ../hunspell/libhunspell-1.2.la -+hunspell_analyze_SOURCES=analyze.cxx -+hunspell_analyze_LDADD = ../hunspell/libhunspell-1.2.la - --chmorph_SOURCES=chmorph.cxx --chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.2.la -+hunspell_chmorph_SOURCES=chmorph.cxx -+hunspell_chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.2.la - - noinst_PROGRAMS=example - - -=== modified file 'src/tools/example.cxx' ---- src/tools/example.cxx 2010-05-17 09:20:26 +0000 -+++ src/tools/example.cxx 2010-05-17 09:22:51 +0000 -@@ -17,8 +17,8 @@ - /* first parse the command line options */ - - if (argc < 4) { -- fprintf(stderr,"example (now it works with more dictionary files):\n"); -- fprintf(stderr,"example affix_file dictionary_file(s) file_of_words_to_check\n"); -+ fprintf(stderr,"hunspell-example (now it works with more dictionary files):\n"); -+ fprintf(stderr,"hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n"); - exit(1); - } - - -=== modified file 'src/tools/munch.c' ---- src/tools/munch.c 2010-05-17 09:20:26 +0000 -+++ src/tools/munch.c 2010-05-17 09:22:51 +0000 -@@ -42,14 +42,14 @@ - wf = mystrdup(argv[1]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"munch word_list_file affix_file\n"); -+ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); - exit(1); - } - if (argv[2]) { - af = mystrdup(argv[2]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"munch word_list_file affix_file\n"); -+ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); - exit(1); - } - - -=== modified file 'src/tools/unmunch.c' ---- src/tools/unmunch.c 2010-05-17 09:20:26 +0000 -+++ src/tools/unmunch.c 2010-05-17 09:22:51 +0000 -@@ -39,14 +39,14 @@ - wf = mystrdup(argv[1]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"unmunch dic_file affix_file\n"); -+ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); - exit(1); - } - if (argv[2]) { - af = mystrdup(argv[2]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"unmunch dic_file affix_file\n"); -+ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); - exit(1); - } - - -=== modified file 'tests/test.sh' ---- tests/test.sh 2010-05-17 09:20:26 +0000 -+++ tests/test.sh 2010-05-17 09:22:51 +0000 -@@ -34,7 +34,7 @@ - shopt -s expand_aliases - - alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell' --alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/analyze' -+alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell-analyze' - - if [ "$VALGRIND" != "" ]; then - rm -f $TEMPDIR/test.pid* -@@ -42,7 +42,7 @@ - mkdir $TEMPDIR/badlogs - fi - alias hunspell='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-hunspell' -- alias analyze='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-analyze' -+ alias analyze='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-hunspell-analyze' - fi - - # Tests good words - diff --git a/app-text/hunspell/files/hunspell-1.2.12-renameexes.patch b/app-text/hunspell/files/hunspell-1.2.12-renameexes.patch deleted file mode 100644 index ddbbb7b25b5f..000000000000 --- a/app-text/hunspell/files/hunspell-1.2.12-renameexes.patch +++ /dev/null @@ -1,116 +0,0 @@ -=== modified file 'src/tools/Makefile.am' ---- src/tools/Makefile.am 2010-10-15 13:23:29 +0000 -+++ src/tools/Makefile.am 2010-10-15 13:23:51 +0000 -@@ -1,4 +1,5 @@ - bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip -+bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip - - INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers - -@@ -6,8 +7,8 @@ - hunzip_SOURCES=hunzip.cxx - hunzip_LDADD = ../hunspell/libhunspell-1.2.la - --munch_SOURCES=munch.c munch.h --unmunch_SOURCES=unmunch.c unmunch.h -+hunspell_munch_SOURCES=munch.c munch.h -+hunspell_unmunch_SOURCES=unmunch.c unmunch.h - - example_SOURCES=example.cxx - example_LDADD = ../hunspell/libhunspell-1.2.la -@@ -16,11 +17,11 @@ - hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \ - ../hunspell/libhunspell-1.2.la @CURSESLIB@ @READLINELIB@ - --analyze_SOURCES=analyze.cxx --analyze_LDADD = ../hunspell/libhunspell-1.2.la -+hunspell_analyze_SOURCES=analyze.cxx -+hunspell_analyze_LDADD = ../hunspell/libhunspell-1.2.la - --chmorph_SOURCES=chmorph.cxx --chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.2.la -+hunspell_chmorph_SOURCES=chmorph.cxx -+hunspell_chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.2.la - - noinst_PROGRAMS=example - - -=== modified file 'src/tools/example.cxx' ---- src/tools/example.cxx 2010-10-15 13:23:29 +0000 -+++ src/tools/example.cxx 2010-10-15 13:23:51 +0000 -@@ -17,8 +17,8 @@ - /* first parse the command line options */ - - if (argc < 4) { -- fprintf(stderr,"example (now it works with more dictionary files):\n"); -- fprintf(stderr,"example affix_file dictionary_file(s) file_of_words_to_check\n"); -+ fprintf(stderr,"hunspell-example (now it works with more dictionary files):\n"); -+ fprintf(stderr,"hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n"); - exit(1); - } - - -=== modified file 'src/tools/munch.c' ---- src/tools/munch.c 2010-10-15 13:23:29 +0000 -+++ src/tools/munch.c 2010-10-15 13:23:51 +0000 -@@ -42,14 +42,14 @@ - wf = mystrdup(argv[1]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"munch word_list_file affix_file\n"); -+ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); - exit(1); - } - if (argv[2]) { - af = mystrdup(argv[2]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"munch word_list_file affix_file\n"); -+ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); - exit(1); - } - - -=== modified file 'src/tools/unmunch.c' ---- src/tools/unmunch.c 2010-10-15 13:23:29 +0000 -+++ src/tools/unmunch.c 2010-10-15 13:23:51 +0000 -@@ -39,14 +39,14 @@ - wf = mystrdup(argv[1]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"unmunch dic_file affix_file\n"); -+ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); - exit(1); - } - if (argv[2]) { - af = mystrdup(argv[2]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"unmunch dic_file affix_file\n"); -+ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); - exit(1); - } - - -=== modified file 'tests/test.sh' ---- tests/test.sh 2010-10-15 13:23:29 +0000 -+++ tests/test.sh 2010-10-15 13:25:27 +0000 -@@ -34,7 +34,7 @@ - shopt -s expand_aliases - - alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell' --alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/analyze' -+alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell-analyze' - - if [ "$VALGRIND" != "" ]; then - rm -f $TEMPDIR/test.pid* -@@ -43,7 +43,7 @@ - fi - - alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell' -- alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/analyze' -+ alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell-analyze' - fi - - # Tests good words - diff --git a/app-text/hunspell/files/hunspell-1.2.9-renameexes.patch b/app-text/hunspell/files/hunspell-1.2.9-renameexes.patch deleted file mode 100644 index 58f366c41f13..000000000000 --- a/app-text/hunspell/files/hunspell-1.2.9-renameexes.patch +++ /dev/null @@ -1,116 +0,0 @@ -=== modified file 'src/tools/Makefile.am' ---- src/tools/Makefile.am 2010-04-15 06:56:50 +0000 -+++ src/tools/Makefile.am 2010-04-15 06:59:21 +0000 -@@ -1,4 +1,5 @@ - bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip -+bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip - - INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers - -@@ -6,8 +7,8 @@ - hunzip_SOURCES=hunzip.cxx - hunzip_LDADD = ../hunspell/libhunspell-1.2.la - --munch_SOURCES=munch.c munch.h --unmunch_SOURCES=unmunch.c unmunch.h -+hunspell_munch_SOURCES=munch.c munch.h -+hunspell_unmunch_SOURCES=unmunch.c unmunch.h - - example_SOURCES=example.cxx - example_LDADD = ../hunspell/libhunspell-1.2.la -@@ -16,11 +17,11 @@ - hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../hunspell/libhunspell-1.2.la \ - ../parsers/libparsers.a @CURSESLIB@ @READLINELIB@ - --analyze_SOURCES=analyze.cxx --analyze_LDADD = ../hunspell/libhunspell-1.2.la -+hunspell_analyze_SOURCES=analyze.cxx -+hunspell_analyze_LDADD = ../hunspell/libhunspell-1.2.la - --chmorph_SOURCES=chmorph.cxx --chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a -+hunspell_chmorph_SOURCES=chmorph.cxx -+hunspell_chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a - - noinst_PROGRAMS=example - - -=== modified file 'src/tools/example.cxx' ---- src/tools/example.cxx 2010-04-15 06:56:50 +0000 -+++ src/tools/example.cxx 2010-04-15 06:57:34 +0000 -@@ -17,8 +17,8 @@ - /* first parse the command line options */ - - if (argc < 4) { -- fprintf(stderr,"example (now it works with more dictionary files):\n"); -- fprintf(stderr,"example affix_file dictionary_file(s) file_of_words_to_check\n"); -+ fprintf(stderr,"hunspell-example (now it works with more dictionary files):\n"); -+ fprintf(stderr,"hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n"); - exit(1); - } - - -=== modified file 'src/tools/munch.c' ---- src/tools/munch.c 2010-04-15 06:56:50 +0000 -+++ src/tools/munch.c 2010-04-15 06:57:34 +0000 -@@ -42,14 +42,14 @@ - wf = mystrdup(argv[1]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"munch word_list_file affix_file\n"); -+ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); - exit(1); - } - if (argv[2]) { - af = mystrdup(argv[2]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"munch word_list_file affix_file\n"); -+ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); - exit(1); - } - - -=== modified file 'src/tools/unmunch.c' ---- src/tools/unmunch.c 2010-04-15 06:56:50 +0000 -+++ src/tools/unmunch.c 2010-04-15 06:57:34 +0000 -@@ -39,14 +39,14 @@ - wf = mystrdup(argv[1]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"unmunch dic_file affix_file\n"); -+ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); - exit(1); - } - if (argv[2]) { - af = mystrdup(argv[2]); - } else { - fprintf(stderr,"correct syntax is:\n"); -- fprintf(stderr,"unmunch dic_file affix_file\n"); -+ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); - exit(1); - } - - -=== modified file 'tests/test.sh' ---- tests/test.sh 2010-04-15 06:56:50 +0000 -+++ tests/test.sh 2010-04-15 07:00:31 +0000 -@@ -34,7 +34,7 @@ - shopt -s expand_aliases - - alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell' --alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/analyze' -+alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell-analyze' - - if [ "$VALGRIND" != "" ]; then - rm -f $TEMPDIR/test.pid* -@@ -42,7 +42,7 @@ - mkdir $TEMPDIR/badlogs - fi - alias hunspell='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-hunspell' -- alias analyze='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-analyze' -+ alias analyze='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-hunspell-analyze' - fi - - # Tests good words - diff --git a/app-text/hunspell/hunspell-1.2.11.ebuild b/app-text/hunspell/hunspell-1.2.11.ebuild deleted file mode 100644 index 7499579d2a34..000000000000 --- a/app-text/hunspell/hunspell-1.2.11.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.2.11.ebuild,v 1.9 2010/10/30 17:46:45 armin76 Exp $ - -EAPI="2" -inherit eutils multilib autotools flag-o-matic - -MY_P=${PN}-${PV/_beta/b} - -DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -HOMEPAGE="http://hunspell.sourceforge.net/" - -SLOT="0" -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -IUSE="ncurses nls readline" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -DEPEND="readline? ( sys-libs/readline ) - ncurses? ( sys-libs/ncurses ) - sys-devel/gettext" -RDEPEND="${DEPEND}" - -#TODO: "ia" "mi" - check what they are and add appropriate desc... -def="app-dicts/myspell-en" -for l in \ -"af" "bg" "ca" "cs" "cy" "da" "de" "el" "en" "eo" "es" "et" "fo" "fr" "ga" \ -"gl" "he" "hr" "hu" "id" "it" "ku" "lt" "lv" "mk" "ms" "nb" "nl" \ -"nn" "pl" "pt" "ro" "ru" "sk" "sl" "sv" "sw" "tn" "uk" "zu" \ -; do - dep="linguas_${l}? ( app-dicts/myspell-${l/pt_BR/pt-br} )" - [[ ${l} = "de" ]] && - dep="linguas_de? ( || ( app-dicts/myspell-de app-dicts/myspell-de-alt ) )" - [[ -z ${PDEPEND} ]] && - PDEPEND="${dep}" || - PDEPEND="${PDEPEND} -${dep}" - def="!linguas_${l}? ( ${def} )" - IUSE="${IUSE} linguas_${l}" -done -PDEPEND="${PDEPEND} -${def}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # Upstream package creates some executables which names are too generic - # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'. - # It modifies a Makefile.am file, hence eautoreconf. - epatch "${FILESDIR}"/${PN}-1.2.11-renameexes.patch - eautoreconf -} - -src_configure() { - # missing somehow, and I am too lazy to fix it properly - [[ ${CHOST} == *-darwin* ]] && append-libs -liconv - - # I wanted to put the include files in /usr/include/hunspell - # but this means the openoffice build won't find them. - econf \ - $(use_enable nls) \ - $(use_with ncurses ui) \ - $(use_with readline readline) -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell || die "installing docs failed" - # hunspell is derived from myspell - dodoc AUTHORS.myspell README.myspell license.myspell || die "installing myspell docs failed" -} - -pkg_postinst() { - elog "To use this package you will also need a dictionary." - elog "Hunspell uses myspell format dictionaries; find them" - elog "in the app-dicts category as myspell-<LANG>." -} diff --git a/app-text/hunspell/hunspell-1.2.12-r1.ebuild b/app-text/hunspell/hunspell-1.2.12-r1.ebuild deleted file mode 100644 index c5788f6be3dd..000000000000 --- a/app-text/hunspell/hunspell-1.2.12-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.2.12-r1.ebuild,v 1.2 2010/11/24 08:42:52 grobian Exp $ - -EAPI="2" -inherit eutils multilib autotools flag-o-matic - -MY_P=${PN}-${PV/_beta/b} - -DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -HOMEPAGE="http://hunspell.sourceforge.net/" - -SLOT="0" -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -IUSE="ncurses nls readline" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -DEPEND="readline? ( sys-libs/readline ) - ncurses? ( sys-libs/ncurses ) - sys-devel/gettext" -RDEPEND="${DEPEND}" - -#TODO: "ia" "mi" - check what they are and add appropriate desc... -def="app-dicts/myspell-en" -for l in \ -"af" "bg" "ca" "cs" "cy" "da" "de" "el" "en" "eo" "es" "et" "fo" "fr" "ga" \ -"gl" "he" "hr" "hu" "id" "it" "ku" "lt" "lv" "mk" "ms" "nb" "nl" \ -"nn" "pl" "pt" "ro" "ru" "sk" "sl" "sv" "sw" "tn" "uk" "zu" \ -; do - dep="linguas_${l}? ( app-dicts/myspell-${l/pt_BR/pt-br} )" - [[ ${l} = "de" ]] && - dep="linguas_de? ( || ( app-dicts/myspell-de app-dicts/myspell-de-alt ) )" - [[ -z ${PDEPEND} ]] && - PDEPEND="${dep}" || - PDEPEND="${PDEPEND} -${dep}" - def="!linguas_${l}? ( ${def} )" - IUSE="${IUSE} linguas_${l}" -done -PDEPEND="${PDEPEND} -${def}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # Upstream package creates some executables which names are too generic - # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'. - # It modifies a Makefile.am file, hence eautoreconf. - epatch "${FILESDIR}"/${PN}-1.2.12-renameexes.patch - eautoreconf -} - -src_configure() { - # missing somehow, and I am too lazy to fix it properly - [[ ${CHOST} == *-darwin* ]] && append-libs -liconv - - # I wanted to put the include files in /usr/include/hunspell - # but this means the openoffice build won't find them. - econf \ - $(use_enable nls) \ - $(use_with ncurses ui) \ - $(use_with readline readline) -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dosym /usr/$(get_libdir)/libhunspell{-1.2.so.0.0.0,.so} || die - dodoc AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell || die "installing docs failed" - # hunspell is derived from myspell - dodoc AUTHORS.myspell README.myspell license.myspell || die "installing myspell docs failed" -} - -pkg_postinst() { - elog "To use this package you will also need a dictionary." - elog "Hunspell uses myspell format dictionaries; find them" - elog "in the app-dicts category as myspell-<LANG>." -} diff --git a/app-text/hunspell/hunspell-1.3.2-r1.ebuild b/app-text/hunspell/hunspell-1.3.2-r1.ebuild deleted file mode 100644 index 17ae4ca87bca..000000000000 --- a/app-text/hunspell/hunspell-1.3.2-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.3.2-r1.ebuild,v 1.11 2011/11/06 23:13:34 ranger Exp $ - -EAPI=4 -inherit eutils multilib autotools flag-o-matic versionator - -MY_P=${PN}-${PV/_beta/b} - -DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -HOMEPAGE="http://hunspell.sourceforge.net/" - -SLOT="0" -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -IUSE="ncurses nls readline static-libs" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -DEPEND=" - sys-devel/gettext - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) -" -RDEPEND="${DEPEND}" - -# TODO: Add proper desc for mi -LANGS="af bg ca cs cy da de el en eo es et fo fr ga gl he hr hu ia id it ku lt -lv mk ms nb nl nn pl pt ro ru sk sl sv sw tn uk zu" - -DICT_DEP="app-dicts/myspell-en" -for lang in ${LANGS}; do - if [[ ${lang} == de ]] ; then - DICT_DEP+=" linguas_de? ( - || ( - app-dicts/myspell-de - app-dicts/myspell-de-alt - ) - )" - else - DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )" - fi - IUSE+=" linguas_${lang}" -done -PDEPEND="${DICT_DEP}" - -unset lang LANGS DICT_DEP - -S=${WORKDIR}/${MY_P} - -DOCS=( - AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell - AUTHORS.myspell README.myspell license.myspell -) - -src_prepare() { - # Upstream package creates some executables which names are too generic - # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'. - # It modifies a Makefile.am file, hence eautoreconf. - epatch "${FILESDIR}"/${PN}-1.3-renameexes.patch - eautoreconf -} - -src_configure() { - # missing somehow, and I am too lazy to fix it properly - [[ ${CHOST} == *-darwin* ]] && append-libs -liconv - - # FIXME: installs static library and buildsystem needs to be patched - # to use proper libtool approach converting it onto shared one. - - # I wanted to put the include files in /usr/include/hunspell. - # You can do that, libreoffice can find them anywhere, just - # ping me when you do so ; -- scarabeus - econf \ - $(use_enable nls) \ - $(use_with ncurses ui) \ - $(use_with readline readline) \ - $(use_enable static-libs static) -} - -src_install() { - default - - find "${ED}" -name '*.la' -exec rm -f {} + - - #342449 - pushd "${ED}"/usr/$(get_libdir)/ >/dev/null - ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.0,.so} - popd >/dev/null -} - -pkg_postinst() { - elog "To use this package you will also need a dictionary." - elog "Hunspell uses myspell format dictionaries; find them" - elog "in the app-dicts category as myspell-<LANG>." -} diff --git a/app-text/hunspell/hunspell-1.3.2-r2.ebuild b/app-text/hunspell/hunspell-1.3.2-r2.ebuild deleted file mode 100644 index 801c75d7a58c..000000000000 --- a/app-text/hunspell/hunspell-1.3.2-r2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.3.2-r2.ebuild,v 1.2 2011/09/15 10:32:35 scarabeus Exp $ - -EAPI=4 -inherit eutils multilib autotools flag-o-matic versionator - -MY_P=${PN}-${PV/_beta/b} - -DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -HOMEPAGE="http://hunspell.sourceforge.net/" - -SLOT="0" -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -IUSE="ncurses nls readline static-libs" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -DEPEND=" - sys-devel/gettext - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) -" -RDEPEND="${DEPEND}" - -# TODO: Add proper desc for mi -LANGS="af bg ca cs cy da de el en eo es et fo fr ga gl he hr hu ia id it ku lt -lv mk ms nb nl nn pl pt ro ru sk sl sv sw tn uk zu" - -DICT_DEP="app-dicts/myspell-en" -for lang in ${LANGS}; do - if [[ ${lang} == de ]] ; then - DICT_DEP+=" linguas_de? ( - || ( - app-dicts/myspell-de - app-dicts/myspell-de-alt - ) - )" - else - DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )" - fi - IUSE+=" linguas_${lang}" -done -PDEPEND="${DICT_DEP}" - -unset lang LANGS DICT_DEP - -S=${WORKDIR}/${MY_P} - -DOCS=( - AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell - AUTHORS.myspell README.myspell license.myspell -) - -src_prepare() { - # Upstream package creates some executables which names are too generic - # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'. - # It modifies a Makefile.am file, hence eautoreconf. - epatch "${FILESDIR}"/${PN}-1.3-renameexes.patch - epatch "${FILESDIR}"/${P}-static-lib.patch - eautoreconf -} - -src_configure() { - # missing somehow, and I am too lazy to fix it properly - [[ ${CHOST} == *-darwin* ]] && append-libs -liconv - - # I wanted to put the include files in /usr/include/hunspell. - # You can do that, libreoffice can find them anywhere, just - # ping me when you do so ; -- scarabeus - econf \ - $(use_enable nls) \ - $(use_with ncurses ui) \ - $(use_with readline readline) \ - $(use_enable static-libs static) -} - -src_install() { - default - - find "${ED}" -name '*.la' -exec rm -f {} + - - #342449 - pushd "${ED}"/usr/$(get_libdir)/ >/dev/null - ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.0,.so} - popd >/dev/null -} - -pkg_postinst() { - elog "To use this package you will also need a dictionary." - elog "Hunspell uses myspell format dictionaries; find them" - elog "in the app-dicts category as myspell-<LANG>." -} |