Commit Graph
38 Commits
Author SHA1 Message Date
Jack Nagel 735ec9f0cc aspell: can't access resources directly in class body 2013-09-17 21:29:55 -05:00
Jack Nagel 1f5df70be6 aspell: use resources
An updated brew-aspell-dictionaries script is on the way, but it depends
on features that haven't been merged yet.
2013-09-16 23:08:30 -05:00
Jack Nagel cb9317eb03 Use ENV.{append,prepend}_path in formulae 2013-08-19 17:21:14 -05:00
Jack Nagel 226bafac7a aspell: fix audit warning
Closes #19731.
2013-06-03 19:02:38 -05:00
Alexander Wenzowski 902e0d8dfb aspell: update remaining method names
Closes #19367.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-22 17:56:17 -05:00
Simon Sigurdhsson d6a2964eab Remove global methods from formulae
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.

Closes #19331.
Closes #19343.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-21 23:48:50 -05:00
Adam Vandenberg a0f3ecae64 aspell: autogenerate options
Generate options from the available_languages list.

Closes #9723.
2013-02-02 16:39:34 -08:00
korthaerd c3e23b43ce aspell formula description --with-lang
Closes #17446.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-30 13:13:14 -08:00
Yousef Ourabi e2ebb043b3 aspell: add English dictionary by default
Fixes #16031.
Closes #16972.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-12 11:30:08 -08:00
Jack Nagel 7053db47f7 aspell: restore mirrors to language subformulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03 23:27:10 -05:00
Mike McQuaid bf6ae3235d Fix subformulae sha1s. 2012-09-03 18:59:29 -07:00
Mike McQuaid 3c5ca25cad Batch convert MD5 formula to SHA1.
Closes #14653.
2012-09-03 11:36:42 -07:00
Jack Nagel 4b262f3eed aspell: style nits
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-10 16:04:30 -05:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel f6e5cd16df aspell: use a space in class inheritance
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 13:07:23 -06:00
Jack Nagel 164c57f284 Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel d0dfc22b50 Use automatic mirror selection for GNU downloads
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>
2011-09-12 15:08:20 -05:00
Max Howell e0678b753c Aspell builds with LLVM
Closes #7497.
2011-09-08 10:11:28 +01:00
Colin Hebert cf5d2a5635 Aspell: Fix broken languages
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>
2011-07-29 08:09:34 -07:00
Colin Hebert 92fac5c1f1 Aspell 0.60.6.1
Includes update to english (7.1-0), spanish (1.11-2)
Add the kannada language (0.01-1)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-29 08:09:24 -07:00
Adam Vandenberg f4a925da5a Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg 0fcb6d8406 aspell: keep going if a bad lang is passed 2011-03-20 21:16:19 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Alexis Hildebrandt 1f41920623 Update Formula: aspell
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>
2010-09-16 13:09:46 -07:00
Alexis Hildebrandt af54688851 Update Formula: aspell
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>
2010-09-16 09:29:42 -07:00
Chris Hoffman 739dcdb363 Use renamed ARGV#options_only in aspell formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-10 07:36:38 -07:00
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00
Adam Vandenberg c5d56bc501 Add "fails_with_llvm" to formula to document LLVM build breaks.
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.)
2010-06-16 11:50:36 -07:00
Alexis Hildebrandt 4d8e13f501 Update Formula: aspell. Fix dictionary install.
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>
2010-02-08 16:31:32 +01:00
spahl 118742b413 Fixes #547
Fixed syntax error in aspell formula.
2010-01-24 13:14:45 +00:00
Max Howell 1ad6104bc8 aspell caveats so people know to use --lang 2010-01-24 12:27:40 +00:00
Alexis Hildebrandt 3d2710962e Update Formula: aspell. Add language dictionaries
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.
2010-01-24 12:27:40 +00:00
Max Howell dde1dd498c Revert "Aspell compiles with newer LLVM."
This reverts commit f34d241fa1.

Doesn't seemingly build with LLVM for some people.
2009-12-16 19:24:37 +00:00
Adam Vandenberg f34d241fa1 Aspell compiles with newer LLVM. 2009-12-12 16:24:16 +00:00
Max Howell a82e823935 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Max Howell f2020a97b0 Fixes #88; Aspell doesn't compile with LLVM 2009-10-12 15:46:48 +01:00
Adam Vandenberg a7fc7eef7b Don't force gcc in Aspell, now that LD is set correctly. 2009-10-02 15:33:29 +01:00
Philip Weaver 08306c3129 Add Formula for aspell.
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.
2009-09-30 01:24:28 +01:00