Reply-To: "Peter Lekensteyn" <lekenst...@gmail.com>
To: sub...@bugs.debian.org
Subject: [Patch] Include a package containing debugging symbols
Package: xserver-xorg-input-synaptics
Version: 1.5.0-2
Tags: patch


When X segfaulted on the touchpad driver, it produced a backtrace without
symbolic names. The attached patch makes the debugging symbols available
in the xserver-xorg-input-synaptics-dbg package. In case the patch does
not show up properly, a copy of this patch can be found on
http://pastebin.com/22xJ1Kgv


diff -Nur a/debian/control b/debian/control
--- a/debian/control    2011-12-22 16:02:42.000000000 +0100
+++ b/debian/control    2011-12-22 16:00:59.621256053 +0100
@@ -66,3 +66,16 @@
  This package contains the development headers for the Synaptics input
  driver found in xserver-xorg-input-synaptics. Non-developers likely have
  little use for this package.
+
+Package: xserver-xorg-input-synaptics-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+ xserver-xorg-input-synaptics (= ${binary:Version}), 
+ ${misc:Depends}
+Description: Synaptics TouchPad driver for X.Org server - debugging symbols
+ xserver-xorg-input-synaptics provides an input driver for the X.Org X server
+ to enable advanced features of the Synaptics Touchpad.
+ .
+ This package contains the debugging symbols for xserver-xorg-input-synaptics.
diff -Nur a/debian/rules b/debian/rules
--- a/debian/rules      2011-12-22 16:02:42.000000000 +0100
+++ b/debian/rules      2011-12-22 15:55:47.845248936 +0100
@@ -15,3 +15,5 @@
 
 %:
        dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
+dh_override_dh_strip:
+       dh_strip --dbg-package=xserver-xorg-input-synaptics-dbg



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to