[libspatialindex] 04/09: Add patch to bump SOVERSION to 4 because of removed symbols.

Bas Couwenberg sebastic at xs4all.nl
Sun Sep 28 16:35:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch experimental
in repository libspatialindex.

commit 85569cbc5bf287f27d99b9b0b0b2a4dcfb3559aa
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Sep 28 16:13:24 2014 +0200

    Add patch to bump SOVERSION to 4 because of removed symbols.
---
 debian/changelog               |  1 +
 debian/patches/series          |  1 +
 debian/patches/soversion.patch | 44 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ff778cc..2203a25 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ spatialindex (1.8.3-1) UNRELEASED; urgency=medium
   * Add gbp.conf to use pristine-tar by default.
   * New upstream release.
   * Refresh patches.
+  * Add patch to bump SOVERSION to 4 because of removed symbols.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 28 Sep 2014 15:52:50 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 3f17d27..11a5a76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 buildsystem.patch
 pkgconfig.patch
+soversion.patch
diff --git a/debian/patches/soversion.patch b/debian/patches/soversion.patch
new file mode 100644
index 0000000..e7f791a
--- /dev/null
+++ b/debian/patches/soversion.patch
@@ -0,0 +1,44 @@
+Description: Fix library version and SONAME, both are defined separately.
+ .
+ The library version is incorrectly set as the SOVERSION.
+ .
+ The SOVERSION is an incrementing integer and is configured separately from
+ the library version.
+ .
+ Bump SOVERSION to 4 because of the removed symbols, as suggested in:
+ http://lists.gispython.org/pipermail/spatialindex/2014-September/000383.html
+ .
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Forwarded: https://github.com/libspatialindex/libspatialindex/pull/44
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,7 +28,8 @@ endif()
+ SET(SIDX_VERSION_MAJOR "1")
+ SET(SIDX_VERSION_MINOR "8")
+ SET(SIDX_VERSION_PATCH "3")
+-SET(SIDX_LIB_SOVERSION "3.2.0")
++SET(SIDX_LIB_VERSION "3.2.0")
++SET(SIDX_LIB_SOVERSION "4")
+ 
+ 
+ set(SIDX_VERSION_STRING "${SIDX_VERSION_MAJOR}.${SIDX_VERSION_MINOR}.${SIDX_VERSION_PATCH}")
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -205,10 +205,14 @@ target_link_libraries(${SIDX_C_LIB_NAME}
+ 
+ 
+ set_target_properties(${SIDX_LIB_NAME}
+-  PROPERTIES SOVERSION "${SIDX_LIB_SOVERSION}" )
++  PROPERTIES
++  VERSION "${SIDX_LIB_VERSION}"
++  SOVERSION "${SIDX_LIB_SOVERSION}" )
+ 
+ set_target_properties(${SIDX_C_LIB_NAME} 
+-  PROPERTIES SOVERSION "${SIDX_LIB_SOVERSION}" )
++  PROPERTIES
++  VERSION "${SIDX_LIB_VERSION}"
++  SOVERSION "${SIDX_LIB_SOVERSION}" )
+ 
+ 
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libspatialindex.git



More information about the Pkg-grass-devel mailing list