Commit graph

59 commits

Author SHA1 Message Date
Dane Springmeyer
b24dd5df91 scons: make sure to only create install targets if actually installing - needed to prevent installing during uninstall action if not previously installed 2010-11-29 20:21:02 +00:00
Dane Springmeyer
ca5d44032e explicitly set the runpath to libmapnik for the python bindings - in combination with ability to set 'CUSTOM_LDFLAGS' this closes #354 2010-10-12 04:40:00 +00:00
Dane Springmeyer
03250d0efe fix up metaclass injector to work with both python 2 and python 3 because the 2to3 script cannot handle this tricky bit 2010-09-26 23:28:29 +00:00
Dane Springmeyer
9492d309e6 better checking for whether our target python is python 3 2010-09-26 22:49:14 +00:00
Dane Springmeyer
18dd9ff40e python3 support - patch thanks to Haoyu Bai - closes #334 2010-09-26 12:15:16 +00:00
Dane Springmeyer
d73d72d509 scons: no direct linking to python on platforms other than darwin 2010-09-19 18:10:41 +00:00
Dane Springmeyer
523b09701e Add the ability to pass custom CXXFLAGS and LDFLAGS that will be prioritized above other compiler and linker flags 2010-09-18 18:02:15 +00:00
Dane Springmeyer
267b48de49 add ability to uninstall all tracked scons targets using an 'uninstall' argument like 'scons uninstall' - closes #311 2010-07-18 20:39:05 +00:00
Dane Springmeyer
fc4f5f2a0e scons: ensure pycairo headers are added 2010-07-15 02:17:13 +00:00
Dane Springmeyer
d463883f6f scons: making sure things exist - prepping for out of source build 2010-07-15 00:40:52 +00:00
Dane Springmeyer
08e96be4a1 scons: better handling of PYTHON_INCLUDES and HAVE_LIBXML2 2010-07-15 00:20:50 +00:00
Dane Springmeyer
d549cfe30a scons: only apply HAS_CAIRO & HAS_PYCAIRO flags to cairo related files 2010-07-14 22:47:34 +00:00
Dane Springmeyer
4d477a47cd scons: conditionally add CXXFLAGS for headers needing Cairo support 2010-07-14 04:40:33 +00:00
Dane Springmeyer
284669b322 scons: make sure to build a .os file instead of .o 2010-07-14 01:26:30 +00:00
Dane Springmeyer
146c13ba09 scons: specialize CFLAGS for the only python cpp file that needs SVN_REVISION passed to it 2010-07-14 00:48:06 +00:00
Dane Springmeyer
13cfffd603 place built python lib inside module directory to make local import easier 2010-07-13 23:53:30 +00:00
Dane Springmeyer
58b0a3e5ff scons: add 'PYTHON_DYNAMIC_LOOKUP' boolean to allow for dynamically loading python symbols rather than direct linking on OSX (default behavior still the same) - addresses #453 2010-04-28 05:39:27 +00:00
Artem Pavlenko
e7bfba10fe + enanble installation of mapnik2 side by side with mapnik 2010-03-17 21:03:02 +00:00
Artem Pavlenko
bbfdc4fab8 + use mapnik2 for python module name
+ update rundemo.py
2010-03-08 11:54:44 +00:00
Dane Springmeyer
f60fa76242 merge 0.7. branch changes back into trunk 2009-12-15 19:25:35 +00:00
Dane Springmeyer
a247dd2922 avoid clobbering the prefix variable 2009-12-05 03:51:29 +00:00
Dane Springmeyer
3c9655b721 improve reliability of default python linking on os x - closes #380 2009-12-05 03:07:58 +00:00
Dane Springmeyer
b104253d9c Add ability to link to custom icu lib name, and remove the unneeded linking to icudata on osx, while offering compiler flags required for compiling against libicucore provided by Apple 2009-11-24 20:32:41 +00:00
Dane Springmeyer
123182d0af scons: make sure to link to cairo if present but even if pycairo is not 2009-07-24 07:20:27 +00:00
Artem Pavlenko
7ebe50d9de + Cleaner builds - don't import everything from ENV!
+ Add FRAMEWORK_SEARCH_PATH option for Max OS X
2009-06-29 14:04:44 +00:00
Dane Springmeyer
2f04dc753c scons: normalize paths written to 'paths.py' to avoid double '//' 2009-03-30 04:15:11 +00:00
Dane Springmeyer
df7a5b8429 scons: add module docstring to 'paths.py' 2009-03-29 19:05:42 +00:00
Dane Springmeyer
9f40e90def scons: move all configure options to 'scons configure' stage, using pickling to maintain configure options across builds 2009-02-26 23:35:09 +00:00
Dane Springmeyer
46df10d7d0 scons: add boolean option to avoid linking to Framework Python on darwin (closes #248) 2009-02-25 01:02:43 +00:00
Dane Springmeyer
90f3703505 scons: add option called 'LIB_DIR_NAME' to control the relative directory where input plugins are installed and where python looks to register them 2009-02-23 00:47:01 +00:00
Dane Springmeyer
42be8116e1 scons: add a SYSTEM_FONTS variable to avoid installation of bundled dejavu fonts and instead point Python bindings at given value - also print SCONS_LOCAL_CONFIG values for user during configure 2009-02-20 19:31:08 +00:00
Artem Pavlenko
c3ff9c842d + scons_python_usability_improvements2 (springmeyer) 2009-02-03 23:00:03 +00:00
Artem Pavlenko
e7014c2b7e + SCons_usabilty_improvements2.patch (springmeyer)
(see #186 ticket for details)
2009-01-26 22:58:55 +00:00
Artem Pavlenko
d8226945d4 + improved pkg-config logic 2009-01-10 12:08:55 +00:00
Artem Pavlenko
48a13f8cbc appled boost_append_osx_patch_v3 from jbronn 2008-12-04 23:20:44 +00:00
Artem Pavlenko
df8cfcab03 + fixed building with boost-1_36
+ corrected order of BOOST_TOOLKIT 
(create symlinks on OSX + boost-1_35)
2008-10-08 06:30:38 +00:00
Artem Pavlenko
fe31150a7b corrected boost libs names logic 2008-06-29 11:40:35 +00:00
Artem Pavlenko
3f9127b5d0 reverting back to 700 2008-06-29 10:58:29 +00:00
Artem Pavlenko
3275cf9ce6 applied font fallbacj patch from Beau Gunderson 2008-06-29 10:40:08 +00:00
Tom Hughes
b0b61293b1 Link the python extension explicitly with the cairo libraries on Darwin. 2008-03-12 21:46:54 +00:00
Tom Hughes
2f67c036fe Make cairo components conditional on the relevant libaries etc existing. 2008-03-12 19:14:51 +00:00
Tom Hughes
06006d2f24 Add cairo support to the python bindings - needs Pycairo installed. 2008-03-12 00:37:53 +00:00
Artem Pavlenko
308e315432 added Unicode support based on ICU 2008-02-18 21:40:34 +00:00
Artem Pavlenko
84bd1fda6c don't prepend temp DESTDIT prefix to mapnik_pluigins_dir 2008-02-07 11:51:41 +00:00
Artem Pavlenko
ecaf40475e fixed 2008-02-04 16:13:04 +00:00
Artem Pavlenko
3c5b7f02f3 applied freebsd patch from Beau Gunderson 2008-01-28 14:51:10 +00:00
Artem Pavlenko
651cdbe968 added support for saving images into Python String object
(NOTE: some methods have different signitures now- API changed)
2008-01-25 14:40:48 +00:00
Artem Pavlenko
78a0e6725b prepend DESTDIR to plugins path
replace multiple directory separators
2008-01-24 14:44:04 +00:00
Artem Pavlenko
76572994b5 Applied mapnik-r511.patch from David Siegel:
plugins/input/postgis/SConscript:
- added boost_thread-mt to darwin builds

demo/c++/rundemo.cpp:
- setBackground() is now set_background()

bindings/python/SConscript:
- added boost_thread-mt to darwin builds
- changed builder to LoadableModule which builds a so called "bundle"
   on darwin and a shared library on all other systems.
- LDMODULEPREFIX = '' 

SConstruct:
- freetype-config is now searched in the path.
2007-08-28 10:12:38 +00:00
Artem Pavlenko
7411a5d2f7 applied patch from JonB - use platform dependend lib prefix when installing bindings (e.g. lib64 on x86_64) 2007-08-13 09:18:07 +00:00