Package: cfitsio3 Severity: wishlist Tags: patch Hi,
Could you please provide a libcfitsio3-dbg package with the debugging symbols of the library? Having those available makes debugging programs linked against libcfitsio3 a lot easier. The attached patch is against version 3.006-1.3 of the package (found in Etch) but should apply to the version in unstable as well. Thanks in advance! Cheers, Sebastian -- Sebastian "tokkee" Harl GnuPG-ID: 0x8501C7FC http://tokkee.org/
diff -u cfitsio3-3.006/debian/control cfitsio3-3.006/debian/control
--- cfitsio3-3.006/debian/control
+++ cfitsio3-3.006/debian/control
@@ -22,6 +22,18 @@
use this library in your own code. It also contains example source
files that demonstrate the use of cfitsio.
+Package: libcfitsio3-dbg
+Architecture: any
+Depends: libcfitsio3 (= ${Source-Version})
+Description: library for I/O with FITS format data files (debugging symbols)
+ FITS (Flexible Image Transport System) is a data format most used in
+ astronomy. cfitsio is a library of ANSI C routines for reading and
+ writing FITS format data files. A set of Fortran-callable wrapper
+ routines are also included for the convenience of Fortran
+ programmers.
+ .
+ This package contains what you need to debug the library.
+
Package: libcfitsio3
Architecture: any
Depends: ${shlibs:Depends}
diff -u cfitsio3-3.006/debian/rules cfitsio3-3.006/debian/rules
--- cfitsio3-3.006/debian/rules
+++ cfitsio3-3.006/debian/rules
@@ -139,9 +139,9 @@
# dh_clean -k
dh_installdirs -a
#runtime
- install -s libcfitsio.so.* $(d_lib)/usr/lib
+ install libcfitsio.so.* $(d_lib)/usr/lib
ln -s libcfitsio.so.$(version) $(d_lib)/usr/lib/libcfitsio.so.$(major)
- strip --strip-unneeded $(d_lib)/usr/lib/*.so.*
+# strip --strip-unneeded $(d_lib)/usr/lib/*.so.* # this is done by
dh_strip
install -d $(d_lib)/DEBIAN
# cp debian/shlibs $(d_lib)/DEBIAN/shlibs
@@ -174,7 +174,7 @@
# dh_undocumented
dh_installchangelogs -a changes.txt
dh_link -a
- dh_strip -a
+ dh_strip -a --dbg-package=libcfitsio3-dbg
dh_compress -a
dh_fixperms -a
# You may want to make some executables suid here.
signature.asc
Description: Digital signature

