From 9224989a32c312f4f1681a780d693c616db27ae9 Mon Sep 17 00:00:00 2001
From: olivier-stasse <olivier.stasse@aist.go.jp>
Date: Thu, 21 Apr 2011 04:51:53 +0900
Subject: [PATCH] [debian] Update shlibs file.

---
 debian/changelog                              | 24 +++++++++++++++++++
 debian/control                                |  6 ++---
 ....2.install => libjrl-walkgen3.1.4.install} |  0
 debian/rules                                  |  2 +-
 debian/shlibs                                 |  1 +
 5 files changed, 29 insertions(+), 4 deletions(-)
 rename debian/{libjrl-walkgen3.1.2.install => libjrl-walkgen3.1.4.install} (100%)
 create mode 100644 debian/shlibs

diff --git a/debian/changelog b/debian/changelog
index 2cbcd573..e89f1d62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,27 @@
+jrl-walkgen (3.1.4-5) lucid; urgency=low
+
+  * Put back the correct line for dh_shlibdeps
+
+ -- olivier-stasse <olivier.stasse@aist.go.jp>  Sun, 17 Apr 2011 18:46:54 +0900
+
+jrl-walkgen (3.1.4-4) lucid; urgency=low
+
+  * Ask for generation of dh_shlibdeps.
+
+ -- olivier-stasse <olivier.stasse@aist.go.jp>  Sun, 17 Apr 2011 18:13:21 +0900
+
+jrl-walkgen (3.1.4-3) lucid; urgency=low
+
+  * Fix pb on dpkg-shlibdeps
+
+ -- olivier-stasse <olivier.stasse@aist.go.jp>  Sun, 17 Apr 2011 16:56:04 +0900
+
+jrl-walkgen (3.1.4-2) lucid; urgency=low
+
+  * Fix pb of dependency nb with libboost-dev
+
+ -- olivier-stasse <olivier.stasse@aist.go.jp>  Sun, 17 Apr 2011 06:27:13 +0900
+
 jrl-walkgen (3.1.4-1) lucid; urgency=low
 
   * Fixing debian files for testing launchpad binary generation.
diff --git a/debian/control b/debian/control
index bfcbe647..5eb401b1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 7.0.50~), cmake (>= 2.6),
 	       pkg-config (>= 0.22),
 	       perl (>= 5.10.1),
 	       libboost-dev (>= 1.33.1),
-	       libboost-thread-dev (>= 1.40.1),
+	       libboost-thread-dev (>= 1.40.0),
 	       liblapack-dev (>= 1.2),
 	       libjrl-dynamics-dev (>= 1.9.3),
 	       libabstract-robot-dynamics-dev (>= 1.16.2)
@@ -19,7 +19,7 @@ Homepage:http://github.com/jrl-umi3218/jrl-walkgen
 Package: libjrl-walkgen-dev
 Section: libdevel
 Architecture: any
-Depends: libboost-dev (>= 1.33.1), libboost-thread-dev (>= 1.33.1), libjrl-dynamics-dev (>= 1.9.3), libabstract-robot-dynamics-dev (>= 1.16.2), liblapack-dev (>= 1.2), libjrl-walkgen3.1.2 (= ${binary:Version}), ${misc:Depends}
+Depends: libboost-dev (>= 1.33.1), libboost-thread-dev (>= 1.33.1), libjrl-dynamics-dev (>= 1.9.3), libabstract-robot-dynamics-dev (>= 1.16.2), liblapack-dev (>= 1.2), libjrl-walkgen3.1.4 (= ${binary:Version}), ${misc:Depends}
 Suggests: libjrl-walkgen-doc
 Description: the JRL walking pattern generator development package
  The JRL walking pattern generator generates a whole-body movement
@@ -29,7 +29,7 @@ Description: the JRL walking pattern generator development package
  This package contains development files (headers and pkg-config file).
 
 
-Package: libjrl-walkgen3.1.2
+Package: libjrl-walkgen3.1.4
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: the JRL walking pattern generator C++ library
diff --git a/debian/libjrl-walkgen3.1.2.install b/debian/libjrl-walkgen3.1.4.install
similarity index 100%
rename from debian/libjrl-walkgen3.1.2.install
rename to debian/libjrl-walkgen3.1.4.install
diff --git a/debian/rules b/debian/rules
index af842dd6..c156632f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,6 @@ override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_BUILD_TYPE=RELEASE -DGENERATE_DOC=ON -DCMAKE_INSTALL_PREFIX=/opt/openrobots
 
 override_dh_shlibdeps:
-	LD_LIBRARY_PATH=/opt/openrobots/lib:/usr/lib/libfakeroot/:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot dpkg-shlibdeps
+	LD_LIBRARY_PATH=/opt/openrobots/lib:/usr/lib/libfakeroot/:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot dpkg-shlibdeps -Tdebian/libjrl-walkgen3.1.4.substvars debian/libjrl-walkgen3.1.4/opt/openrobots/lib/libjrl-walkgen.so.3.1.4
 %:
 	dh  $@
diff --git a/debian/shlibs b/debian/shlibs
new file mode 100644
index 00000000..016f4d08
--- /dev/null
+++ b/debian/shlibs
@@ -0,0 +1 @@
+libjrl-walkgen 3.1.2 libjrl-walkgen3.1.2 (>=3.1.2-1)
\ No newline at end of file
-- 
GitLab