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."
===> The following configuration options are available for enchant-1.6.0_12:
====> Options available for the multi SPELL: you have to choose at least one of them
ASPELL=off: Spell checking support via GNU Aspell
HSPELL=off: Spell checking via Hspell
HUNSPELL=on: Spell checking via Hunspell
ISPELL=off: Spell checking support via Ispell
ZEMBEREK=off: Spell checking via Zemberek
===> Use 'make config' to modify these settings
textproc/enchant: Fix build with ISPELL option
clang++ 16 defaults to C++17 causing errors with the codebase when the
ISPELL option is turned on. Switching back to C++11 (what upstream did
for 1.6.1) makes it build correctly.
PR: 273649
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Copy enchant to enchant2 for the new version with shared library bump.
Fix typo in ZEMBEREK lib depends line and add missing dependancy.
Rename sorting file in textproc/enchant to fix conflict with textproc/enchant2.
PR: 215083 (based on)
Submitted by: thierry@FreeBSD.org
textproc/enchant: unbreak with hunspell 1.5
myspell_checker.cpp:430:8: error: cannot initialize a variable of type 'char *'
with an rvalue of
type 'const char *'
char *enc = myspell->get_dic_encoding();
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://github.com/hunspell/hunspell/commit/971f8a9cf52e
PR: 214837
Approved by: portmgr blanket
Use options helpers
Use install-strip target to strip binaries (it respect DONTSTRIP which is passed
to env in case we do build WITH_DEBUG)
Switch ispell -> aspell-ispell
Approved by: kwm (gnome)
Fix myspell (hunspell) and ispell backends. It needs to known the exact
directory where the dictonaries are located.
Use MULTI options. A spellcheck library without any spell check backends
is useless.
Switch default to HUNSPELL, it beter maintained.
Stageify.
Make sure we use system hunspell and look in the right location where to
find the dictionaries. [1]
Do the same for hspell and ispell, and use new lib_depend syntax.
USE_GMAKE => USES=gmake and fix bug in configure script.
PR: ports/180660
Submitted by: tijl@
Convert almost all gnome@ ports to OptionsNG, trim header, use USES=pathfix
instead of gnomehack and pet portlint.
Add conflicts with future gnome3 versions.
Reviewed by: miwi, bapt
* Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
eliminate pkg-config run dependency completely, a second phase is needed
and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
versions for some ports.
* Fix other ports so they build with the new glib version.
Thanks to miwi and crees for helping out with some exp-runs.
Approved by: portmgr (miwi & bapt)
Obtained from: gnome team repo
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.
PR: ports/159624
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
- update to 1.3.2
- remove hungarian dictionnary (will be readded later as a separate port)
- rework description
- change WWW
- chase library bump
- add license
- Connect textproc/hunspell to the build
- Unconnect hungarian/hunspell
- Chase hunspell move
- Add an entry to MOVED and UPDATING
Approved by: bapt (mentor)
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Update to 1.2.3. [1]
- Remove the USE_REINPLACE. [1]
- Update the WWW. [1]
- Use the DATADIR in plist. [1]
- Add --{disable|enable}-* for us can control knob better to disable/enable,
because of autocheck exists in the configure.
- Disable hspell support for now, it needs newer hspell 0.9 that has a new
hspell_get_dictionary_path() function. Current in ports only has hspell 0.8.
PR: ports/94326 [1]
Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> [1]
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run.
Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port. Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version. To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER. Both macros accept the same argument: a libtool version.
For example, to use the ports version of libtool-1.5, add the following to
your Makefile:
USE_LIBTOOL_VER= 15
To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:
USE_INC_LIBTOOL_VER= 15
With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).
PR: 63944
Based on work by:eik and marcus
Approved by: ade (autotools maintainer)
Tested by: kris on pointyhat
Bound to be hidden problems: You bet
Enable the Aspell support is turn on by default now. AbiWord's spell checker
will not work unless this compiles with Aspell support.
Reviewed by: marcus and adamw
Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".
For ports-in-waiting:
USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13
USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213
USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14
Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
Update to 1.1.3, and de-conditionalize the ispell bidness. Ispell is
included in the enchant source, and is built automatically.
PR: ports/63250
Submitted by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
{a,h,i}spell libs are only installed if you build enchant with support for them.
So, conditionalize their registration within pkg-plist.
Hurrrrrr... I should have caught that earlier...