From 7f417f09c0456caec21bb885acd86855c53b831a Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sun, 22 Mar 2020 16:58:40 +0100 Subject: [PATCH] debian: remove obsolete --with autotools-dev, no stripping the qt gui so that a debug package is produced. --- packaging/debian/debian/patches/qtgui-nostrip.diff | 13 +++++++++++++ packaging/debian/debian/patches/series | 1 + packaging/debian/debian/rules | 2 +- src/qtgui/recoll.pro.in | 2 ++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 packaging/debian/debian/patches/qtgui-nostrip.diff create mode 100644 packaging/debian/debian/patches/series diff --git a/packaging/debian/debian/patches/qtgui-nostrip.diff b/packaging/debian/debian/patches/qtgui-nostrip.diff new file mode 100644 index 00000000..de1dbe95 --- /dev/null +++ b/packaging/debian/debian/patches/qtgui-nostrip.diff @@ -0,0 +1,13 @@ +diff --git a/qtgui/recoll.pro.in b/qtgui/recoll.pro.in +index f69aaa27..7e6c20c4 100644 +--- a/qtgui/recoll.pro.in ++++ b/qtgui/recoll.pro.in +@@ -11,6 +11,8 @@ DEFINES += BUILDING_RECOLL + @QMAKE_ENABLE_WEBENGINE@ DEFINES += USING_WEBENGINE + + QMAKE_CXXFLAGS += -std=c++11 ++QMAKE_LFLAGS_RELEASE -= -s ++QMAKE_STRIP=echo + + @QMAKE_ENABLE_ZEITGEIST@ QT += dbus + @QMAKE_ENABLE_ZEITGEIST@ QMAKE_CXXFLAGS += -DUSE_ZEITGEIST diff --git a/packaging/debian/debian/patches/series b/packaging/debian/debian/patches/series new file mode 100644 index 00000000..d21ef698 --- /dev/null +++ b/packaging/debian/debian/patches/series @@ -0,0 +1 @@ +qtgui-nostrip.diff diff --git a/packaging/debian/debian/rules b/packaging/debian/debian/rules index a4aee088..e60ee223 100755 --- a/packaging/debian/debian/rules +++ b/packaging/debian/debian/rules @@ -21,7 +21,7 @@ endif # main packaging script based on dh7 syntax %: - dh $@ --parallel --with python2 --with python3 --with autotools-dev + dh $@ --parallel --with python2 --with python3 override_dh_auto_configure: dh_auto_configure -- --enable-recollq --enable-xadump diff --git a/src/qtgui/recoll.pro.in b/src/qtgui/recoll.pro.in index f69aaa27..7e6c20c4 100644 --- a/src/qtgui/recoll.pro.in +++ b/src/qtgui/recoll.pro.in @@ -11,6 +11,8 @@ DEFINES += BUILDING_RECOLL @QMAKE_ENABLE_WEBENGINE@ DEFINES += USING_WEBENGINE QMAKE_CXXFLAGS += -std=c++11 +QMAKE_LFLAGS_RELEASE -= -s +QMAKE_STRIP=echo @QMAKE_ENABLE_ZEITGEIST@ QT += dbus @QMAKE_ENABLE_ZEITGEIST@ QMAKE_CXXFLAGS += -DUSE_ZEITGEIST