# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= enchant1 VERSION= 1.6.1 REVISION= 1 KEYWORDS= textproc VARIANTS= standard SDESC[standard]= Dictionary/spellchecking framework (legacy) HOMEPAGE= https://abiword.github.io/enchant/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GITHUB/AbiWord:enchant:enchant-1-6-1 DISTFILE[1]= generated:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILDRUN_DEPENDS= hunspell:single:standard aspell:primary:standard USES= autoreconf gmake libtool pkgconfig GNOME_COMPONENTS= glib LICENSE= LGPL21+:single LICENSE_TERMS= single:{{WRKDIR}}/TERMS LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING.LIB LICENSE_AWK= TERMS:"^$$" LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/enchant.h LICENSE_SCHEME= solo FPC_EQUIVALENT= textproc/enchant MUST_CONFIGURE= gnu CONFIGURE_ARGS= --disable-voikko --disable-applespell --disable-hspell --disable-ispell --disable-uspell --disable-zemberek --enable-aspell --with-aspell-prefix={{LOCALBASE}} --enable-myspell --with-myspell-dir={{LOCALBASE}} INSTALL_TARGET= install-strip INSTALL_REQ_TOOLCHAIN= yes SOVERSION= 1.6.1 post-install: # avoid name clash with enchant package cd ${STAGEDIR}${PREFIX}/share/enchant && \ ${MV} enchant.ordering enchant1.ordering [FILE:932:descriptions/desc.single] This is the legacy version of enchant. It has been superceded by the "enchant" package (version 2). On the surface, Enchant appears to be a generic spell checking library. You can request dictionaries from it, ask if a word is correctly spelled, get corrections for a misspelled word, etc... Beneath the surface, Enchant is a whole lot more - and less - than that. You'll see that Enchant isn't really a spell checking library at all. "What's that?" you ask. Well, Enchant doesn't try to do any of the work itself. It's lazy, and requires backends to do most of its dirty work. Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around the dlopen() system call. Enchant steps in to provide uniformity and conformity on top of these libraries, and implement certain features that may be lacking in any individual provider library. Everything should "just work" for any and every definition of "just working." [FILE:115:distinfo] ed2b11211a571ab5f963debf4c3bf3fc46541bb9cbb441b2997bd871ba8618d4 194201 AbiWord-enchant-enchant-1-6-1.tar.gz [FILE:366:manifests/plist.single] bin/ enchant enchant-lsmod include/enchant/ enchant++.h enchant-provider.h enchant.h lib/ libenchant.a libenchant.so libenchant.so.%%SOMAJOR%% libenchant.so.%%SOVERSION%% lib/enchant/ libenchant_aspell.a libenchant_aspell.so libenchant_myspell.a libenchant_myspell.so lib/pkgconfig/enchant.pc share/enchant/enchant1.ordering share/man/man1/enchant.1.gz [FILE:424:patches/patch-configure.ac] --- configure.ac.orig 2017-02-08 22:24:36 UTC +++ configure.ac @@ -404,7 +404,7 @@ if test "x$check_aspell" != "xno"; then ,) AC_CHECK_LIB(aspell,get_aspell_dict_info_list,ASPELL_CFLAGS="-DASPELL_0_50_0=1",) - ASPELL_CFLAGS+=" -DHAVE_PSPELL_H" + ASPELL_CFLAGS="${ASPELL_CFLAGS} -DHAVE_PSPELL_H" elif test -f "$aspell_prefix/include/aspell.h"; then AC_MSG_RESULT([yes (aspell)]) [FILE:508:patches/patch-src_Makefile.am] --- src/Makefile.am.orig 2017-02-08 22:24:36 UTC +++ src/Makefile.am @@ -1,5 +1,6 @@ SUBDIRS=. aspell ispell uspell myspell hspell applespell voikko zemberek +AM_LIBTOOLFLAGS = --tag cc AM_CPPFLAGS=-I$(top_srcdir) $(ENCHANT_CFLAGS) $(CC_WARN_CFLAGS) -DENCHANT_GLOBAL_MODULE_DIR=\"$(libdir)/enchant\" -DENCHANT_GLOBAL_ORDERING=\"$(datadir)/enchant\" -D_ENCHANT_BUILD=1 -DENCHANT_VERSION_STRING=\"@ENCHANT_MAJOR_VERSION@.@ENCHANT_MINOR_VERSION@.@ENCHANT_MICRO_VERSION@\" lib_LTLIBRARIES = libenchant.la [FILE:458:patches/patch-src_enchant.c] --- src/enchant.c.orig 2017-02-08 22:24:36 UTC +++ src/enchant.c @@ -1592,7 +1592,7 @@ enchant_load_provider_ordering (EnchantB for (iter = conf_dirs; iter; iter = iter->next) { char *ordering_file; - ordering_file = g_build_filename (iter->data, "enchant.ordering", NULL); + ordering_file = g_build_filename (iter->data, "enchant1.ordering", NULL); enchant_load_ordering_from_file (broker, ordering_file); g_free (ordering_file); }