Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwin5 for openSUSE:Factory checked in at 2021-02-15 23:13:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwin5 (Old) and /work/SRC/openSUSE:Factory/.kwin5.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwin5" Mon Feb 15 23:13:40 2021 rev:136 rq:872552 version:5.21.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kwin5/kwin5.changes 2021-01-25 18:22:44.704353837 +0100 +++ /work/SRC/openSUSE:Factory/.kwin5.new.28504/kwin5.changes 2021-02-15 23:15:05.895288087 +0100 @@ -1,0 +2,28 @@ +Mon Feb 15 14:02:50 UTC 2021 - Fabian Vogt <[email protected]> + +- Update to 5.21.0 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/plasma/5/5.21.0 +- Too many changes to list here +- Most parts of 0001-Use-Xauthority-for-Xwayland.patch are now + upstream, replace it with just + 0001-Export-consistent-hostname-as-XAUTHLOCALHOSTNAME.patch + +------------------------------------------------------------------- +Thu Jan 28 18:46:25 UTC 2021 - Fabian Vogt <[email protected]> + +- Enable accessibility integration + +------------------------------------------------------------------- +Thu Jan 21 21:31:37 UTC 2021 - Fabian Vogt <[email protected]> + +- Update to 5.20.90 + * New feature release + * For more details please see: + * https://kde.org/announcements/plasma/5/20.90/ +- Too many changes to list here +- Drop patches, now upstream: + * 0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch + +------------------------------------------------------------------- Old: ---- 0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch 0001-Use-Xauthority-for-Xwayland.patch kwin-5.20.5.tar.xz kwin-5.20.5.tar.xz.sig New: ---- 0001-Export-consistent-hostname-as-XAUTHLOCALHOSTNAME.patch kwin-5.21.0.tar.xz kwin-5.21.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwin5.spec ++++++ --- /var/tmp/diff_new_pack.u6Yi3l/_old 2021-02-15 23:15:06.803289443 +0100 +++ /var/tmp/diff_new_pack.u6Yi3l/_new 2021-02-15 23:15:06.807289448 +0100 @@ -24,7 +24,7 @@ %global wayland (0%{?suse_version} >= 1330) %bcond_without lang Name: kwin5 -Version: 5.20.5 +Version: 5.21.0 Release: 0 # Full Plasma 5 version (e.g. 5.8.95) %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}} @@ -34,15 +34,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-OPENSUSE -Patch100: 0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch # PATCH-FEATURE-OPENSUSE -Patch101: 0001-Use-Xauthority-for-Xwayland.patch +Patch101: 0001-Export-consistent-hostname-as-XAUTHLOCALHOSTNAME.patch # PATCH-FIX-OPENSUSE Patch102: 0001-Use-fixed-absolute-path-instead-of-usr-bin-env-in-sh.patch # PATCH-FIX-OPENSUSE @@ -80,6 +78,7 @@ BuildRequires: cmake(KF5Notifications) >= %{kf5_version} BuildRequires: cmake(KF5Package) >= %{kf5_version} BuildRequires: cmake(KF5Plasma) >= %{kf5_version} +BuildRequires: cmake(KF5Runner) >= %{kf5_version} BuildRequires: cmake(KF5Service) >= %{kf5_version} BuildRequires: cmake(KF5TextWidgets) >= %{kf5_version} BuildRequires: cmake(KF5Wayland) >= %{kf5_version} @@ -88,6 +87,7 @@ BuildRequires: cmake(KF5XmlGui) >= %{kf5_version} BuildRequires: cmake(KScreenLocker) >= %{_plasma5_version} BuildRequires: cmake(KWaylandServer) >= %{_plasma5_version} +BuildRequires: cmake(QAccessibilityClient) BuildRequires: cmake(Qt5Concurrent) >= %{qt5_version} BuildRequires: cmake(Qt5Core) >= %{qt5_version} BuildRequires: cmake(Qt5DBus) >= %{qt5_version} @@ -101,6 +101,7 @@ BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(wayland-cursor) >= 1.2.0 BuildRequires: pkgconfig(x11) @@ -192,7 +193,6 @@ %fdupes %{buildroot}%{_datadir} %preun -%systemd_user_preun plasma-kwin_wayland.service %systemd_user_preun plasma-kwin_x11.service %post @@ -200,11 +200,11 @@ %if %{wayland} %set_permissions %{_kf5_bindir}/kwin_wayland %endif -%systemd_user_post plasma-kwin_wayland.service plasma-kwin_x11.service +%systemd_user_post plasma-kwin_x11.service %postun /sbin/ldconfig -%systemd_user_postun plasma-kwin_wayland.service plasma-kwin_x11.service +%systemd_user_postun plasma-kwin_x11.service %if %{wayland} %verifyscript @@ -215,6 +215,7 @@ %license LICENSES/* %if %{wayland} %verify(not caps) %{_kf5_bindir}/kwin_wayland +%{_kf5_bindir}/kwin_wayland_wrapper %endif %{_kf5_bindir}/kwin_x11 %{_kf5_debugdir}/org_kde_kwin.categories @@ -238,11 +239,6 @@ %{_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 -%dir %{_kf5_plugindir}/kf5/kwindowsystem/ -%{_kf5_plugindir}/kf5/kwindowsystem/KF5WindowSystemKWinPrivatePlugin.so %dir %{_kf5_plugindir}/kpackage/ %dir %{_kf5_plugindir}/kpackage/packagestructure/ %{_kf5_plugindir}/kpackage/packagestructure/kwin_packagestructure_aurorae.so @@ -253,6 +249,13 @@ %dir %{_kf5_plugindir}/kwin/ %dir %{_kf5_plugindir}/kwin/effects/ %dir %{_kf5_plugindir}/kwin/effects/configs/ +%dir %{_kf5_plugindir}/kwin/plugins/ +%{_kf5_plugindir}/kwin/plugins/colordintegration.so +%dir %{_kf5_sharedir}/krunner +%dir %{_kf5_sharedir}/krunner/dbusplugins +%{_kf5_sharedir}/krunner/dbusplugins/kwin-runner-windows.desktop +%{_kf5_plugindir}/kwin/plugins/krunnerintegration.so +%{_kf5_plugindir}/kwin/plugins/libKWinNightColorPlugin.so %{_kf5_plugindir}/kwin/effects/configs/kcm_kwin4_genericscripted.so %{_kf5_plugindir}/kwin/effects/configs/kwin_blur_config.so %{_kf5_plugindir}/kwin/effects/configs/kwin_coverswitch_config.so @@ -281,8 +284,6 @@ %{_kf5_plugindir}/kwincompositing.so %dir %{_kf5_plugindir}/org.kde.kdecoration2/ %{_kf5_plugindir}/org.kde.kdecoration2/kwin5_aurorae.so -%dir %{_kf5_plugindir}/org.kde.kglobalaccel5.platforms/ -%{_kf5_plugindir}/org.kde.kglobalaccel5.platforms/KF5GlobalAccelPrivateKWin.so %dir %{_kf5_plugindir}/org.kde.kwin.platforms/ %{_kf5_plugindir}/org.kde.kwin.platforms/KWinX11Platform.so %dir %{_kf5_plugindir}/org.kde.kwin.scenes/ @@ -295,7 +296,6 @@ %{_kf5_plugindir}/org.kde.kwin.waylandbackends/KWinWaylandVirtualBackend.so %{_kf5_plugindir}/org.kde.kwin.waylandbackends/KWinWaylandWaylandBackend.so %{_kf5_plugindir}/org.kde.kwin.waylandbackends/KWinWaylandX11Backend.so -%{_kf5_plugindir}/platforms/KWinQpaPlugin.so %dir %{_kf5_qmldir}/org/ %dir %{_kf5_qmldir}/org/kde/ @@ -319,7 +319,6 @@ %{_kf5_sharedir}/kpackage/kcms/kcm_kwindecoration %{_kf5_sharedir}/kpackage/kcms/kcm_kwin_effects %{_kf5_sharedir}/kpackage/kcms/kcm_kwinrules -%{_userunitdir}/plasma-kwin_wayland.service %{_userunitdir}/plasma-kwin_x11.service %files devel @@ -331,6 +330,7 @@ %{_kf5_libdir}/libkwinxrenderutils.so %{_kf5_libdir}/cmake/KWinDBusInterface/ %{_kf5_sharedir}/dbus-1/interfaces/ +%{_kf5_cmakedir}/KWinEffects/ %if %{with lang} %files lang -f %{name}.lang ++++++ 0001-Export-consistent-hostname-as-XAUTHLOCALHOSTNAME.patch ++++++ >From 1b4234cfd61a3cfdbe5023cdef5d7cfa5a1c9704 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <[email protected]> Date: Wed, 10 Feb 2021 21:23:40 +0100 Subject: [PATCH] Export consistent hostname as XAUTHLOCALHOSTNAME To deal with hostname changes, FamilyWild is used for Xauthority, but for Xsm XAUTHLOCALHOSTNAME is also set (boo#1177835, downstream patch in xtrans). The hostname is read once on startup and then used consistently. --- xwl/xwayland.cpp | 6 ++++-- xwl/xwayland.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/xwl/xwayland.cpp b/xwl/xwayland.cpp index 92e3d9199..c5d877148 100644 --- a/xwl/xwayland.cpp +++ b/xwl/xwayland.cpp @@ -66,6 +66,7 @@ namespace Xwl Xwayland::Xwayland(ApplicationWaylandAbstract *app, QObject *parent) : XwaylandInterface(parent) , m_app(app) + , m_hostname(QHostInfo::localHostName().toUtf8()) { m_resetCrashCountTimer = new QTimer(this); m_resetCrashCountTimer->setSingleShot(true); @@ -326,6 +327,7 @@ void Xwayland::handleXwaylandReady() qCInfo(KWIN_XWL) << "Xwayland server started on display" << displayName; qputenv("DISPLAY", displayName); qputenv("XAUTHORITY", m_authorityFile.fileName().toUtf8()); + qputenv("XAUTHLOCALHOSTNAME", m_hostname); // create selection owner for WM_S0 - magic X display number expected by XWayland m_selectionOwner.reset(new KSelectionOwner("WM_S0", kwinApp()->x11Connection(), kwinApp()->x11RootWindow())); @@ -336,6 +338,7 @@ void Xwayland::handleXwaylandReady() auto env = m_app->processStartupEnvironment(); env.insert(QStringLiteral("DISPLAY"), displayName); env.insert(QStringLiteral("XAUTHORITY"), m_authorityFile.fileName()); + env.insert(QStringLiteral("XAUTHLOCALHOSTNAME"), m_hostname); m_app->setProcessStartupEnvironment(env); emit started(); @@ -435,7 +438,6 @@ static QByteArray generateXauthorityCookie() bool Xwayland::writeXauthorityEntries() { - const QByteArray hostname = QHostInfo::localHostName().toUtf8(); const QByteArray display = QByteArray::number(m_display); const QByteArray name = QByteArrayLiteral("MIT-MAGIC-COOKIE-1"); const QByteArray cookie = generateXauthorityCookie(); @@ -444,7 +446,7 @@ bool Xwayland::writeXauthorityEntries() stream.setByteOrder(QDataStream::BigEndian); // Write entry with FamilyLocal and the host name as address - writeXauthorityEntry(stream, 256 /* FamilyLocal */, hostname, display, name, cookie); + writeXauthorityEntry(stream, 256 /* FamilyLocal */, m_hostname, display, name, cookie); // Write entry with FamilyWild, no address writeXauthorityEntry(stream, 65535 /* FamilyWild */, QByteArray{}, display, name, cookie); diff --git a/xwl/xwayland.h b/xwl/xwayland.h index 0bdbdbfdf..5c3cca60a 100644 --- a/xwl/xwayland.h +++ b/xwl/xwayland.h @@ -113,6 +113,7 @@ private: ApplicationWaylandAbstract *m_app; QScopedPointer<KSelectionOwner> m_selectionOwner; QTemporaryFile m_authorityFile; + QByteArray m_hostname; int m_crashCount = 0; Q_DISABLE_COPY(Xwayland) -- 2.25.1 ++++++ kwin-5.20.5.tar.xz -> kwin-5.21.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/kwin5/kwin-5.20.5.tar.xz /work/SRC/openSUSE:Factory/.kwin5.new.28504/kwin-5.21.0.tar.xz differ: char 26, line 1
