aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/grass.rb
AgeCommit message (Collapse)Author
2014-04-26Use githubusercontent domainJack Nagel
2014-04-23Use gcc instead of apple-gcc42 when needed.Mike McQuaid
2014-03-17grass: use checksummed patchesJack Nagel
2014-03-08formulae: fix with/without usage.Mike McQuaid
Closes #27275. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-07use opt shortcutsAdam Vandenberg
2014-03-04grass: use wxPythonMisty De Meo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-27grass: use Formula[]Adam Vandenberg
2014-01-04grass: cleanup python usage.Mike McQuaid
2013-11-27grass: postgresql option typoLarry Shaffer
Closes #24723. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-19grass: fix path to mysql libsLarry Shaffer
Closes #24493. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-14Update grass.rbjctull
Upon testing the new commit, found an additional problem with r.external. Adding 'GDAL_DYNAMIC=' to the make and make install steps fixes an error with finding the gdal library for raster layers brought into grass with r.external. See compile instructions that address this here: http://gvsigce.sourceforge.net/wiki/index.php/Compiling_GRASS_GIS Closes #24320. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-13grass: updated patch for HEADjctull
Closes #23080. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-13Update grass.rbjctull
If building head, the existing patch fails because the handling of Documentation in the install procedure is altered. This creates an alternate patch based on build.head? linked to a gist that removes the issue in a working manner. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-13grass: enable build on 10.9Adam Vandenberg
2013-10-26grass: style nitJack Nagel
2013-10-26grass: always depend on Homebrew's cairoJack Nagel
2013-10-24grass 6.4.3Brett Koonce
Closes #23387. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-10grass: fix typos in caveatsTerrell Russell
Closes #22439. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-15Add MacOS.preferred_archMisty De Meo
Replaced the plethora of ternaries we've used all over the place to determine whether x86_64 or i386 is called for.
2013-07-10Replace == :leopard with <= :leopardMisty De Meo
2013-06-03grass: use :postgresql depJack Nagel
2013-06-03Python 2.x and 3.x supportSamuel John
New `depends_on :python` Dependency. New `depends_on :python3` Dependency. To avoid having multiple formulae with endings -py2 and -py3, we will handle support for different pythons (2.x vs. 3.x) in the same formula. Further brewed vs. external python will be transparently supported. The formula also gets a new object `python`, which is false if no Python is available or the user has disabled it. Otherwise it is defined and provides several support methods: python.site_packages # the site-packages in the formula's Cellar python.global_site_packages python.binary # the full path to the python binary python.prefix python.version python.version.major python.version.minor python.xy # => e.g. "python2.7" python.incdir # includes of python python.libdir # the python dylib library python.pkg_config_path # used internally by brew python.from_osx? python.framework? python.universal? python.pypy? python.standard_caveats # Text to set PYTHONPATH for python.from_osx? python.if3then3 # => "" for 2.x and to "3" for 3.x. Further, to avoid code duplication, `python` takes an optional block that is run twice if the formula defines depends_on :python AND :python3. python do system python, 'setup.py', "--prefix=#{prefix}" end Read more in the Homebrew wiki.
2013-04-21Remove global methods from formulaeSimon Sigurdhsson
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-03-12Switch compilers when no build is specifiedJack Nagel
Given the current state of OS X compilers, the original fails_with behavior is becoming less useful, mostly resulting in build failures each time the compiler is updated. So make the following changes: When a build is specified, we retain the old behavior: switch compilers if the available compiler is <= the build, don't switch if it is > the build. When no build is specified, unconditionally switch compilers, and don't output the advice message. This allows us to mark formulae as perpetually failing, avoiding the need to update formulae each time a new compiler build is made available. As a bonus, this makes the logic much easier to reason about. Closes #18175.
2013-02-09Grass: stil fails with clang 425.Adam Vandenberg
Closes #17704.
2013-01-12grass: new style optionsYousef Ourabi
Closes #17044. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-10Revert "Rename readline to gnu-readline"Jack Nagel
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94. Turns out one of the "other things" is a dealbreaker. We only create kegs using a formula's canonical name. However, we do not check that this is the case when mapping existing kegs back to formula objects, and thus a keg with a name that happens to be an alias can fool Homebrew into thinking the canonically-named keg exists. So anything that enumerates kegs and then tries to do stuff with the resulting formula objects will just break. This is obviously worse than the debugger being broken, so reverting this for the time being.
2012-11-10Rename readline to gnu-readlineJack Nagel
The Readline class clashes with the Readline module from the Ruby stdlib. This has mostly worked, but with the recent debugging support's integration of IRB, it is no longer possible for them to coexist. So we need to rename it. The implications of this are: - Anything that depends on readline will reinstall it as "gnu-readline". Anything already installed will continue to function. - "brew upgrade readline" will say "gnu-readline not installed", as "readline" is now an alias. - Probably other things. So there are some downsides, but we will just have to deal with them. Fixes #15776.
2012-09-16grass: Still fails with Clang build 421Charlie Sharpsteen
Building GRASS with the Clang version provided by XCode 4.4.1 still suffers from multiple failures. Fixes #14963.
2012-09-10Clean up MacOS version method usageJack Nagel
The MacOS.version? family of methods (other than "leopard?") are poorly defined and lead to confusing code. Replace them in formulae with more explicit comparisons. "MacOS.version" is a special version object that can be compared to numerics, symbols, and strings using the standard Ruby comparison methods. The old methods were moved to compat when the version comparison code was merged, and they must remain there "forever", but they should not be used in new code. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03Batch convert MD5 formula to SHA1.Mike McQuaid
Closes #14653.
2012-08-06Adjust XQuartz/X11 module naming schemeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-01Update formulae for new XQuartz moduleJack Nagel
2012-07-01Update formulae for XQuartz compatibilityJack Nagel
2012-05-10Remove redundant :using => :svnAdam Vandenberg
2012-04-21GRASS: Fix Lion buildsCharlie Sharpsteen
- Disable WxPython GUI. We have no stable WxMac build for this and building WxPython has the additional constraint of requiring a Framework build of Python. - Flag as failing with clang. Fixes #8594.
2012-04-21GRASS: Don't install stuff outside of --prefixCharlie Sharpsteen
Add a small patch to the GRASS makefile that removes a command that installs stuff to `/Library/Documentation/Help`---this is outside of the prefix and we don't have permissions for this directory.
2012-03-31grass 6.4.2Adam Vandenberg
2012-03-17grass: move patch notes upAdam Vandenberg
2012-01-06Fix spelling mistakesBrett Koonce
Closes #9449. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-22GRASS: Remove FFmpeg for nowCharlie Sharpsteen
GRASS 6.4.1 is currently not compatible with FFmpeg 0.8. Removing the dependency until GRASS is updated. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-22GRASS: Add HEAD URLCharlie Sharpsteen
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-04GRASS 6.4.1Charlie Sharpsteen
Also enable support for FFMPEG and GEOS. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-09Normalize use of MACOS_VERSIONAdam Vandenberg
2011-03-19grass: use MacOS.prefer_64_bit?Adam Vandenberg
2011-03-12Use ruby style for inheritance.Adam Vandenberg
2011-02-13New formula for GRASS GISCharlie Sharpsteen
The Geographic Resources Analysis Support System (GRASS) is one of the oldest, most fully-featured Geographic Information Systems (GIS). It happens to be open source too! Signed-off-by: Adam Vandenberg <flangy@gmail.com>