Hello community,

here is the log from the commit of package calamares for openSUSE:Factory 
checked in at 2020-02-18 15:19:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/calamares (Old)
 and      /work/SRC/openSUSE:Factory/.calamares.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "calamares"

Tue Feb 18 15:19:01 2020 rev:11 rq:775177 version:3.2.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/calamares/calamares.changes      2019-12-23 
22:49:02.310102971 +0100
+++ /work/SRC/openSUSE:Factory/.calamares.new.26092/calamares.changes   
2020-02-18 15:19:11.052769921 +0100
@@ -1,0 +2,7 @@
+Tue Feb 18 09:15:02 UTC 2020 - [email protected]
+
+- Use kdesu to start Calamares:
+  - xdg-su may autoselect gnomesu which fails (boo#1164072);
+  - pkexec may have theme issues.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ calamares.spec ++++++
--- /var/tmp/diff_new_pack.kSxCvU/_old  2020-02-18 15:19:12.956774008 +0100
+++ /var/tmp/diff_new_pack.kSxCvU/_new  2020-02-18 15:19:12.956774008 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package calamares
 #
-# Copyright (c) 2017, 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017, 2019, 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 # new generic branding.desc with explanations in comments
 Source1:        branding.desc
 Source2:        %{name}-rpmlintrc
-# .desktop file customizations for openSUSE Leap 15 to use xdg-su instead of 
Polkit pkexec
+# .desktop file customizations to use kdesu instead of Polkit pkexec
 Patch0:         %{name}-desktop-file.patch
 # adjust some default settings (default shipped .conf files) for openSUSE and 
openSUSE based appliances
 Patch1:         3.2-packages.conf.patch
@@ -79,6 +79,7 @@
 Requires:       gawk
 Requires:       gptfdisk
 Requires:       grub2
+Requires:       /usr/bin/kdesu
 Requires:       kpmcore >= 3.3
 Requires:       ntfsprogs
 Requires:       os-prober
@@ -145,9 +146,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 cp -f %{SOURCE1} src/branding/default/
-%if 0%{?suse_version} == 1500
 %patch0 -p1
-%endif
 %patch1 -p1
 %patch2 -p1
 %patch4 -p1
@@ -165,7 +164,7 @@
 
 %install
 %kf5_makeinstall -C build
-# if we don't want polkit (and you want use xdg-su instead)
+# if we don't want polkit (and you want use kdesu instead)
 %if 0%{?suse_version} == 1500
 rm -fr %{buildroot}%{_datadir}/polkit-1
 %endif
@@ -212,7 +211,7 @@
 %{_datadir}/%{name}/qml/
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
-# if we want polkit (you can use xdg-su instead)
+# if we want polkit (you can use kdesu instead)
 %if 0%{?suse_version} > 1500
 %{_datadir}/polkit-1/actions/com.github.%{name}.%{name}.policy
 %endif

++++++ calamares-desktop-file.patch ++++++
--- /var/tmp/diff_new_pack.kSxCvU/_old  2020-02-18 15:19:13.008774119 +0100
+++ /var/tmp/diff_new_pack.kSxCvU/_new  2020-02-18 15:19:13.012774128 +0100
@@ -1,4 +1,5 @@
-* Use xdg-su instead of pkexec in openSUSE Leap 15 (pkexec works in 
Tumbleweed). 
+* Use kdesu instead of pkexec. (pkexec may work too in Tumbleweed.)
+
 Because if we use pkexec, we get error in openSUSE Leap 15:
 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
 No protocol specified
@@ -6,6 +7,8 @@
 qt.qpa.screen: QXcbConnection: Could not connect to display :0
 Could not connect to any X display.
 
+If we use pkexec, sometimes (in Tumbleweed) Calamares may have theme issues.
+
 diff --git a/calamares.desktop b/calamares.desktop
 --- a/calamares.desktop
 +++ b/calamares.desktop
@@ -14,7 +17,7 @@
  Keywords=calamares;system;installer;
  TryExec=calamares
 -Exec=pkexec /usr/bin/calamares
-+Exec=xdg-su -c /usr/bin/calamares
++Exec=kdesu -c /usr/bin/calamares
  Comment=Calamares — System Installer
  Icon=calamares
  Terminal=false


Reply via email to