Package: libsqlite3-0
Version: 3.4.2-2
Severity: wishlist
Tags: patch

It would be very convenient to have the debugging symbols available in
an optional package. The following patch implements that:

----------------------------------------------------------------------
diff -r 0dd1215b56b4 debian/control
--- a/debian/control    Tue Oct 23 17:21:02 2007 -0500
+++ b/debian/control    Tue Oct 23 20:08:42 2007 -0500
@@ -73,3 +73,14 @@ Description: SQLite 3 TCL bindings
  access without running a separate RDBMS process.
  .
  This package contains the TCL bindings.
+
+Package: libsqlite3-0-dbg
+Section: libdevel
+Architecture: any
+Depends: libsqlite3-0 (= ${binary:Version})
+Description: SQLite 3 debugging symbols
+ SQLite is a C library that implements an SQL database engine. 
+ Programs that link with the SQLite library can have SQL database 
+ access without running a separate RDBMS process.
+ .
+ This package contains the debugging symbols for the libraries.
diff -r 0dd1215b56b4 debian/rules
--- a/debian/rules      Tue Oct 23 17:21:02 2007 -0500
+++ b/debian/rules      Tue Oct 23 20:08:42 2007 -0500
@@ -6,6 +6,8 @@ include /usr/share/cdbs/1/rules/simple-p
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 so_version := 0
+
+DEB_DH_STRIP_ARGS := --dbg-package=libsqlite3-$(so_version)
 
 # Make sure libsqlite0 is built before packages depending on it
 binary/sqlite3 binary/libsqlite3-dev binary/libsqlite3-tcl:: 
binary/libsqlite3-$(so_version)
----------------------------------------------------------------------

-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28

Attachment: signature.asc
Description: Digital signature

Reply via email to