[SCM] Debian packaging for openturns www.openturns.org branch, debian, updated. debian/1.1-1-7-g60c11be
Denis Barbier
bouzim at gmail.com
Tue Feb 5 00:18:59 UTC 2013
The following commit has been merged in the debian branch:
commit 52dc15eb7daa596065be60aadab9fc0395b8be06
Author: Denis Barbier <bouzim at gmail.com>
Date: Mon Feb 4 21:21:40 2013 +0100
New patch: debian/patches/remove-soname-python-module.patch
Drop SONAME from Python modules. dpkg-shlibdeps spits out
many similar warnings:
dpkg-shlibdeps: warning: debian/python-openturns/usr/lib/python2.7/dist-packages/openturns/_algo.so contains an unresolvable reference to symbol PyObject_IsTrue: it's probably a plugin
It seems reasonable to drop SONAME from plugins.
diff --git a/debian/patches/remove-soname-python-module.patch b/debian/patches/remove-soname-python-module.patch
new file mode 100644
index 0000000..2afef25
--- /dev/null
+++ b/debian/patches/remove-soname-python-module.patch
@@ -0,0 +1,21 @@
+Description: Drop SONAME from Python modules
+ dpkg-shlibdeps spits out many similar warnings:
+ dpkg-shlibdeps: warning: debian/python-openturns/usr/lib/python2.7/dist-packages/openturns/_algo.so contains an unresolvable reference to symbol PyObject_IsTrue: it's probably a plugin
+ It seems reasonable to drop SONAME from plugins.
+Author: Denis Barbier <bouzim at gmail.com
+Origin: Debian
+Forwarded: no
+Last-Update: 2013-02-04
+
+Index: openturns/python/src/CMakeLists.txt
+===================================================================
+--- openturns.orig/python/src/CMakeLists.txt
++++ openturns/python/src/CMakeLists.txt
+@@ -69,6 +69,7 @@ macro ( ot_add_python_module MODULENAME
+ swig_link_libraries ( ${MODULENAME} ${PYTHON_LIBRARIES} )
+ endif ()
+
++ set_target_properties ( ${SWIG_MODULE_${MODULENAME}_REAL_NAME} PROPERTIES NO_SONAME ON)
+ if ( MINGW )
+ set_target_properties ( ${SWIG_MODULE_${MODULENAME}_REAL_NAME} PROPERTIES
+ LINK_FLAGS "-shared -Wl,--enable-auto-import" )
diff --git a/debian/patches/series b/debian/patches/series
index ef6d98f..c83b37c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ debian-soname.patch
fix-bigendian.patch
add-missing-header-file.patch
tests-disable-timing.patch
+remove-soname-python-module.patch
--
Debian packaging for openturns www.openturns.org
More information about the debian-science-commits
mailing list