From 9b1544dc21f2d952b91c44e4636e1b9da937002c Mon Sep 17 00:00:00 2001 From: "James E. King, III" Date: Fri, 10 Mar 2017 06:14:18 -0500 Subject: THRIFT-4110: add libthrift0-dbg debug symbols package to debian build process for symbolic debugging This closes #1209 --- debian/control | 11 +++++++++++ debian/rules | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 43e7a0faf..218d21722 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 diff --git a/debian/rules b/debian/rules index 53aec3c02..f370325f4 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 -- cgit v1.2.1