Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libkscreen2 for openSUSE:Factory checked in at 2023-03-17 17:01:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkscreen2 (Old) and /work/SRC/openSUSE:Factory/.libkscreen2.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkscreen2" Fri Mar 17 17:01:38 2023 rev:154 rq:1072000 version:5.27.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libkscreen2/libkscreen2.changes 2023-03-02 23:02:45.498962175 +0100 +++ /work/SRC/openSUSE:Factory/.libkscreen2.new.31432/libkscreen2.changes 2023-03-17 17:01:48.652909724 +0100 @@ -1,0 +2,12 @@ +Tue Mar 14 15:05:57 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 5.27.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/plasma/5/5.27.3 +- Changes since 5.27.2: + * libdpms/wayland: Do not create dpms interfaces for placeholder QScreens (kde#466674) + * dpms/xcb: Make sure we are setting it as unsupported when it is (kde#466181) + * backends/wayland: Round passed scale + +------------------------------------------------------------------- Old: ---- libkscreen-5.27.2.tar.xz libkscreen-5.27.2.tar.xz.sig New: ---- libkscreen-5.27.3.tar.xz libkscreen-5.27.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkscreen2.spec ++++++ --- /var/tmp/diff_new_pack.JSI93o/_old 2023-03-17 17:01:49.432913811 +0100 +++ /var/tmp/diff_new_pack.JSI93o/_new 2023-03-17 17:01:49.436913832 +0100 @@ -20,7 +20,7 @@ %define sover 8 %define lname libKF5Screen%{sover} Name: libkscreen2 -Version: 5.27.2 +Version: 5.27.3 Release: 0 # Full Plasma 5 version (e.g. 5.8.95) %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}} ++++++ libkscreen-5.27.2.tar.xz -> libkscreen-5.27.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/CMakeLists.txt new/libkscreen-5.27.3/CMakeLists.txt --- old/libkscreen-5.27.2/CMakeLists.txt 2023-02-28 13:20:46.000000000 +0100 +++ new/libkscreen-5.27.3/CMakeLists.txt 2023-03-14 13:26:54.000000000 +0100 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16) project(libkscreen) -set(PROJECT_VERSION "5.27.2") +set(PROJECT_VERSION "5.27.3") set(QT_MIN_VERSION "5.15.2") set(KF5_MIN_VERSION "5.102.0") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/backends/kwayland/waylandoutputdevice.cpp new/libkscreen-5.27.3/backends/kwayland/waylandoutputdevice.cpp --- old/libkscreen-5.27.2/backends/kwayland/waylandoutputdevice.cpp 2023-02-28 13:20:46.000000000 +0100 +++ new/libkscreen-5.27.3/backends/kwayland/waylandoutputdevice.cpp 2023-03-14 13:26:54.000000000 +0100 @@ -306,7 +306,12 @@ void WaylandOutputDevice::kde_output_device_v2_scale(wl_fixed_t factor) { - m_factor = wl_fixed_to_double(factor); + const double factorAsDouble = wl_fixed_to_double(factor); + + // the fractional scaling protocol only speaks in unit of 120ths + // using the same scale throughout makes that simpler + // this also eliminates most loss from wl_fixed + m_factor = std::round(factorAsDouble * 120) / 120; } void WaylandOutputDevice::kde_output_device_v2_edid(const QString &edid) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/poqm/en_GB/libkscreen5_qt.po new/libkscreen-5.27.3/poqm/en_GB/libkscreen5_qt.po --- old/libkscreen-5.27.2/poqm/en_GB/libkscreen5_qt.po 2023-02-28 13:20:46.000000000 +0100 +++ new/libkscreen-5.27.3/poqm/en_GB/libkscreen5_qt.po 2023-03-14 13:26:54.000000000 +0100 @@ -4,7 +4,7 @@ "Project-Id-Version: \n" "PO-Revision-Date: 2022-12-31 15:42+0000\n" "Last-Translator: Steve Allewell <steve.allew...@gmail.com>\n" -"Language-Team: English <kde-i18n-...@kde.org>\n" +"Language-Team: British English <kde-i18n-...@kde.org>\n" "Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/poqm/fi/libkscreen5_qt.po new/libkscreen-5.27.3/poqm/fi/libkscreen5_qt.po --- old/libkscreen-5.27.2/poqm/fi/libkscreen5_qt.po 1970-01-01 01:00:00.000000000 +0100 +++ new/libkscreen-5.27.3/poqm/fi/libkscreen5_qt.po 2023-03-14 13:26:54.000000000 +0100 @@ -0,0 +1,44 @@ +# Tommi Nieminen <transla...@legisign.org>, 2022, 2023. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"PO-Revision-Date: 2023-01-18 15:11+0200\n" +"Last-Translator: Tommi Nieminen <transla...@legisign.org>\n" +"Language-Team: Finnish <kde-i18n-...@kde.org>\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.12.0\n" +"X-Qt-Contexts: true\n" + +#: getconfigoperation.cpp:62 +msgctxt "KScreen::GetConfigOperationPrivate|" +msgid "Failed to prepare backend" +msgstr "Taustajärjestelmän valmistelu epäonnistui" + +#: getconfigoperation.cpp:87 +msgctxt "KScreen::GetConfigOperationPrivate|" +msgid "Failed to deserialize backend response" +msgstr "Taustajärjestelmän vastauksen serialisoinnin purku epäonnistui" + +#: getconfigoperation.cpp:99 +msgctxt "KScreen::GetConfigOperationPrivate|" +msgid "Backend invalidated" +msgstr "Taustajärjestelmä on mitätöity" + +#: setconfigoperation.cpp:58 +msgctxt "KScreen::SetConfigOperationPrivate|" +msgid "Failed to prepare backend" +msgstr "Taustajärjestelmän valmistelu epäonnistui" + +#: setconfigoperation.cpp:65 +msgctxt "KScreen::SetConfigOperationPrivate|" +msgid "Failed to serialize request" +msgstr "Vastauksen serialisointi epäonnistui" + +#: setconfigoperation.cpp:89 +msgctxt "KScreen::SetConfigOperationPrivate|" +msgid "Failed to deserialize backend response" +msgstr "Taustajärjestelmän vastauksen serialisoinnin purku epäonnistui" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/poqm/nn/libkscreen5_qt.po new/libkscreen-5.27.3/poqm/nn/libkscreen5_qt.po --- old/libkscreen-5.27.2/poqm/nn/libkscreen5_qt.po 1970-01-01 01:00:00.000000000 +0100 +++ new/libkscreen-5.27.3/poqm/nn/libkscreen5_qt.po 2023-03-14 13:26:54.000000000 +0100 @@ -0,0 +1,49 @@ +# Translation of libkscreen5_qt to Norwegian Nynorsk +# +# Karl Ove Hufthammer <k...@huftis.org>, 2023. +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Last-Translator: Karl Ove Hufthammer <k...@huftis.org>\n" +"PO-Revision-Date: 2023-03-05 12:32+0100\n" +"Project-Id-Version: \n" +"Language-Team: Norwegian Nynorsk <l10n...@lister.huftis.org>\n" +"Language: nn\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 22.12.3\n" +"X-Environment: kde\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: qtrich\n" +"X-Qt-Contexts: true\n" + +#: getconfigoperation.cpp:62 +msgctxt "KScreen::GetConfigOperationPrivate|" +msgid "Failed to prepare backend" +msgstr "Klarte ikkje gjera klar motor" + +#: getconfigoperation.cpp:87 +msgctxt "KScreen::GetConfigOperationPrivate|" +msgid "Failed to deserialize backend response" +msgstr "Klarte ikkje avseralisera svar frå motor" + +#: getconfigoperation.cpp:99 +msgctxt "KScreen::GetConfigOperationPrivate|" +msgid "Backend invalidated" +msgstr "Motor er gjort ugyldig" + +#: setconfigoperation.cpp:58 +msgctxt "KScreen::SetConfigOperationPrivate|" +msgid "Failed to prepare backend" +msgstr "Klarte ikkje gjera klar motor" + +#: setconfigoperation.cpp:65 +msgctxt "KScreen::SetConfigOperationPrivate|" +msgid "Failed to serialize request" +msgstr "Klarte ikkje serialisera førespurnad" + +#: setconfigoperation.cpp:89 +msgctxt "KScreen::SetConfigOperationPrivate|" +msgid "Failed to deserialize backend response" +msgstr "Klarte ikkje avseralisera svar frå motor" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/poqm/zh_CN/libkscreen5_qt.po new/libkscreen-5.27.3/poqm/zh_CN/libkscreen5_qt.po --- old/libkscreen-5.27.2/poqm/zh_CN/libkscreen5_qt.po 2023-02-28 13:20:46.000000000 +0100 +++ new/libkscreen-5.27.3/poqm/zh_CN/libkscreen5_qt.po 2023-03-14 13:26:54.000000000 +0100 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2023-02-24 12:59\n" +"PO-Revision-Date: 2023-03-11 04:55\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/src/libdpms/waylanddpmshelper.cpp new/libkscreen-5.27.3/src/libdpms/waylanddpmshelper.cpp --- old/libkscreen-5.27.2/src/libdpms/waylanddpmshelper.cpp 2023-02-28 13:20:46.000000000 +0100 +++ new/libkscreen-5.27.3/src/libdpms/waylanddpmshelper.cpp 2023-03-14 13:26:54.000000000 +0100 @@ -112,6 +112,13 @@ private: void addScreen(QScreen *screen) { + // We can't rely on checking the wl_output being null yet + // https://codereview.qt-project.org/c/qt/qtwayland/+/464669 + const bool fake = screen->geometry().isEmpty() || screen->name().isEmpty(); + if (fake) { + return; + } + QPlatformNativeInterface *native = qGuiApp->platformNativeInterface(); wl_output *output = reinterpret_cast<wl_output *>(native->nativeResourceForScreen(QByteArrayLiteral("output"), screen)); if (output) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.27.2/src/libdpms/xcbdpmshelper.cpp new/libkscreen-5.27.3/src/libdpms/xcbdpmshelper.cpp --- old/libkscreen-5.27.2/src/libdpms/xcbdpmshelper.cpp 2023-02-28 13:20:46.000000000 +0100 +++ new/libkscreen-5.27.3/src/libdpms/xcbdpmshelper.cpp 2023-03-14 13:26:54.000000000 +0100 @@ -30,14 +30,12 @@ auto *extension = xcb_get_extension_data(c, &xcb_dpms_id); if (!extension || !extension->present) { qCWarning(KSCREEN_DPMS) << "DPMS extension not available"; + setSupported(false); return; } ScopedCPointer<xcb_dpms_capable_reply_t> capableReply(xcb_dpms_capable_reply(c, xcb_dpms_capable(c), nullptr)); - - if (capableReply && capableReply->capable) { - setSupported(true); - } + setSupported(capableReply && capableReply->capable); // Disable a default timeout, if any xcb_dpms_set_timeouts(QX11Info::connection(), 0, 0, 0);