Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kmahjongg for openSUSE:Factory 
checked in at 2023-09-15 22:03:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kmahjongg (Old)
 and      /work/SRC/openSUSE:Factory/.kmahjongg.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kmahjongg"

Fri Sep 15 22:03:36 2023 rev:138 rq:1111198 version:23.08.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kmahjongg/kmahjongg.changes      2023-08-31 
13:48:54.975082091 +0200
+++ /work/SRC/openSUSE:Factory/.kmahjongg.new.1766/kmahjongg.changes    
2023-09-15 22:07:27.217379604 +0200
@@ -1,0 +2,10 @@
+Tue Sep 12 11:56:06 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update to 23.08.1
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/23.08.1/
+- Changes since 23.08.0:
+  * Allow users saying they never want to get the "Do you want to save" 
question again
+
+-------------------------------------------------------------------

Old:
----
  kmahjongg-23.08.0.tar.xz
  kmahjongg-23.08.0.tar.xz.sig

New:
----
  kmahjongg-23.08.1.tar.xz
  kmahjongg-23.08.1.tar.xz.sig

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

Other differences:
------------------
++++++ kmahjongg.spec ++++++
--- /var/tmp/diff_new_pack.6UDQCX/_old  2023-09-15 22:07:28.493425228 +0200
+++ /var/tmp/diff_new_pack.6UDQCX/_new  2023-09-15 22:07:28.493425228 +0200
@@ -18,7 +18,7 @@
 
 %bcond_without released
 Name:           kmahjongg
-Version:        23.08.0
+Version:        23.08.1
 Release:        0
 Summary:        Mahjongg game
 License:        GPL-2.0-or-later


++++++ kmahjongg-23.08.0.tar.xz -> kmahjongg-23.08.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmahjongg-23.08.0/CMakeLists.txt 
new/kmahjongg-23.08.1/CMakeLists.txt
--- old/kmahjongg-23.08.0/CMakeLists.txt        2023-08-16 23:07:40.000000000 
+0200
+++ new/kmahjongg-23.08.1/CMakeLists.txt        2023-09-09 10:44:29.000000000 
+0200
@@ -3,7 +3,7 @@
 # Release Service version, managed by release script
 set (RELEASE_SERVICE_VERSION_MAJOR "23")
 set (RELEASE_SERVICE_VERSION_MINOR "08")
-set (RELEASE_SERVICE_VERSION_MICRO "0")
+set (RELEASE_SERVICE_VERSION_MICRO "1")
 set (RELEASE_SERVICE_COMPACT_VERSION 
"${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}")
 
 # Bump KMAHJONGG_BASE_VERSION once new features are added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmahjongg-23.08.0/org.kde.kmahjongg.appdata.xml 
new/kmahjongg-23.08.1/org.kde.kmahjongg.appdata.xml
--- old/kmahjongg-23.08.0/org.kde.kmahjongg.appdata.xml 2023-08-16 
23:07:40.000000000 +0200
+++ new/kmahjongg-23.08.1/org.kde.kmahjongg.appdata.xml 2023-09-09 
10:44:29.000000000 +0200
@@ -170,9 +170,9 @@
     <binary>kmahjongg</binary>
   </provides>
   <releases>
+    <release version="0.9.23081" date="2023-09-14"/>
     <release version="0.9.23080" date="2023-08-24"/>
     <release version="0.9.23043" date="2023-07-06"/>
     <release version="0.9.23042" date="2023-06-08"/>
-    <release version="0.9.23041" date="2023-05-11"/>
   </releases>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmahjongg-23.08.0/po/zh_CN/kmahjongg.po 
