Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kiriki for openSUSE:Factory checked in at 2025-08-16 20:38:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kiriki (Old) and /work/SRC/openSUSE:Factory/.kiriki.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiriki" Sat Aug 16 20:38:17 2025 rev:159 rq:1299632 version:25.08.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kiriki/kiriki.changes 2025-07-06 17:14:25.267121014 +0200 +++ /work/SRC/openSUSE:Factory/.kiriki.new.1085/kiriki.changes 2025-08-16 20:41:33.141634101 +0200 @@ -1,0 +2,17 @@ +Fri Aug 8 07:47:36 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 25.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/25.08.0/ +- Changes since 25.07.80: + * Fix dataChanged() called with an invalid index range + +------------------------------------------------------------------- +Mon Jul 14 14:25:22 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 25.07.80 + * New feature release +- No code change since 25.04.3 + +------------------------------------------------------------------- Old: ---- kiriki-25.04.3.tar.xz kiriki-25.04.3.tar.xz.sig New: ---- kiriki-25.08.0.tar.xz kiriki-25.08.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kiriki.spec ++++++ --- /var/tmp/diff_new_pack.ejWdNs/_old 2025-08-16 20:41:33.761659857 +0200 +++ /var/tmp/diff_new_pack.ejWdNs/_new 2025-08-16 20:41:33.761659857 +0200 @@ -1,7 +1,7 @@ # # spec file for package kiriki # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,12 @@ # -%define kf6_version 6.6.0 -%define qt6_version 6.6.0 +%define kf6_version 6.14.0 +%define qt6_version 6.8.0 %bcond_without released Name: kiriki -Version: 25.04.3 +Version: 25.08.0 Release: 0 Summary: Yahtzee-like Game License: GPL-2.0-or-later ++++++ kiriki-25.04.3.tar.xz -> kiriki-25.08.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiriki-25.04.3/CMakeLists.txt new/kiriki-25.08.0/CMakeLists.txt --- old/kiriki-25.04.3/CMakeLists.txt 2025-06-30 18:28:03.000000000 +0200 +++ new/kiriki-25.08.0/CMakeLists.txt 2025-08-01 00:21:51.000000000 +0200 @@ -2,8 +2,8 @@ # KDE Application Version, managed by release script set(RELEASE_SERVICE_VERSION_MAJOR "25") -set(RELEASE_SERVICE_VERSION_MINOR "04") -set(RELEASE_SERVICE_VERSION_MICRO "3") +set(RELEASE_SERVICE_VERSION_MINOR "08") +set(RELEASE_SERVICE_VERSION_MICRO "0") set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") project(kiriki VERSION ${RELEASE_SERVICE_VERSION}) @@ -47,7 +47,7 @@ ecm_set_disabled_deprecation_versions( QT 6.9.0 - KF 6.12.0 + KF 6.15.0 KDEGAMES 6.0 ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiriki-25.04.3/po/ar/kiriki.po new/kiriki-25.08.0/po/ar/kiriki.po --- old/kiriki-25.04.3/po/ar/kiriki.po 2025-06-30 18:28:03.000000000 +0200 +++ new/kiriki-25.08.0/po/ar/kiriki.po 2025-08-01 00:21:51.000000000 +0200 @@ -16,7 +16,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" #, kde-format msgctxt "NAME OF TRANSLATORS" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiriki-25.04.3/po/es/kiriki.po new/kiriki-25.08.0/po/es/kiriki.po --- old/kiriki-25.04.3/po/es/kiriki.po 2025-06-30 18:28:03.000000000 +0200 +++ new/kiriki-25.08.0/po/es/kiriki.po 2025-08-01 00:21:51.000000000 +0200 @@ -12,7 +12,7 @@ "Project-Id-Version: kiriki\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2025-03-02 00:38+0000\n" -"PO-Revision-Date: 2025-06-12 00:37+0100\n" +"PO-Revision-Date: 2025-07-07 17:54+0100\n" "Last-Translator: SofĂa Priego <spri...@darksylvania.net>\n" "Language-Team: Spanish <kde-l10n...@kde.org>\n" "Language: es\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiriki-25.04.3/src/org.kde.kiriki.appdata.xml new/kiriki-25.08.0/src/org.kde.kiriki.appdata.xml --- old/kiriki-25.04.3/src/org.kde.kiriki.appdata.xml 2025-06-30 18:28:03.000000000 +0200 +++ new/kiriki-25.08.0/src/org.kde.kiriki.appdata.xml 2025-08-01 00:21:51.000000000 +0200 @@ -153,6 +153,7 @@ <binary>kiriki</binary> </provides> <releases> + <release version="25.08.0" date="2025-08-14"/> <release version="25.04.3" date="2025-07-03"/> <release version="25.04.2" date="2025-06-05"/> <release version="25.04.1" date="2025-05-08"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiriki-25.04.3/src/scores.cpp new/kiriki-25.08.0/src/scores.cpp --- old/kiriki-25.04.3/src/scores.cpp 2025-06-30 18:28:03.000000000 +0200 +++ new/kiriki-25.08.0/src/scores.cpp 2025-08-01 00:21:51.000000000 +0200 @@ -93,8 +93,11 @@ void scores::nextPlayer() { + const int previousPlayer = m_currentPlayer; m_currentPlayer++; m_currentPlayer = m_currentPlayer % m_players.count(); + Q_EMIT dataChanged(index(0, previousPlayer + 1), index(m_rows.count() - 1, previousPlayer + 1), {Qt::BackgroundRole}); + Q_EMIT dataChanged(index(0, m_currentPlayer + 1), index(m_rows.count() - 1, m_currentPlayer + 1), {Qt::BackgroundRole}); } const player &scores::currentPlayer() const @@ -248,6 +251,10 @@ bool scores::setData(const QModelIndex &mi, const QVariant &value, int role) { + // The design is a bit strange and we pass column as 0 and + // let m_currentPlayer be the one that really controls the column + Q_ASSERT(mi.column() == 0); + if (role != Qt::EditRole) return false; const Row row = m_rows.at(mi.row()); @@ -271,14 +278,18 @@ if (m_players[m_currentPlayer].score(row.scoreRow()) >= 0) return false; m_players[m_currentPlayer].setScore(row.scoreRow(), value.toInt()); } + + const QModelIndex realIndexChanged = mi.siblingAtColumn(m_currentPlayer + 1); - Q_EMIT dataChanged(mi, mi); - + Q_EMIT dataChanged(realIndexChanged, realIndexChanged); + for (int i = 0; i < m_rows.count(); ++i) { const Row::Type t = m_rows.at(i).type(); - if (t == Row::BonusRow || t == Row::UpperTotalRow || t == Row::LowerTotalRow || t == Row::GrandTotalRow) - Q_EMIT dataChanged(index(m_currentPlayer + 1, i), index(m_currentPlayer + 1, i)); + if (t == Row::BonusRow || t == Row::UpperTotalRow || t == Row::LowerTotalRow || t == Row::GrandTotalRow) { + const QModelIndex sumRow = realIndexChanged.siblingAtRow(i); + Q_EMIT dataChanged(sumRow, sumRow); + } } return true;