Hello community,
here is the log from the commit of package libkscreen2 for openSUSE:Factory checked in at 2015-09-02 07:51:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkscreen2 (Old)
and /work/SRC/openSUSE:Factory/.libkscreen2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkscreen2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libkscreen2/libkscreen2.changes 2015-07-08 06:57:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libkscreen2.new/libkscreen2.changes 2015-09-02 07:51:58.000000000 +0200
@@ -1,0 +2,21 @@
+Mon Aug 24 17:52:13 UTC 2015 - hrvoje.senjan@gmail.com
+
+- Update to 5.4.0:
+ * For more details please see:
+ https://www.kde.org/announcements/plasma-5.4.0.php
+
+-------------------------------------------------------------------
+Sun Aug 16 10:17:06 UTC 2015 - hrvoje.senjan@gmail.com
+
+- Update to 5.3.95 aka 5.4 beta:
+ This release of Plasma brings many nice touches for our users
+ such as much improved high DPI support, KRunner auto-completion
+ and many new beautiful Breeze icons. It also lays the ground for
+ the future with a tech preview of Wayland session available.
+ We're shipping a few new components such as an Audio Volume
+ Plasma Widget, monitor calibration tool and the User Manager
+ tool comes out beta.
+ * For more details please see:
+ https://www.kde.org/announcements/plasma-5.3.95.php
+
+-------------------------------------------------------------------
Old:
----
libkscreen-5.3.2.tar.xz
New:
----
libkscreen-5.4.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libkscreen2.spec ++++++
--- /var/tmp/diff_new_pack.mg0PM5/_old 2015-09-02 07:51:58.000000000 +0200
+++ /var/tmp/diff_new_pack.mg0PM5/_new 2015-09-02 07:51:58.000000000 +0200
@@ -19,7 +19,7 @@
%define lname libKF5Screen6
%define plasma_version 5.0.0
Name: libkscreen2
-Version: 5.3.2
+Version: 5.4.0
Release: 0
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 0.0.12
++++++ libkscreen-5.3.2.tar.xz -> libkscreen-5.4.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/CMakeLists.txt new/libkscreen-5.4.0/CMakeLists.txt
--- old/libkscreen-5.3.2/CMakeLists.txt 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/CMakeLists.txt 2015-08-20 14:57:33.000000000 +0200
@@ -1,5 +1,5 @@
project(libkscreen)
-set(PROJECT_VERSION "5.3.2")
+set(PROJECT_VERSION "5.4.0")
cmake_minimum_required(VERSION 2.8.12)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/autotests/configs/multipleoutput.json new/libkscreen-5.4.0/autotests/configs/multipleoutput.json
--- old/libkscreen-5.3.2/autotests/configs/multipleoutput.json 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/autotests/configs/multipleoutput.json 2015-08-20 14:57:33.000000000 +0200
@@ -56,6 +56,10 @@
"x" : 0,
"y" : 0
},
+ "size" : {
+ "width" : 1280,
+ "height" : 800
+ },
"currentModeId" : 3,
"preferredModes" : [2],
"rotation" : 1,
@@ -111,6 +115,10 @@
"x" : 1280,
"y" : 0
},
+ "size" : {
+ "width" : 1920,
+ "height" : 1080
+ },
"currentModeId" : 4,
"preferredModes" : [4],
"rotation" : 1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/autotests/configs/singleoutput.json new/libkscreen-5.4.0/autotests/configs/singleoutput.json
--- old/libkscreen-5.3.2/autotests/configs/singleoutput.json 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/autotests/configs/singleoutput.json 2015-08-20 14:57:33.000000000 +0200
@@ -56,6 +56,10 @@
"x" : 0,
"y" : 0
},
+ "size" : {
+ "width" : 1280,
+ "height" : 800
+ },
"currentModeId" : 3,
"preferredModes" : [3],
"rotation" : 1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/autotests/testconfigserializer.cpp new/libkscreen-5.4.0/autotests/testconfigserializer.cpp
--- old/libkscreen-5.3.2/autotests/testconfigserializer.cpp 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/autotests/testconfigserializer.cpp 2015-08-20 14:57:33.000000000 +0200
@@ -148,6 +148,7 @@
output->setIcon(QString());
output->setModes(modes);
output->setPos(QPoint(1280, 0));
+ output->setSize(mode->size());
output->setRotation(KScreen::Output::None);
output->setCurrentModeId(QLatin1String("1"));
output->setPreferredModes(QStringList() << QLatin1String("1"));
@@ -170,6 +171,10 @@
const QJsonObject pos = obj[QLatin1String("pos")].toObject();
QCOMPARE(pos[QLatin1String("x")].toInt(), output->pos().x());
QCOMPARE(pos[QLatin1String("y")].toInt(), output->pos().y());
+ const QJsonObject size = obj[QLatin1String("size")].toObject();
+ QCOMPARE(pos[QLatin1String("width")].toInt(), output->size().width());
+ QCOMPARE(pos[QLatin1String("height")].toInt(), output->size().height());
+
QCOMPARE(static_castKScreen::Output::Rotation(obj[QLatin1String("rotation")].toInt()), output->rotation());
QCOMPARE(obj[QLatin1String("currentModeId")].toString(), output->currentModeId());
QCOMPARE(obj[QLatin1String("connected")].toBool(), output->isConnected());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/backends/fake/parser.cpp new/libkscreen-5.4.0/backends/fake/parser.cpp
--- old/libkscreen-5.3.2/backends/fake/parser.cpp 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/backends/fake/parser.cpp 2015-08-20 14:57:33.000000000 +0200
@@ -184,6 +184,11 @@
map.remove(QLatin1Literal("pos"));
}
+ if (map.contains("size")) {
+ output->setSize(Parser::sizeFromJson(map["size"].toMap()));
+ map.remove(QLatin1Literal("size"));
+ }
+
//Remove some extra properties that we do not want or need special treatment
map.remove(QLatin1Literal("edid"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/backends/qscreen/qscreenoutput.cpp new/libkscreen-5.4.0/backends/qscreen/qscreenoutput.cpp
--- old/libkscreen-5.3.2/backends/qscreen/qscreenoutput.cpp 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/backends/qscreen/qscreenoutput.cpp 2015-08-20 14:57:33.000000000 +0200
@@ -92,6 +92,7 @@
mm.setHeight(qRound(physicalHeight));
output->setSizeMm(mm);
output->setPos(m_qscreen->availableGeometry().topLeft());
+ output->setSize(m_qscreen->availableGeometry().size());
// Modes: we create a single default mode and go with that
ModePtr mode(new Mode);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/backends/xrandr/xrandroutput.cpp new/libkscreen-5.4.0/backends/xrandr/xrandroutput.cpp
--- old/libkscreen-5.3.2/backends/xrandr/xrandroutput.cpp 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/backends/xrandr/xrandroutput.cpp 2015-08-20 14:57:33.000000000 +0200
@@ -68,6 +68,11 @@
return m_crtc ? m_crtc->geometry().topLeft() : QPoint();
}
+QSize XRandROutput::size() const
+{
+ return m_crtc ? m_crtc->geometry().size() : QSize();
+}
+
XRandRMode::Map XRandROutput::modes() const
{
return m_modes;
@@ -368,6 +373,7 @@
}(m_clones));
kscreenOutput->setEnabled(isEnabled());
if (isEnabled()) {
+ kscreenOutput->setSize(size());
kscreenOutput->setPos(position());
kscreenOutput->setRotation(rotation());
kscreenOutput->setCurrentModeId(currentModeId());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/backends/xrandr/xrandroutput.h new/libkscreen-5.4.0/backends/xrandr/xrandroutput.h
--- old/libkscreen-5.3.2/backends/xrandr/xrandroutput.h 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/backends/xrandr/xrandroutput.h 2015-08-20 14:57:33.000000000 +0200
@@ -59,6 +59,7 @@
bool isConnected() const;
bool isPrimary() const;
QPoint position() const;
+ QSize size() const;
QString currentModeId() const;
XRandRMode::Map modes() const;
XRandRMode* currentMode() const;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/backends/xrandr1.1/xrandr11.cpp new/libkscreen-5.4.0/backends/xrandr1.1/xrandr11.cpp
--- old/libkscreen-5.3.2/backends/xrandr1.1/xrandr11.cpp 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/backends/xrandr1.1/xrandr11.cpp 2015-08-20 14:57:33.000000000 +0200
@@ -150,6 +150,7 @@
if (x == info->sizeID && rate == info->rate) {
output->setCurrentModeId(mode->id());
+ output->setSize(mode->size());
}
modes.insert(mode->id(), mode);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkscreen-5.3.2/src/configserializer.cpp new/libkscreen-5.4.0/src/configserializer.cpp
--- old/libkscreen-5.3.2/src/configserializer.cpp 2015-06-25 13:10:31.000000000 +0200
+++ new/libkscreen-5.4.0/src/configserializer.cpp 2015-08-20 14:57:33.000000000 +0200
@@ -29,6 +29,7 @@
#include