[SCM] epr-api branch, master, updated. debian/2.2-1-29-ge0d9945
Antonio Valentino
antonio.valentino at tiscali.it
Tue Aug 13 18:49:14 UTC 2013
The following commit has been merged in the master branch:
commit 59f8f8209607020e8e49f4d4d9d590ef024e152a
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Tue Aug 13 17:23:06 2013 +0000
New patch for setting the SOVERSION
diff --git a/debian/changelog b/debian/changelog
index 4108013..1b49751 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,9 +13,10 @@ epr-api (2.3~dev20130813-1) UNRELEASED; urgency=low
- updated dates in copyright statements
* debian/patches
- patches regenerated with gbp-pq
- - new patch for generating the static library
- fix-build-flags.patch and spelling.patch patches have been removed
because applied upstream
+ - new patch for generating the static library
+ - new patch doe setting the SOVERSION
-- Antonio Valentino <antonio.valentino at tiscali.it> Tue, 13 Aug 2013 15:20:14 +0000
diff --git a/debian/patches/0002-Set-SOVERSION.patch b/debian/patches/0002-Set-SOVERSION.patch
new file mode 100644
index 0000000..baf369e
--- /dev/null
+++ b/debian/patches/0002-Set-SOVERSION.patch
@@ -0,0 +1,23 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Tue, 13 Aug 2013 17:21:11 +0000
+Subject: Set SOVERSION
+
+---
+ src/CMakeLists.txt | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index f1e9540..9af5837 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -24,6 +24,10 @@ set(SOURCES epr_api.c
+
+ # targets
+ add_library(epr_api SHARED ${SOURCES})
++set_target_properties(epr_api PROPERTIES
++ VERSION "${EPR_API_VERSION_MAJOR}.${EPR_API_VERSION_MINOR}.${EPR_API_VERSION_PATCH}"
++ SOVERSION ${EPR_API_VERSION_MAJOR})
++
+
+ if(BUILD_STATIC_LIB)
+ add_library(epr_api_static STATIC ${SOURCES})
diff --git a/debian/patches/series b/debian/patches/series
index a86781a..f088d53 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-static-lib.patch
+0002-Set-SOVERSION.patch
--
ENVISAT Product Reader API for C
More information about the Pkg-grass-devel
mailing list