Subject: Bug#255: Debug package for x2goclient.

From: Heinrich Schuchardt <[email-masked]>
Date: Fri, 28 Jun 2013 21:40:21 +0200

Package: x2goclient
Version: 4.0.1.0
Severity: wishlist

Debugging the x2goclient requires debug symbols. These should be 
supplied as a
debian package. Please, apply the patch below.

I used the debug symbols for finding uninitialized decision variables in 
the x2goclient with valgrind.

Signed-off-by: Heinrich Schuchardt <[email-masked]>
---
  debian/control |   20 ++++++++++++++++++++
  debian/rules   |    3 +++
  2 files changed, 23 insertions(+)

diff --git a/debian/control b/debian/control
index 266f13a..fd1ee74 100644
--- a/debian/control
+++ b/debian/control
@@ -49,6 +49,26 @@ Description: X2Go Client application (Qt4)
   x2goclient is a graphical client (Qt4) for the X2Go system.
   You can use it to connect to running sessions and start new sessions.

+Package: x2goclient-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, x2goclient (= ${binary:Version})
+Description: X2Go Client application (Qt4)
+ X2Go is a serverbased computing environment with
+    - session resuming
+    - low bandwidth support
+    - LDAP support
+    - client-side mass storage mounting support
+    - client-side printing support
+    - audio support
+    - authentication by smartcard and USB stick
+ .
+ x2goclient is a graphical client (Qt4) for the X2Go system.
+ You can use it to connect to running sessions and start new sessions
+ .
+ This package provides the debug symbols for the x2goclient application.
+
  Package: x2goplugin
  Architecture: any
  Depends:
diff --git a/debian/rules b/debian/rules
index 2bbb30a..bc53558 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,3 +14,6 @@ override_dh_auto_clean:
  	rm -Rf x2goclient_*.qm

  override_dh_auto_install:
+
+override_dh_strip:
+	dh_strip --dbg-package=x2goclient-dbg
-- 1.7.10.4