Package: tk8.3
Version: 8.3.5-4
Severity: wishlist
Tags: patch

In my on-going and never-ending quest for better debugging support, attached
is a patch to add a tk8.3-dbg package to the tk8.3 build.  It contains
detached symbols for libtk8.3, which aid in debugging applications linked
against this library.

- Matt
diff -urN tk8.3-8.3.5/debian/control tk8.3-8.3.5.dbg/debian/control
--- tk8.3-8.3.5/debian/control  2005-11-06 17:42:24.000000000 +1100
+++ tk8.3-8.3.5.dbg/debian/control      2005-11-06 09:38:41.000000000 +1100
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Chris Waters <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 3.0), xlibs-dev, tcl8.3-dev (>= 8.3.5)
+Build-Depends: debhelper (>= 3.0), xlibs-dev, tcl8.3-dev (>= 8.3.5), binutils 
(>= 2.14.90.0.7)
 Standards-Version: 3.5.9
 
 Package: tk8.3
@@ -49,3 +49,20 @@
  or embed Tk.
  .
  Homepage: http://www.tcl.tk/
+
+Package: tk8.3-dbg
+Section: libdevel
+Priority: optional
+Architecture: any
+Depends: tk8.3 (= ${Source-Version})
+Description: Symbol tables for libtk8.3
+ Tk is a cross-platform graphical toolkit which provides the Motif
+ look-and-feel and is implemented using the Tcl scripting language.
+ This package contains everything you need to run Tk (wish) scripts
+ and Tk-enabled apps.
+ .
+ This package contains the debug symbols for libtk8.3, to assist in
+ debugging applications built with tk8.3.
+ .
+ Homepage: http://www.tcl.tk/
+
diff -urN tk8.3-8.3.5/debian/rules tk8.3-8.3.5.dbg/debian/rules
--- tk8.3-8.3.5/debian/rules    2005-11-06 17:42:24.000000000 +1100
+++ tk8.3-8.3.5.dbg/debian/rules        2005-11-06 09:40:15.000000000 +1100
@@ -100,7 +100,7 @@
        rm -f `pwd`/debian/tk$(v)/usr/share/doc/tk$(v)/examples/license.terms
        dh_installmenu -a
        dh_installchangelogs -a ChangeLog
-       dh_strip -a
+       dh_strip -a --dbg-package=tk8.3
        dh_compress -a -Xusr/share/doc/tk$(v)/examples/
        dh_fixperms -a
        dh_makeshlibs -a -V 'tk$(v) (>= 8.3.5)'

Attachment: signature.asc
Description: Digital signature

Reply via email to