Commit graph

76 commits

Author SHA1 Message Date
BrewTestBot
888e4ba60c gdal: update 1.11.0 bottle.
Closes Homebrew/homebrew#31180.
2014-07-28 10:02:55 +01:00
Jack Nagel
00b5f1b825 Prefer Dir.glob when iterating over the result 2014-05-31 10:08:36 -05:00
Larry Shaffer
b45430ef06 gdal: don't link extra dylibs for vendored libkml
Closes Homebrew/homebrew#29041.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-13 17:18:39 -05:00
BrewTestBot
4b252fd5b7 gdal: update 1.11.0 bottle.
Closes Homebrew/homebrew#28927.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-06 08:41:56 -07:00
Larry Shaffer
745fea2eea gdal 1.11.0 2014-05-06 08:41:56 -07:00
BrewTestBot
2a132cc699 gdal: add 1.10.1 bottle. 2014-04-10 12:19:36 +01:00
Mike McQuaid
ee02b7f053 gdal: use numpy resource. 2014-04-10 12:19:36 +01:00
Jack Nagel
0aadcff346 Update revisions on libpng dependents 2014-03-22 21:51:41 -05:00
Jack Nagel
80b6aef5ca gdal: use checksummed patches 2014-03-17 14:05:20 -05:00
Adam Vandenberg
f7c8f449ac use opt shortcuts 2014-03-07 07:08:52 -08:00
Jack Nagel
82c5d6423f Remove special X11 proxy deps 2014-03-05 20:45:44 -06:00
Adam Vandenberg
38081488e3 gdal: use Formula[] 2014-02-27 08:21:19 -08:00
Mike McQuaid
3327ca19dc gdal: cleanup python usage. 2014-01-04 13:19:22 +00:00
Larry Shaffer
651bd28dcb gdal: add Java MDB driver option
Closes Homebrew/homebrew#23229.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-22 07:52:35 -08:00
Jack Nagel
a278ac55b7 gdal: drop redundant option declarations 2013-11-21 16:22:55 -06:00
Kashif Rasul
f1da93828d gdal: fix postgres option name
Closes Homebrew/homebrew#24560.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-21 16:21:53 -06:00
Jack Nagel
a542ee9aaf gdal: add upstream patches to compile against MySQL 5.6.x
Fixes Homebrew/homebrew#24543.
2013-11-21 15:51:50 -06:00
Adam Vandenberg
0b5fa3a106 gdal: tighten up caveats 2013-11-13 22:06:07 -08:00
Jack Nagel
433365191f gdal: optional netcdf dep is in homebrew-science 2013-09-24 17:48:30 -05:00
Jack Nagel
2d3f809683 gdal: use spec deps 2013-09-21 19:29:52 -05:00
Kyungdahm Yun
7c4ce471cc gdal 1.10.1
Apply patch for build failure on OS X 10.6/7.

Closes Homebrew/homebrew#22438.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-14 14:31:02 +01:00
Misty De Meo
56ecd194fb Use Hardware::CPU.arch(32|64)_bit in formulae 2013-08-15 22:46:56 -07:00
Misty De Meo
98e050bd6c Add MacOS.preferred_arch
Replaced the plethora of ternaries we've used all over the place to
determine whether x86_64 or i386 is called for.
2013-08-15 22:46:56 -07:00
Jack Nagel
11ff6c5b4b gdal: fix manpage installation
Fixes Homebrew/homebrew#21338.
Closes Homebrew/homebrew#21341.
2013-07-19 22:15:17 -05:00
Jack Nagel
d89e9a0c8b Make the use of paths to packages proxied through X11 consistent 2013-07-13 22:56:45 -05:00
Jack Nagel
59068e723a gdal: use ENV.libxml2 2013-06-13 19:29:28 -05:00
Joachim LeBlanc
51502a2086 libspatialite 4.1.0 libgaiagraphics, librasterlite
* 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 Homebrew/homebrew#20341.

Signed-off-by: Samuel John <github@SamuelJohn.de>
2013-06-08 15:26:43 +02:00
Samuel John
f6e80bdea2 Python 2.x and 3.x support
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-06-03 17:29:43 +02:00
Adam Vandenberg
d7f88d9e80 gdal: remove unused __END__ 2013-05-02 10:11:46 -07:00
Fedor Bezrukov
012e679be6 gdal: Remove libdap patch
This patch is no longer needed for GDAL 1.10.

Closes Homebrew/homebrew#19550.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2013-04-30 20:25:52 -07:00
Ragi Yaser Burhum
669c1ae787 GDAL 1.10
Closes Homebrew/homebrew#19518.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-30 09:23:32 -07:00
Seve Salazar
dd1542a9de gdal: fix ternary conditionals
Closes Homebrew/homebrew#19364.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-22 16:12:39 -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
Samuel John
60ef6283af gdal: armadillo is now in homebrew/science 2013-03-31 20:54:25 +02:00
Braden
f1326361cc gdal: link proj4 statically
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 Homebrew/homebrew#18294.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-08 00:17:26 -06:00
Samuel John
b8683d8800 Fix build errors caused by making sqlite keg_only
- In subversion and gdal, because they used
  HOMEBREW_PREFIX/lib instead of
  Formula.factory('sqlite').opt_prefix

Closes Homebrew/homebrew#17005.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-11 11:57:40 +00:00
Charlie Sharpsteen
b4befaf35f Clean up lib path searching for Spatialite
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-11 12:47:44 -08:00
Charlie Sharpsteen
3fd1bfd565 gdal: libdap build fixed upstream
Patch no longer necessary when building HEAD versions.
2012-11-02 18:43:06 -07:00
Charlie Sharpsteen
a8ca67e389 gdal: Refactor configuration
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 Homebrew/homebrew#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-02 16:53:55 -07:00
Charlie Sharpsteen
f3c34b2273 gdal: Re-enable Poppler support
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-02 10:22:55 -07:00
Charlie Sharpsteen
16207fae35 gdal: Transition to options DSL
Replace `def options` with `option` statements and replace all calls to
`ARGV.include?` with `build.include?`.
2012-11-02 10:22:55 -07:00
Charlie Sharpsteen
a9f9f2b0e0 gdal: Update to 1.9.2 2012-10-11 12:42:17 -07:00
Charlie Sharpsteen
fec701d41f gdal: Depend on SpatiaLite by default
Depending on SpatiaLite adds minimal build time and is required by some GIS
applications such as QGIS.
2012-09-26 11:02:17 -05:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Misty De Meo
4d99e271aa gdal: depend on :libpng instead of :x11
gdal doesn't use any parts of X11/XQuartz aside from libpng.
2012-08-13 15:24:58 -05:00
Jack Nagel
01e9fad4a1 Adjust XQuartz/X11 module naming scheme
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-06 00:39:06 -05:00
Jack Nagel
b81d01e23d Update formulae for new XQuartz module 2012-08-01 00:31:39 -05:00
Jack Nagel
d6e8244287 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Charlie Sharpsteen
d1496287b5 GDAL: Fix missing comma
Argh. Forgot a comma when adding the flag to disable Poppler.
2012-05-23 17:41:51 -07:00
Charlie Sharpsteen
63fa2bebd6 GDAL: Temporarily disable Poppler
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-23 17:33:48 -07:00