found 640910 3.0.2-3
tags 640910 patch
quit

Am Donnerstag, den 08.09.2011, 15:00 +0200 schrieb Yves-Alexis Perez:
> Package: gnome-disk-utility
> Version: 2.32.1-1
> Severity: wishlist


Dear Debian folks,

> the subject says everything. Debugging symbols are useful in order to..
> hem, debug the library. Please provide a libgdu-dbg package or something
> like that.

Please find a patch at the end of this message.

1. I am not sure if Break lines are needed for debug packages and if
they should depend on other debug packages.
2. I did not create an entry in `debian/changelog` because `git-dch`
should be able to do that automatically.
3. Please apply this patch with `git am --scissors this.mbox`.


Thanks,

Paul

--- 8< ---- >8 ---
From: Paul Menzel <pm.deb...@googlemail.com>
Date: Fri, 21 Sep 2012 11:03:48 +0200
Subject: [PATCH] debian/{control,rules}: Add debugging packages

The changes were made according to the article DebugPackage in the Debian Wiki 
[1].

Closes: 640910

[1] http://wiki.debian.org/DebugPackage
---
 debian/control |   43 +++++++++++++++++++++++++++++++++++++++++++
 debian/rules   |    6 ++++++
 2 files changed, 49 insertions(+)

diff --git a/debian/control b/debian/control
index 4005520..854af6d 100644
--- a/debian/control
+++ b/debian/control
@@ -86,3 +86,46 @@ Description: GTK+ standard dialog library for libgdu - 
development files
  for erasing a partition.
  .
  This package contains files that are needed to build applications.
+
+Package: gnome-disk-utility-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: gnome-disk-utility (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for gnome-disk-utility
+ palimpsest (from the gnome-disk-utility project) is a tool to manage disk
+ drives and media:
+ .
+  * Format and partition drives.
+  * Mount and unmount partitions.
+  * Query S.M.A.R.T. attributes.
+ .
+ It utilizes udisks.
+ .
+ This package contains the debugging symbols for gnome-disk-utility.
+
+Package: libgdu-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libgdu0 (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for GObject based Disk Utility Library
+ The gnome-disk-utility library provides an user-space interface to the
+ udisks objects and properties (such as drives, volumes, SMART data),
+ and operations (such as mounting, unmounting, creating and checking
+ partitions).
+ .
+ This package contains the debugging symbols for libgdu0.
+
+Package: libgdu-gtk-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libgdu-gtk0 (= ${binary:Version}), ${misc:Depends}
+Breaks: gnome-disk-utility (<< 3.0.0)
+Description: debugging symbols for GTK+ standard dialog library for libgdu
+ The gdu-gtk library provides GTK+ standard dialogs for handling media
+ operations, like entering secrets for encrypted drives or confirmation dialogs
+ for erasing a partition.
+ .
+ This package contains the debugging symbols for libgdu-gtk0.
diff --git a/debian/rules b/debian/rules
index eb84b21..98d35e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,3 +22,9 @@ override_dh_auto_test:
 
 override_dh_builddeb:
        dh_builddeb -- -Zxz
+
+.PHONY: override_dh_strip
+override_dh_strip:
+       dh_strip -pgnome-disk-utility --dbg-package=gnome-disk-utility-dbg
+       dh_strip -plibgdu0 --dbg-package=libgdu-dbg
+       dh_strip -plibgdu-gtk0 --dbg-package=libgdu-gtk-dbg
-- 
1.7.10.4

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to