Package Details: enchant-pure 2.2.12-1

Git Clone URL: https://aur.archlinux.org/enchant-pure.git (read-only, click to copy)
Package Base: enchant-pure
Description: A wrapper library for pure and generic spell checking for all languages, supporting Aspell and Myspell/Hunspell backend engines
Upstream URL: https://github.com/AbiWord/enchant
Licenses: LGPL
Conflicts: enchant
Provides: enchant
Submitter: sbmomeni
Maintainer: sbmomeni
Last Packager: sbmomeni
Votes: 11
Popularity: 0.000111
First Submitted: 2013-07-31 19:47
Last Updated: 2020-10-16 06:51

Required by (215)

Sources (1)

Latest Comments

1 2 Next › Last »

sbmomeni commented on 2020-01-25 19:06

@Feresey The "arch" array is updated. However, the "pkgconf" and "gcc" packages are members of the "base-devel" group and should not be included in the "makedepends" array (they are assumed to be installed in all supported build environments).

Feresey commented on 2020-01-08 20:44

Please correct PKGBUILD


diff --git a/PKGBUILD b/PKGBUILD
index ed0bbaa..027400f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,19 @@
 # Maintainer: Behnam Momeni <sbmomeni [at the] gmail [dot] com>

-pkgname=('enchant-pure') +pkgname=enchant-pure

_pkgname=enchant -pkgver="2.2.7" +pkgver=2.2.7 pkgrel=1

pkgdesc="A wrapper library for pure and generic spell checking for all languages, supporting Aspell and Myspell/Hunspell backend engines" url="https://github.com/AbiWord/enchant"

-arch=('any') +arch=('x86_64') license=('LGPL')

depends=('aspell>=0.50.0' 'glib2' 'hunspell') +makedepends=(pkgconf gcc) provides=("${_pkgname}") conflicts=("${_pkgname}") source=("https://github.com/AbiWord/enchant/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")

sbmomeni commented on 2018-01-03 19:02

Updated to v2.2.1

sbmomeni commented on 2017-12-11 18:37

@nlowe Updated.

nlowe commented on 2017-12-07 17:03

gnome-control-center would not launch with this package, I had to install enchant from the official repos (it was looking for libenchant.so.2)

sbmomeni commented on 2017-01-17 10:25

@notuxius
Fixed.

notuxius commented on 2017-01-15 16:09

@sbmomeni errors upon build:

