You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jk...@apache.org on 2017/03/10 11:14:58 UTC

thrift git commit: THRIFT-4110: add libthrift0-dbg debug symbols package to debian build process for symbolic debugging

Repository: thrift
Updated Branches:
  refs/heads/master b79396f79 -> 9b1544dc2


THRIFT-4110: add libthrift0-dbg debug symbols package to debian build process for symbolic debugging

This closes #1209


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/9b1544dc
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/9b1544dc
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/9b1544dc

Branch: refs/heads/master
Commit: 9b1544dc21f2d952b91c44e4636e1b9da937002c
Parents: b79396f
Author: James E. King, III <jk...@apache.org>
Authored: Fri Mar 10 06:14:18 2017 -0500
Committer: James E. King, III <jk...@apache.org>
Committed: Fri Mar 10 06:14:18 2017 -0500

----------------------------------------------------------------------
 debian/control | 11 +++++++++++
 debian/rules   |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/9b1544dc/debian/control
----------------------------------------------------------------------
diff --git a/debian/control b/debian/control
index 43e7a0f..218d217 100644
--- a/debian/control
+++ b/debian/control
@@ -166,6 +166,17 @@ Description: Thrift C++ library
  This package contains the runtime libraries needed for C++ applications
  using Thrift.
 
+Package: libthrift0-dbg
+Architecture: any
+Section: debug
+Depends: ${shlibs:Depends}, ${misc:Depends}, libthrift0 (= ${binary:Version})
+Description: Thrift C++ library debug symbols
+ Thrift is a software framework for scalable cross-language services
+ development. It combines a software stack with a code generation engine to
+ build services that work efficiently and seamlessly.
+ .
+ This package contains the debug symbols for the Thrift C++ runtime libraries.
+
 Package: libthrift-dev
 Architecture: any
 Section: libdevel

http://git-wip-us.apache.org/repos/asf/thrift/blob/9b1544dc/debian/rules
----------------------------------------------------------------------
diff --git a/debian/rules b/debian/rules
index 53aec3c..f370325 100755
--- a/debian/rules
+++ b/debian/rules
@@ -202,9 +202,10 @@ binary-common:
 	dh_installexamples
 	dh_installman
 	dh_link
+	dh_strip -plibthrift0 --dbg-package=libthrift0-dbg
 	dh_strip -ppython-thrift --dbg-package=python-thrift-dbg
 	dh_strip -ppython3-thrift --dbg-package=python3-thrift-dbg
-	dh_strip -pthrift-compiler -plibthrift0
+	dh_strip -pthrift-compiler
 	dh_compress
 	dh_fixperms
 	dh_makeshlibs