Removes any global methods from formulae, and moves #kext_prefix (which
seems to be at least somewhat abstractable) into the Formula class. The
only formula with global methods is now aspell; it (and its generating
script in contrib) has been changed to prefix that method with
`aspell_`, to minimize the risk of name collisions.
ClosesHomebrew/homebrew#19331.
ClosesHomebrew/homebrew#19343.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The binary 'aspell' is required by some languages during configuration, so the path is also set before calling "./configure"
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Add --all option to install all available dictionaries.
List dictionaries that fail to install in caveats and omit these
when installing all dictionaires via the --all option.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Some changes on how language dictionary formulae are handled so
updating to new dictionary version can be handled by the
brew-aspell-dictionaries script in contributions.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.
Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
Add aspell binaries to $PATH when installing dictionaries,
so that the aspell prezip binary finds its prezip-bin.
If it doesn't it fails silently and installs empty dictionaries.
Signed-off-by: David Höppner <0xffea@gmail.com>
Handling dictionaries for aspell is quirky. Separate brews for
the dictionaries feel strange, just as having all dictionaries
in one aspell dictionary brew.
Adding the dictionaries as options to aspell does not feel right
either, but not having any dictionaries makes aspell useless.
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
GNU Aspell is a Free and Open Source spell checker designed to eventually
replace Ispell.
A pretty vanilla formula. I don't know what configure options would be
useful. As it is, it works for me with Emacs.