Commit graph

199 commits

Author SHA1 Message Date
Dane Springmeyer
3c9655b721 improve reliability of default python linking on os x - closes #380 2009-12-05 03:07:58 +00:00
Dane Springmeyer
d669706f68 make sure to read from config.py if switching from FAST=True to FAST=False during configure stage 2009-12-02 22:32:57 +00:00
Dane Springmeyer
c22ab63dc9 FAST and JOBS Scons options never worked because they need to be applied to the build step not configure - thanks timlinux for catching 2009-12-02 22:13:48 +00:00
Dane Springmeyer
8c1538b152 fix typo 2009-11-25 09:05:08 +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
71de9ab571 scons: don't attempt to print in color when building on win32 and more properly quote strings that are shelled out to python 2009-09-23 18:55:23 +00:00
Dane Springmeyer
a5174cd3c1 scons: allow for boost lib symlinks without dashes, and search on libboost_thread if building with multi threading support (to accomodate potentially limited thread lib names on gentoo) 2009-08-04 15:56:21 +00:00
Dane Springmeyer
45266074c8 scons: fix typo, and ensure all temp output is writeable 2009-07-26 01:08:51 +00:00
Dane Springmeyer
50e3799053 scons: deleting the scons db is not needed, just ensuring permissions work for non-root users to avoid dependency checks failing for lousy reasons 2009-07-24 07:38:26 +00:00
Dane Springmeyer
ae819defad scons: be more aggressive about searching for boost lib naming if 'append' is not specified - improves upon r1200 (#297) 2009-07-22 01:31:35 +00:00
Dane Springmeyer
8676d23081 fix logic in the svn_revision define #385 2009-07-17 20:54:11 +00:00
Dane Springmeyer
9ce6792eda add a function to query for the svn revision of the mapnik python bindings 2009-07-17 20:51:39 +00:00
Dane Springmeyer
817720e1c5 increment ABI version numbers 2009-07-09 01:16:52 +00:00
Dane Springmeyer
28e7b5bf14 scons: when auto-finding boost libraries take the shortest boost library name found to avoid problems with variable extension naming on linux (TODO add better regex approach) 2009-07-08 21:08:13 +00:00
Dane Springmeyer
22647f3068 add env inheritance back to SCons (as discussed with artem to enable finding libraries and programs in custom locations) 2009-07-08 18:40:10 +00:00
Dane Springmeyer
6c846d77a6 add SCons flag for controlling compile-time use of SHAPE_MEMORY_MAPPED_FILE 2009-07-08 00:53:13 +00:00
Dane Springmeyer
552d0c07de make the full path explicit in the libmapnik.dylib 'install_name' (on osx) closes #374 2009-07-07 23:23:07 +00:00
Dane Springmeyer
3f57087d54 scons: remove inheritance of os.environ, and add the ability to specify and store PKG_CONFIG_PATH as SCONS variable - see #217 and r1187(which removed other reference to os.environ) 2009-07-02 00:48:42 +00:00
Dane Springmeyer
5907593f6a scons: provide support for auto-detection of boost libs/headers/libname in using set of prefix directories (should help auto-detection of source installs of boost in /usr/local and macports installs in /opt/local) - closes #297 2009-07-01 23:52:51 +00:00
Artem Pavlenko
21d76f574c + added '4' optimization level, enables link-time optimization
for llvm-gcc (OS X)
+ build core library first (reverting build order change in r1192 as it
  broke OS X builds)
2009-06-30 16:21:12 +00:00
Dane Springmeyer
0e7ca8ed44 avoid unnessary linking of plugin-only libs by libmapnik by changing SConscript execution order (addresses #371, more work needed in #214) 2009-06-29 19:21:47 +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
1af2f6b77f scons: revert testing code 2009-06-08 09:23:59 +00:00
Dane Springmeyer
b2c295c259 scons: increment boost version required 2009-06-08 08:53:54 +00:00
Dane Springmeyer
e2fd9c8329 don't prompt panic, use yellow warning color for optional skipped dependencies - closes #329 2009-04-30 23:33:48 +00:00
Dane Springmeyer
618fa0d2c0 restore compilation to shapeindex on mac os x after r1113 2009-04-29 00:06:10 +00:00
Lucio Asnaghi
eefd9f0350 + added SConscript file for the kismet plugin so now should be compilable like any other plugin (should close #293) 2009-04-28 20:20:41 +00:00
Dane Springmeyer
3dd616007d Add FULL_LIB_PATH option for OS X to link in the full path to libmapnik.dylib in the library itself 2009-04-26 03:33:29 +00:00
Dane Springmeyer
364b6f72c5 scons: provide option to avoid color printed terminal output 2009-04-14 00:01:21 +00:00
Dane Springmeyer
d7429f75a1 scons: allow a user to switch back from FAST=True to FAST=False 2009-04-01 15:08:56 +00:00
Dane Springmeyer
08669a08fb scons: add an option to turn on XML spirit debug output in addition to debug mode (note earlier commit added part of this patch http://trac.mapnik.org/changeset/1027/trunk/include/mapnik/filter_parser.hpp) - closes #150 2009-04-01 03:31:24 +00:00
Dane Springmeyer
6166da7c22 scons: make sure to respect options in 'config.py' over defaults stored in opts, fix up permissions and flush the .sconsign.dblite when switching to FAST build - closes #261 and #264 2009-03-30 16:52:31 +00:00
Dane Springmeyer
0e8b0a0668 scons: exit with proper return code indicating an error if we are missing required dependencies 2009-03-09 05:00:46 +00:00
Dane Springmeyer
ed695f6aae scons: avoid skipping configure if --clean is requested since it will bork scons given the need for the configured/pickled dictionary to populate env variables in Sconscript files - thanks rcoup for noticing this 2009-03-09 04:59:23 +00:00
Dane Springmeyer
fd50ef8400 scons: force configure stage if the user supplies commandline arguments, and make sure not to save out custom variables for gdal and postgres if the config failed 2009-03-09 04:45:09 +00:00
Dane Springmeyer
9cf64111c2 scons: fix brain fade - need to return gdal lib name to populate env['LIBS'] if gdal libname is successfully parsed 2009-03-09 00:27:06 +00:00
Dane Springmeyer
3f8b646289 scons: remove accidentally added pdb trace 2009-03-06 17:02:39 +00:00
Dane Springmeyer
5c426d08f9 scons: add postgres lib manually after switch to using pg_config for libs and includes (nice catch podolsir) 2009-03-06 16:12:39 +00:00
Dane Springmeyer
f50f908546 scons: fix typo 2009-03-04 06:31:36 +00:00
Dane Springmeyer
727b2ee9b9 scons: add fallback for contructing python install environment if distutils is not available 2009-03-04 05:11:21 +00:00
Dane Springmeyer
c6a48bfdb2 scons: add the paths specified for ICU_LIBS/INCLUDES 2009-03-04 01:50:19 +00:00
Dane Springmeyer
fa5a2195d7 scons: add boolean options to build the rundemo and pgsql2sqlite programs - off by default 2009-03-03 19:31:05 +00:00
Dane Springmeyer
8f56b0d5dc scons: warn if the SYSTEM_FONTS directory does not exist 2009-03-02 23:53:28 +00:00
Dane Springmeyer
fb1def644b scons: fix up handling of plugin dependencies by making optional but warning after configure if not found 2009-03-01 06:45:59 +00:00
Dane Springmeyer
0ec29dfe3b scons: typo fix 2009-03-01 00:03:50 +00:00
Dane Springmeyer
67fe8b2c34 scons: switch to regex to find and parse the (potentially custom) gdal libname from gdal-config - this is specifically to support debian naming of gdal pkgs 2009-02-28 23:55:03 +00:00
Dane Springmeyer
2399d61c4b scons: gdal-config does not predicatably return config arguments when multiple are requested, so call twice 2009-02-28 22:22:48 +00:00
Dane Springmeyer
383ef59289 scons: switch to using pg_config and gdal-config for checking and adding libs using reworked config parsing that also applies to xml2-config and freetype-config 2009-02-28 21:18:32 +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
df8beaa952 scons: cleanup unneeded thread_flag check in Boost lib/header checking 2009-02-25 23:01:50 +00:00
Dane Springmeyer
6d0ac8f05b scons: trivial formatting fixes to SConstruct to maintain 4 space indents 2009-02-25 22:56:47 +00:00
Dane Springmeyer
7a7362751d scons: improve handling of optional plugin paths by only adding paths if a plugin will be built, prepending plugin paths to ensure linking against requested libs, and maintaining sorting of internal includes and libs given new plugin prepend behavior (addresses #250) 2009-02-25 21:18:08 +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
feb3f3327c scons:reformat the custom boost and mapnik version checking cpp snippets, since on gcc 4.1.1 the existing formatting was causing 'no newline at end of file' warnings 2009-02-24 18:05:22 +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
Dane Springmeyer
901223ef25 scons: move the mapnik version checking later in script, after local paths have been added 2009-02-17 22:48:17 +00:00
Dane Springmeyer
75687151e8 scons: make sure to return 0 to keep linux happy 2009-02-17 22:41:35 +00:00
Dane Springmeyer
346ac28947 scons: make sure to check for boost_python (closes #229), improve checking of boost version (closes #236), and fetch ABI version from mapnik/version (closes #72), as well as adding PathAccept for all PathVariables to account for various 64bit systems. 2009-02-17 20:31:04 +00:00
Dane Springmeyer
068e7a0ee7 scons: remove unneeded paths for plugins not found or tinyxml if not requested (closed #222, furthers #220) 2009-02-12 19:42:52 +00:00
Dane Springmeyer
ffd02e7c99 + Add SCons build script for osm plugin 2009-02-10 20:25:33 +00:00
Dane Springmeyer
1f5edf45f0 scons: Use implicit caching of deps if SCONS_CACHE is requested which should double or triple the speed at which the 'scons: Building targets ...' step will run. Hint: use the --implicit-deps-unchanged flag for even quicker target checking 2009-02-10 17:59:49 +00:00
Artem Pavlenko
ca0502eaaf + reverting back accidental change 2009-02-09 20:44:06 +00:00
Artem Pavlenko
7d2f492ef2 + sqlite-input-plugin.patch (kunitoki)
+ wkb-sqlite.patch (kunitoki)
+ very preliminary spatial index support (idx_<tablename>_<geometry_field>)
2009-02-09 19:43:57 +00:00
Dane Springmeyer
d62fe5eb1a Scons: refine the usage of distutils by respecting site-packages location for specific arch's, use the get_python_version() helper, and normpath() to avoid double '/' - addresses #219 and furthers #209 2009-02-07 16:57:42 +00:00
Jon Burgess
6ced52bedf Guard against missing paths. Fixes #220. 2009-02-07 11:12:38 +00:00
Artem Pavlenko
c3ff9c842d + scons_python_usability_improvements2 (springmeyer) 2009-02-03 23:00:03 +00:00
Dane Springmeyer
e7adc3b8ba Fixed typo 2009-02-03 21:20:09 +00:00
Dane Springmeyer
54334dbbb5 + scons: work towards more modular lists of which plugins to build, and switch new occi plugin lib names - revised commit based on #213 2009-02-03 21:14:45 +00:00
Dane Springmeyer
72ff58ab57 Remove gigabase reference - not an active plugin 2009-02-03 17:07:40 +00:00
Dane Springmeyer
fbe4c41700 + apply patch for Oracle 10g support from kunitoki - see #212 2009-02-03 17:06:23 +00:00
Dane Springmeyer
5f0385b80a Make true boolean whether we save and read from user 'config.py' file, and clean up messages 2009-01-30 23:08:25 +00:00
Dane Springmeyer
f414843c4f + First implementation of OGR(vector) input plugin. Patch from kunitoki. Thanks! Closes #170 2009-01-28 20:16:31 +00:00
Dane Springmeyer
4009c31649 SCons: When configure fails print message about looking in the 'config.log' 2009-01-27 20:25:27 +00:00
Dane Springmeyer
07c94a1acc + fix typos in SConstruct 2009-01-27 01:34:22 +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
cca28d702f + issue a warning if boost_program_options is not available 2009-01-19 23:12:19 +00:00
Artem Pavlenko
3199a49d2d + applied mapnik-improve-scons-search-paths.patch (jonb) 2009-01-15 22:37:07 +00:00
Artem Pavlenko
d8226945d4 + improved pkg-config logic 2009-01-10 12:08:55 +00:00
Artem Pavlenko
8687dd795d + Scons updated to latest stable version 1.2 2009-01-06 10:52:43 +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
Tom Hughes
6472af9289 Add an INTERNAL_LIBAGG build option that can be used to make mapnik
build against the system libagg instead of mapnik's copy.
2008-07-29 18:35:27 +00:00
Tom Hughes
08aae2622f Make boost_system optional as boost before 1.35.0 doesn't have it and
mapnik seems to compile fine without it.
2008-07-29 08:07:02 +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
Dominic Hargreaves
6e360f0090 ppc64 build fix (fixes #83) 2008-03-29 01:01:12 +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
02962156c5 Add support for rendering to a cairo surface. 2008-02-23 00:17:53 +00:00
Artem Pavlenko
308e315432 added Unicode support based on ICU 2008-02-18 21:40:34 +00:00
Artem Pavlenko
a8e2821885 support building multi/single variants 2008-02-04 16:14:05 +00:00
Artem Pavlenko
a8859645b3 use memory mapped files for reading shape files 2008-02-04 11:12:32 +00:00
Artem Pavlenko
3c5b7f02f3 applied freebsd patch from Beau Gunderson 2008-01-28 14:51:10 +00:00
Artem Pavlenko
3d9024ddc4 make iconv check optional 2008-01-23 21:06:28 +00:00
Artem Pavlenko
df643baa54 added missing PGSQL 2008-01-21 20:56:31 +00:00
Artem Pavlenko
2b60d6d425 applied patch to build on OSX Leopard and Sun's C++ compiler on Solaris from Justin Bronn 2008-01-21 20:15:07 +00:00
Artem Pavlenko
747ef8cccf added a bit of colour to SCons 2008-01-03 11:41:39 +00:00
Artem Pavlenko
04686f7b28 removed GIGABASE stuff as it's unused at the moment 2007-12-06 12:11:17 +00:00
Artem Pavlenko
6d83b199a4 comment out boost_system 2007-10-05 11:29:55 +00:00