Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/enchant/files/, app-text/enchant/
Date: Sun, 02 Feb 2020 19:45:44
Message-Id: 1580672719.f0f6d899550a825cb044749275f0b70a109611b1.leio@gentoo
1 commit: f0f6d899550a825cb044749275f0b70a109611b1
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 19:41:54 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 19:45:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f6d899
7
8 app-text/enchant: drop enchant-2 versions not in SLOT=2
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 app-text/enchant/Manifest | 5 ---
14 app-text/enchant/enchant-2.1.0.ebuild | 51 ----------------------
15 app-text/enchant/enchant-2.1.1.ebuild | 45 -------------------
16 app-text/enchant/enchant-2.1.2.ebuild | 45 -------------------
17 app-text/enchant/enchant-2.2.3.ebuild | 45 -------------------
18 app-text/enchant/enchant-2.2.4.ebuild | 45 -------------------
19 .../files/enchant-2.1.0-hunspell150_fix.patch | 25 -----------
20 7 files changed, 261 deletions(-)
21
22 diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest
23 index cd7ba07dd2c..2ca1681a21f 100644
24 --- a/app-text/enchant/Manifest
25 +++ b/app-text/enchant/Manifest
26 @@ -1,7 +1,2 @@
27 DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7359b4edcdc8d9180af68687230bcc9f7d1abb9f85ac673478530e5674366c9bc7d08b983e7226725b2cdd73d3 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036
28 -DIST enchant-2.1.0.tar.gz 962857 BLAKE2B f1ee729f20f06c14cbe81c27eeff5ff3bfe9e815bdf278c0c5e27ab48a78301e0731cfc2a55d065cfc702b5939623e352817a3fa6102636bca6779a8903ce537 SHA512 5dee7c5693ffc4ca0933e0881ca6e1f6bab1553af79cadf29733589790c6626db524cf33b0008b3de4c48e122ed93929478cce35608d9a52ab71edb51f598f27
29 -DIST enchant-2.1.1.tar.gz 961821 BLAKE2B 1aaedc16e2108a382390c9401233d6a77dcff8732fb0af1a35816993b8eb127f22f9e6f4359b997f6793f53dd37c50c1c69d2aa09cf53bb5c47baa47277e044e SHA512 5cb57198ea826da6d9ed9042edca87fcca9b811e8e75b382ed1568c5b1d8d4f8d6ba732a167c8d52261cfce540f23f84bd4d2889a4beafd2db1d8509c0b6bc15
30 -DIST enchant-2.1.2.tar.gz 963236 BLAKE2B 3adaf9d96c7e2d7c5e31fe31ac426230f2e88b1cd6f68157e11f13c30fc5c161723d5a5b40bbe158307ce7352e098cd22272f4a75786854f7d82a0c5694b0f2b SHA512 6cb2eeccc617c005998b16ebc33a84a05cec116b26fd679fc1416110821a85a16605c8564672e1168ac6c865cfcca6680005d1219aa615ca1c2393bd523ae0c4
31 -DIST enchant-2.2.3.tar.gz 957451 BLAKE2B 294c4eb7afbe97a2c8076b1b26640cb15d13dde64de7879557992e3c8ec96d68ff4fbc2c911d3c6d8811d4d5ca5a104040941ab59f8a18e324134e7ac38a2dfa SHA512 abde9d6fec25edff694570455fd4c6e8e2e2c41a6b133bbb31a344761137a354cc1c655e53374cf712bf311c3732dc721e9ffd2dc933d78ec8ccf224350635d6
32 -DIST enchant-2.2.4.tar.gz 953026 BLAKE2B c1745c365c4084d92988105e072b4776e7f565a53748fdda67ab792777ce78276de5f843ae095d7c025f4f08cfa5daa5e3f9c26acf4e98b0978d589c9e9e076b SHA512 3860f04e276e1afa8969041b3f57411136d6b96ecf90996cdb122739e87be432f12219d2635c29d2e7ef3f2eeb366013026b6f8327a9749ffbc3a1dfafb4b870
33 DIST enchant-2.2.7.tar.gz 951995 BLAKE2B 32232a0a8e5003dcc056b6916f95274f357ac2ab69a08fde806da12487f63eba273a57049250fc75699fb545e98e25b95dcaf00c67af2ceabe779b8798f24a5a SHA512 696455cf782b3186d19988ed59ca3cc6030a431d44ef3828039590afb08fd282a79ce6246a342e6bf7a0bf3bf63d4822d841ba01394da9f9e4394a491b2373b6
34
35 diff --git a/app-text/enchant/enchant-2.1.0.ebuild b/app-text/enchant/enchant-2.1.0.ebuild
36 deleted file mode 100644
37 index 7edc38a439e..00000000000
38 --- a/app-text/enchant/enchant-2.1.0.ebuild
39 +++ /dev/null
40 @@ -1,51 +0,0 @@
41 -# Copyright 1999-2018 Gentoo Foundation
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=6
45 -
46 -DESCRIPTION="Spellchecker wrapping library"
47 -HOMEPAGE="https://abiword.github.io/enchant/"
48 -SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz"
49 -
50 -LICENSE="LGPL-2.1"
51 -SLOT="0"
52 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
53 -
54 -IUSE="aspell +hunspell static-libs test"
55 -REQUIRED_USE="|| ( hunspell aspell )"
56 -
57 -# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742
58 -COMMON_DEPENDS="
59 - >=dev-libs/glib-2.6:2
60 - aspell? ( app-text/aspell )
61 - hunspell? ( >=app-text/hunspell-1.2.1:0= )"
62 -
63 -RDEPEND="${COMMON_DEPENDS}"
64 -
65 -DEPEND="${COMMON_DEPENDS}
66 - virtual/pkgconfig
67 -"
68 -# test? ( dev-libs/unittest++ )
69 -
70 -PATCHES=(
71 - # Fix build with hunspell 1.5
72 - # https://bugs.gentoo.org/show_bug.cgi?id=600952
73 - "${FILESDIR}"/${PN}-2.1.0-hunspell150_fix.patch
74 -)
75 -
76 -RESTRICT="test"
77 -
78 -src_configure() {
79 - econf \
80 - $(use_with aspell) \
81 - $(use_with hunspell) \
82 - $(use_enable static-libs static) \
83 - --without-hspell \
84 - --without-voikko \
85 - --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
86 -}
87 -
88 -src_install() {
89 - default
90 - find "${D}" -name '*.la' -delete || die
91 -}
92
93 diff --git a/app-text/enchant/enchant-2.1.1.ebuild b/app-text/enchant/enchant-2.1.1.ebuild
94 deleted file mode 100644
95 index e6c8d4bc6a3..00000000000
96 --- a/app-text/enchant/enchant-2.1.1.ebuild
97 +++ /dev/null
98 @@ -1,45 +0,0 @@
99 -# Copyright 1999-2018 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=6
103 -
104 -DESCRIPTION="Spellchecker wrapping library"
105 -HOMEPAGE="https://abiword.github.io/enchant/"
106 -SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz"
107 -
108 -LICENSE="LGPL-2.1"
109 -SLOT="0/2"
110 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
111 -
112 -IUSE="aspell +hunspell static-libs test"
113 -REQUIRED_USE="|| ( hunspell aspell )"
114 -
115 -# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742
116 -COMMON_DEPENDS="
117 - >=dev-libs/glib-2.6:2
118 - aspell? ( app-text/aspell )
119 - hunspell? ( >=app-text/hunspell-1.2.1:0= )"
120 -
121 -RDEPEND="${COMMON_DEPENDS}"
122 -
123 -DEPEND="${COMMON_DEPENDS}
124 - virtual/pkgconfig
125 -"
126 -# test? ( dev-libs/unittest++ )
127 -
128 -RESTRICT="test"
129 -
130 -src_configure() {
131 - econf \
132 - $(use_with aspell) \
133 - $(use_with hunspell) \
134 - $(use_enable static-libs static) \
135 - --without-hspell \
136 - --without-voikko \
137 - --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
138 -}
139 -
140 -src_install() {
141 - default
142 - find "${D}" -name '*.la' -delete || die
143 -}
144
145 diff --git a/app-text/enchant/enchant-2.1.2.ebuild b/app-text/enchant/enchant-2.1.2.ebuild
146 deleted file mode 100644
147 index e6c8d4bc6a3..00000000000
148 --- a/app-text/enchant/enchant-2.1.2.ebuild
149 +++ /dev/null
150 @@ -1,45 +0,0 @@
151 -# Copyright 1999-2018 Gentoo Foundation
152 -# Distributed under the terms of the GNU General Public License v2
153 -
154 -EAPI=6
155 -
156 -DESCRIPTION="Spellchecker wrapping library"
157 -HOMEPAGE="https://abiword.github.io/enchant/"
158 -SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz"
159 -
160 -LICENSE="LGPL-2.1"
161 -SLOT="0/2"
162 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
163 -
164 -IUSE="aspell +hunspell static-libs test"
165 -REQUIRED_USE="|| ( hunspell aspell )"
166 -
167 -# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742
168 -COMMON_DEPENDS="
169 - >=dev-libs/glib-2.6:2
170 - aspell? ( app-text/aspell )
171 - hunspell? ( >=app-text/hunspell-1.2.1:0= )"
172 -
173 -RDEPEND="${COMMON_DEPENDS}"
174 -
175 -DEPEND="${COMMON_DEPENDS}
176 - virtual/pkgconfig
177 -"
178 -# test? ( dev-libs/unittest++ )
179 -
180 -RESTRICT="test"
181 -
182 -src_configure() {
183 - econf \
184 - $(use_with aspell) \
185 - $(use_with hunspell) \
186 - $(use_enable static-libs static) \
187 - --without-hspell \
188 - --without-voikko \
189 - --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
190 -}
191 -
192 -src_install() {
193 - default
194 - find "${D}" -name '*.la' -delete || die
195 -}
196
197 diff --git a/app-text/enchant/enchant-2.2.3.ebuild b/app-text/enchant/enchant-2.2.3.ebuild
198 deleted file mode 100644
199 index f4146b3a703..00000000000
200 --- a/app-text/enchant/enchant-2.2.3.ebuild
201 +++ /dev/null
202 @@ -1,45 +0,0 @@
203 -# Copyright 1999-2019 Gentoo Authors
204 -# Distributed under the terms of the GNU General Public License v2
205 -
206 -EAPI=6
207 -
208 -DESCRIPTION="Spellchecker wrapping library"
209 -HOMEPAGE="https://abiword.github.io/enchant/"
210 -SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz"
211 -
212 -LICENSE="LGPL-2.1"
213 -SLOT="0/2"
214 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
215 -
216 -IUSE="aspell +hunspell static-libs test"
217 -REQUIRED_USE="|| ( hunspell aspell )"
218 -
219 -# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742
220 -COMMON_DEPENDS="
221 - >=dev-libs/glib-2.6:2
222 - aspell? ( app-text/aspell )
223 - hunspell? ( >=app-text/hunspell-1.2.1:0= )"
224 -
225 -RDEPEND="${COMMON_DEPENDS}"
226 -
227 -DEPEND="${COMMON_DEPENDS}
228 - virtual/pkgconfig
229 -"
230 -# test? ( dev-libs/unittest++ )
231 -
232 -RESTRICT="test"
233 -
234 -src_configure() {
235 - econf \
236 - $(use_with aspell) \
237 - $(use_with hunspell) \
238 - $(use_enable static-libs static) \
239 - --without-hspell \
240 - --without-voikko \
241 - --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
242 -}
243 -
244 -src_install() {
245 - default
246 - find "${D}" -name '*.la' -delete || die
247 -}
248
249 diff --git a/app-text/enchant/enchant-2.2.4.ebuild b/app-text/enchant/enchant-2.2.4.ebuild
250 deleted file mode 100644
251 index f4146b3a703..00000000000
252 --- a/app-text/enchant/enchant-2.2.4.ebuild
253 +++ /dev/null
254 @@ -1,45 +0,0 @@
255 -# Copyright 1999-2019 Gentoo Authors
256 -# Distributed under the terms of the GNU General Public License v2
257 -
258 -EAPI=6
259 -
260 -DESCRIPTION="Spellchecker wrapping library"
261 -HOMEPAGE="https://abiword.github.io/enchant/"
262 -SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz"
263 -
264 -LICENSE="LGPL-2.1"
265 -SLOT="0/2"
266 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
267 -
268 -IUSE="aspell +hunspell static-libs test"
269 -REQUIRED_USE="|| ( hunspell aspell )"
270 -
271 -# FIXME: depends on unittest++ but through pkgconfig which is a Debian hack, bug #629742
272 -COMMON_DEPENDS="
273 - >=dev-libs/glib-2.6:2
274 - aspell? ( app-text/aspell )
275 - hunspell? ( >=app-text/hunspell-1.2.1:0= )"
276 -
277 -RDEPEND="${COMMON_DEPENDS}"
278 -
279 -DEPEND="${COMMON_DEPENDS}
280 - virtual/pkgconfig
281 -"
282 -# test? ( dev-libs/unittest++ )
283 -
284 -RESTRICT="test"
285 -
286 -src_configure() {
287 - econf \
288 - $(use_with aspell) \
289 - $(use_with hunspell) \
290 - $(use_enable static-libs static) \
291 - --without-hspell \
292 - --without-voikko \
293 - --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
294 -}
295 -
296 -src_install() {
297 - default
298 - find "${D}" -name '*.la' -delete || die
299 -}
300
301 diff --git a/app-text/enchant/files/enchant-2.1.0-hunspell150_fix.patch b/app-text/enchant/files/enchant-2.1.0-hunspell150_fix.patch
302 deleted file mode 100644
303 index 1dac6c11ec5..00000000000
304 --- a/app-text/enchant/files/enchant-2.1.0-hunspell150_fix.patch
305 +++ /dev/null
306 @@ -1,25 +0,0 @@
307 -From 87b36fd87d8ecc894850d82eed33f48d6c429cad Mon Sep 17 00:00:00 2001
308 -From: Pacho Ramos <pacho@g.o>
309 -Date: Sun, 3 Sep 2017 11:05:42 +0200
310 -Subject: [PATCH] Fix hunspell 1.5 support
311 -
312 ----
313 - providers/enchant_hunspell.cpp | 2 +-
314 - 1 file changed, 1 insertion(+), 1 deletion(-)
315 -
316 -diff --git a/providers/enchant_hunspell.cpp b/providers/enchant_hunspell.cpp
317 -index 609f856..0bc360f 100644
318 ---- a/providers/enchant_hunspell.cpp
319 -+++ b/providers/enchant_hunspell.cpp
320 -@@ -312,7 +312,7 @@ HunspellChecker::requestDictionary(const char *szLang)
321 - if(hunspell == NULL){
322 - return false;
323 - }
324 -- char *enc = hunspell->get_dic_encoding();
325 -+ const char *enc = hunspell->get_dic_encoding();
326 -
327 - m_translate_in = g_iconv_open(enc, "UTF-8");
328 - m_translate_out = g_iconv_open("UTF-8", enc);
329 ---
330 -2.14.1
331 -