[SCM] kdesu packaging branch, master, updated. 732f6f23307099a66d712c320970d7a9690e31a8
Jonathan Riddell
jriddell-guest at moszumanska.debian.org
Mon Sep 29 09:10:11 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kdesu.git;a=commitdiff;h=732f6f2
The following commit has been merged in the master branch:
commit 732f6f23307099a66d712c320970d7a9690e31a8
Author: Jonathan Riddell <jr at jriddell.org>
Date: Mon Sep 29 11:10:01 2014 +0200
releasing package kdesu version 5.2.0-0ubuntu2
---
debian/patches/kubuntu_sudo-support.diff | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/kubuntu_sudo-support.diff b/debian/patches/kubuntu_sudo-support.diff
new file mode 100644
index 0000000..ece1a8a
--- /dev/null
+++ b/debian/patches/kubuntu_sudo-support.diff
@@ -0,0 +1,26 @@
+Description: Fix sudo support
+Forwarded: https://git.reviewboard.kde.org/r/120380/
+Author: Jonathan Riddell <jriddell at ubuntu.com>
+Last-Update: 2014-26-09
+Index: kdesu-5.2.0/CMakeLists.txt
+===================================================================
+--- kdesu-5.2.0.orig/CMakeLists.txt
++++ kdesu-5.2.0/CMakeLists.txt
+@@ -63,4 +63,5 @@ install(FILES
+ DESTINATION ${KF5_INCLUDE_INSTALL_DIR} COMPONENT Devel
+ )
+
++message("Note: pass -DKDESU_USE_SUDO_DEFAULT=true to use sudo instead of su")
+ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
+Index: kdesu-5.2.0/src/CMakeLists.txt
+===================================================================
+--- kdesu-5.2.0.orig/src/CMakeLists.txt
++++ kdesu-5.2.0/src/CMakeLists.txt
+@@ -30,6 +30,7 @@ add_library(KF5Su ${kdesu_LIB_SRCS})
+ generate_export_header(KF5Su BASE_NAME KDESu EXPORT_FILE_NAME kdesu/kdesu_export.h)
+ add_library(KF5::Su ALIAS KF5Su)
+
++target_compile_definitions(KF5Su PRIVATE -DKDESU_USE_SUDO_DEFAULT="${KDESU_USE_SUDO_DEFAULT}")
+ target_include_directories(KF5Su PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
+
+ # Apps must include <KDESu/File> or <kdesu/file.h>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d6a8a3f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_sudo-support.diff
--
kdesu packaging
More information about the pkg-kde-commits
mailing list