Package: libqdjango-dev
Version: 0.2.5-4
Severity: wishlist
Tags: patch
Dear Maintainer,
it would be nice to have debug symbols for libqdjango-{db,http,script}.
The attached patch upon 0.2.5-4 works for me.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (1,
'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libqdjango-dev depends on:
ii libqdjango-db0 0.2.5-4
ii libqdjango-http0 0.2.5-4
ii libqdjango-script0 0.2.5-4
ii libqt4-dev 4:4.8.2-2+b1
libqdjango-dev recommends no packages.
libqdjango-dev suggests no packages.
-- no debconf information
diff -ur debian/changelog qdjango-0.2.5/debian/changelog
--- debian/changelog 2012-08-24 12:37:45.000000000 +0200
+++ qdjango-0.2.5/debian/changelog 2012-09-07 01:00:02.000000000 +0200
@@ -1,3 +1,9 @@
+qdjango (0.2.5-4) UNRELEASED; urgency=low
+
+ * debug build
+
+ -- Roland Hieber <[email protected]> Fri, 07 Sep 2012 00:59:55 +0200
+
qdjango (0.2.5-3) unstable; urgency=low
* Add debian/watch.
diff -ur debian/control qdjango-0.2.5/debian/control
--- debian/control 2012-08-24 10:03:49.000000000 +0200
+++ qdjango-0.2.5/debian/control 2012-09-07 01:22:47.000000000 +0200
@@ -52,6 +52,17 @@
.
This package contains the development headers and libraries.
+Package: libqdjango-dbg
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, libqdjango-db0 (= ${binary:Version}), libqdjango-http0 (= ${binary:Version}), libqdjango-script0 (= ${binary:Version})
+Description: Debugging symbols for the QDjango framework
+ QDjango is a cross-platform C++ web development framework built upon Qt.
+ Where possible it tries to follow django's API, hence its name.
+ .
+ This package contains the debugging symbols.
+
Package: libqdjango-doc
Section: doc
Architecture: all
diff -ur debian/rules qdjango-0.2.5/debian/rules
--- debian/rules 2012-05-31 18:56:38.000000000 +0200
+++ qdjango-0.2.5/debian/rules 2012-09-07 01:20:30.000000000 +0200
@@ -6,5 +6,6 @@
override_dh_auto_configure:
dh_auto_configure -- LIBDIR=lib/$(DEB_HOST_MULTIARCH)
override_dh_install:
dh_install -Xjquery.js
+.PHONY: override_dh_strip
+override_dh_strip:
+ dh_strip --dbg-package=libqdjango-dbg
Index: qdjango-0.2.5/qdjango.pro
===================================================================
--- qdjango-0.2.5.orig/qdjango.pro 2012-09-07 00:59:08.000000000 +0200
+++ qdjango-0.2.5/qdjango.pro 2012-09-07 01:10:37.000000000 +0200
@@ -9,7 +9,8 @@
SUBDIRS += tests examples
}
CONFIG += ordered
+# stripping is done by dh_strip
+QMAKE_STRIP = echo
# Documentation generation
docs.commands = cd doc/ && doxygen