[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch: create debug packages for at-spi 2



Here are patches to at-spi2-core and libatk-adaptor that create packages of
debugging symbols.

Review and improvements are welcome.

Note that these changes are made on top of Luke's work for Ubuntu, which I've
merged into my local repository's master branch.

In particular, if someone could verify the Multi-Arch fields in the control
file, that would be appreciated. I've checked the changes to the extent of
building binary packages and installing them.

I am a beginner at Debian packaging, so thorough review would be wise.

>From b3eb068d624a9dd8da111f788118bb2447000512 Mon Sep 17 00:00:00 2001
From: Jason White <jason@jasonjgw.net>
Date: Sat, 25 Feb 2012 13:24:41 +1100
Subject: [PATCH] Create debugging packages.

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

diff --git a/debian/control b/debian/control
index bd31d13..6498bc4 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,14 @@ Description: at-spi2-atk
  This package includes a gtk-module that bridges ATK to the new
  D-Bus based AT-SPI.
 
+Package: libatk-adaptor-dbg
+Architecture: any
+Multi-Arch: same
+Section: debug
+Depends: libatk-adaptor (= ${binary:Version})
+Description: at-spi2-atk - debugging symbols
+ This package provides debugging symbols for the ATK to AT-SPI bridge.
+
 Package: libatk-adaptor-schemas
 Architecture: any
 Multi-Arch: foreign
diff --git a/debian/rules b/debian/rules
index 788ade8..7b02a03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,9 @@ override_dh_auto_test:
 override_dh_makeshlibs:
 	# Spurious
 
+override_dh_strip:
+	dh_strip --dbg-package=libatk-adaptor-dbg
+
 override_dh_auto_install:
 	dh_auto_install
 	for file in $$(find debian/tmp/usr/lib/ -name "*.la"); do \
-- 
1.7.9.1

>From b3eb068d624a9dd8da111f788118bb2447000512 Mon Sep 17 00:00:00 2001
From: Jason White <jason@jasonjgw.net>
Date: Sat, 25 Feb 2012 13:24:41 +1100
Subject: [PATCH] Create debugging packages.

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

diff --git a/debian/control b/debian/control
index bd31d13..6498bc4 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,14 @@ Description: at-spi2-atk
  This package includes a gtk-module that bridges ATK to the new
  D-Bus based AT-SPI.
 
+Package: libatk-adaptor-dbg
+Architecture: any
+Multi-Arch: same
+Section: debug
+Depends: libatk-adaptor (= ${binary:Version})
+Description: at-spi2-atk - debugging symbols
+ This package provides debugging symbols for the ATK to AT-SPI bridge.
+
 Package: libatk-adaptor-schemas
 Architecture: any
 Multi-Arch: foreign
diff --git a/debian/rules b/debian/rules
index 788ade8..7b02a03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,9 @@ override_dh_auto_test:
 override_dh_makeshlibs:
 	# Spurious
 
+override_dh_strip:
+	dh_strip --dbg-package=libatk-adaptor-dbg
+
 override_dh_auto_install:
 	dh_auto_install
 	for file in $$(find debian/tmp/usr/lib/ -name "*.la"); do \
-- 
1.7.9.1


Reply to: