Commit graph

398 commits

Author SHA1 Message Date
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
Artem Pavlenko
d1a345a3d2 1.don't share FT_Library object between threads (TODO : implement freetype_engine pool)
2. merged changes with latest load_map
2007-10-05 11:27:00 +00:00
David
b2df387a9d - merged strict-xml-branch r530:532 to trunk:
- libxml2 support
    - strict error handling while parsing XML map files
    - implemented save_map()
    - removed some duplicate defaults
    - all symbolizers with icons share a common base class now
2007-09-25 18:47:12 +00:00
Artem Pavlenko
bb9f426dd9 don't check for boost_system by default 2007-09-18 10:54:44 +00:00
Artem Pavlenko
8e071f84c7 1. Changed internal geometry representation (explicit support for multi geometries)
(FIXME : label_spacing is still, too slow!!) 
2. Re-use some agg objects.
3. placement_finder cleanups! 
4. Added support for 'building_symbolizer' - extruded polygons
2007-09-16 11:23:51 +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
c44cbddea7 applied mapnik-gdal-libs.patch from jonb 2007-05-20 20:19:04 +00:00
Artem Pavlenko
7e38fc3d67 added support for building gdal plug-in 2007-04-25 19:18:44 +00:00
Artem Pavlenko
8b74a301fb Be explicit about threading model
Added THREADING enum options (defaults to 'multi')
2007-03-22 10:54:44 +00:00
Artem Pavlenko
67c09a815b corrected boost toolkit/append logic 2007-03-16 12:09:58 +00:00
Artem Pavlenko
528002dc82 added missing -pthread for linux platforms 2007-03-16 10:20:52 +00:00
Artem Pavlenko
e0d243dcec 1.Added support for building on Darwin (Xcode 2.4.1, gcc4.0.1).
Mainly taming gcc4.0.1 (anonymous enum bug)

2.Input plug-ins now have .input extension on all platforms
2007-03-16 10:11:37 +00:00
Artem Pavlenko
8d90ee0630 reverting to r432 ( to make it work on Debian based distros).
/usr/lib/libboost_xxx.so -> libboost_xxx-gcc-mt-1_33_1.so
2007-02-10 11:01:37 +00:00
Jean-Francois Doyon
0b86373457 - Use the multithreaded versions of boost libs by default. 2007-01-25 00:44:05 +00:00
Artem Pavlenko
50e612417b fixed to work with boost-1_33_1 2007-01-23 22:49:09 +00:00
Artem Pavlenko
7c18308d32 Added BOOST_TOOLKIT option (defaults to env['CC']).
Specify BOOST_TOOLKIT=gcc41 for libboost_***-gcc41-mt.so
2007-01-17 11:59:41 +00:00
Artem Pavlenko
31442b6bac Added DESTDIR option which is used as an additional prefix for the purposes of
installing files. It is useful for binary distributions (eg
RPM etc). Thanks to Dominic Hargreaves!
2006-12-17 12:05:47 +00:00
Artem Pavlenko
dee8851b26 added support for right to left languages by using
the fribidi library (patch from Ehud Shabtai, thanks!)
2006-12-17 11:56:57 +00:00
Artem Pavlenko
ebdd0f6030 disable clog printing in release mode. Pass -DMAPNIK_DEBUG to enable. 2006-11-19 17:13:33 +00:00
Artem Pavlenko
77e502c86e resolved multiple #defines 2006-10-27 22:13:13 +00:00
Artem Pavlenko
bb235fa316 1.added projection transformation support based on proj4 (new dependency!!!)
Map and Layer objects both have a new parameter 'srs', initialized to "+proj=latlong +datum=WGS84" by default. 
    
  Basic usage (Python):
    p = Projection("+proj=merc +datum=WGS84")
    point = p.forward(Coord(-2,51))
    ...        
