Commit graph

38 commits

Author SHA1 Message Date
Jack Nagel
3967e31a57 aspell: can't access resources directly in class body 2013-09-17 21:29:55 -05:00
Jack Nagel
e0bbb73f30 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
a86e4cabd0 Use ENV.{append,prepend}_path in formulae 2013-08-19 17:21:14 -05:00
Jack Nagel
37366debce aspell: fix audit warning
Closes Homebrew/homebrew#19731.
2013-06-03 19:02:38 -05:00
Alexander Wenzowski
af2c5ef498 aspell: update remaining method names
Closes Homebrew/homebrew#19367.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-22 17:56:17 -05:00
Simon Sigurdhsson
a763d3df9f 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 Homebrew/homebrew#19331.
Closes Homebrew/homebrew#19343.

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

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

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

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-12 11:30:08 -08:00
Jack Nagel
71817aaf02 aspell: restore mirrors to language subformulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03 23:27:10 -05:00
Mike McQuaid
5ddc7617b3 Fix subformulae sha1s. 2012-09-03 18:59:29 -07:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Jack Nagel
40cb2664c9 aspell: style nits
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-10 16:04:30 -05:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel
a50bf5fc7b 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
83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel
fa3d89a7c0 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
2bf986c751 Aspell builds with LLVM
Closes Homebrew/homebrew#7497.
2011-09-08 10:11:28 +01:00
Colin Hebert
63c1c176c4 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
966f19333f 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
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg
8f3f245384 aspell: keep going if a bad lang is passed 2011-03-20 21:16:19 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Alexis Hildebrandt
cdfe47ab44 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
f06a8bf8a9 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
834350aa4d 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
7bd947eb0b 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
e1bb919734 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
7fc90c51cf 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
3362d8b1ba Fixes Homebrew/homebrew#547
Fixed syntax error in aspell formula.
2010-01-24 13:14:45 +00:00
Max Howell
5ea471b2f6 aspell caveats so people know to use --lang 2010-01-24 12:27:40 +00:00
Alexis Hildebrandt
e8e56ff489 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
ff08853e2e Revert "Aspell compiles with newer LLVM."
This reverts commit f34d241fa1b43742416192e31271ed80ac427803.

Doesn't seemingly build with LLVM for some people.
2009-12-16 19:24:37 +00:00
Adam Vandenberg
5bb86bda93 Aspell compiles with newer LLVM. 2009-12-12 16:24:16 +00:00
Max Howell
61b2307139 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
8515cce8dc Fixes Homebrew/homebrew#88; Aspell doesn't compile with LLVM 2009-10-12 15:46:48 +01:00
Adam Vandenberg
80739bd761 Don't force gcc in Aspell, now that LD is set correctly. 2009-10-02 15:33:29 +01:00
Philip Weaver
43f4d5a124 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