Source: quassel
Version: 0.9.2-1
Severity: wishlist
Tags: patch

The attached patch adds a debug package for
quassel(-client), quassel-kde4(-client) and quassel-core.

Thanks,
Daniel Schaal

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (103, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
>From 97075348b55c62d6854c0d204c5742714e810d14 Mon Sep 17 00:00:00 2001
From: Daniel Schaal <farb...@web.de>
Date: Sat, 15 Feb 2014 07:11:07 +0100
Subject: [PATCH] Add dbg packages

---
 debian/control | 42 ++++++++++++++++++++++++++++++++++++++++++
 debian/rules   |  8 +++++---
 2 files changed, 47 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index ddb13f8..14e378c 100644
--- a/debian/control
+++ b/debian/control
@@ -98,3 +98,45 @@ Description: distributed IRC client - shared data (KDE4 version)
  .
  This package provides files used by the KDE4-based Quassel client
  packages.
+
+Package: quassel-core-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libqt4-dbg, ${misc:Depends},
+ quassel-core (= ${binary:Version})
+Description: distributed IRC client - core debug data
+ Quassel is a modern, cross-platform, distributed IRC client, meaning that
+ one or more clients can attach to and detach from the central core. It's
+ much like the popular combination of screen and a text-based IRC client
+ such as WeeChat or irssi, but graphical.
+ .
+ This package provides debug data used by the Quassel core package.
+
+Package: quassel-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libqt4-dbg, ${misc:Depends},
+ quassel-client (= ${binary:Version}) | quassel (= ${binary:Version})
+Description: distributed IRC client - debug data
+ Quassel is a modern, cross-platform, distributed IRC client, meaning that
+ one or more clients can attach to and detach from the central core. It's
+ much like the popular combination of screen and a text-based IRC client
+ such as WeeChat or irssi, but graphical.
+ .
+ This package provides debug data used by the Qt-based Quassel packages.
+
+Package: quassel-kde4-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: kdelibs5-dbg, ${misc:Depends},
+ quassel-client-kde4 (= ${binary:Version}) | quassel-kde4 (= ${binary:Version})
+Description: distributed IRC client - debug data (KDE4 version)
+ Quassel is a modern, cross-platform, distributed IRC client, meaning that
+ one or more clients can attach to and detach from the central core. It's
+ much like the popular combination of screen and a text-based IRC client
+ such as WeeChat or irssi, but graphical.
+ .
+ This package provides debug data used by the KDE4-based Quassel packages.
diff --git a/debian/rules b/debian/rules
index eefaac6..1e80f53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,9 +16,11 @@ override_dh_auto_build:
 	dh_auto_build --builddirectory=$(BUILDDIR_KDE)
 	dh_auto_build
 
-#override_dh_strip:
-#	dh_strip --builddirectory=$(BUILDDIR_KDE) --dbg-package=quassel-kde4-dbg
-#	dh_strip --dbg-package=quassel-dbg
+override_dh_strip:
+	dh_strip --package=quassel-kde4 --package=quassel-client-kde4 --dbg-package=quassel-kde4-dbg
+	dh_strip --package=quassel --package=quassel-client --dbg-package=quassel-dbg
+	dh_strip --package=quassel-core --dbg-package=quassel-core-dbg
+	dh_strip --remaining-packages
 
 override_dh_auto_install:
 	dh_auto_install --builddirectory=$(BUILDDIR_KDE) --destdir=debian/kde4-tmp
-- 
1.9.0.rc3

Reply via email to