Debian packaging change. Strip binaries (as required by policy) and
provide detached debugging symbols in newly added wmaker-dbg package.
---
 debian/changelog |    1 +
 debian/control   |   11 +++++++++++
 debian/rules     |    2 +-
 3 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a9579e1..ba6daea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,7 @@ wmaker (0.92.0+git-0) unstable; urgency=low
     + wmsetbg crashing on big png images. (Fixed by git
       2ccc8e4a79a3179454d82b9acc574135ea6369a4, switching from alloca to
       calloc - wrlib/png.c) Closes: #148370
+  * Provide detached debugging symbols in wmaker-dbg package.
 
  -- Andreas Metzler <[email protected]>  Sat, 07 Aug 2010 10:56:00 +0200
 
diff --git a/debian/control b/debian/control
index 1084d53..172ab2e 100644
--- a/debian/control
+++ b/debian/control
@@ -87,3 +87,14 @@ Description: Window Maker's own widget set - runtime library
  the WindowMaker window manager.
  .
  This package contains the libWINGs runtime library.
+
+Package: wmaker-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libwraster3 (= ${binary:Version}) | libwings2 (= ${binary:Version}) |
+ libwutil1 (= ${binary:Version}) | wmaker (= ${binary:Version}),
+ ${misc:Depends}
+Description: debugging symbols for WindowMaker packages
+ This package contains debugging symbols for Window Maker and its core
+ libraries (libWINGs, libWutils, libwraster).
diff --git a/debian/rules b/debian/rules
index 54871c3..b59ad6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -179,7 +179,7 @@ binary-arch: build
        dh_installman -a
        dh_installchangelogs -a ChangeLog
        dh_link -a
-#      dh_strip -a
+       dh_strip -a --dbg-package=wmaker-dbg
        dh_lintian
        dh_compress -a
        dh_fixperms -a
-- 
1.7.1


-- 
To unsubscribe, send mail to [email protected].

Reply via email to