Bug#453257: Please add -dbg package

Michal Čihař nijel at debian.org
Wed Nov 28 04:00:20 UTC 2007


Package: libgtkhtml2
Version: 2.11.1-1
Severity: wishlist
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

can you please add -dbg package which includes debug symbols? It is
useful when libgtkhtml2 crashes.

Attached patch implements this.

- -- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHTOfU3DVS6DbnVgQRAgFaAJ9iOLR+OGYnjVPJe3RgpYa9yQfm7gCeNXac
Cdp227I1c1V/vSOHEnMsHE4=
=Fls9
-----END PGP SIGNATURE-----
-------------- next part --------------
diff -ruNp libgtkhtml2-2.11.1-original/debian/changelog libgtkhtml2-2.11.1/debian/changelog
--- libgtkhtml2-2.11.1-original/debian/changelog	2007-11-28 12:36:27.000000000 +0900
+++ libgtkhtml2-2.11.1/debian/changelog	2007-11-28 12:35:36.000000000 +0900
@@ -1,3 +1,9 @@
+libgtkhtml2 (2.11.1-2~nijel.0) unstable; urgency=low
+
+  * Add debug package.
+
+ -- Michal Čihař <nijel at debian.org>  Wed, 28 Nov 2007 12:35:21 +0900
+
 libgtkhtml2 (2.11.1-1) unstable; urgency=low
 
   [ Josselin Mouette ]
diff -ruNp libgtkhtml2-2.11.1-original/debian/control libgtkhtml2-2.11.1/debian/control
--- libgtkhtml2-2.11.1-original/debian/control	2007-11-28 12:36:27.000000000 +0900
+++ libgtkhtml2-2.11.1/debian/control	2007-11-28 12:57:55.000000000 +0900
@@ -24,6 +24,18 @@ Description: HTML rendering/editing libr
  .
  This package is a part of GNOME2
 
+Package: libgtkhtml2-0-dbg
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+         libgtkhtml2-0 (= ${binary:Version}),
+         ${shlibs:Depends}
+Description: HTML rendering/editing library - debugger symbols. (for GNOME2)
+ This is GtkHTML, a lightweight HTML rendering/printing/editing engine. It
+ was originally based on KHTMLW, but is now being developed independently.
+ .
+ This package is a part of GNOME2
+
 Package: libgtkhtml2-dev
 Architecture: any
 Section: libdevel
diff -ruNp libgtkhtml2-2.11.1-original/debian/control.in libgtkhtml2-2.11.1/debian/control.in
--- libgtkhtml2-2.11.1-original/debian/control.in	2007-11-28 12:36:27.000000000 +0900
+++ libgtkhtml2-2.11.1/debian/control.in	2007-11-28 12:54:23.000000000 +0900
@@ -24,6 +24,18 @@ Description: HTML rendering/editing libr
  .
  This package is a part of GNOME2
 
+Package: libgtkhtml2- at SONAME@-dbg
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+         libgtkhtml2- at SONAME@ (= ${binary:Version}),
+         ${shlibs:Depends}
+Description: HTML rendering/editing library - debugger symbols. (for GNOME2)
+ This is GtkHTML, a lightweight HTML rendering/printing/editing engine. It
+ was originally based on KHTMLW, but is now being developed independently.
+ .
+ This package is a part of GNOME2
+
 Package: libgtkhtml2-dev
 Architecture: any
 Section: libdevel
diff -ruNp libgtkhtml2-2.11.1-original/debian/rules libgtkhtml2-2.11.1/debian/rules
--- libgtkhtml2-2.11.1-original/debian/rules	2007-11-28 12:36:27.000000000 +0900
+++ libgtkhtml2-2.11.1/debian/rules	2007-11-28 12:34:50.000000000 +0900
@@ -51,7 +51,7 @@ binary-arch: install
 	dh_installman -s
 	dh_installchangelogs -p$(LIB_PKG) ChangeLog
 	dh_link -s
-	dh_strip -s
+	dh_strip -s --dbg-package=libgtkhtml2-0-dbg
 	dh_compress -s
 	dh_fixperms -s
 	dh_makeshlibs -s -V


More information about the pkg-gnome-maintainers mailing list