Hello community,

here is the log from the commit of package kdesu for openSUSE:Factory checked 
in at 2018-03-20 21:49:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdesu (Old)
 and      /work/SRC/openSUSE:Factory/.kdesu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdesu"

Tue Mar 20 21:49:39 2018 rev:51 rq:588488 version:5.44.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdesu/kdesu.changes      2018-02-16 
21:29:55.587019764 +0100
+++ /work/SRC/openSUSE:Factory/.kdesu.new/kdesu.changes 2018-03-20 
21:49:53.392302307 +0100
@@ -1,0 +2,16 @@
+Mon Mar 19 09:59:40 UTC 2018 - [email protected]
+
+- Add patch to allow kdesu to be used on wayland:
+  * 0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch
+
+-------------------------------------------------------------------
+Mon Mar 12 23:29:41 CET 2018 - [email protected]
+
+- Update to 5.44.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.44.0.php
+- Changes since 5.43.0:
+  * None
+
+-------------------------------------------------------------------

Old:
----
  kdesu-5.43.0.tar.xz

New:
----
  0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch
  kdesu-5.44.0.tar.xz

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

Other differences:
------------------
++++++ kdesu.spec ++++++
--- /var/tmp/diff_new_pack.1Li1MC/_old  2018-03-20 21:49:54.032279261 +0100
+++ /var/tmp/diff_new_pack.1Li1MC/_new  2018-03-20 21:49:54.036279118 +0100
@@ -18,13 +18,13 @@
 
 %bcond_without lang
 %define lname   libKF5Su5
-%define _tar_path 5.43
+%define _tar_path 5.44
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           kdesu
-Version:        5.43.0
+Version:        5.44.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 3.0
@@ -38,13 +38,15 @@
 BuildRequires:  cmake(Qt5Core) >= 5.6.0
 BuildRequires:  pkgconfig(x11)
 Summary:        User interface for running shell commands with root privileges
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          System/GUI/KDE
 Url:            http://www.kde.org
 Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
 # PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags
 Patch0:         fpie.patch
+# PATCH-FIX-OPENSUSE
+Patch1:         0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -86,7 +88,7 @@
 %lang_package -n %lname
 %prep
 %setup -q
-%patch0 -p1
+%autopatch -p1
 
 %build
   %cmake_kf5 -d build

++++++ 0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch ++++++
>From 42b0b5adb9154519a2eda7da81a993c17a536f0a Mon Sep 17 00:00:00 2001
From: Fabian Vogt <[email protected]>
Date: Sat, 17 Mar 2018 17:02:39 +0100
Subject: [PATCH] Unset QT_QPA_PLATFORM to get xcb

Currently we can't get wayland applications to work, as they rely on
XDG_RUNTIME_DIR being set.
With wayland 1.15, WAYLAND_DISPLAY can be an absolute path though, so this
can be replaced by setting WAYLAND_DISPLAY=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY
before unsetting XDG_RUNTIME_DIR and removing the unsetenv of QT_QPA_PLATFORM.
---
 src/kdesu_stub.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/kdesu_stub.c b/src/kdesu_stub.c
index 49db577..5038628 100644
--- a/src/kdesu_stub.c
+++ b/src/kdesu_stub.c
@@ -315,6 +315,9 @@ int main()
     /* Handle display */
 
     if (strcmp(params[P_DISPLAY].value, "no")) {
+        /* We only handle X11 - so unset QT_QPA_PLATFORM to get xcb. */
+        unsetenv("QT_QPA_PLATFORM");
+
         xsetenv("DISPLAY", params[P_DISPLAY].value);
         if (params[P_DISPLAY_AUTH].value[0]) {
             int fd2;
-- 
2.16.2

++++++ kdesu-5.43.0.tar.xz -> kdesu-5.44.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesu-5.43.0/CMakeLists.txt 
new/kdesu-5.44.0/CMakeLists.txt
--- old/kdesu-5.43.0/CMakeLists.txt     2018-02-05 12:59:26.000000000 +0100
+++ new/kdesu-5.44.0/CMakeLists.txt     2018-03-03 11:02:59.000000000 +0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.43.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.43.0") # handled by release scripts
+set(KF5_VERSION "5.44.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.44.0") # handled by release scripts
 project(KDESu VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.43.0  NO_MODULE)
+find_package(ECM 5.44.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesu-5.43.0/po/zh_CN/kdesud5.po 
new/kdesu-5.44.0/po/zh_CN/kdesud5.po
--- old/kdesu-5.43.0/po/zh_CN/kdesud5.po        2018-02-05 12:59:26.000000000 
+0100
+++ new/kdesu-5.44.0/po/zh_CN/kdesud5.po        2018-03-03 11:02:59.000000000 
+0100
@@ -7,7 +7,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-11-19 20:11+0100\n"
-"PO-Revision-Date: 2018-02-01 07:11-0500\n"
+"PO-Revision-Date: 2018-02-28 02:23-0500\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"


Reply via email to