lskat 1:19.08.2-1 (znver1;i686;x86_64) 2019-7870
9999

Status published
Submitter nobodydead [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/632484
Packages
lskat-1:19.08.2-1.znver1.binary
lskat-1:19.08.2-1.znver1.source
lskat-debuginfo-1:19.08.2-1.znver1.debuginfo
lskat-1:19.08.2-1.i686.source
lskat-1:19.08.2-1.i686.binary
lskat-debuginfo-1:19.08.2-1.i686.debuginfo
lskat-1:19.08.2-1.x86_64.binary
lskat-1:19.08.2-1.x86_64.source
lskat-debuginfo-1:19.08.2-1.x86_64.debuginfo
Build Date 2019-10-16 10:28:18 +0000 UTC
Last Updated 2019-10-25 22:41:33.285862614 +0000 UTC
$ git diff --patch-with-stat --summary 5a442722dc0ab675a99a3368c5c54c7ee6e902ce..1c4859a1a0b7a7523df39061589f85bf78ee8afd

 .abf.yml                    |  2 +-
 lskat-19.08.2-qt-5.14.patch | 68 +++++++++++++++++++++++++++++++++++++++++++++
 lskat.spec                  |  5 ++--
 3 files changed, 72 insertions(+), 3 deletions(-)
 create mode 100644 lskat-19.08.2-qt-5.14.patch

diff --git a/.abf.yml b/.abf.yml
index 08bae89..8865667 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  lskat-19.08.0.tar.xz: ef973928638a8f38e8f347a79b92b116c97d84eb
+  lskat-19.08.2.tar.xz: 1f677af650f9d5e463d7a5827d4ab6f8c53f9f21
diff --git a/lskat-19.08.2-qt-5.14.patch b/lskat-19.08.2-qt-5.14.patch
new file mode 100644
index 0000000..ca69f35
--- /dev/null
+++ b/lskat-19.08.2-qt-5.14.patch
@@ -0,0 +1,68 @@
+diff -up lskat-19.08.2/src/gameview.cpp.omv~ lskat-19.08.2/src/gameview.cpp
+--- lskat-19.08.2/src/gameview.cpp.omv~	2019-10-16 12:07:51.362736698 +0200
++++ lskat-19.08.2/src/gameview.cpp	2019-10-16 12:11:52.278075727 +0200
+@@ -52,7 +52,7 @@ GameView::GameView(const QSize &size, in
+     // Cache on
+     setCacheMode(QGraphicsView::CacheBackground);
+     setViewportUpdateMode(QGraphicsView::SmartViewportUpdate);
+-    setOptimizationFlags(QGraphicsView::DontClipPainter |
++    setOptimizationFlags(//QGraphicsView::DontClipPainter |
+                          QGraphicsView::DontSavePainterState |
+                          QGraphicsView::DontAdjustForAntialiasing);
+ 
+@@ -95,7 +95,7 @@ GameView::~GameView()
+ void GameView::updateAndAdvance()
+ {
+     static int elapsed = -1;
+-    static QTime timer;
++    static QElapsedTimer timer;
+     if (elapsed < 0)
+     {
+         timer.start();
+@@ -118,7 +118,7 @@ void GameView::updateAndAdvance()
+ // Slot called by the framework when the window is resized.
+ void GameView::resizeEvent(QResizeEvent *e)
+ {
+-    QTime t;
++    QElapsedTimer t;
+     t.start();
+     if (global_debug > 2) qCDebug(LSKAT_LOG) << "RESIZE EVENT " << e->size() << " oldSize="<< e->oldSize() << " at " << t.msecsTo(mTimeStart);
+     double diffW = double(e->oldSize().width() - e->size().width());
+@@ -182,7 +182,7 @@ void GameView::rescaleTheme()
+         return;
+     }
+ 
+-    QTime t;
++    QElapsedTimer t;
+     t.start();
+ 
+     if (global_debug > 2) qCDebug(LSKAT_LOG) << "Theme queue rescale start at " << t.msecsTo(mTimeStart);
+@@ -217,7 +217,7 @@ void GameView::mouseReleaseEvent(QMouseE
+ 
+ void GameView::drawItems(QPainter *painter, int numItems, QGraphicsItem *items[], const QStyleOptionGraphicsItem options[])
+ {
+-    QTime time;
++    QElapsedTimer time;
+     time.start();
+     QGraphicsView::drawItems(painter, numItems, items, options);
+ 
+diff -up lskat-19.08.2/src/gameview.h.omv~ lskat-19.08.2/src/gameview.h
+--- lskat-19.08.2/src/gameview.h.omv~	2019-10-16 12:08:38.915001616 +0200
++++ lskat-19.08.2/src/gameview.h	2019-10-16 12:08:52.229075728 +0200
+@@ -33,6 +33,7 @@
+ #include <QSize>
+ #include <QTime>
+ #include <QWidget>
++#include <QElapsedTimer>
+ 
+ // Forward declaration
+ class ThemeManager;
+@@ -116,7 +117,7 @@ private:
+     // Active input offset
+     QPoint mInputOffset;
+     // Theme queue delay time [ms]
+-    QTime mTimeStart;
++    QElapsedTimer mTimeStart;
+     // Debug frame rate sprite
+     QGraphicsTextItem *mFrameSprite;
+     // Time between updates
diff --git a/lskat.spec b/lskat.spec
index 16f131e..72c2f08 100644
--- a/lskat.spec
+++ b/lskat.spec
@@ -1,7 +1,7 @@
 %define stable %([ "`echo %{version} |cut -d. -f3`" -ge 80 ] && echo -n un; echo -n stable)
 
 Name:		lskat
-Version:	19.08.0
+Version:	19.08.2
 Release:	1
 Epoch:		1
 Summary:	Lieutenant skat
@@ -9,6 +9,7 @@ Group:		Graphical desktop/KDE
 License:	GPLv2 and LGPLv2 and GFDL
 URL:		http://www.kde.org/applications/games/lskat/
 Source0:	http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
+Patch0:		lskat-19.08.2-qt-5.14.patch
 BuildRequires:	cmake(ECM)
 BuildRequires:	cmake(KF5Config)
 BuildRequires:	cmake(KF5CoreAddons)
@@ -45,7 +46,7 @@ in artificial intelligence.
 #------------------------------------------------------------------------------
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %cmake_kde5 \
Not Available

benbullard79 [@T] cox.netWe seem to be having some issue.1647d 04hrs
benbullard79 [@T] cox.netNo Comment.1642d 01hrs
benbullard79 [@T] cox.netNo Comment.1642d 01hrs