now working on mapnik v2.2.0-pre

This commit is contained in:
Dane Springmeyer 2012-08-23 15:19:56 -07:00
parent ef297c6263
commit 13bcd3f17f
2 changed files with 4 additions and 4 deletions

View file

@ -1444,7 +1444,7 @@ if not preconfigured:
# fetch the mapnik version header in order to set the # fetch the mapnik version header in order to set the
# ABI version used to build libmapnik.so on linux in src/build.py # ABI version used to build libmapnik.so on linux in src/build.py
abi = conf.GetMapnikLibVersion() abi = conf.GetMapnikLibVersion()
abi_fallback = "2.1.0" abi_fallback = "2.2.0-pre"
if not abi: if not abi:
color_print(1,'Problem encountered parsing mapnik version, falling back to %s' % abi_fallback) color_print(1,'Problem encountered parsing mapnik version, falling back to %s' % abi_fallback)
abi = abi_fallback abi = abi_fallback

View file

@ -23,13 +23,13 @@
#ifndef MAPNIK_VERSION_HPP #ifndef MAPNIK_VERSION_HPP
#define MAPNIK_VERSION_HPP #define MAPNIK_VERSION_HPP
#define MAPNIK_VERSION_IS_RELEASE 1 #define MAPNIK_VERSION_IS_RELEASE 0
#define MAPNIK_MAJOR_VERSION 2 #define MAPNIK_MAJOR_VERSION 2
#define MAPNIK_MINOR_VERSION 1 #define MAPNIK_MINOR_VERSION 2
#define MAPNIK_PATCH_VERSION 0 #define MAPNIK_PATCH_VERSION 0
// translates to 200100 // translates to 200200
#define MAPNIK_VERSION (MAPNIK_MAJOR_VERSION*100000) + (MAPNIK_MINOR_VERSION*100) + (MAPNIK_PATCH_VERSION) #define MAPNIK_VERSION (MAPNIK_MAJOR_VERSION*100000) + (MAPNIK_MINOR_VERSION*100) + (MAPNIK_PATCH_VERSION)
#ifndef MAPNIK_STRINGIFY #ifndef MAPNIK_STRINGIFY