From 5434f714576ccde9bf1c1e300ede6fc1ba0ac3ed Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 11 May 2019 15:15:41 +0200 Subject: kpmcore: install the dbus files in the correct location partitionmanager failed to scan the disks because the permission definitions were in the wrong place and elevated (root) access could not be obtained. --- kde/build/kpmcore | 1 + kde/cmake/kpmcore | 24 ++++++++++++++++++++++++ kde/cmake/partitionmanager | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 kde/build/kpmcore create mode 100644 kde/cmake/kpmcore (limited to 'kde') diff --git a/kde/build/kpmcore b/kde/build/kpmcore new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/kde/build/kpmcore @@ -0,0 +1 @@ +2 diff --git a/kde/cmake/kpmcore b/kde/cmake/kpmcore new file mode 100644 index 0000000..50820c8 --- /dev/null +++ b/kde/cmake/kpmcore @@ -0,0 +1,24 @@ +mkdir build +cd build + cmake \ + $KDE_OPT_ARGS \ + -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DLIB_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DLIBEXEC_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DQT_PLUGIN_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/plugins \ + -DQML_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/qml \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DBUILD_TESTING=OFF \ + -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \ + -DENABLE_UDISKS2=ON \ + .. + diff --git a/kde/cmake/partitionmanager b/kde/cmake/partitionmanager index 38af6ac..50820c8 100644 --- a/kde/cmake/partitionmanager +++ b/kde/cmake/partitionmanager @@ -10,7 +10,7 @@ cd build -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMAN_INSTALL_DIR=/usr/man \ - -DSYSCONF_INSTALL_DIR=/etc/kde \ + -DSYSCONF_INSTALL_DIR=/etc \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DLIB_INSTALL_DIR=lib$LIBDIRSUFFIX \ -DLIBEXEC_INSTALL_DIR=lib$LIBDIRSUFFIX \ -- cgit v1.2.3