Commit graph

13 commits

Author SHA1 Message Date
Samuel John
270b18e1f5 mapnik: Harden build. New: --with-gdal --with-geos
- Mapnik searches for py2cairo -> added dep if --with-cairo
- Explicitly give includes and libs for icu, boost, proj,
  jpeg, libtif, and cairo
- pkg-config is not only used for cairo -> moved it out
  of the `if build.include? 'with-cairo'` block

Closes Homebrew/homebrew#17032.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-12 11:21:34 -08:00
royhodgman
a14f063bbf mapnik: add libtool dependency
According to [the mac homebrew installation wiki page for mapnik][1],
libtool needs to be installed before mapnik when installing on
mountain lion.

[1] https://github.com/mapnik/mapnik/wiki/MacInstallation_Homebrew

Closes Homebrew/homebrew#15542.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-23 15:57:32 -07:00
Mike McQuaid
f545bec3c4 mapnik: X11 dependency. 2012-09-04 19:44:43 -07:00
Dane Springmeyer
433878bf28 mapnik 2.1.0
Closes Homebrew/homebrew#14439.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-24 10:44:41 -07:00
Jack Nagel
d6e8244287 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
nibbles 2bits
13549dbb10 mapnik: only apply patch to stable
The patch has been merged upstream.
Add `unless ARGV.build_head?` to the patch block.
Note in the comments to remove the patch at version 2.0.2.
Mapnik HEAD builds well again.

Fixes Homebrew/homebrew#12683

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-09 07:36:35 -07:00
nibbles 2bits
b1efcd3f38 mapnik: fix relative path in paths.py
Add patch to mapnik.rb to use an absolute path into site-packages
rather than a relative path in the file `paths.py`.  The upstream
bug report is noted in the formula comments and is where the patch
offered by the developer came from.

Fixes Homebrew/homebrew#12026.
Closes Homebrew/homebrew#12043.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-05-04 11:53:58 -07:00
Dane Springmeyer
b685a7b70f mapnik: limit concurrent make jobs
mapnik compiles can take ~1.5 GB per job for some .cpp files
so lets be cautious by limiting to CPUS/2

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-28 10:19:13 -07:00
nibbles 2bits
2c745f0622 mapnik: fix compile error with system Python
Mapnik by default tries to install to the site-packages in /System
when brewed against system Python.  This causes a build error
because that directory is not writeable.  Mapnik correctly
determines the versioned site-packages name without modification,
but for Homebrew it needs the proper prefix.

* Add the standard `which_python` function to the formula.
* Add a scons argument for `PYTHON_PREFIX`
* Add the standard caveat for `PYTHONPATH`.

Discussed upstream: https://github.com/mapnik/mapnik/issues/1155
and tested on Lion against the system Python.

Fixes Homebrew/homebrew#11389

Closes Homebrew/homebrew#11407.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-11 01:03:22 -05:00
Dane Springmeyer
ad9a1cebca mapnik 2.0.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-10 06:16:00 -07:00
Dane Springmeyer
e555869ec8 mapnik updates
- new download link for mapnik 2.0.0 - and tweaks to avoid needing
   external scons and to properly set the CC/CXX/JOBS so that the mapnik
   build scripts will pick them up

Closes Homebrew/homebrew#8177.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 19:01:45 -06:00
Kashif Rasul
e6f886cd12 mapnik 2.0.0
Closes Homebrew/homebrew#7847.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-03 16:20:34 -05:00
Aleksandar Topuzovic
23ac8e4124 mapnik 0.7.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-22 09:55:53 -07:00