Package: dvd+rw-tools
Version: 7.0-10
Severity: wishlist
Tags: patch

Hello:

I was doing a k3b duplicate of a DVD and growisofs hanged, looking at
the backtrace I saw it was useless so I manage to build a -dbg package
for dvd+rw-tools.

I'm attaching you the patch in case you consider creating such a
package.

Regards,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc6-c2toi (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dvd+rw-tools depends on:
ii  genisoimage             9:1.1.6-1        Creates ISO-9660 CD-ROM filesystem
ii  libc6                   2.7-5            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080104-1 GCC support library
ii  libstdc++6              4.3-20080104-1   The GNU Standard C++ Library v3

dvd+rw-tools recommends no packages.

-- no debconf information
diff -ru dvd+rw-tools-7.0/debian/changelog 
dvd+rw-tools-7.0-raul/debian/changelog
--- dvd+rw-tools-7.0/debian/changelog   2008-01-07 16:01:28.000000000 +0100
+++ dvd+rw-tools-7.0-raul/debian/changelog      2008-01-07 15:59:47.000000000 
+0100
@@ -1,3 +1,9 @@
+dvd+rw-tools (7.0-10) UNRELEASED; urgency=low
+
+  *  Adding debug symbols package.
+
+ -- Raúl Sánchez Siles <[EMAIL PROTECTED]>  Mon, 07 Jan 2008 12:26:07 +0100
+
 dvd+rw-tools (7.0-9) unstable; urgency=low
 
   * Don't hide make errors in clean target of rules.
diff -ru dvd+rw-tools-7.0/debian/control dvd+rw-tools-7.0-raul/debian/control
--- dvd+rw-tools-7.0/debian/control     2008-01-07 16:01:28.000000000 +0100
+++ dvd+rw-tools-7.0-raul/debian/control        2008-01-07 15:59:47.000000000 
+0100
@@ -24,3 +24,23 @@
  .
  and some programs to control the write speed and obtain information from
  DVD-RAM.
+
+Package: dvd+rw-tools-dbg
+Architecture: any
+Priority: optional
+Depends: dvd+rw-tools (= ${binary:Version})
+Description: DVD+-RW/R tools
+ dvd+rw-tools makes it possible to burn DVD images created by dvdauthor or
+ genisoimage to DVD+R, DVD+RW, DVD-R, and DVD-RW disks, replacing
+ cdrecord-proDVD in many cases.
+ .
+ The package contains:
+ .
+   * growisofs to burn DVD images or create a data DVD on the fly
+   * dvd+rw-format to format a DVD+RW
+   * dvd+rw-mediainfo to give details about DVD disks
+ .
+ and some programs to control the write speed and obtain information from
+ DVD-RAM.
+ .
+ This package provides debugging symbols for the tmw package.
diff -ru dvd+rw-tools-7.0/debian/rules dvd+rw-tools-7.0-raul/debian/rules
--- dvd+rw-tools-7.0/debian/rules       2008-01-07 16:01:28.000000000 +0100
+++ dvd+rw-tools-7.0-raul/debian/rules  2008-01-07 16:33:58.000000000 +0100
@@ -13,14 +13,16 @@
        CFLAGS += -O2
 endif
 
+CXXFLAGS = $(CFLAGS)
+
 build: build-stamp
 build-stamp: patch-stamp
        dh_testdir
 
        # Building package
-       $(MAKE) WARN=-DI_KNOW_ALL_ABOUT_SUDO
-       $(MAKE) +btcflash
-       $(MAKE) rpl8
+       CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) 
WARN=-DI_KNOW_ALL_ABOUT_SUDO
+       CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) +btcflash
+       CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) rpl8
        sed -n "/^%changelog$$/,$$ p" dvd+rw-tools.spec > ChangeLog
 
        touch build-stamp
@@ -60,7 +62,7 @@
        dh_install
        dh_installman
        dh_link
-       dh_strip
+       dh_strip --dbg-package=dvd+rw-tools-dbg
        dh_compress
        dh_fixperms
        dh_installdeb

Reply via email to