Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kscreen5 for openSUSE:Factory 
checked in at 2021-10-29 22:33:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kscreen5 (Old)
 and      /work/SRC/openSUSE:Factory/.kscreen5.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kscreen5"

Fri Oct 29 22:33:18 2021 rev:121 rq:927681 version:5.23.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/kscreen5/kscreen5.changes        2021-10-23 
00:51:06.357131342 +0200
+++ /work/SRC/openSUSE:Factory/.kscreen5.new.1890/kscreen5.changes      
2021-10-29 22:33:44.371670931 +0200
@@ -1,0 +2,10 @@
+Tue Oct 26 14:55:58 UTC 2021 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 5.23.2
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/plasma/5/5.23.2
+- Changes since 5.23.1:
+  * kcm: Fix removal of Xft.dpi from Xresources
+
+-------------------------------------------------------------------

Old:
----
  kscreen-5.23.1.tar.xz
  kscreen-5.23.1.tar.xz.sig

New:
----
  kscreen-5.23.2.tar.xz
  kscreen-5.23.2.tar.xz.sig

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

Other differences:
------------------
++++++ kscreen5.spec ++++++
--- /var/tmp/diff_new_pack.Al2v9M/_old  2021-10-29 22:33:44.963671155 +0200
+++ /var/tmp/diff_new_pack.Al2v9M/_new  2021-10-29 22:33:44.963671155 +0200
@@ -20,7 +20,7 @@
 
 %bcond_without lang
 Name:           kscreen5
-Version:        5.23.1
+Version:        5.23.2
 Release:        0
 # Full Plasma 5 version (e.g. 5.8.95)
 %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}

++++++ kscreen-5.23.1.tar.xz -> kscreen-5.23.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kscreen-5.23.1/CMakeLists.txt 
new/kscreen-5.23.2/CMakeLists.txt
--- old/kscreen-5.23.1/CMakeLists.txt   2021-10-19 14:49:26.000000000 +0200
+++ new/kscreen-5.23.2/CMakeLists.txt   2021-10-26 14:24:50.000000000 +0200
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.16)
 
 project(KScreen)
-set(PROJECT_VERSION "5.23.1")
+set(PROJECT_VERSION "5.23.2")
 set(KSCREEN_VERSION ${PROJECT_VERSION})
 
 add_definitions("-DKSCREEN_VERSION=\"${KSCREEN_VERSION}\"")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kscreen-5.23.1/kcm/kcm.cpp 
new/kscreen-5.23.2/kcm/kcm.cpp
--- old/kscreen-5.23.1/kcm/kcm.cpp      2021-10-19 14:49:07.000000000 +0200
+++ new/kscreen-5.23.2/kcm/kcm.cpp      2021-10-26 14:24:26.000000000 +0200
@@ -364,12 +364,31 @@
 
     if (qFuzzyCompare(m_globalScale, 1.0)) {
         // if dpi is the default (96) remove the entry rather than setting it
-        QProcess proc;
-        proc.start(QStringLiteral("xrdb"), {QStringLiteral("-quiet"), 
QStringLiteral("-remove"), QStringLiteral("-nocpp")});
-        if (proc.waitForStarted()) {
-            proc.write(QByteArray("Xft.dpi\n"));
-            proc.closeWriteChannel();
-            proc.waitForFinished();
+        QProcess queryProc;
+        queryProc.start(QStringLiteral("xrdb"), {QStringLiteral("-query")});
+        if (queryProc.waitForFinished()) {
+            QByteArray db = queryProc.readAllStandardOutput();
+            int idx1 = 0;
+            while (idx1 < db.size()) {
+                int idx2 = db.indexOf('\n', idx1);
+                if (idx2 == -1) {
+                    idx2 = db.size() - 1;
+                }
+                const auto entry = QByteArray::fromRawData(db.constData() + 
idx1, idx2 - idx1 + 1);
+                if (entry.startsWith("Xft.dpi:")) {
+                    db.remove(idx1, entry.size());
+                } else {
+                    idx1 = idx2 + 1;
+                }
+            }
+
+            QProcess loadProc;
+            loadProc.start(QStringLiteral("xrdb"), {QStringLiteral("-quiet"), 
QStringLiteral("-load"), QStringLiteral("-nocpp")});
+            if (loadProc.waitForStarted()) {
+                loadProc.write(db);
+                loadProc.closeWriteChannel();
+                loadProc.waitForFinished();
+            }
         }
         fontConfigGroup.writeEntry("forceFontDPI", 0);
     } else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kscreen-5.23.1/po/zh_CN/kcm_kscreen.po 
new/kscreen-5.23.2/po/zh_CN/kcm_kscreen.po
--- old/kscreen-5.23.1/po/zh_CN/kcm_kscreen.po  2021-10-19 14:49:25.000000000 
+0200
+++ new/kscreen-5.23.2/po/zh_CN/kcm_kscreen.po  2021-10-26 14:24:49.000000000 
+0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-09-15 00:20+0000\n"
-"PO-Revision-Date: 2021-10-10 03:54\n"
+"PO-Revision-Date: 2021-10-22 15:16\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kscreen-5.23.1/po/zh_CN/kscreen.po 
new/kscreen-5.23.2/po/zh_CN/kscreen.po
--- old/kscreen-5.23.1/po/zh_CN/kscreen.po      2021-10-19 14:49:25.000000000 
+0200
+++ new/kscreen-5.23.2/po/zh_CN/kscreen.po      2021-10-26 14:24:49.000000000 
+0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-09-15 00:20+0000\n"
-"PO-Revision-Date: 2021-10-10 03:54\n"
+"PO-Revision-Date: 2021-10-22 15:16\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kscreen-5.23.1/po/zh_CN/plasma_applet_org.kde.kscreen.po 
new/kscreen-5.23.2/po/zh_CN/plasma_applet_org.kde.kscreen.po
--- old/kscreen-5.23.1/po/zh_CN/plasma_applet_org.kde.kscreen.po        
2021-10-19 14:49:25.000000000 +0200
+++ new/kscreen-5.23.2/po/zh_CN/plasma_applet_org.kde.kscreen.po        
2021-10-26 14:24:49.000000000 +0200
@@ -8,7 +8,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-09-15 00:20+0000\n"
-"PO-Revision-Date: 2021-10-10 03:54\n"
+"PO-Revision-Date: 2021-10-22 15:16\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"

Reply via email to