Hello community,

here is the log from the commit of package kwin5 for openSUSE:Factory checked 
in at 2020-06-08 23:54:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwin5 (Old)
 and      /work/SRC/openSUSE:Factory/.kwin5.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwin5"

Mon Jun  8 23:54:00 2020 rev:121 rq:812319 version:5.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwin5/kwin5.changes      2020-05-07 
15:10:03.912320180 +0200
+++ /work/SRC/openSUSE:Factory/.kwin5.new.3606/kwin5.changes    2020-06-08 
23:55:03.103404029 +0200
@@ -1,0 +2,62 @@
+Sun Jun  7 19:57:54 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Add patch to fix loading the Plastik window decoration (boo#1172615):
+  * 0001-Fix-the-Plastik-decoration-with-Qt-5.15.patch
+
+-------------------------------------------------------------------
+Thu Jun  4 13:27:12 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Update to 5.19.0
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/plasma-5.19.0.php
+- Changes since 5.18.90:
+  * [KCM] Fix label in Screen Edges system settings
+  * Capstone commit to prevent force push reversed commits returning 
accidentally.
+  * [scene] Avoid a crash when currentPixmap is invalid and previousPixmap is 
null or invalid
+  * [kcm/kwinrules] Fix "window role" combo not showing up (kde#422302)
+  * [kcm/kwinrules] Fix first item position on property list (kde#421583)
+  * [wayland] Fix misuse of EGL/eglmesaext.h (kde#422131)
+  * [effects/blur] Don't blur outside the frame rect (kde#422202)
+  * [kwinrules] Add kconf_update script to fix placement rule
+  * fix compilation, remove extra parenthesis
+  * Wayland: avoid binding disabled outputs to surfaces (kde#419749)
+  * Correctly align natural layout in present windows
+  * [kcm/kwinrules] Extend upper limit of position and size spinners 
(kde#421892)
+  * [decoration] Fix propagation of client size (kde#419080)
+  * [platforms/drm] show cursor only when it is enabled (kde#418977)
+  * [scene] Re-build window quads after creating a WindowPixmap
+  * [kcm/kwinrules] Detect virtual desktops in Wayland (kde#416165)
+  * [kcm/kwinrules] Fix Placement setting (kde#421586)
+  * [kcm/kwinrules] Fix size properties not being stored (kde#421055)
+  * [kcm/kwinrules] Fix placeholder message in RulesEditor
+- Remove patches, now upstream:
+  * 0001-scene-Re-build-window-quads-after-creating-a-WindowP.patch
+
+-------------------------------------------------------------------
+Fri May 22 17:51:15 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Reintroduce patch, apparently still needed:
+  * 0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch
+
+-------------------------------------------------------------------
+Tue May 19 18:39:34 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Add patch to fix initial rendering of Xwayland windows:
+  * 0001-scene-Re-build-window-quads-after-creating-a-WindowP.patch
+
+-------------------------------------------------------------------
+Thu May 14 14:33:05 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Update to 5.18.90
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/plasma-5.18.90.php
+- Too many changes to list here
+- Refresh patches:
+  * 0001-Bypass-wayland-interface-blacklisting.patch
+  * 0001-Use-Xauthority-for-Xwayland.patch
+- Drop patch, upstream changes made it unnecessary:
+  * 0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch
+
+-------------------------------------------------------------------

Old:
----
  kwin-5.18.5.tar.xz
  kwin-5.18.5.tar.xz.sig

New:
----
  0001-Fix-the-Plastik-decoration-with-Qt-5.15.patch
  kwin-5.19.0.tar.xz
  kwin-5.19.0.tar.xz.sig

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

Other differences:
------------------
++++++ kwin5.spec ++++++
--- /var/tmp/diff_new_pack.phtbBM/_old  2020-06-08 23:55:03.811406213 +0200
+++ /var/tmp/diff_new_pack.phtbBM/_new  2020-06-08 23:55:03.815406225 +0200
@@ -21,7 +21,7 @@
 %global wayland (0%{?suse_version} >= 1330)
 %bcond_without lang
 Name:           kwin5
-Version:        5.18.5
+Version:        5.19.0
 Release:        0
 # Full Plasma 5 version (e.g. 5.8.95)
 %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}
@@ -31,11 +31,13 @@
 License:        GPL-2.0-or-later AND GPL-3.0-or-later
 Group:          System/GUI/KDE
 URL:            http://www.kde.org
-Source:         
https://download.kde.org/stable/plasma/%{version}/kwin-%{version}.tar.xz
+Source:         kwin-%{version}.tar.xz
 %if %{with lang}
-Source1:        
https://download.kde.org/stable/plasma/%{version}/kwin-%{version}.tar.xz.sig
+Source1:        kwin-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Fix-the-Plastik-decoration-with-Qt-5.15.patch
 # PATCH-FIX-OPENSUSE
 Patch100:       0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch
 # PATCH-FEATURE-OPENSUSE
@@ -83,6 +85,7 @@
 BuildRequires:  cmake(KF5WindowSystem) >= %{kf5_version}
 BuildRequires:  cmake(KF5XmlGui) >= %{kf5_version}
 BuildRequires:  cmake(KScreenLocker) >= %{_plasma5_version}
+BuildRequires:  cmake(KWaylandServer)
 BuildRequires:  cmake(Qt5Concurrent) >= %{qt5_version}
 BuildRequires:  cmake(Qt5Core) >= %{qt5_version}
 BuildRequires:  cmake(Qt5DBus) >= %{qt5_version}
@@ -135,6 +138,7 @@
 Requires:       libQt5Multimedia5
 # Needed for the virtual desktop KCM
 Requires:       kirigami2
+Requires:       kitemmodels-imports
 %requires_eq    libQt5Core5
 %requires_eq    libQt5Gui5
 Provides:       windowmanager
@@ -207,7 +211,6 @@
 %{_kf5_libdir}/kconf_update_bin/
 %{_kf5_libdir}/libexec/
 %{_kf5_libdir}/libkwin.so.*
-%{_kf5_libdir}/libkdeinit5_kwin*.so
 %{_kf5_libdir}/libkwin4_effect_builtins.so.*
 %{_kf5_libdir}/libkwineffects.so.*
 %{_kf5_libdir}/libkwingl*utils.so.*
@@ -216,7 +219,6 @@
 %{_kf5_libdir}/libkcmkwincommon.so.5.*
 %{_kf5_plugindir}/kcm_kwin_scripts.so
 %{_kf5_plugindir}/kcm_kwinoptions.so
-%{_kf5_plugindir}/kcm_kwinrules.so
 %{_kf5_plugindir}/kcm_kwinscreenedges.so
 %{_kf5_plugindir}/kcm_kwintabbox.so
 %{_kf5_plugindir}/kcm_kwintouchscreen.so
@@ -224,6 +226,7 @@
 %{_kf5_plugindir}/kcms/kcm_kwin_effects.so
 %{_kf5_plugindir}/kcms/kcm_kwin_virtualdesktops.so
 %{_kf5_plugindir}/kcms/kcm_kwindecoration.so
+%{_kf5_plugindir}/kcms/kcm_kwinrules.so
 %dir %{_kf5_plugindir}/kf5/
 %dir %{_kf5_plugindir}/kf5/org.kde.kidletime.platforms/
 
%{_kf5_plugindir}/kf5/org.kde.kidletime.platforms/KF5IdleTimeKWinWaylandPrivatePlugin.so
@@ -304,6 +307,7 @@
 %{_kf5_sharedir}/kpackage/kcms/kcm_kwin_virtualdesktops
 %{_kf5_sharedir}/kpackage/kcms/kcm_kwindecoration
 %{_kf5_sharedir}/kpackage/kcms/kcm_kwin_effects
+%{_kf5_sharedir}/kpackage/kcms/kcm_kwinrules
 
 %files devel
 %license COPYING*

++++++ 0001-Bypass-wayland-interface-blacklisting.patch ++++++
--- /var/tmp/diff_new_pack.phtbBM/_old  2020-06-08 23:55:03.835406287 +0200
+++ /var/tmp/diff_new_pack.phtbBM/_new  2020-06-08 23:55:03.835406287 +0200
@@ -9,19 +9,15 @@
  wayland_server.cpp | 2 ++
  1 file changed, 2 insertions(+)
 
-diff --git a/wayland_server.cpp b/wayland_server.cpp
-index d6f2f6e87..42b63ba56 100644
---- a/wayland_server.cpp
-+++ b/wayland_server.cpp
-@@ -245,6 +245,8 @@ public:
+Index: kwin-5.15.80git.20200430T125608~3a9d7a6e9/wayland_server.cpp
+===================================================================
+--- kwin-5.15.80git.20200430T125608~3a9d7a6e9.orig/wayland_server.cpp  
2020-05-01 10:53:51.577581219 +0200
++++ kwin-5.15.80git.20200430T125608~3a9d7a6e9/wayland_server.cpp       
2020-05-01 10:54:55.020576994 +0200
+@@ -238,6 +238,7 @@
      QSet<QByteArray> interfacesBlackList = 
{"org_kde_kwin_remote_access_manager", "org_kde_plasma_window_management", 
"org_kde_kwin_fake_input", "org_kde_kwin_keystate"};
  
-     bool allowInterface(KWayland::Server::ClientConnection *client, const 
QByteArray &interfaceName) override {
+     bool allowInterface(KWaylandServer::ClientConnection *client, const 
QByteArray &interfaceName) override {
 +        return true;
-+
          if (client->processId() == getpid()) {
              return true;
          }
--- 
-2.23.0
-

++++++ 0001-Fix-the-Plastik-decoration-with-Qt-5.15.patch ++++++
>From ec602e0c2a676aed0707c7fb7edfe964516dbc77 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <[email protected]>
Date: Sun, 7 Jun 2020 18:05:21 +0200
Subject: [PATCH] Fix the Plastik decoration with Qt 5.15

The trick in qmldir no longer works with Qt 5.15, so use a more reliable
approach. This way works with Qt 5.15 and also on previous versions of Qt.
---
 .../kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp | 3 ++-
 plugins/kdecorations/aurorae/themes/plastik/code/qmldir        | 3 ---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp 
b/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp
index 25d11251f..4304dcdc1 100644
--- a/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp
+++ b/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp
@@ -20,7 +20,8 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 
 void PlastikPlugin::registerTypes(const char *uri)
 {
-    Q_UNUSED(uri)
+    // Need to register something to tell Qt that it loaded (QTBUG-84571)
+    qmlRegisterModule(uri, 1, 0);
 }
 
 void PlastikPlugin::initializeEngine(QQmlEngine *engine, const char *uri)
diff --git a/plugins/kdecorations/aurorae/themes/plastik/code/qmldir 
b/plugins/kdecorations/aurorae/themes/plastik/code/qmldir
index 49a4b402d..aa7bf16b3 100644
--- a/plugins/kdecorations/aurorae/themes/plastik/code/qmldir
+++ b/plugins/kdecorations/aurorae/themes/plastik/code/qmldir
@@ -1,5 +1,2 @@
 module org.kde.kwin.decorations.plastik
 plugin plastikplugin
-
-# we need to have at least one element of Qt is not able to find the plugin 
*shrug*
-Foo 1.0 Foo.qml
-- 
2.25.1

++++++ 0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch ++++++
--- /var/tmp/diff_new_pack.phtbBM/_old  2020-06-08 23:55:03.851406336 +0200
+++ /var/tmp/diff_new_pack.phtbBM/_new  2020-06-08 23:55:03.851406336 +0200
@@ -1,63 +1,38 @@
-From 53c3f29e67660edcd2c3b5f6a468f361275d17fd Mon Sep 17 00:00:00 2001
+From 1cb46a0ab2d5f713a0006b1ae7d0bdfc54d5cfe2 Mon Sep 17 00:00:00 2001
 From: Fabian Vogt <[email protected]>
-Date: Tue, 13 Jun 2017 21:04:27 +0200
-Subject: [PATCH] Revert "Make WindowSwitching (Alt+Tab) the default left touch
- screen edge"
+Date: Fri, 22 May 2020 19:48:34 +0200
+Subject: [PATCH] Revert "Make WindowSwitching (Alt+Tab) the default left
+ touchscreen edge"
 
 This reverts commit c453eb696cc97208f8ebf2f632995b891bb425c3.
 
 This causes a 1px wide window on the left screen edge
 that steals clicks from windows. Very annoying.
 
+BUG: 387775
 ---
- kcmkwin/kwinscreenedges/touch.cpp | 4 +---
- tabbox/tabbox.cpp                 | 6 +++---
- 2 files changed, 4 insertions(+), 6 deletions(-)
+ kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg | 2 +-
+ tabbox/tabbox.cpp                                    | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
 
-Index: 
kwin-5.15.80git.20191114T141940~cb7022150/kcmkwin/kwinscreenedges/touch.cpp
-===================================================================
---- 
kwin-5.15.80git.20191114T141940~cb7022150.orig/kcmkwin/kwinscreenedges/touch.cpp
   2019-11-14 15:19:40.000000000 +0100
-+++ 
kwin-5.15.80git.20191114T141940~cb7022150/kcmkwin/kwinscreenedges/touch.cpp     
   2019-11-14 23:02:35.305453854 +0100
-@@ -251,7 +251,7 @@
-     KConfigGroup tabBoxConfig(m_config, "TabBox");
-     list.clear();
-     // TabBox
--    list.append(int(ElectricLeft));
-+    list.append(int(ElectricNone));
-     list = tabBoxConfig.readEntry("TouchBorderActivate", list);
-     foreach (int i, list) {
-         monitorChangeEdge(ElectricBorder(i), int(TabBox));
-@@ -346,8 +346,6 @@
-     // Clear all edges
-     for (int i = 0; i < 8; i++)
-         m_ui->monitor->selectEdgeItem(i, 0);
--    // select TabBox
--    m_ui->monitor->selectEdgeItem(int(Monitor::Left), int(TabBox));
- }
- 
- void KWinScreenEdgesConfig::monitorShowEvent()
-Index: kwin-5.15.80git.20191114T141940~cb7022150/tabbox/tabbox.cpp
-===================================================================
---- kwin-5.15.80git.20191114T141940~cb7022150.orig/tabbox/tabbox.cpp   
2019-11-14 15:19:40.000000000 +0100
-+++ kwin-5.15.80git.20191114T141940~cb7022150/tabbox/tabbox.cpp        
2019-11-14 23:02:35.305453854 +0100
-@@ -782,14 +782,14 @@
-         borderConfig = QStringLiteral("BorderAlternativeActivate");
-     }
- 
--    auto touchConfig = [this, config] (const QString &key, 
QHash<ElectricBorder, QAction *> &actions, TabBoxMode mode, const QStringList 
&defaults = QStringList{}) {
-+    auto touchConfig = [this, config] (const QString &key, 
QHash<ElectricBorder, QAction *> &actions, TabBoxMode mode) {
-         // fist erase old config
-         for (auto it = actions.begin(); it != actions.end(); ) {
-             delete it.value();
-             it = actions.erase(it);
-         }
-         // now new config
--        const QStringList list = config.readEntry(key, defaults);
-+        const QStringList list = config.readEntry(key, QStringList());
-         for (const auto &s : list) {
-             bool ok;
-             const int i = s.toInt(&ok);
-@@ -802,7 +802,7 @@
+diff --git a/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg 
b/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg
+index 49a253edc..feca5cb0c 100644
+--- a/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg
++++ b/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg
+@@ -47,7 +47,7 @@
+     </group>
+     <group name="TabBox">
+         <entry name="TouchBorderActivateTabBox" key="TouchBorderActivate" 
type="IntList">
+-            <default>ElectricLeft</default>
++            <default>ElectricNone</default>
+         </entry>
+         <entry key="TouchBorderAlternativeActivate" type="IntList">
+             <default>ElectricNone</default>
+diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp
+index 87de23fc5..e13640c38 100644
+--- a/tabbox/tabbox.cpp
++++ b/tabbox/tabbox.cpp
+@@ -793,7 +793,7 @@ void TabBox::reconfigure()
              actions.insert(ElectricBorder(i), a);
          }
      };
@@ -66,3 +41,6 @@
      touchConfig(QStringLiteral("TouchBorderAlternativeActivate"), 
m_touchAlternativeActivate, TabBoxWindowsAlternativeMode);
  }
  
+-- 
+2.25.1
+

++++++ 0001-Use-Xauthority-for-Xwayland.patch ++++++
--- /var/tmp/diff_new_pack.phtbBM/_old  2020-06-08 23:55:03.863406374 +0200
+++ /var/tmp/diff_new_pack.phtbBM/_new  2020-06-08 23:55:03.863406374 +0200
@@ -17,11 +17,11 @@
  xwl/xwayland.h   |   3 ++
  3 files changed, 105 insertions(+), 2 deletions(-)
 
-Index: kwin-5.15.80git.20200128T055143~f859c2184/CMakeLists.txt
+Index: kwin-5.15.80git.20200430T125608~3a9d7a6e9/CMakeLists.txt
 ===================================================================
---- kwin-5.15.80git.20200128T055143~f859c2184.orig/CMakeLists.txt      
2020-01-28 07:06:54.470652988 +0100
-+++ kwin-5.15.80git.20200128T055143~f859c2184/CMakeLists.txt   2020-01-28 
07:07:01.953123505 +0100
-@@ -605,6 +605,7 @@
+--- kwin-5.15.80git.20200430T125608~3a9d7a6e9.orig/CMakeLists.txt      
2020-04-30 12:56:08.000000000 +0200
++++ kwin-5.15.80git.20200430T125608~3a9d7a6e9/CMakeLists.txt   2020-05-01 
10:53:29.546483491 +0200
+@@ -624,6 +624,7 @@
      ${X11_ICE_LIB}
      ${X11_SM_LIB}
      ${X11_X11_LIB}
@@ -29,10 +29,10 @@
  )
  
  set(kwin_XCB_LIBS
-Index: kwin-5.15.80git.20200128T055143~f859c2184/xwl/xwayland.cpp
+Index: kwin-5.15.80git.20200430T125608~3a9d7a6e9/xwl/xwayland.cpp
 ===================================================================
---- kwin-5.15.80git.20200128T055143~f859c2184.orig/xwl/xwayland.cpp    
2020-01-28 07:06:54.470652988 +0100
-+++ kwin-5.15.80git.20200128T055143~f859c2184/xwl/xwayland.cpp 2020-01-28 
07:10:26.978420516 +0100
+--- kwin-5.15.80git.20200430T125608~3a9d7a6e9.orig/xwl/xwayland.cpp    
2020-04-30 12:56:08.000000000 +0200
++++ kwin-5.15.80git.20200430T125608~3a9d7a6e9/xwl/xwayland.cpp 2020-05-01 
10:53:29.546483491 +0200
 @@ -48,6 +48,8 @@
  #include <sys/socket.h>
  #include <iostream>
@@ -169,10 +169,10 @@
      int screenNumber = 0;
      xcb_connection_t *c = nullptr;
      if (m_xcbConnectionFd == -1) {
-Index: kwin-5.15.80git.20200128T055143~f859c2184/xwl/xwayland.h
+Index: kwin-5.15.80git.20200430T125608~3a9d7a6e9/xwl/xwayland.h
 ===================================================================
---- kwin-5.15.80git.20200128T055143~f859c2184.orig/xwl/xwayland.h      
2020-01-28 07:06:54.470652988 +0100
-+++ kwin-5.15.80git.20200128T055143~f859c2184/xwl/xwayland.h   2020-01-28 
07:07:01.953123505 +0100
+--- kwin-5.15.80git.20200430T125608~3a9d7a6e9.orig/xwl/xwayland.h      
2020-04-30 12:56:08.000000000 +0200
++++ kwin-5.15.80git.20200430T125608~3a9d7a6e9/xwl/xwayland.h   2020-05-01 
10:53:29.546483491 +0200
 @@ -23,6 +23,7 @@
  #include "xwayland_interface.h"
  

++++++ kwin-5.18.5.tar.xz -> kwin-5.19.0.tar.xz ++++++
++++ 498188 lines of diff (skipped)



Reply via email to