[SCM] mapcache branch, master, updated. upstream/1.0.0-86-g0771daf

Bas Couwenberg sebastic at xs4all.nl
Tue Sep 17 22:46:18 UTC 2013


The following commit has been merged in the master branch:
commit 57b5e2f4ab3a875c08e91e2e2b35687f5dfa0175
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Sep 17 23:41:28 2013 +0200

    Add patch to use a versioned SONAME.

diff --git a/debian/changelog b/debian/changelog
index a1e8d0b..6792c31 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ mapcache (1.2.0-1) UNRELEASED; urgency=low
     - mapcache_seed_delete_mode.patch (applied upstream)
     - mapcache_seed_typo.patch (applied upstream)
   * Use pkgkde-gensymbols & pkgkde-symbolshelper to handle symbols.
+  * Add patch to use a versioned SONAME.
   * SONAME of libmapcache changed from libmapcache.so.0 to
     libmapcache.so.
   * Update libmapcache symbols for 1.2.0 on amd64.
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..4db24c4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+soname.patch
diff --git a/debian/patches/soname.patch b/debian/patches/soname.patch
new file mode 100644
index 0000000..d53328a
--- /dev/null
+++ b/debian/patches/soname.patch
@@ -0,0 +1,17 @@
+Description: Use versioned SONAME for libmapcache.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Bug: https://github.com/mapserver/mapcache/pull/84
+Last-Update: 2013-09-18
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -66,6 +66,10 @@ set(CMAKE_LINK_INTERFACE_LIBRARY "")
+ file(GLOB mapcache_SOURCES lib/*.c )
+ 
+ add_library(mapcache SHARED ${mapcache_SOURCES})
++set_target_properties(mapcache PROPERTIES
++  VERSION ${MAPCACHE_VERSION_STRING}
++  SOVERSION 1
++)
+ 
+ #options suported by the cmake builder
+ option(WITH_PIXMAN "Use pixman for SSE optimized image manipulations" ON)

-- 
Packaging for MapCache



More information about the Pkg-grass-devel mailing list