Subject: libwildmidi0: Please provide debug packages.
Package: libwildmidi0
Version: 0.2.2-2
Severity: normal

*** Please type your report below this line ***

Dear Debian folks,


it would be great if you could add debug packages. I needed those for
[1]. Unfortunately I could only create it the way described in [2].

I also tried to adapt `debian/control` and `debian/rules` as described
in the CDBS manual [3]. But I only got empty debug packages. I did not
set any environment variables in `debian/rules` because [3] says it is
not needed. [3] mentions also empty packages, but the `*.install` files
are in place already as far as I can see.

Please find my work attached as a diff. Maybe it is just a small error.


Thanks,

Paul


[1] https://bugzilla.gnome.org/show_bug.cgi?id=618247
[2] http://wiki.debian.org/HowToGetABacktrace
[3] file:///usr/share/doc/cdbs/cdbs-doc.html

---
 debian/control |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/debian/control b/debian/control
index b830c44..9232f83 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,16 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: software MIDI player
  Minimal MIDI player implementation based on the wildmidi library
 
+Package: wildmidi-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: wildmidi (=${binary:Version}), ${misc:Depends}
+Description: software MIDI player
+ Minimal MIDI player implementation based on the wildmidi library
+ .
+ This package contains the debugging symbols.
+
 Package: libwildmidi0
 Section: libs
 Architecture: any
@@ -26,7 +36,7 @@ Description: software MIDI player library
 Package: libwildmidi-dev
 Section: libdevel
 Architecture: all
-Depends: libwildmidi0 (>= ${binary:Version})
+Depends: libwildmidi0 (>= ${source:Upstream-Version}), ${misc:Depends}
 Description: software MIDI player library headers
  MIDI streaming library designed to process a midi file and stream the results
  as stereo audio data through a buffer which an external program can then
@@ -34,3 +44,14 @@ Description: software MIDI player library headers
  .
  This package contains the development headers
 
+Package: libwildmidi-dbg
+Section: debug
+Priority: extra
+Architecture: all
+Depends: libwildmidi0 (>= ${binary:Version}), ${misc:Depends}
+Description: software MIDI player library headers
+ MIDI streaming library designed to process a midi file and stream the results
+ as stereo audio data through a buffer which an external program can then
+ process further.
+ .
+ This package contains the debugging symbols.
-- 
1.7.1

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to