/usr/include/hunspell/w_char.hxx:47:8: error: using typedef-name ‘w_char’ after ‘struct’
struct w_char {
^~~~~~
In file included from atypes.hxx:18:0,
from myspell_checker.cpp:41:
w_char.hxx:11:3: note: ‘w_char’ has a previous declaration here
} w_char;
^~~~~~
In file included from /usr/include/hunspell/hunspell.hxx:77:0,
from myspell_checker.cpp:52:
/usr/include/hunspell/w_char.hxx:70:8: error: redefinition of ‘struct replentry’
struct replentry {
^~~~~~~~~
In file included from atypes.hxx:18:0,
from myspell_checker.cpp:41:
w_char.hxx:14:8: error: previous definition of ‘struct replentry’
struct replentry {
^~~~~~~~~
In file included from /usr/include/hunspell/hunspell.hxx:78:0,
from myspell_checker.cpp:52:
/usr/include/hunspell/atypes.hxx: In function ‘void HUNSPELL_WARNING(FILE*, const char*, ...)’:
/usr/include/hunspell/atypes.hxx:51:20: error: redefinition of ‘void HUNSPELL_WARNING(FILE*, const char*, ...)’
static inline void HUNSPELL_WARNING(FILE*, const char*, ...) {}
^~~~~~~~~~~~~~~~
In file included from myspell_checker.cpp:41:0:
atypes.hxx:10:20: note: ‘void HUNSPELL_WARNING(FILE*, const char*, ...)’ previously defined here
static inline void HUNSPELL_WARNING(FILE *, const char *, ...) {}
^~~~~~~~~~~~~~~~
In file included from /usr/include/hunspell/hunspell.hxx:78:0,
from myspell_checker.cpp:52:
/usr/include/hunspell/atypes.hxx: At global scope:
/usr/include/hunspell/atypes.hxx:101:8: error: redefinition of ‘struct guessword’
struct guessword {
^~~~~~~~~
In file included from myspell_checker.cpp:41:0:
atypes.hxx:83:8: error: previous definition of ‘struct guessword’
struct guessword {
^~~~~~~~~
In file included from /usr/include/hunspell/hunspell.hxx:78:0,
from myspell_checker.cpp:52:
/usr/include/hunspell/atypes.hxx:107:34: error: conflicting declaration ‘typedef class std::vector<std::__cxx11::basic_string<char> > mapentry’
typedef std::vector<std::string> mapentry;
^~~~~~~~
In file included from myspell_checker.cpp:41:0:
atypes.hxx:89:8: note: previous declaration as ‘struct mapentry’
struct mapentry {
^~~~~~~~
In file included from /usr/include/hunspell/hunspell.hxx:78:0,
from myspell_checker.cpp:52:
/usr/include/hunspell/atypes.hxx:108:27: error: conflicting declaration ‘typedef class std::vector<short unsigned int> flagentry’
typedef std::vector<FLAG> flagentry;
^~~~~~~~~
In file included from myspell_checker.cpp:41:0:
atypes.hxx:94:8: note: previous declaration as ‘struct flagentry’
struct flagentry {
^~~~~~~~~
In file included from /usr/include/hunspell/hunspell.hxx:78:0,
from myspell_checker.cpp:52:
/usr/include/hunspell/atypes.hxx:110:8: error: redefinition of ‘struct patentry’
struct patentry {
^~~~~~~~
In file included from myspell_checker.cpp:41:0:
atypes.hxx:99:8: error: previous definition of ‘struct patentry’
struct patentry {
^~~~~~~~
myspell_checker.cpp: In member function ‘bool MySpellChecker::checkWord(const char*, size_t)’:
myspell_checker.cpp:171:26: warning: ‘int Hunspell::spell(const char*, int*, char**)’ is deprecated [-Wdeprecated-declarations]
if (myspell->spell(word8))
^
In file included from myspell_checker.cpp:52:0:
/usr/include/hunspell/hunspell.hxx:131:20: note: declared here
H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
^~~~~
myspell_checker.cpp: In member function ‘char** MySpellChecker::suggestWord(const char*, size_t, size_t*)’:
myspell_checker.cpp:199:40: warning: ‘int Hunspell::suggest(char***, const char*)’ is deprecated [-Wdeprecated-declarations]
*nsug = myspell->suggest(&sugMS, word8);
^
In file included from myspell_checker.cpp:52:0:
/usr/include/hunspell/hunspell.hxx:141:20: note: declared here
H_DEPRECATED int suggest(char*** slst, const char* word);
^~~~~~~
make[2]: *** [Makefile:560: myspell_checker.lo] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-not/aur-enchant-pure/src/enchant-1.6.1/src/myspell'
make[1]: *** [Makefile:617: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-not/aur-enchant-pure/src/enchant-1.6.1/src'
make: *** [Makefile:498: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build enchant-pure.

sbmomeni commented on 2016-09-14 10:24

@notuxius
Updated.

notuxius commented on 2016-09-14 02:26

i get the following errors upon build:

myspell_checker.cpp: In member function ‘bool MySpellChecker::checkWord(const char*, size_t)’:
myspell_checker.cpp:154:12: error: ‘MAXWORDLEN’ was not declared in this scope
if (len > MAXWORDLEN || !g_iconv_is_valid(m_translate_in))
^~~~~~~~~~
myspell_checker.cpp:160:13: error: ‘MAXWORDLEN’ was not declared in this scope
char word8[MAXWORDLEN + 1];
^~~~~~~~~~
myspell_checker.cpp:161:14: error: ‘word8’ was not declared in this scope
char *out = word8;
^~~~~
myspell_checker.cpp: In member function ‘char** MySpellChecker::suggestWord(const char*, size_t, size_t*)’:
myspell_checker.cpp:178:12: error: ‘MAXWORDLEN’ was not declared in this scope
if (len > MAXWORDLEN
^~~~~~~~~~
myspell_checker.cpp:186:13: error: ‘MAXWORDLEN’ was not declared in this scope
char word8[MAXWORDLEN + 1];
^~~~~~~~~~
myspell_checker.cpp:187:14: error: ‘word8’ was not declared in this scope
char *out = word8;
^~~~~
myspell_checker.cpp: In member function ‘bool MySpellChecker::checkWord(const char*, size_t)’:
myspell_checker.cpp:173:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [Makefile:420: myspell_checker.lo] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-nurunner/aur-enchant-pure/src/enchant-1.6.0/src/myspell'
make[1]: *** [Makefile:427: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-nurunner/aur-enchant-pure/src/enchant-1.6.0/src'
make: *** [Makefile:379: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build enchant-pure.

sbmomeni commented on 2013-08-03 13:40

The 'dbus-glib' dependency is updated to indicate its minimum required version.