Package: gelemental
Version: 1.2.0-3
Severity: wishlist
Tags: patch
Usertags: origin-ubuntu hardy

Following a request from pox, I have added a debugging package to the 
libelemental python bindings package; I think this could be a nice addition 
to gelemental too. Just in case you want to consider it, I attach a patch to 
this email.

Cheers,

Cesare
diff -u gelemental-1.2.0/debian/control gelemental-1.2.0/debian/control
--- gelemental-1.2.0/debian/control
+++ gelemental-1.2.0/debian/control
@@ -59,6 +59,37 @@
  .
  This package contains the development libraries and headers.
 
+Package: gelemental-dbg
+Priority: extra
+Architecture: any
+Depends: gelemental (= ${binary:Version}), libelemental0-dbg (= ${binary:Version})
+Description: Periodic Table viewer (main application debugging symbols)
+ gElemental is a GTK+ periodic table viewer that provides detailed information
+ about chemical elements.
+ .
+ It features a table view which allows the elements to be coloured thematically
+ by several properties, a sortable list view and an element properties
+ dialog, displaying a variety of information, including historical,
+ thermodynamic, electrochemical, and crystallographic properties.
+ .
+ This package contains the debugging symbols for the main application.
+
+Package: libelemental0-dbg
+Section: libs
+Priority: extra
+Architecture: any
+Depends: libelemental0 (= ${binary:Version})
+Description: Periodic Table viewer (shared library debugging symbols)
+ gElemental is a GTK+ periodic table viewer that provides detailed information
+ about chemical elements.
+ .
+ It features a table view which allows the elements to be coloured thematically
+ by several properties, a sortable list view and an element properties
+ dialog, displaying a variety of information, including historical,
+ thermodynamic, electrochemical, and crystallographic properties.
+ .
+ This package contains the debugging symbols for the shared library.
+
 Package: libelemental-doc
 Architecture: all
 Recommends: libelemental-dev
diff -u gelemental-1.2.0/debian/changelog gelemental-1.2.0/debian/changelog
--- gelemental-1.2.0/debian/changelog
+++ gelemental-1.2.0/debian/changelog
@@ -1,3 +1,15 @@
+gelemental (1.2.0-4) unstable; urgency=low
+
+  * Add binary packages with debugging symbols:
+    - debian/control:
+      + add gelemental-dbg stanza
+      + add libelemental0-dbg stanza
+    - debian/rules:
+      + split dh_strip calls in binary-arch target
+      + add appropriate --dbg-package options to dh_strip calls
+
+ -- Cesare Tirabassi <[EMAIL PROTECTED]>  Mon, 02 Jun 2008 10:59:33 +0200
+
 gelemental (1.2.0-3) unstable; urgency=low
 
   * debian/control (Build-Depends): Added missing graphviz (doxygen).
diff -u gelemental-1.2.0/debian/rules gelemental-1.2.0/debian/rules
--- gelemental-1.2.0/debian/rules
+++ gelemental-1.2.0/debian/rules
@@ -70,7 +70,8 @@
 	dh_install --list-missing --sourcedir=debian/tmp
 	dh_makeshlibs -a -V
 	dh_link -a
-	dh_strip -a
+	dh_strip -pgelemental --dbg-package=gelemental-dbg
+	dh_strip -plibelemental0 --dbg-package=libelemental0-dbg
 	dh_compress -a
 	dh_icons -pgelemental
 	dh_fixperms -a

Reply via email to