[bfl] 21/40: add patch adding soversion to liborocos-bfl

Johannes Schauer josch at moszumanska.debian.org
Fri Aug 11 17:24:05 UTC 2017


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

josch pushed a commit to branch master
in repository bfl.

commit eae4cff41f5fff84e513aedcef9c69594b10512f
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sat Aug 12 00:03:16 2017 +0900

    add patch adding soversion to liborocos-bfl
---
 debian/patches/add-soversion | 13 +++++++++++++
 debian/patches/series        |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/add-soversion b/debian/patches/add-soversion
new file mode 100644
index 0000000..1f46189
--- /dev/null
+++ b/debian/patches/add-soversion
@@ -0,0 +1,13 @@
+Description: Add an soname to the library
+ Since upstream doesn't use sonames, we just use the version number
+
+--- orocos-bfl-0.8.0.orig/src/CMakeLists.txt
++++ orocos-bfl-0.8.0/src/CMakeLists.txt
+@@ -18,6 +18,7 @@ ENDIF( OROCOS_PLUGIN )
+ IF (LIBRARY_TYPE STREQUAL "shared")
+   ADD_LIBRARY(orocos-bfl SHARED $ENV{GLOBAL_LIBRARY_SRCS})
+   SET_TARGET_PROPERTIES(orocos-bfl PROPERTIES OUTPUT_NAME orocos-bfl)
++  SET_TARGET_PROPERTIES(orocos-bfl PROPERTIES VERSION "${VERSION}" SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}")
+   INSTALL_TARGETS( /lib orocos-bfl)       
+ ELSE (LIBRARY_TYPE STREQUAL "shared")
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..87cdb47
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add-soversion

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/orocos/bfl.git



More information about the debian-science-commits mailing list