Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kdiamond for openSUSE:Factory checked in at 2022-02-04 21:47:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdiamond (Old) and /work/SRC/openSUSE:Factory/.kdiamond.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdiamond" Fri Feb 4 21:47:58 2022 rev:118 rq:951026 version:21.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kdiamond/kdiamond.changes 2022-01-11 21:21:48.629066058 +0100 +++ /work/SRC/openSUSE:Factory/.kdiamond.new.1898/kdiamond.changes 2022-02-04 21:49:53.604181688 +0100 @@ -1,0 +2,10 @@ +Tue Feb 1 13:02:55 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 21.12.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.2/ +- Changes since 21.12.1: + * Fix rendering the background when in hidpi + +------------------------------------------------------------------- Old: ---- kdiamond-21.12.1.tar.xz kdiamond-21.12.1.tar.xz.sig New: ---- kdiamond-21.12.2.tar.xz kdiamond-21.12.2.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdiamond.spec ++++++ --- /var/tmp/diff_new_pack.pTgd9p/_old 2022-02-04 21:49:54.096178328 +0100 +++ /var/tmp/diff_new_pack.pTgd9p/_new 2022-02-04 21:49:54.100178301 +0100 @@ -20,7 +20,7 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without released Name: kdiamond -Version: 21.12.1 +Version: 21.12.2 Release: 0 Summary: Single player puzzle game License: GPL-2.0-or-later ++++++ kdiamond-21.12.1.tar.xz -> kdiamond-21.12.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdiamond-21.12.1/CMakeLists.txt new/kdiamond-21.12.2/CMakeLists.txt --- old/kdiamond-21.12.1/CMakeLists.txt 2022-01-03 22:40:54.000000000 +0100 +++ new/kdiamond-21.12.2/CMakeLists.txt 2022-01-29 00:02:45.000000000 +0100 @@ -3,7 +3,7 @@ # KDE Application Version, managed by release script set(RELEASE_SERVICE_VERSION_MAJOR "21") set(RELEASE_SERVICE_VERSION_MINOR "12") -set(RELEASE_SERVICE_VERSION_MICRO "1") +set(RELEASE_SERVICE_VERSION_MICRO "2") set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") project(kdiamond VERSION ${RELEASE_SERVICE_VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdiamond-21.12.1/po/zh_CN/kdiamond.po new/kdiamond-21.12.2/po/zh_CN/kdiamond.po --- old/kdiamond-21.12.1/po/zh_CN/kdiamond.po 2022-01-04 01:17:22.000000000 +0100 +++ new/kdiamond-21.12.2/po/zh_CN/kdiamond.po 2022-02-01 01:08:39.000000000 +0100 @@ -8,7 +8,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-01-21 02:32+0100\n" -"PO-Revision-Date: 2021-12-22 14:10\n" +"PO-Revision-Date: 2022-01-08 15:25\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -95,7 +95,7 @@ #: main.cpp:39 #, kde-format msgid "(C) 2008-2010 Stefan Majewsky and others" -msgstr "(C) 2008-2010 Stefan Majewsky ????????????" +msgstr "(C) 2008-2010 Stefan Majewsky and others" #: main.cpp:42 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdiamond-21.12.1/src/game.cpp new/kdiamond-21.12.2/src/game.cpp --- old/kdiamond-21.12.1/src/game.cpp 2022-01-03 22:40:54.000000000 +0100 +++ new/kdiamond-21.12.2/src/game.cpp 2022-01-29 00:02:45.000000000 +0100 @@ -148,7 +148,13 @@ QPainter painter(&pix); painter.drawPixmap(QPoint(leftOffset - padding, -padding), boardPix); } - setBackgroundBrush(pix); + m_backgroundPixmap = pix; + update(); +} + +void Game::drawBackground(QPainter *painter, const QRectF &/*rect*/) +{ + painter->drawPixmap(0, 0, m_backgroundPixmap); } void Game::clickDiamond(const QPoint &point) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdiamond-21.12.1/src/game.h new/kdiamond-21.12.2/src/game.h --- old/kdiamond-21.12.1/src/game.h 2022-01-03 22:40:54.000000000 +0100 +++ new/kdiamond-21.12.2/src/game.h 2022-01-29 00:02:45.000000000 +0100 @@ -50,6 +50,7 @@ void pendingAnimationsFinished(); protected: void timerEvent(QTimerEvent *event) override; + void drawBackground(QPainter *painter, const QRectF &rect) override; private: QList<QPoint> findCompletedRows(); void getMoves(); @@ -62,6 +63,7 @@ KDiamond::GameState *m_gameState; KGamePopupItem *m_messenger; + QPixmap m_backgroundPixmap; }; #endif //KDIAMOND_GAME_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdiamond-21.12.1/src/org.kde.kdiamond.appdata.xml new/kdiamond-21.12.2/src/org.kde.kdiamond.appdata.xml --- old/kdiamond-21.12.1/src/org.kde.kdiamond.appdata.xml 2022-01-03 22:40:54.000000000 +0100 +++ new/kdiamond-21.12.2/src/org.kde.kdiamond.appdata.xml 2022-01-29 00:02:45.000000000 +0100 @@ -126,10 +126,10 @@ </screenshots> <project_group>KDE</project_group> <releases> + <release version="21.12.2" date="2022-02-03"/> <release version="21.12.1" date="2022-01-06"/> <release version="21.12.0" date="2021-12-09"/> <release version="21.08.3" date="2021-11-04"/> - <release version="21.08.2" date="2021-10-07"/> </releases> <content_rating type="oars-1.1"/> </component>
