Package: dcmtk Version: 3.6.0-9.1~sjors1 Severity: wishlist Dear Maintainer,
I think it would be great if dcmtk had a libdcmtk2-dbg package to help debugging the binaries and shared libraries of dcmtk. In fact, I've gone ahead and created a patch that will add a -dbg package as mentioned, with the correct debugging symbols, created using Debian policies. Please let me know if you can merge it like this, or if you need anything else. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-31-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dcmtk depends on: ii adduser 3.113ubuntu2 ii libc6 2.15-0ubuntu10.2 ii libcharls1 1.0-1 ii libdcmtk2 3.6.0-9.1~sjors1 ii libgcc1 1:4.6.3-1ubuntu5 ii libjpeg8 8c-2ubuntu7 ii libpng12-0 1.2.46-3ubuntu4 ii libssl1.0.0 1.0.1-4ubuntu5.5 ii libstdc++6 4.6.3-1ubuntu5 ii libtiff4 3.9.5-2ubuntu1.2 ii libwrap0 7.6.q-21 ii libxml2 2.7.8.dfsg-5.1ubuntu4.2 ii zlib1g 1:1.2.3.4.dfsg-3ubuntu4 dcmtk recommends no packages. dcmtk suggests no packages. -- no debconf information
diff -Nurd dcmtk-3.6.0/debian/changelog debian/changelog --- dcmtk-3.6.0/debian/changelog 2011-11-23 16:31:46.000000000 +0100 +++ debian/changelog 2012-10-15 21:01:19.565216697 +0200 @@ -1,3 +1,10 @@ +dcmtk (3.6.0-9.1~sjors1) unstable; urgency=low + + * Non-maintainer upload. + * Add libdcmtk2-dbg package for debugging symbols. + + -- Sjors Gielen <sj...@sjorsgielen.nl> Mon, 15 Oct 2012 16:11:03 +0200 + dcmtk (3.6.0-9) unstable; urgency=low * Remove dot wrapper, not required anymore. diff -Nurd dcmtk-3.6.0/debian/control debian/control --- dcmtk-3.6.0/debian/control 2011-11-23 16:31:46.000000000 +0100 +++ debian/control 2012-10-15 21:01:19.565216697 +0200 @@ -89,3 +89,18 @@ . This package contains the on-line documentation for the DCMTK libraries and utilities in HTML format. + +Package: libdcmtk2-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libdcmtk2 (= ${binary:Version}), ${misc:Depends} +Conflicts: libdcmtk0, libdcmtk0c2, dcmtk (<< 3.6.0) +Replaces: libdcmtk0, libdcmtk0c2 +Description: OFFIS DICOM toolkit library debugging symbols + DCMTK includes a collection of libraries and applications for examining, + constructing and converting DICOM image files, handling offline media, + sending and receiving images over a network connection, as well as + demonstrative image storage and worklist servers. + . + This package contains the debugging symbols for libdcmtk2. diff -Nurd dcmtk-3.6.0/debian/rules debian/rules --- dcmtk-3.6.0/debian/rules 2011-11-23 15:57:10.000000000 +0100 +++ debian/rules 2012-10-16 23:43:32.092784636 +0200 @@ -153,7 +153,7 @@ # Do not forget to install the shared libs as well # TODO: make use of d-shlibs (andreas tille) find $(CURDIR) -path $(CURDIR)/debian -prune -o \ - -name 'lib*.so' -exec install -s -m 644 \{\} $(PKGDIR_DCMTK_LIB)/usr/lib \; + -name 'lib*.so' -exec install -m 644 \{\} $(PKGDIR_DCMTK_LIB)/usr/lib \; # Fix filenames / add symlinks for shared libs for i in $(PKGDIR_DCMTK_LIB)/usr/lib/*.so; do \ @@ -175,7 +175,7 @@ dh_install -i dh_link -i dh_lintian -i - dh_strip -i + dh_strip --dbg-package=libdcmtk2-dbg -i dh_compress -i dh_fixperms -i dh_installdeb -i @@ -198,7 +198,7 @@ mv $(PKGDIR_DCMTK)/usr/share/dcmtk/*.dic $(PKGDIR_DCMTK_LIB)/usr/share/dcmtk/ dh_link -a dh_lintian -a - dh_strip -a + dh_strip --dbg-package=libdcmtk2-dbg -a dh_compress -a dh_fixperms -a dh_perl -a