aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gdal.rb
AgeCommit message (Collapse)Author
2013-09-24gdal: optional netcdf dep is in homebrew-scienceJack Nagel
2013-09-21gdal: use spec depsJack Nagel
2013-09-14gdal 1.10.1Kyungdahm Yun
Apply patch for build failure on OS X 10.6/7. Closes #22438. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-08-15Use Hardware::CPU.arch(32|64)_bit in formulaeMisty De Meo
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-19gdal: fix manpage installationJack Nagel
Fixes #21338. Closes #21341.
2013-07-13Make the use of paths to packages proxied through X11 consistentJack Nagel
2013-06-13gdal: use ENV.libxml2Jack Nagel
2013-06-08libspatialite 4.1.0 libgaiagraphics, librasterliteJoachim LeBlanc
* Gdal: Use includes from brewed sqlite * spatialite-tools 4.1.0 * librasterlite 1.1g * libgaiagraphics 0.5 * Update to use new style `build.with?` Closes #20341. Signed-off-by: Samuel John <github@SamuelJohn.de>
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-05-02gdal: remove unused __END__Adam Vandenberg
2013-04-30gdal: Remove libdap patchFedor Bezrukov
This patch is no longer needed for GDAL 1.10. Closes #19550. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2013-04-30GDAL 1.10Ragi Yaser Burhum
Closes #19518. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-22gdal: fix ternary conditionalsSeve Salazar
Closes #19364. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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-31gdal: armadillo is now in homebrew/scienceSamuel John
2013-03-08gdal: link proj4 staticallyBraden
Under normal circumstances, gdal loads libproj at runtime using dlopen(), but this fails when installed in non-standard locations. Link statically instead, which is what most other package managers seem to be doing anyway. Closes #18294. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-11Fix build errors caused by making sqlite keg_onlySamuel John
- In subversion and gdal, because they used HOMEBREW_PREFIX/lib instead of Formula.factory('sqlite').opt_prefix Closes #17005. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-11Clean up lib path searching for SpatialiteCharlie Sharpsteen
Anything linking against SpatiaLite also needs to use Homebrew's SQLite so that loadable extensions are enabled along with RTree indices. This commit cleans up several formulae to use the specific `opt/sqlite/lib` prefix rather than `HOMEBREW_PREFIX/lib` and also adds this searching to `gdal`. However, this hack is getting a little large. The best fix would probably be to flag SQLite as `keg_only` so that lib path munging is handled automagically for everything with a dependency tree that includes SQLite.
2012-11-02gdal: libdap build fixed upstreamCharlie Sharpsteen
Patch no longer necessary when building HEAD versions.
2012-11-02gdal: Refactor configurationCharlie Sharpsteen
General cleanup and some specific changes: - Now depends on Homebrew's libtiff and libgeotiff now that BigTIFF support has landed upstream. This should prevent clashes arising from having internal and external copies of these libraries loaded by the same executable as noted in #7054. - Add WebP support to the `--complete` option. - All backends for which there is no suitable stable formula in core are now explicitly listed and disabled using `--without-<backend>` flags during configuration. This behavior may be disabled by using the `--enable-unsupported` flag which allows configure to drag in any libraries that it finds in the user's environment that GDAL enables by default. Previously this behavior was a side-effect of the `--complete` option.
2012-11-02gdal: Re-enable Poppler supportCharlie Sharpsteen
Currently, GDAL 1.9.2 can build against Poppler 0.20.5 so Poppler support is not re-enabled for the `--complete` option. Reverts cfad309.
2012-11-02gdal: Transition to options DSLCharlie Sharpsteen
Replace `def options` with `option` statements and replace all calls to `ARGV.include?` with `build.include?`.
2012-10-11gdal: Update to 1.9.2Charlie Sharpsteen
2012-09-26gdal: Depend on SpatiaLite by defaultCharlie Sharpsteen
Depending on SpatiaLite adds minimal build time and is required by some GIS applications such as QGIS.
2012-09-03Batch convert MD5 formula to SHA1.Mike McQuaid
Closes #14653.
2012-08-13gdal: depend on :libpng instead of :x11Misty De Meo
gdal doesn't use any parts of X11/XQuartz aside from libpng.
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-23GDAL: Fix missing commaCharlie Sharpsteen
Argh. Forgot a comma when adding the flag to disable Poppler.
2012-05-23GDAL: Temporarily disable PopplerCharlie Sharpsteen
GDAL can't compile against Poppler 0.20.0 so it is explicitly disabled for the time being in order to prevent compilation errors. This commit can be reverted once a fix goes in upstream.
2012-05-23GDAL: Update to 1.9.1Charlie Sharpsteen
The new release contains pre-built man pages.
2012-05-10Remove redundant :using => :svnAdam Vandenberg
2012-05-07GDAL: Add Armadillo optionCharlie Sharpsteen
2012-05-07GDAL: Use Homebrew SQLiteCharlie Sharpsteen
Required by SpatiaLite, so ensure GDAL links against the Homebrew version.
2012-04-19GDAL: Add FreeXL and LibDAP to --completeCharlie Sharpsteen
2012-04-19GDAL: Build and install man pagesCharlie Sharpsteen
2012-04-16GDAL: Reset ARCHFLAGS in case they've been set outsideJannis Leidel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-24Use "cd" instead of "Dir.chdir"Adam Vandenberg
* And "mkdir" isntead of "Dir.mkdir" * And "Dir[]" instead of "Dir.glob" * Also style fixes and nitpicks
2012-02-16GDAL: Install bindings to pythonX.Y/site-packagesCharlie Sharpsteen
2012-01-10GDAL: Update to 1.9.0Charlie Sharpsteen
Closes #9527.
2012-01-06Fix spelling mistakesBrett Koonce
Closes #9449. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-05Fix spelling mistakes.Brett Koonce
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> Closes #9407. Closes #9408. Closes #9410. Closes #9411.
2011-09-11GDAL: Depend on Numpy for Python bindingsCharlie Sharpsteen
Without Numpy, the Python bindings can't deal with Raster data very well which pretty much hoses half of the GDAL functionality.
2011-08-30gdal: obtain liblzma from XZutilsJack Nagel
The lzma package is legacy software (the developer has moved on to XZutils), so we should use the xz formula to get liblzma. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-07-25gdal: stylistic changesAdam Vandenberg
2011-07-25GDAL: Update to 1.8.1Charlie Sharpsteen
Essential update for Lion users---fixes issues with LibPNG 1.5.1. `--enable-opencl` option added to the formula. Invoking this will cause the algorithms used by `gdalwarp` to use OpenCL acceleration. Also expand the number of libraries added by the `--complete` option: Raster Libraries: - CFITSIO - EPSILON Vector Libraries: - Poppler Support Libraries: - LibLZMA OPeNDAP backend explicitly disabled as it prevents some other components from configuring properly for some reason. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-18Replace snow_leopard_64? in brews.Adam Vandenberg
2011-03-12Use ruby style for inheritance.Adam Vandenberg