diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-11-14 11:45:52 +0800 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-11-14 11:45:52 +0800 |
commit | eb16e7c7281e182297581fa8d565561869c81bca (patch) | |
tree | 4edf3c2dcd2a70e76c9581f04fbeb7d2a729f8b6 /debian/_base/applications | |
parent | 2064c92d78e53c5753ccc22a2b83abfe120fa8cb (diff) | |
download | tde-packaging-eb16e7c7281e182297581fa8d565561869c81bca.tar.gz tde-packaging-eb16e7c7281e182297581fa8d565561869c81bca.zip |
DEB: added cmake directive to create compilation database 'compile_commands.json' at build time.
This can be used to provide linting, autocompletion, hovering info, go-to-definition
and in general other LSP functionality in development environments.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_base/applications')
92 files changed, 195 insertions, 16 deletions
diff --git a/debian/_base/applications/abakus/debian/rules b/debian/_base/applications/abakus/debian/rules index 391007b8a..d5221b39b 100755 --- a/debian/_base/applications/abakus/debian/rules +++ b/debian/_base/applications/abakus/debian/rules @@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG) -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/amarok/debian/rules b/debian/_base/applications/amarok/debian/rules index cb4758734..75146ddca 100755 --- a/debian/_base/applications/amarok/debian/rules +++ b/debian/_base/applications/amarok/debian/rules @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/basket/debian/rules b/debian/_base/applications/basket/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/basket/debian/rules +++ b/debian/_base/applications/basket/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/codeine/debian/rules b/debian/_base/applications/codeine/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/codeine/debian/rules +++ b/debian/_base/applications/codeine/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules b/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules +++ b/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/dolphin/debian/rules b/debian/_base/applications/dolphin/debian/rules index 13a548f73..8d28bb5ba 100755 --- a/debian/_base/applications/dolphin/debian/rules +++ b/debian/_base/applications/dolphin/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/filelight/debian/rules b/debian/_base/applications/filelight/debian/rules index 9dd0633fa..d9ef0cae3 100755 --- a/debian/_base/applications/filelight/debian/rules +++ b/debian/_base/applications/filelight/debian/rules @@ -17,6 +17,7 @@ DEB_DH_ALWAYS_EXCLUDE=.svn # Build options DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/gtk-qt-engine/debian/rules b/debian/_base/applications/gtk-qt-engine/debian/rules index 7c03d82c4..23c51fe19 100755 --- a/debian/_base/applications/gtk-qt-engine/debian/rules +++ b/debian/_base/applications/gtk-qt-engine/debian/rules @@ -22,8 +22,19 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/gwenview-i18n/debian/rules b/debian/_base/applications/gwenview-i18n/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/gwenview-i18n/debian/rules +++ b/debian/_base/applications/gwenview-i18n/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/k3b-i18n/debian/rules b/debian/_base/applications/k3b-i18n/debian/rules index b39ae7f08..3187f4385 100755 --- a/debian/_base/applications/k3b-i18n/debian/rules +++ b/debian/_base/applications/k3b-i18n/debian/rules @@ -4,6 +4,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/cmake.mk DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/k3b/debian/rules b/debian/_base/applications/k3b/debian/rules index c62fed4d5..12173a7e4 100755 --- a/debian/_base/applications/k3b/debian/rules +++ b/debian/_base/applications/k3b/debian/rules @@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine DEB_CONFIGURE_EXTRA_FLAGS = --with-k3bsetup=no --with-extra-libs=/opt/trinity/lib --includedir="/opt/trinity/include/tde" DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kaffeine-mozilla/debian/rules b/debian/_base/applications/kaffeine-mozilla/debian/rules index 1e2d330b9..806642cbf 100755 --- a/debian/_base/applications/kaffeine-mozilla/debian/rules +++ b/debian/_base/applications/kaffeine-mozilla/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_VERBOSE_MAKEFILE="ON" \ diff --git a/debian/_base/applications/kaffeine/debian/rules b/debian/_base/applications/kaffeine/debian/rules index d38f693a3..76edc3a0d 100755 --- a/debian/_base/applications/kaffeine/debian/rules +++ b/debian/_base/applications/kaffeine/debian/rules @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kasablanca/debian/rules b/debian/_base/applications/kasablanca/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kasablanca/debian/rules +++ b/debian/_base/applications/kasablanca/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/katapult/debian/rules b/debian/_base/applications/katapult/debian/rules index 52a7fd022..ebb9ea16b 100755 --- a/debian/_base/applications/katapult/debian/rules +++ b/debian/_base/applications/katapult/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kbarcode/debian/rules b/debian/_base/applications/kbarcode/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kbarcode/debian/rules +++ b/debian/_base/applications/kbarcode/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kbfx/debian/rules b/debian/_base/applications/kbfx/debian/rules index 04b0a0359..aa3fc3652 100755 --- a/debian/_base/applications/kbfx/debian/rules +++ b/debian/_base/applications/kbfx/debian/rules @@ -10,6 +10,7 @@ DEB_CONFIGURE_PREFIX := /opt/trinity DEB_CONFIGURE_INFODIR := /opt/trinity/share/info DEB_CMAKE_EXTRA_FLAGS =\ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DLIB_SUFFIX="" \ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ -DCMAKE_INCLUDE_PATH="/opt/trinity/include" \ diff --git a/debian/_base/applications/kbibtex/debian/rules b/debian/_base/applications/kbibtex/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kbibtex/debian/rules +++ b/debian/_base/applications/kbibtex/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kbiff/debian/rules b/debian/_base/applications/kbiff/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kbiff/debian/rules +++ b/debian/_base/applications/kbiff/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kbookreader/debian/rules b/debian/_base/applications/kbookreader/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kbookreader/debian/rules +++ b/debian/_base/applications/kbookreader/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kchmviewer/debian/rules b/debian/_base/applications/kchmviewer/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kchmviewer/debian/rules +++ b/debian/_base/applications/kchmviewer/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kcmautostart/debian/rules b/debian/_base/applications/kcmautostart/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kcmautostart/debian/rules +++ b/debian/_base/applications/kcmautostart/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kcmldap/debian/rules b/debian/_base/applications/kcmldap/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kcmldap/debian/rules +++ b/debian/_base/applications/kcmldap/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kcmldapcontroller/debian/rules b/debian/_base/applications/kcmldapcontroller/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kcmldapcontroller/debian/rules +++ b/debian/_base/applications/kcmldapcontroller/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kcmldapmanager/debian/rules b/debian/_base/applications/kcmldapmanager/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kcmldapmanager/debian/rules +++ b/debian/_base/applications/kcmldapmanager/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kcpuload/debian/rules b/debian/_base/applications/kcpuload/debian/rules index 7ee0b8693..894ebb8b3 100755 --- a/debian/_base/applications/kcpuload/debian/rules +++ b/debian/_base/applications/kcpuload/debian/rules @@ -7,6 +7,7 @@ include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kdbusnotification/debian/rules b/debian/_base/applications/kdbusnotification/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kdbusnotification/debian/rules +++ b/debian/_base/applications/kdbusnotification/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kdiff3/debian/rules b/debian/_base/applications/kdiff3/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kdiff3/debian/rules +++ b/debian/_base/applications/kdiff3/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kdirstat/debian/rules b/debian/_base/applications/kdirstat/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kdirstat/debian/rules +++ b/debian/_base/applications/kdirstat/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kdpkg/debian/rules b/debian/_base/applications/kdpkg/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kdpkg/debian/rules +++ b/debian/_base/applications/kdpkg/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/keep/debian/rules b/debian/_base/applications/keep/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/keep/debian/rules +++ b/debian/_base/applications/keep/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kerberostray/debian/rules b/debian/_base/applications/kerberostray/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kerberostray/debian/rules +++ b/debian/_base/applications/kerberostray/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/keximdb/debian/rules b/debian/_base/applications/keximdb/debian/rules index d12b3b408..79eb6aada 100755 --- a/debian/_base/applications/keximdb/debian/rules +++ b/debian/_base/applications/keximdb/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kgtk-qt3/debian/rules b/debian/_base/applications/kgtk-qt3/debian/rules index 877cefbb8..6c50cfb9e 100755 --- a/debian/_base/applications/kgtk-qt3/debian/rules +++ b/debian/_base/applications/kgtk-qt3/debian/rules @@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG) -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/kima/debian/rules b/debian/_base/applications/kima/debian/rules index 5598f7f9f..28412bc9d 100755 --- a/debian/_base/applications/kima/debian/rules +++ b/debian/_base/applications/kima/debian/rules @@ -10,6 +10,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ WITH_NVCONTROL = $(if $(filter $(DEB_HOST_ARCH_CPU),amd64 i386),ON,OFF) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kiosktool/debian/rules b/debian/_base/applications/kiosktool/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kiosktool/debian/rules +++ b/debian/_base/applications/kiosktool/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kkbswitch/debian/rules b/debian/_base/applications/kkbswitch/debian/rules index ed8854bab..cce9eac4c 100755 --- a/debian/_base/applications/kkbswitch/debian/rules +++ b/debian/_base/applications/kkbswitch/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/klcddimmer/debian/rules b/debian/_base/applications/klcddimmer/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/klcddimmer/debian/rules +++ b/debian/_base/applications/klcddimmer/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kmplayer/debian/rules b/debian/_base/applications/kmplayer/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kmplayer/debian/rules +++ b/debian/_base/applications/kmplayer/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/knemo/debian/rules b/debian/_base/applications/knemo/debian/rules index 0f312cb4c..5a0da42af 100755 --- a/debian/_base/applications/knemo/debian/rules +++ b/debian/_base/applications/knemo/debian/rules @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/knetload/debian/rules b/debian/_base/applications/knetload/debian/rules index 3c4dc0568..65318dd0d 100755 --- a/debian/_base/applications/knetload/debian/rules +++ b/debian/_base/applications/knetload/debian/rules @@ -13,6 +13,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/knetstats/debian/rules b/debian/_base/applications/knetstats/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/knetstats/debian/rules +++ b/debian/_base/applications/knetstats/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/knights/debian/rules b/debian/_base/applications/knights/debian/rules index 43a22501b..2b56aa5de 100755 --- a/debian/_base/applications/knights/debian/rules +++ b/debian/_base/applications/knights/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/knmap/debian/rules b/debian/_base/applications/knmap/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/knmap/debian/rules +++ b/debian/_base/applications/knmap/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/knowit/debian/rules b/debian/_base/applications/knowit/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/knowit/debian/rules +++ b/debian/_base/applications/knowit/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/knutclient/debian/rules b/debian/_base/applications/knutclient/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/knutclient/debian/rules +++ b/debian/_base/applications/knutclient/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/konversation/debian/rules b/debian/_base/applications/konversation/debian/rules index 1168118d6..13de3bade 100755 --- a/debian/_base/applications/konversation/debian/rules +++ b/debian/_base/applications/konversation/debian/rules @@ -16,6 +16,7 @@ DEB_INSTALL_DOCS_ALL = DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kooldock/debian/rules b/debian/_base/applications/kooldock/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kooldock/debian/rules +++ b/debian/_base/applications/kooldock/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kpicosim/debian/rules b/debian/_base/applications/kpicosim/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kpicosim/debian/rules +++ b/debian/_base/applications/kpicosim/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kpilot/debian/rules b/debian/_base/applications/kpilot/debian/rules index 45d8b262e..db3fcbede 100755 --- a/debian/_base/applications/kpilot/debian/rules +++ b/debian/_base/applications/kpilot/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kplayer/debian/rules b/debian/_base/applications/kplayer/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kplayer/debian/rules +++ b/debian/_base/applications/kplayer/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kpowersave/debian/rules b/debian/_base/applications/kpowersave/debian/rules index 1273679da..59e0f7751 100755 --- a/debian/_base/applications/kpowersave/debian/rules +++ b/debian/_base/applications/kpowersave/debian/rules @@ -18,6 +18,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/krename/debian/rules b/debian/_base/applications/krename/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/krename/debian/rules +++ b/debian/_base/applications/krename/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kscope/debian/rules b/debian/_base/applications/kscope/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kscope/debian/rules +++ b/debian/_base/applications/kscope/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/ksensors/debian/rules b/debian/_base/applications/ksensors/debian/rules index 8118fea0b..59588e933 100755 --- a/debian/_base/applications/ksensors/debian/rules +++ b/debian/_base/applications/ksensors/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kshowmail/debian/rules b/debian/_base/applications/kshowmail/debian/rules index 0f312cb4c..5a0da42af 100755 --- a/debian/_base/applications/kshowmail/debian/rules +++ b/debian/_base/applications/kshowmail/debian/rules @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/kshutdown/debian/rules b/debian/_base/applications/kshutdown/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kshutdown/debian/rules +++ b/debian/_base/applications/kshutdown/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/ksplash-engine-moodin/debian/rules b/debian/_base/applications/ksplash-engine-moodin/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/ksplash-engine-moodin/debian/rules +++ b/debian/_base/applications/ksplash-engine-moodin/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kstreamripper/debian/rules b/debian/_base/applications/kstreamripper/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kstreamripper/debian/rules +++ b/debian/_base/applications/kstreamripper/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/ksystemlog/debian/rules b/debian/_base/applications/ksystemlog/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/ksystemlog/debian/rules +++ b/debian/_base/applications/ksystemlog/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/ktechlab/debian/rules b/debian/_base/applications/ktechlab/debian/rules index 7855de455..b4b3fc8cb 100755 --- a/debian/_base/applications/ktechlab/debian/rules +++ b/debian/_base/applications/ktechlab/debian/rules @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kvkbd/debian/rules b/debian/_base/applications/kvkbd/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kvkbd/debian/rules +++ b/debian/_base/applications/kvkbd/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kvpnc/debian/rules b/debian/_base/applications/kvpnc/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/kvpnc/debian/rules +++ b/debian/_base/applications/kvpnc/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/kxmleditor/debian/rules b/debian/_base/applications/kxmleditor/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/kxmleditor/debian/rules +++ b/debian/_base/applications/kxmleditor/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/mathemagics/debian/rules b/debian/_base/applications/mathemagics/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/mathemagics/debian/rules +++ b/debian/_base/applications/mathemagics/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/mplayerthumbs/debian/rules b/debian/_base/applications/mplayerthumbs/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/mplayerthumbs/debian/rules +++ b/debian/_base/applications/mplayerthumbs/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/potracegui/debian/rules b/debian/_base/applications/potracegui/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/potracegui/debian/rules +++ b/debian/_base/applications/potracegui/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/rosegarden/debian/rules b/debian/_base/applications/rosegarden/debian/rules index 6e3b7df21..be431c033 100755 --- a/debian/_base/applications/rosegarden/debian/rules +++ b/debian/_base/applications/rosegarden/debian/rules @@ -14,6 +14,7 @@ DEB_CONFIGURE_PREFIX := /opt/trinity DEB_CONFIGURE_INFODIR := /opt/trinity/share/info DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DLIB_SUFFIX="" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/smartcardauth/debian/rules b/debian/_base/applications/smartcardauth/debian/rules index b51d7e7ba..b5f130de7 100755 --- a/debian/_base/applications/smartcardauth/debian/rules +++ b/debian/_base/applications/smartcardauth/debian/rules @@ -17,6 +17,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ DEB_DH_SHLIBDEPS_ARGS_ALL=--dpkg-shlibdeps-params=--ignore-missing-info DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/tastymenu/debian/rules b/debian/_base/applications/tastymenu/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/tastymenu/debian/rules +++ b/debian/_base/applications/tastymenu/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/tde-style-baghira/debian/rules b/debian/_base/applications/tde-style-baghira/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tde-style-baghira/debian/rules +++ b/debian/_base/applications/tde-style-baghira/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tde-style-domino/debian/rules b/debian/_base/applications/tde-style-domino/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tde-style-domino/debian/rules +++ b/debian/_base/applications/tde-style-domino/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tde-style-ia-ora/debian/rules b/debian/_base/applications/tde-style-ia-ora/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/tde-style-ia-ora/debian/rules +++ b/debian/_base/applications/tde-style-ia-ora/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/tde-style-lipstik/debian/rules b/debian/_base/applications/tde-style-lipstik/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/tde-style-lipstik/debian/rules +++ b/debian/_base/applications/tde-style-lipstik/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/tde-style-qtcurve/debian/rules b/debian/_base/applications/tde-style-qtcurve/debian/rules index 9b96d4f85..32b311c4e 100755 --- a/debian/_base/applications/tde-style-qtcurve/debian/rules +++ b/debian/_base/applications/tde-style-qtcurve/debian/rules @@ -21,8 +21,20 @@ DEB_DH_STRIP_ARGS := --dbg-package=tde-style-qtcurve-trinity-dbg CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG) -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/tde-systemsettings/debian/rules b/debian/_base/applications/tde-systemsettings/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tde-systemsettings/debian/rules +++ b/debian/_base/applications/tde-systemsettings/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdedocker/debian/rules b/debian/_base/applications/tdedocker/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tdedocker/debian/rules +++ b/debian/_base/applications/tdedocker/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdeio-apt/debian/rules b/debian/_base/applications/tdeio-apt/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tdeio-apt/debian/rules +++ b/debian/_base/applications/tdeio-apt/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdeio-ftps/debian/rules b/debian/_base/applications/tdeio-ftps/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tdeio-ftps/debian/rules +++ b/debian/_base/applications/tdeio-ftps/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdeio-gopher/debian/rules b/debian/_base/applications/tdeio-gopher/debian/rules index ec689af11..7c5507748 100755 --- a/debian/_base/applications/tdeio-gopher/debian/rules +++ b/debian/_base/applications/tdeio-gopher/debian/rules @@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG) -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/tdeio-locate/debian/rules b/debian/_base/applications/tdeio-locate/debian/rules index 0f27aed49..2e0315d2a 100755 --- a/debian/_base/applications/tdeio-locate/debian/rules +++ b/debian/_base/applications/tdeio-locate/debian/rules @@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG) -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/tdeio-sword/debian/rules b/debian/_base/applications/tdeio-sword/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tdeio-sword/debian/rules +++ b/debian/_base/applications/tdeio-sword/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdeio-umountwrapper/debian/rules b/debian/_base/applications/tdeio-umountwrapper/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tdeio-umountwrapper/debian/rules +++ b/debian/_base/applications/tdeio-umountwrapper/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdenetworkmanager/debian/rules b/debian/_base/applications/tdenetworkmanager/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/tdenetworkmanager/debian/rules +++ b/debian/_base/applications/tdenetworkmanager/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/tdepacman/debian/rules b/debian/_base/applications/tdepacman/debian/rules index cee2a3058..85bbba0dc 100755 --- a/debian/_base/applications/tdepacman/debian/rules +++ b/debian/_base/applications/tdepacman/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc" \ diff --git a/debian/_base/applications/tdepowersave/debian/rules b/debian/_base/applications/tdepowersave/debian/rules index 8c39e239d..d87f7f586 100755 --- a/debian/_base/applications/tdepowersave/debian/rules +++ b/debian/_base/applications/tdepowersave/debian/rules @@ -18,6 +18,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdesudo/debian/rules b/debian/_base/applications/tdesudo/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tdesudo/debian/rules +++ b/debian/_base/applications/tdesudo/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tdesvn/debian/rules b/debian/_base/applications/tdesvn/debian/rules index b142b22ec..7c91ce434 100755 --- a/debian/_base/applications/tdesvn/debian/rules +++ b/debian/_base/applications/tdesvn/debian/rules @@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG) -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/tdmtheme/debian/rules b/debian/_base/applications/tdmtheme/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/tdmtheme/debian/rules +++ b/debian/_base/applications/tdmtheme/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/tellico/debian/rules b/debian/_base/applications/tellico/debian/rules index a75c58ccf..7b40ec99e 100755 --- a/debian/_base/applications/tellico/debian/rules +++ b/debian/_base/applications/tellico/debian/rules @@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine --enable-webcam DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ diff --git a/debian/_base/applications/wlassistant/debian/rules b/debian/_base/applications/wlassistant/debian/rules index 1102d407d..0abf76ac2 100755 --- a/debian/_base/applications/wlassistant/debian/rules +++ b/debian/_base/applications/wlassistant/debian/rules @@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG) -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DCMAKE_BUILD_TYPE=RelWithDebInfo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DLIB_SUFFIX="" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \ + -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \ + -DAUTODETECT_QT_DIRS="ON" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DBUILD_ALL="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) diff --git a/debian/_base/applications/yakuake/debian/rules b/debian/_base/applications/yakuake/debian/rules index 18aa16b96..905d63101 100755 --- a/debian/_base/applications/yakuake/debian/rules +++ b/debian/_base/applications/yakuake/debian/rules @@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ |