Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more fully disable the svg_renderer backend - refs #1438

  • Loading branch information...
commit 05fdb5424b9eb324962717a8e43b43754236bd74 1 parent 4e2d2c6
@springmeyer springmeyer authored
Showing with 25 additions and 23 deletions.
  1. +4 −3 SConstruct
  2. +21 −20 src/build.py
View
7 SConstruct
@@ -325,7 +325,7 @@ opts.AddVariables(
BoolVariable('RENDERING_STATS', 'Output rendering statistics during style processing', 'False'),
- BoolVariable('SVG_RENDERER', 'build support for native svg renderer', 'False'),
+ #BoolVariable('SVG_RENDERER', 'build support for native svg renderer', 'False'),
# Variables for optional dependencies
('GEOS_CONFIG', 'The path to the geos-config executable.', 'geos-config'),
@@ -426,7 +426,7 @@ pickle_store = [# Scons internal variables
'CAIROMM_LIBPATHS',
'CAIROMM_LINKFLAGS',
'CAIROMM_CPPPATHS',
- 'SVG_RENDERER',
+ #'SVG_RENDERER',
'SQLITE_LINKFLAGS',
'BOOST_LIB_VERSION_FROM_HEADER'
]
@@ -1740,7 +1740,8 @@ if not HELP_REQUESTED:
# not ready for release
SConscript('tests/cpp_tests/build.py')
- # not ready for release
+ # not currently maintained
+ # https://github.com/mapnik/mapnik/issues/1438
#if env['SVG_RENDERER']:
# SConscript('tests/cpp_tests/svg_renderer_tests/build.py')
View
41 src/build.py
@@ -280,26 +280,27 @@ def ldconfig(*args,**kwargs):
grid/process_text_symbolizer.cpp
""")
-if env['SVG_RENDERER']: # svg backend
- source += Split(
- """
- svg/svg_renderer.cpp
- svg/svg_generator.cpp
- svg/svg_output_attributes.cpp
- svg/process_symbolizers.cpp
- svg/process_building_symbolizer.cpp
- svg/process_line_pattern_symbolizer.cpp
- svg/process_line_symbolizer.cpp
- svg/process_markers_symbolizer.cpp
- svg/process_point_symbolizer.cpp
- svg/process_polygon_pattern_symbolizer.cpp
- svg/process_polygon_symbolizer.cpp
- svg/process_raster_symbolizer.cpp
- svg/process_shield_symbolizer.cpp
- svg/process_text_symbolizer.cpp
- """)
- lib_env.Append(CXXFLAGS = '-DSVG_RENDERER')
- libmapnik_cxxflags.append('-DSVG_RENDERER')
+# https://github.com/mapnik/mapnik/issues/1438
+#if env['SVG_RENDERER']: # svg backend
+# source += Split(
+# """
+# svg/svg_renderer.cpp
+# svg/svg_generator.cpp
+# svg/svg_output_attributes.cpp
+# svg/process_symbolizers.cpp
+# svg/process_building_symbolizer.cpp
+# svg/process_line_pattern_symbolizer.cpp
+# svg/process_line_symbolizer.cpp
+# svg/process_markers_symbolizer.cpp
+# svg/process_point_symbolizer.cpp
+# svg/process_polygon_pattern_symbolizer.cpp
+# svg/process_polygon_symbolizer.cpp
+# svg/process_raster_symbolizer.cpp
+# svg/process_shield_symbolizer.cpp
+# svg/process_text_symbolizer.cpp
+# """)
+# lib_env.Append(CXXFLAGS = '-DSVG_RENDERER')
+# libmapnik_cxxflags.append('-DSVG_RENDERER')
if env['XMLPARSER'] == 'libxml2' and env['HAS_LIBXML2']:
source += Split(
Please sign in to comment.
Something went wrong with that request. Please try again.