new/kmahjongg-23.08.1/po/zh_CN/kmahjongg.po
--- old/kmahjongg-23.08.0/po/zh_CN/kmahjongg.po 2023-08-16 23:07:40.000000000 
+0200
+++ new/kmahjongg-23.08.1/po/zh_CN/kmahjongg.po 2023-09-09 10:44:29.000000000 
+0200
@@ -3,7 +3,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2023-05-04 00:44+0000\n"
-"PO-Revision-Date: 2023-08-02 12:43\n"
+"PO-Revision-Date: 2023-09-02 02:59\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmahjongg-23.08.0/src/kmahjongg.cpp 
new/kmahjongg-23.08.1/src/kmahjongg.cpp
--- old/kmahjongg-23.08.0/src/kmahjongg.cpp     2023-08-16 23:07:40.000000000 
+0200
+++ new/kmahjongg-23.08.1/src/kmahjongg.cpp     2023-09-09 10:44:29.000000000 
+0200
@@ -345,7 +345,7 @@
 {
     // Test if a game is already running and whether the user wants to save 
the game.
     if (m_gameChanged && m_demoAction->isChecked()) {
-        if (!askSaveGame()) {
+        if 
(!askSaveGame(QStringLiteral("kmahjongg_start_demo_ask_for_saving"))) {
             // The user canceled the action, so don't go further with demo 
mode.
             m_demoAction->setChecked(false);
             return;
@@ -431,7 +431,7 @@
 
 void KMahjongg::startNewGameWithNumber(int item)
 {
-    if (!testForGameChangeSave()) {
+    if 
(!testForGameChangeSave(QStringLiteral("kmahjongg_start_new_game_ask_for_saving")))
 {
         return;
     }
 
@@ -610,7 +610,7 @@
 
 void KMahjongg::restartGame()
 {
-    if (!testForGameChangeSave()) {
+    if 
(!testForGameChangeSave(QStringLiteral("kmahjongg_restart_game_ask_for_saving")))
 {
         return;
     }
 
@@ -626,7 +626,7 @@
 
 void KMahjongg::loadGame()
 {
-    if (!testForGameChangeSave()) {
+    if 
(!testForGameChangeSave(QStringLiteral("kmahjongg_load_game_ask_for_saving"))) {
         return;
     }
 
@@ -748,7 +748,7 @@
     m_gameChanged = false;
 }
 
-bool KMahjongg::askSaveGame()
+bool KMahjongg::askSaveGame(const QString &dontAskAgainName)
 {
 #if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
     const KMessageBox::ButtonCode ret = 
KMessageBox::questionTwoActionsCancel(this,
@@ -756,7 +756,7 @@
     const KMessageBox::ButtonCode ret = KMessageBox::questionYesNoCancel(this, 
 #endif
             i18n("Do you want to save your game?"), i18n("Save game?"), 
KStandardGuiItem::save(), 
-            KStandardGuiItem::dontSave(), KStandardGuiItem::cancel());
+            KStandardGuiItem::dontSave(), KStandardGuiItem::cancel(), 
dontAskAgainName);
 
     switch (ret) {
 #if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
@@ -781,12 +781,12 @@
     return true;
 }
 
-bool KMahjongg::testForGameChangeSave() 
+bool KMahjongg::testForGameChangeSave(const QString &dontAskAgainName)
 {
     // Ask to save the game when it has been changed. The question is also 
only relevant, if the user is in gameplay
     // or the game has been paused.
     if (m_gameChanged && (m_gameState == GameState::Gameplay || m_gameState == 
GameState::Paused)) {
-        if (!askSaveGame()) {
+        if (!askSaveGame(dontAskAgainName)) {
             // The user wants to cancel the action.
             return false;
         }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmahjongg-23.08.0/src/kmahjongg.h 
new/kmahjongg-23.08.1/src/kmahjongg.h
--- old/kmahjongg-23.08.0/src/kmahjongg.h       2023-08-16 23:07:40.000000000 
+0200
+++ new/kmahjongg-23.08.1/src/kmahjongg.h       2023-09-09 10:44:29.000000000 
+0200
@@ -89,13 +89,13 @@
      * @return False if user cancel action. True does not mean, that the user 
has saved the game, but
      * has taken a decision to save it or not and wants to go on.
      */
-    bool askSaveGame();
+    bool askSaveGame(const QString &dontAskAgainName);
 
     /**
      * @brief Test if game has changed and ask user for saving the game.
      * @return False if user cancels action, else true. 
      */
-    bool testForGameChangeSave();
+    bool testForGameChangeSave(const QString &dontAskAgainName);
 
     bool m_gameChanged = false;
     bool m_bLastRandomSetting;

Reply via email to