Code

Added libpfs-dbg binary package. pfstools-1.6.2-1
authorSebastian Harl <sh@tokkee.org>
Mon, 24 Sep 2007 20:00:02 +0000 (22:00 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 24 Sep 2007 20:00:02 +0000 (22:00 +0200)
mkoctfile removes any symbol table and relocation information from the
.oct files making them unusable for the -dbg package thus I do not include
them.

debian/control
debian/rules

index 8954326e3a47e4c327c85f89c871d798327cae29..2ec811ae011cc53189119491f9d06087a4053880 100644 (file)
@@ -25,6 +25,19 @@ Description: command line HDR manipulation programs
  .
   Homepage: http://www.mpi-inf.mpg.de/resources/pfstools/
 
  .
   Homepage: http://www.mpi-inf.mpg.de/resources/pfstools/
 
+Package: pfstools-dbg
+Section: graphics
+Architecture: any
+Priority: extra
+Depends: pfstools (= ${binary:Version}), libpfs-1.2-0 (= ${binary:Version})
+Description: command line HDR manipulation programs (debugging symbols)
+ PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate
+ existing file formats by providing a simple data format that can be used to
+ exchange data between applications.
+ .
+ This package contains the debugging symbols for the pfstools binaries and the
+ shared library.
+
 Package: libpfs-dev
 Section: libdevel
 Architecture: any
 Package: libpfs-dev
 Section: libdevel
 Architecture: any
index c8284308545666c3c5b23d6a99dfd751bcfbccdb..df6bacf06592194cfbc16a8038304356cbfaf74a 100755 (executable)
@@ -89,7 +89,10 @@ binary-arch: build install
        dh_install --sourcedir=debian/tmp --list-missing
        dh_installman debian/pfsglview.1
        dh_link
        dh_install --sourcedir=debian/tmp --list-missing
        dh_installman debian/pfsglview.1
        dh_link
-       dh_strip
+       dh_strip --dbg-package=pfstools-dbg
+       # mkoctfile removes any symbol table and relocation information from the
+       # .oct files making them unusable for the -dbg package
+       rm -rf debian/pfstools-dbg/usr/lib/debug/usr/lib/octave/
        dh_compress -X.pdf
        dh_fixperms
        dh_makeshlibs
        dh_compress -X.pdf
        dh_fixperms
        dh_makeshlibs