[rospack] 01/04: Add patch for Debian specific SOVERSION and adopt package name

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Tue Dec 9 00:16:36 UTC 2014


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

jspricke-guest pushed a commit to branch master
in repository rospack.

commit 2fe3c854b5ef3728366639c009bd778c8eb350a5
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Tue Dec 9 01:14:44 2014 +0100

    Add patch for Debian specific SOVERSION and adopt package name
---
 debian/control                                       |  4 ++--
 debian/librospack-dev.install                        |  2 +-
 debian/librospack.install                            |  2 --
 debian/librospack0d.install                          |  1 +
 .../patches/0001-Add-Debian-specific-SOVERSION.patch | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 6 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 2ac8b81..75bd6be 100644
--- a/debian/control
+++ b/debian/control
@@ -11,11 +11,11 @@ Vcs-Browser: http://anonscm.debian.org/?p=debian-science/packages/ros/rospack.gi
 Package: librospack-dev
 Section: libdevel
 Architecture: any
-Depends: librospack (= ${binary:Version}), ${misc:Depends}
+Depends: librospack0d (= ${binary:Version}), ${misc:Depends}
 Description: <insert up to 60 chars description>
  <insert long description, indented with spaces>
 
-Package: librospack
+Package: librospack0d
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: <insert up to 60 chars description>
diff --git a/debian/librospack-dev.install b/debian/librospack-dev.install
index e96bf92..5774e64 100644
--- a/debian/librospack-dev.install
+++ b/debian/librospack-dev.install
@@ -1,3 +1,3 @@
 usr/include/*
-#usr/lib/lib*.so
+usr/lib/lib*.so
 usr/lib/pkgconfig/*
diff --git a/debian/librospack.install b/debian/librospack.install
deleted file mode 100644
index 80e13b5..0000000
--- a/debian/librospack.install
+++ /dev/null
@@ -1,2 +0,0 @@
-#usr/lib/lib*.so.*
-usr/lib/lib*.so
diff --git a/debian/librospack0d.install b/debian/librospack0d.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/librospack0d.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/patches/0001-Add-Debian-specific-SOVERSION.patch b/debian/patches/0001-Add-Debian-specific-SOVERSION.patch
new file mode 100644
index 0000000..8c2b807
--- /dev/null
+++ b/debian/patches/0001-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 9 Dec 2014 00:32:17 +0100
+Subject: Add Debian specific SOVERSION
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 85d9e3f..722773d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -36,6 +36,7 @@ add_library(rospack
+   src/utils.cpp
+ )
+ target_link_libraries(rospack ${tinyxml_LIBRARIES} ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
++set_target_properties(rospack PROPERTIES VERSION ${rospack_VERSION} SOVERSION "0d")
+ 
+ add_executable(rospackexe src/rospack_main.cpp)
+ # Set the name, and make it a "global" executable
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6eac731
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-Debian-specific-SOVERSION.patch

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



More information about the debian-science-commits mailing list