2.reflected arithmetic operators for Envelope/Coord into Python
3.altered return policies for python objects
4.modified build system to require proj4 lib and headers
2006-10-16 13:44:52 +00:00
Artem Pavlenko
992af4747d 1. move include to mapnik/include
2. update demos,bibdibgs etc.
2006-10-04 11:22:18 +00:00
Artem Pavlenko
0c32c2bf4a update build system to include map_{load,save} 2006-10-03 10:03:31 +00:00
Artem Pavlenko
86c4443f10 Apparently, we need this check on some systems (??) 2006-10-03 08:37:34 +00:00
Artem Pavlenko
31d04c3131 added support for building on x86_64 platform e.g. /usr/lib64 etc. 2006-09-06 09:14:41 +00:00
Artem Pavlenko
72fae1daa1 1. removed dependency on boost_serialization ( we don't really need it) at this time.
2. coord and envelope operator<< to use 16 digit precision.
3. added 'inside polygon' method impl.
2006-08-20 18:49:22 +00:00
Jean-Francois Doyon
65587c3894 - make sure the proj bindings only get built if the python bindings also are. 2006-05-31 23:49:25 +00:00
Artem Pavlenko
aea4de676b added missing PROJ_* 2006-04-21 19:05:23 +00:00
Artem Pavlenko
61fd258fd1 changing licence from GPL to LGPL 2006-03-31 10:32:02 +00:00
Jean-Francois Doyon
f903432048 Add support for building pyprojection. 2006-03-26 22:36:55 +00:00
Artem Pavlenko
9948f41b1b link to boost_serialization lib 2006-03-08 13:49:59 +00:00
Jean-Francois Doyon
125e927908 Fix the build process to install the included free ttf fonts. 2006-03-03 00:18:08 +00:00
Jean-Francois Doyon
34dc842d2d Reworked all the svn:ignore properties. They are all set explicitely now, and nothing should be left unacounted for.
Changed SConstruct to use freetype-config.  Updated INSTALL to reflect.

Added a RAM requirement for building in the INSTALL doc.

Fixed some python styling and added some basic docstrings.
2006-02-26 21:47:35 +00:00
Artem Pavlenko
bd173527a0 added font_engine impl - work in progress:) 2006-02-21 19:55:24 +00:00
Jean-Francois Doyon
d34d818626 Simple fix to how the python version is tested. 2006-02-20 01:17:04 +00:00
Jean-Francois Doyon
b246133a2b Fix a bug that would switch to the wrong BOOST_APPEND if one of the boost libs is missing.
We now make sure the first one, and only the first one, found is the reference for the BOOST_APPEND.
2006-02-14 23:59:53 +00:00
Jean-Francois Doyon
9f9e4c1d8e Reworked the way the tail end of the boost libs (i.e. -gcc-mt) is handled.
This will eventually help with mroe platforms, and to link with debug libraries.
2006-02-06 01:08:32 +00:00
Jean-Francois Doyon
ecd1f27045 Fixed an (ironic) bug with the debug option :) 2006-02-05 22:19:25 +00:00
Jean-Francois Doyon
0aac110961 Cleaning SConstruct a little bit. No new functionality. 2006-02-05 22:03:43 +00:00
Jean-Francois Doyon
00f43b348d Use the current python interpreter as default for building python bindings.
Make the DEBUG option work more consistently, like all other build options.
2006-02-05 21:01:54 +00:00
Artem Pavlenko
e7119730a3 new build system 2006-01-31 23:18:24 +00:00
Artem Pavlenko
955ff4c4f5 1. fixed shape datasource bug - attributes were ignored for point/pointz/pointm types
2. use boost::thread for mutex/lock 
3  use boost::noncopyable
4  build agg as a shared lib for now
5. corrected panning code in map.cpp
6. improved coord_transform
2005-12-23 12:31:54 +00:00
Artem Pavlenko
6f9528c2e3 1.added serialization support
2.some class names changes
2005-12-14 17:01:09 +00:00
Artem Pavlenko
a6191fade0 1. corrected LIBS in SConsctipt files
2. use boost::shared_ptr instead of ref_ptr
2005-12-12 13:15:33 +00:00
Artem Pavlenko
bbd82b7950 extra option EXTENSIONS (defaults to none) 2005-11-30 00:25:45 +00:00
Artem Pavlenko
01f9df9b43 added feature factory 2005-11-24 15:51:29 +00:00
Artem Pavlenko
2a4f25706b changed optimization flags 2005-09-08 13:21:39 +00:00
Artem Pavlenko
32c76d5a5f 1.added copyright notice to SConstruct/SConscript files
2.fixed include/libs in datasources
3.revived shapeindex utility (+ boost::program_options)
2005-06-17 12:40:51 +00:00
Artem Pavlenko
84bd684f87 revived shape support + removed unsed header from postgis.cpp 2005-06-16 20:56:31 +00:00
Artem Pavlenko
a8ec856a15 initial import 2005-06-14 15:06:59 +00:00