mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
app-text/enchant: remove old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST enchant-1.6.0.tar.gz 607018 BLAKE2B 623473ddc9fdddbfd7ce4861ec22ab8d4d4f790ee29b189056a809783fbd2a4f42c45ac3865a5533d9ea8be26a6825bc7ae957ee6e8a04db693791d1a9070a30 SHA512 0ca1634bb783df51512df4abecc89abdadee6baf7330d6e5f90cc15d10779896a3521a1c079ecc07e4df4f7a018ce398cca9d0125a7845a314a059840ebc9137
|
||||
DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7359b4edcdc8d9180af68687230bcc9f7d1abb9f85ac673478530e5674366c9bc7d08b983e7226725b2cdd73d3 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036
|
||||
DIST enchant-2.1.0.tar.gz 962857 BLAKE2B f1ee729f20f06c14cbe81c27eeff5ff3bfe9e815bdf278c0c5e27ab48a78301e0731cfc2a55d065cfc702b5939623e352817a3fa6102636bca6779a8903ce537 SHA512 5dee7c5693ffc4ca0933e0881ca6e1f6bab1553af79cadf29733589790c6626db524cf33b0008b3de4c48e122ed93929478cce35608d9a52ab71edb51f598f27
|
||||
DIST enchant-2.1.1.tar.gz 961821 BLAKE2B 1aaedc16e2108a382390c9401233d6a77dcff8732fb0af1a35816993b8eb127f22f9e6f4359b997f6793f53dd37c50c1c69d2aa09cf53bb5c47baa47277e044e SHA512 5cb57198ea826da6d9ed9042edca87fcca9b811e8e75b382ed1568c5b1d8d4f8d6ba732a167c8d52261cfce540f23f84bd4d2889a4beafd2db1d8509c0b6bc15
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Spellchecker wrapping library"
|
||||
HOMEPAGE="http://www.abisource.com/enchant/"
|
||||
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
IUSE="aspell +hunspell static-libs zemberek"
|
||||
REQUIRED_USE="|| ( hunspell aspell zemberek )"
|
||||
|
||||
COMMON_DEPENDS="
|
||||
dev-libs/glib:2
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( >=app-text/hunspell-1.2.1:0= )
|
||||
zemberek? ( dev-libs/dbus-glib )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPENDS}
|
||||
zemberek? ( app-text/zemberek-server )
|
||||
"
|
||||
DEPEND="${COMMON_DEPENDS}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS="AUTHORS BUGS ChangeLog HACKING MAINTAINERS NEWS README TODO"
|
||||
|
||||
PATCHES=(
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13772
|
||||
"${FILESDIR}/${P}-hunspell140_fix.patch"
|
||||
"${FILESDIR}/${P}-hunspell150_fix.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e 's:noinst_PROGRAMS:check_PROGRAMS:' \
|
||||
tests/Makefile.am || die
|
||||
mv configure.in configure.ac || die
|
||||
AT_M4DIR=ac-helpers eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable aspell) \
|
||||
$(use_enable hunspell myspell) \
|
||||
$(use_with hunspell system-myspell) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable zemberek) \
|
||||
--disable-ispell \
|
||||
--with-myspell-dir="${EPREFIX}"/usr/share/myspell/
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
https://bugs.gentoo.org/583486
|
||||
http://bugzilla.abisource.com/show_bug.cgi?id=13772
|
||||
|
||||
--- enchant-1.6.0/src/myspell/myspell_checker.cpp
|
||||
+++ enchant-1.6.0/src/myspell/myspell_checker.cpp
|
||||
@@ -148,6 +148,10 @@
|
||||
g_iconv_close(m_translate_out);
|
||||
}
|
||||
|
||||
+#ifndef MAXWORDLEN
|
||||
+# define MAXWORDLEN 100
|
||||
+#endif
|
||||
+
|
||||
bool
|
||||
MySpellChecker::checkWord(const char *utf8Word, size_t len)
|
||||
{
|
||||
Reference in New Issue
Block a user