Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/hunspell/, app-text/hunspell/files/
Date: Fri, 07 Dec 2018 15:29:35
Message-Id: 1544196562.b773092e65a86bd3f964a137d38bc20e67aba04d.polynomial-c@gentoo
1 commit: b773092e65a86bd3f964a137d38bc20e67aba04d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 7 15:29:05 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 7 15:29:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b773092e
7
8 app-text/hunspell: Removed old.
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-text/hunspell/Manifest | 1 -
14 .../hunspell/files/hunspell-1.6.0-renameexes.patch | 124 ---------------------
15 app-text/hunspell/hunspell-1.6.1-r1.ebuild | 84 --------------
16 3 files changed, 209 deletions(-)
17
18 diff --git a/app-text/hunspell/Manifest b/app-text/hunspell/Manifest
19 index e82c9c07968..f27735636f4 100644
20 --- a/app-text/hunspell/Manifest
21 +++ b/app-text/hunspell/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST hunspell-1.6.1.tar.gz 706893 BLAKE2B 5e5047aceb7510c2cfaa05d540f8faad2fb844b51bf2d8e48793d588e3b9d31628ddac5d7f9c87078a3b2b8aadf64cd8d93fd4ef881b13451d52f10a1960e2fb SHA512 39b096ec1f5226f13eaf241647fc9b49a6dad04945ae0bcdc61ba845d66d67d64a72ba4287b6f376b5ad053b5d0e1d42a42415c30521c50693f0544718029458
24 DIST hunspell-1.6.2.tar.gz 721165 BLAKE2B f377596d2031e89ad902a0f5da85e77948bd5d582bb4c558cc7c379d803a00787237d2feed9d26e037cebb77958709f41fb01d5f8bfed6ae21047a2da83c8f51 SHA512 a23127f1271da95ac06a1fb2f57b659485e959567b61da05b2bb350684003a0fb7e882b5e524c465fd890f79f513ed03174f38611989a1c09081147c47d6da11
25 DIST hunspell-1.7.0.tar.gz 482156 BLAKE2B daf689ab44872c78d27bd035d996c61da9b01b7bbe5ced120034b2d64bbead573ad3807dfe5a06ecdbd96c610f42e4ea015be4b2046ebafad13347c08e60913a SHA512 8149b2e8b703a0610c9ca5160c2dfad3cf3b85b16b3f0f5cfcb7ebb802473b2d499e8e2d0a637a97a37a24d62424e82d3880809210d3f043fa17a4970d47c903
26
27 diff --git a/app-text/hunspell/files/hunspell-1.6.0-renameexes.patch b/app-text/hunspell/files/hunspell-1.6.0-renameexes.patch
28 deleted file mode 100644
29 index 6a75ce3fb8c..00000000000
30 --- a/app-text/hunspell/files/hunspell-1.6.0-renameexes.patch
31 +++ /dev/null
32 @@ -1,124 +0,0 @@
33 ---- hunspell-1.6.0/src/tools/chmorph.cxx
34 -+++ hunspell-1.6.0/src/tools/chmorph.cxx
35 -@@ -58,11 +58,11 @@
36 - if (!argv[i]) {
37 - fprintf(
38 - stderr,
39 -- "chmorph - change affixes by morphological analysis and generation\n"
40 -- "correct syntax is:\nchmorph affix_file "
41 -+ "hunspell-chmorph - change affixes by morphological analysis and generation\n"
42 -+ "correct syntax is:\nhunspell-chmorph affix_file "
43 - "dictionary_file file_to_convert STRING1 STRING2\n"
44 - "STRINGS may be arbitrary parts of the morphological descriptions\n"
45 -- "example: chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
46 -+ "example: hunspell-chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
47 - " (convert informal Hungarian second person texts to formal third "
48 - "person texts)\n");
49 - exit(1);
50 ---- hunspell-1.6.0/src/tools/example.cxx
51 -+++ hunspell-1.6.0/src/tools/example.cxx
52 -@@ -53,9 +53,9 @@
53 - /* first parse the command line options */
54 -
55 - if (argc < 4) {
56 -- fprintf(stderr, "example (now it works with more dictionary files):\n");
57 -+ fprintf(stderr, "hunspell-example (now it works with more dictionary files):\n");
58 - fprintf(stderr,
59 -- "example affix_file dictionary_file(s) file_of_words_to_check\n");
60 -+ "hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n");
61 - exit(1);
62 - }
63 -
64 ---- hunspell-1.6.0/src/tools/Makefile.am
65 -+++ hunspell-1.6.0/src/tools/Makefile.am
66 -@@ -1,4 +1,4 @@
67 --bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip
68 -+bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip
69 -
70 - INCLUDES=-I${top_builddir}/src/hunspell -I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers
71 -
72 -@@ -6,8 +6,8 @@
73 - hunzip_SOURCES=hunzip.cxx
74 - hunzip_LDADD = ../hunspell/libhunspell-1.6.la
75 -
76 --munch_SOURCES=munch.cxx munch.h
77 --unmunch_SOURCES=unmunch.cxx unmunch.h
78 -+hunspell_munch_SOURCES=munch.cxx munch.h
79 -+hunspell_unmunch_SOURCES=unmunch.cxx unmunch.h
80 -
81 - example_SOURCES=example.cxx
82 - example_LDADD = ../hunspell/libhunspell-1.6.la
83 -@@ -16,11 +16,11 @@
84 - hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \
85 - ../hunspell/libhunspell-1.6.la @CURSESLIB@ @READLINELIB@
86 -
87 --analyze_SOURCES=analyze.cxx
88 --analyze_LDADD = ../hunspell/libhunspell-1.6.la
89 -+hunspell_analyze_SOURCES=analyze.cxx
90 -+hunspell_analyze_LDADD = ../hunspell/libhunspell-1.6.la
91 -
92 --chmorph_SOURCES=chmorph.cxx
93 --chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.6.la
94 -+hunspell_chmorph_SOURCES=chmorph.cxx
95 -+hunspell_chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.6.la
96 -
97 - noinst_PROGRAMS=example
98 -
99 ---- hunspell-1.6.0/src/tools/munch.cxx
100 -+++ hunspell-1.6.0/src/tools/munch.cxx
101 -@@ -81,14 +81,14 @@
102 - wf = mystrdup(argv[1]);
103 - } else {
104 - fprintf(stderr, "correct syntax is:\n");
105 -- fprintf(stderr, "munch word_list_file affix_file\n");
106 -+ fprintf(stderr, "hunspell-munch word_list_file affix_file\n");
107 - exit(1);
108 - }
109 - if (argv[2]) {
110 - af = mystrdup(argv[2]);
111 - } else {
112 - fprintf(stderr, "correct syntax is:\n");
113 -- fprintf(stderr, "munch word_list_file affix_file\n");
114 -+ fprintf(stderr, "hunspell-munch word_list_file affix_file\n");
115 - exit(1);
116 - }
117 -
118 ---- hunspell-1.6.0/src/tools/unmunch.cxx
119 -+++ hunspell-1.6.0/src/tools/unmunch.cxx
120 -@@ -76,14 +76,14 @@
121 - wf = mystrdup(argv[1]);
122 - } else {
123 - fprintf(stderr, "correct syntax is:\n");
124 -- fprintf(stderr, "unmunch dic_file affix_file\n");
125 -+ fprintf(stderr, "hunspell-unmunch dic_file affix_file\n");
126 - exit(1);
127 - }
128 - if (argv[2]) {
129 - af = mystrdup(argv[2]);
130 - } else {
131 - fprintf(stderr, "correct syntax is:\n");
132 -- fprintf(stderr, "unmunch dic_file affix_file\n");
133 -+ fprintf(stderr, "hunspell-unmunch dic_file affix_file\n");
134 - exit(1);
135 - }
136 -
137 ---- hunspell-1.6.0/tests/test.sh
138 -+++ hunspell-1.6.0/tests/test.sh
139 -@@ -74,7 +74,7 @@
140 - shopt -s expand_aliases
141 -
142 - alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell'
143 --alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/analyze'
144 -+alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell-analyze'
145 -
146 - if [ "$VALGRIND" != "" ]; then
147 - rm -f $TEMPDIR/test.pid*
148 -@@ -83,7 +83,7 @@
149 - fi
150 -
151 - 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'
152 -- 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'
153 -+ 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'
154 - fi
155 -
156 - # Tests good words
157
158 diff --git a/app-text/hunspell/hunspell-1.6.1-r1.ebuild b/app-text/hunspell/hunspell-1.6.1-r1.ebuild
159 deleted file mode 100644
160 index 2788a1246fa..00000000000
161 --- a/app-text/hunspell/hunspell-1.6.1-r1.ebuild
162 +++ /dev/null
163 @@ -1,84 +0,0 @@
164 -# Copyright 1999-2017 Gentoo Foundation
165 -# Distributed under the terms of the GNU General Public License v2
166 -
167 -EAPI=6
168 -inherit eutils multilib autotools flag-o-matic versionator
169 -
170 -MY_P=${PN}-${PV/_beta/b}
171 -
172 -DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo"
173 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
174 -HOMEPAGE="https://github.com/hunspell"
175 -
176 -SLOT="0/$(get_version_component_range 1-2)"
177 -LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
178 -IUSE="ncurses nls readline static-libs"
179 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
180 -
181 -RDEPEND="
182 - ncurses? ( sys-libs/ncurses:0= )
183 - readline? ( sys-libs/readline:= )"
184 -DEPEND="${RDEPEND}
185 - sys-devel/gettext"
186 -
187 -LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id
188 -is it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk
189 -zu"
190 -
191 -PDEPEND="app-dicts/myspell-en"
192 -for lang in ${LANGS}; do
193 - IUSE+=" l10n_${lang}"
194 - case ${lang} in
195 - de-1901) dict="de_1901" ;;
196 - pt-BR) dict="pt-br" ;;
197 - *) dict="${lang}" ;;
198 - esac
199 - PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
200 -done
201 -unset dict lang LANGS
202 -
203 -S=${WORKDIR}/${MY_P}
204 -
205 -DOCS=(
206 - AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell
207 - AUTHORS.myspell README.myspell license.myspell README.md
208 -)
209 -
210 -PATCHES=(
211 - # Upstream package creates some executables which names are too generic
212 - # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
213 - # It modifies a Makefile.am file, hence eautoreconf.
214 - "${FILESDIR}/${PN}-1.6.0-renameexes.patch"
215 -)
216 -
217 -src_prepare() {
218 - default
219 - eautoreconf
220 -}
221 -
222 -src_configure() {
223 - # missing somehow, and I am too lazy to fix it properly
224 - [[ ${CHOST} == *-darwin* ]] && append-libs -liconv
225 -
226 - # I wanted to put the include files in /usr/include/hunspell.
227 - # You can do that, libreoffice can find them anywhere, just
228 - # ping me when you do so ; -- scarabeus
229 - econf \
230 - $(use_enable nls) \
231 - $(use_with ncurses ui) \
232 - $(use_with readline readline) \
233 - $(use_enable static-libs static)
234 -}
235 -
236 -src_install() {
237 - default
238 -
239 - einstalldocs
240 -
241 - prune_libtool_files --all
242 -
243 - #342449
244 - pushd "${ED}"/usr/$(get_libdir)/ >/dev/null
245 - ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.1,.so}
246 - popd >/dev/null
247 -}