Bug#794784: Enable memcache support in mapcache

Frederic Junod frederic.junod at camptocamp.com
Thu Aug 6 14:50:07 UTC 2015


Source: mapcache
Version: 1.4.0-1
Severity: wishlist

Hello,

Can you please consider enabling memcache support in mapcache?

See attached patch.

Thanks,

fredj


-- 
Frédéric Junod
Camptocamp SA
-------------- next part --------------
diff --git a/debian/control b/debian/control
index b32ffea..15de496 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Build-Depends: debhelper (>= 9),
                libgeos-dev (>= 3.3.1-1~),
                libharfbuzz-dev,
                libjpeg-dev,
+               libmemcached-dev,
                libpcre3-dev,
                libpixman-1-dev,
                libpng-dev,
diff --git a/debian/libmapcache1.symbols b/debian/libmapcache1.symbols
index bbd0887..603d13a 100644
--- a/debian/libmapcache1.symbols
+++ b/debian/libmapcache1.symbols
@@ -73,6 +73,7 @@ libmapcache.so.1 #PACKAGE# #MINVER#
  buffer_write_callback at Base 1.4.0
  crc_table at Base 1.2.0
  (arch=!amd64)crc_table_computed at Base 1.4.0
+ create_memcache at Base 1.4.0
  empty_png_384 at Base 1.4.0
  ezxml_add_child at Base 1.0.0
  ezxml_ampencode at Base 1.0.0
@@ -123,6 +124,7 @@ libmapcache.so.1 #PACKAGE# #MINVER#
  mapcache_cache_fallback_create at Base 1.4.0
  mapcache_cache_google_create at Base 1.4.0
  mapcache_cache_mbtiles_create at Base 1.0.0
+ mapcache_cache_memcache_create at Base 1.4.0
  mapcache_cache_multitier_create at Base 1.4.0
  mapcache_cache_rest_create at Base 1.4.0
  mapcache_cache_rest_init at Base 1.4.0
@@ -212,6 +214,13 @@ libmapcache.so.1 #PACKAGE# #MINVER#
  mapcache_locker_fallback_parse_xml at Base 1.4.0
  mapcache_locker_fallback_ping_lock at Base 1.4.0
  mapcache_locker_fallback_release_lock at Base 1.4.0
+ mapcache_locker_memcache_aquire_lock at Base 1.4.0
+ mapcache_locker_memcache_create at Base 1.4.0
+ mapcache_locker_memcache_parse_xml at Base 1.4.0
+ mapcache_locker_memcache_ping_lock at Base 1.4.0
+ mapcache_locker_memcache_release_lock at Base 1.4.0
+ mapcache_memcache_connection_constructor at Base 1.4.0
+ mapcache_memcache_connection_destructor at Base 1.4.0
  mapcache_meters_per_unit at Base 1.0.0
  mapcache_ogc_strptime at Base 1.2.0
  mapcache_prefetch_tiles at Base 1.0.0
diff --git a/debian/rules b/debian/rules
index b6078a0..0cba803 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ CMAKE_OPTS:= \
 		-DWITH_PIXMAN=1 \
 		-DWITH_SQLITE=1 \
 		-DWITH_BERKELEY_DB=0 \
-		-DWITH_MEMCACHE=0 \
+		-DWITH_MEMCACHE=1 \
 		-DWITH_TIFF=1 \
 		-DWITH_TIFF_WRITE_SUPPORT=0 \
 		-DWITH_GEOTIFF=0 \


More information about the Pkg-grass-devel mailing list