On Tue, Feb 14, 2012 at 04:37:45PM +0100, [email protected] wrote:
> Package: strigi-dbg
> Version: 0.7.7-1
> Severity: grave
>
> --- Please enter the report below this line. ---
>
> trying to debug on #659828 I found the following problem:
> the strigi-dbg package doesn't work with gdb:
There are no useful debug symbols because the package is built without
debug information.
Patch attached. The package is built without optimization right now and
I didn't change that. If you want to change that as well, use
'RelWithDebInfo' instead of 'Debug'.
Thomas
diff --git a/debian/libstreams-dev.install b/debian/libstreams-dev.install
index f14f624..8ab6229 100644
--- a/debian/libstreams-dev.install
+++ b/debian/libstreams-dev.install
@@ -29,7 +29,7 @@ usr/include/strigi/textutils.h
usr/include/strigi/zipinputstream.h
usr/lib/libstreams.so
usr/lib/libstreams/LibStreamsConfig.cmake
-usr/lib/libstreams/LibStreamsTargets-noconfig.cmake
+usr/lib/libstreams/LibStreamsTargets-debug.cmake
usr/lib/libstreams/LibStreamsTargets.cmake
usr/lib/pkgconfig/libstreams.pc
usr/lib/strigi/StrigiConfig.cmake
diff --git a/debian/rules b/debian/rules
index c56e25f..3fc927f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ LIBPKGS := $(shell dh_listpackages | grep libs | sed -e '/dev/d;')
dh $@ --parallel --list-missing --dbg-package=strigi-dbg --with pkgkde_symbolshelper
override_dh_auto_configure:
- dh_auto_configure -- -DCMAKE_SKIP_RPATH=ON
+ dh_auto_configure -- -DCMAKE_SKIP_RPATH=ON -DCMAKE_BUILD_TYPE=Debug
override_dh_makeshlibs:
dh_makeshlibs -V