This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository pktools.
commit 171505d05a7490f9f6f9e18f6d9a35893b4dbdb4 Author: Bas Couwenberg <[email protected]> Date: Tue May 17 23:55:35 2016 +0200 Add patch to fix SOVERSION. --- debian/changelog | 1 + debian/patches/series | 1 + debian/patches/soversion.patch | 82 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) diff --git a/debian/changelog b/debian/changelog index f823b2c..3bbf2c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ pktools (2.6.7-1) UNRELEASED; urgency=medium * Switch buildsystem to CMake. * Enable all hardening buildflags. * Update manpages for upstream changes. + * Add patch to fix SOVERSION. -- Bas Couwenberg <[email protected]> Tue, 17 May 2016 20:46:48 +0200 diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..0a55278 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +soversion.patch diff --git a/debian/patches/soversion.patch b/debian/patches/soversion.patch new file mode 100644 index 0000000..524bebc --- /dev/null +++ b/debian/patches/soversion.patch @@ -0,0 +1,82 @@ +Description: Set SOVERSION to major version only. + The libraries built with libtool used SOVERSION 1 too. +Author: Bas Couwenberg <[email protected]> + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -43,25 +43,35 @@ set (PKTOOLS_PACKAGE_BUGREPORT "kempenep + set (PKTOOLS_PACKAGE "pktools") + set (PKTOOLS_COPYRIGHT_YEAR 2016) + ++set (PKTOOLS_BASE_VERSION_MAJOR 1) ++set (PKTOOLS_BASE_VERSION_MINOR 6) ++set (PKTOOLS_BASE_VERSION_PATCH 0) ++set (PKTOOLS_BASE_VERSION "${PKTOOLS_BASE_VERSION_MAJOR}.${PKTOOLS_BASE_VERSION_MINOR}.${PKTOOLS_BASE_VERSION_PATCH}") ++set (PKTOOLS_BASE_SOVERSION 1) ++ + set (PKTOOLS_ALGORITHMS_VERSION_MAJOR 1) + set (PKTOOLS_ALGORITHMS_VERSION_MINOR 6) + set (PKTOOLS_ALGORITHMS_VERSION_PATCH 0) + set (PKTOOLS_ALGORITHMS_VERSION "${PKTOOLS_ALGORITHMS_VERSION_MAJOR}.${PKTOOLS_ALGORITHMS_VERSION_MINOR}.${PKTOOLS_ALGORITHMS_VERSION_PATCH}") ++set (PKTOOLS_ALGORITHMS_SOVERSION 1) + + set (PKTOOLS_FILECLASSES_VERSION_MAJOR 1) + set (PKTOOLS_FILECLASSES_VERSION_MINOR 6) + set (PKTOOLS_FILECLASSES_VERSION_PATCH 0) + set (PKTOOLS_FILECLASSES_VERSION "${PKTOOLS_FILECLASSES_VERSION_MAJOR}.${PKTOOLS_FILECLASSES_VERSION_MINOR}.${PKTOOLS_FILECLASSES_VERSION_PATCH}") ++set (PKTOOLS_FILECLASSES_SOVERSION 1) + + set (PKTOOLS_IMAGECLASSES_VERSION_MAJOR 1) + set (PKTOOLS_IMAGECLASSES_VERSION_MINOR 6) + set (PKTOOLS_IMAGECLASSES_VERSION_PATCH 0) + set (PKTOOLS_IMAGECLASSES_VERSION "${PKTOOLS_IMAGECLASSES_VERSION_MAJOR}.${PKTOOLS_IMAGECLASSES_VERSION_MINOR}.${PKTOOLS_IMAGECLASSES_VERSION_PATCH}") ++set (PKTOOLS_IMAGECLASSES_SOVERSION 1) + + set (PKTOOLS_LASCLASSES_VERSION_MAJOR 1) + set (PKTOOLS_LASCLASSES_VERSION_MINOR 6) + set (PKTOOLS_LASCLASSES_VERSION_PATCH 0) + set (PKTOOLS_LASCLASSES_VERSION "${PKTOOLS_LASCLASSES_VERSION_MAJOR}.${PKTOOLS_LASCLASSES_VERSION_MINOR}.${PKTOOLS_LASCLASSES_VERSION_PATCH}") ++set (PKTOOLS_LASCLASSES_SOVERSION 1) + + # Name of C++ library + set(PKTOOLS_BASE_LIB_NAME base) +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -115,32 +115,32 @@ endif(BUILD_WITH_LIBLAS) + # Set target properties + SET_TARGET_PROPERTIES(${PKTOOLS_BASE_LIB_NAME} + PROPERTIES +- SOVERSION ${PKTOOLS_BASE_VERSION} ++ SOVERSION ${PKTOOLS_BASE_SOVERSION} + VERSION ${PKTOOLS_BASE_VERSION} + ) + + SET_TARGET_PROPERTIES(${PKTOOLS_IMAGECLASSES_LIB_NAME} + PROPERTIES +- SOVERSION ${PKTOOLS_IMAGECLASSES_VERSION} ++ SOVERSION ${PKTOOLS_IMAGECLASSES_SOVERSION} + VERSION ${PKTOOLS_IMAGECLASSES_VERSION} + ) + + SET_TARGET_PROPERTIES(${PKTOOLS_ALGORITHMS_LIB_NAME} + PROPERTIES +- SOVERSION ${PKTOOLS_ALGORITHMS_VERSION} ++ SOVERSION ${PKTOOLS_ALGORITHMS_SOVERSION} + VERSION ${PKTOOLS_ALGORITHMS_VERSION} + ) + + SET_TARGET_PROPERTIES(${PKTOOLS_FILECLASSES_LIB_NAME} + PROPERTIES +- SOVERSION ${PKTOOLS_FILECLASSES_VERSION} ++ SOVERSION ${PKTOOLS_FILECLASSES_SOVERSION} + VERSION ${PKTOOLS_FILECLASSES_VERSION} + ) + + if (BUILD_WITH_LIBLAS) + SET_TARGET_PROPERTIES(${PKTOOLS_LASCLASSES_LIB_NAME} + PROPERTIES +- SOVERSION ${PKTOOLS_LASCLASSES_VERSION} ++ SOVERSION ${PKTOOLS_LASCLASSES_SOVERSION} + VERSION ${PKTOOLS_LASCLASSES_VERSION} + ) + endif(BUILD_WITH_LIBLAS) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

