Kevin Kofler 3fa9135
diff -Nur calamares-3.1.5/calamares.desktop calamares-3.1.5-kdesu/calamares.desktop
Kevin Kofler 3fa9135
--- calamares-3.1.5/calamares.desktop	2017-09-25 17:13:33.000000000 +0200
Kevin Kofler 3fa9135
+++ calamares-3.1.5-kdesu/calamares.desktop	2017-09-27 03:30:14.647027258 +0200
Kevin Kofler f774b4a
@@ -5,7 +5,7 @@
Kevin Kofler c791784
 GenericName=System Installer
Kevin Kofler f774b4a
 Keywords=calamares;system;installer
Kevin Kofler c791784
 TryExec=calamares
Kevin Kofler c791784
-Exec=pkexec /usr/bin/calamares
Kevin Kofler c791784
+Exec=kdesu /usr/bin/calamares
Kevin Kofler c791784
 Comment=Calamares — System Installer
Kevin Kofler c791784
 Icon=calamares
Kevin Kofler c791784
 Terminal=false
Kevin Kofler 3fa9135
diff -Nur calamares-3.1.5/CMakeLists.txt calamares-3.1.5-kdesu/CMakeLists.txt
Kevin Kofler 3fa9135
--- calamares-3.1.5/CMakeLists.txt	2017-09-25 17:13:33.000000000 +0200
Kevin Kofler 3fa9135
+++ calamares-3.1.5-kdesu/CMakeLists.txt	2017-09-27 03:30:15.121020240 +0200
Kevin Kofler 3fa9135
@@ -110,7 +110,6 @@
Kevin Kofler c791784
 
Kevin Kofler c791784
 find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED Core Gui Widgets LinguistTools Svg Quick QuickWidgets )
Kevin Kofler c791784
 find_package( YAMLCPP 0.5.1 REQUIRED )
Kevin Kofler c791784
-find_package( PolkitQt5-1 REQUIRED )
Kevin Kofler c791784
 
Kevin Kofler 3fa9135
 option( INSTALL_CONFIG "Install configuration files" ON )
Kevin Kofler 3c97739
 option( WITH_PYTHON "Enable Python modules API (requires Boost.Python)." ON )
Kevin Kofler 3fa9135
@@ -332,13 +331,6 @@
Kevin Kofler c791784
 
Kevin Kofler c791784
 install(
Kevin Kofler 3c97739
   FILES
Kevin Kofler c791784
-      com.github.calamares.calamares.policy
Kevin Kofler c791784
-  DESTINATION
Kevin Kofler c791784
-      "${POLKITQT-1_POLICY_FILES_INSTALL_DIR}"
Kevin Kofler c791784
-)
Kevin Kofler c791784
-
Kevin Kofler c791784
-install(
Kevin Kofler 3c97739
-  FILES
Kevin Kofler c791784
       calamares.desktop
Kevin Kofler c791784
   DESTINATION
Kevin Kofler 3c97739
       ${CMAKE_INSTALL_DATADIR}/applications
Kevin Kofler 3fa9135
diff -Nur calamares-3.1.5/com.github.calamares.calamares.policy calamares-3.1.5-kdesu/com.github.calamares.calamares.policy
Kevin Kofler 3fa9135
--- calamares-3.1.5/com.github.calamares.calamares.policy	2017-09-25 17:13:33.000000000 +0200
Kevin Kofler 3fa9135
+++ calamares-3.1.5-kdesu/com.github.calamares.calamares.policy	1970-01-01 01:00:00.000000000 +0100
Kevin Kofler c791784
@@ -1,22 +0,0 @@
Kevin Kofler c791784
-
Kevin Kofler c791784
-
Kevin Kofler c791784
-"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
Kevin Kofler c791784
-"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
Kevin Kofler c791784
-<policyconfig>
Kevin Kofler c791784
-
Kevin Kofler c791784
- <vendor>Calamares</vendor>
Kevin Kofler c791784
- <vendor_url>https://github.com/calamares</vendor_url>
Kevin Kofler c791784
-
Kevin Kofler c791784
- <action id="com.github.calamares.calamares.pkexec.run">
Kevin Kofler c791784
-    <description>Run Installer</description>
Kevin Kofler c791784
-    <message>Authentication is required to run the installation program</message>
Kevin Kofler c791784
-    <icon_name>drive-harddisk</icon_name>
Kevin Kofler c791784
-    <defaults>
Kevin Kofler c791784
-     <allow_any>no</allow_any>
Kevin Kofler c791784
-     <allow_inactive>no</allow_inactive>
Kevin Kofler c791784
-     <allow_active>auth_admin</allow_active>
Kevin Kofler c791784
-    </defaults>
Kevin Kofler c791784
-    <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/calamares</annotate>
Kevin Kofler c791784
-    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
Kevin Kofler c791784
- </action>
Kevin Kofler c791784
-</policyconfig>
Kevin Kofler c791784
\ No newline at end of file