[libfann] 50/133: Add -dbg packages for libfann2 and python-pyfann

Christian Kastner chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:07:48 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository libfann.

commit 255996b164732cdaffed08198b6cc6089032af29
Author: Christian Kastner <debian at kvr.at>
Date:   Sun Jun 20 17:41:22 2010 +0200

    Add -dbg packages for libfann2 and python-pyfann
    
    dh_strip creates all the necessary files, we have to move them in place
    manually though because multiple -dbg packages are built.
---
 debian/changelog              |  2 ++
 debian/control                | 40 ++++++++++++++++++++++++++++++++++++++++
 debian/libfann2-dbg.dirs      |  1 +
 debian/python-pyfann-dbg.dirs |  1 +
 debian/rules                  |  6 ++++++
 5 files changed, 50 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3117dd2..1ff5e21 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,10 +2,12 @@ libfann (2.1.0~beta~dfsg-2) unstable; urgency=low
 
   * debian/control:
     - Capitalize Python, and remove redundant reference to Python extension
+    - Added libfann2-dbg and python-pyfann-dbg packages
   * debian/libfann-dev.dirs:
     - Removed because redundant to dh_install
   * debian/rules:
     - Don't handle nostrip, dh_strip handles it for us
+    - Build libfann2-dbg and python-pyfann-dbg with the help of nostrip
 
  -- Christian Kastner <debian at kvr.at>  Sun, 20 Jun 2010 17:48:13 +0200
 
diff --git a/debian/control b/debian/control
index b529990..784451d 100644
--- a/debian/control
+++ b/debian/control
@@ -67,6 +67,26 @@ Description: Development libraries and header files for FANN
  needed for developing the libfann applications. It also includes some
  examples.
 
+Package: libfann2-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends:
+    ${misc:Depends},
+    libfann2 (= ${binary:Version})
+Description: Development libraries and header files for FANN
+ Fast Artificial Neural Network Library is a free open
+ source neural network library, which implements multilayer artificial
+ neural networks in C with support for both fully connected and
+ sparsely connected networks. Cross-platform execution in both fixed
+ and floating point are supported. It includes a framework for easy
+ handling of training data sets. It is easy to use, versatile, well
+ documented, and fast. A Python binding is available, and bindings for
+ PHP, C++, .NET, Delphi, Octave, Ruby, Pure Data and Mathematica
+ can be downloaded from FANN's homepage.
+ .
+ This package contains the debugging symbols for the libfann library.
+
 Package: python-pyfann
 Section: python
 Architecture: any
@@ -90,6 +110,26 @@ Description: Python bindings for FANN
  .
  This package contains the Python wrapper for FANN.
 
+Package: python-pyfann-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends:
+    ${misc:Depends},
+    python-pyfann (= ${binary:Version})
+Description: Python bindings for FANN
+ Fast Artificial Neural Network Library is a free open
+ source neural network library, which implements multilayer artificial
+ neural networks in C with support for both fully connected and
+ sparsely connected networks. Cross-platform execution in both fixed
+ and floating point are supported. It includes a framework for easy
+ handling of training data sets. It is easy to use, versatile, well
+ documented, and fast. A Python binding is available, and bindings for
+ PHP, C++, .NET, Delphi, Octave, Ruby, Pure Data and Mathematica
+ can be downloaded from FANN's homepage.
+ .
+ This package contains the debugging symbols for the FANN Python wrapper.
+
 Package: libfann-doc
 Section: doc
 Architecture: all
diff --git a/debian/libfann2-dbg.dirs b/debian/libfann2-dbg.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libfann2-dbg.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/python-pyfann-dbg.dirs b/debian/python-pyfann-dbg.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/python-pyfann-dbg.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/rules b/debian/rules
index 9d02ffc..6caa69e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,6 +55,12 @@ override_dh_auto_install:
 	# Continue with regular installation process
 	dh_auto_install
 
+override_dh_strip:
+	# Can't use --dbg-package because we have multiple debug packages
+	dh_strip -k
+	mv debian/libfann2/usr/lib/debug debian/libfann2-dbg/usr/lib
+	mv debian/python-pyfann/usr/lib/debug debian/python-pyfann-dbg/usr/lib
+
 override_dh_installexamples:
 	# Perform regular examples install process
 	dh_installexamples

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



More information about the debian-science-commits mailing list