Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package knights for openSUSE:Factory checked 
in at 2023-03-03 22:27:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/knights (Old)
 and      /work/SRC/openSUSE:Factory/.knights.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "knights"

Fri Mar  3 22:27:14 2023 rev:54 rq:1068853 version:22.12.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/knights/knights.changes  2023-02-04 
14:18:59.190726474 +0100
+++ /work/SRC/openSUSE:Factory/.knights.new.31432/knights.changes       
2023-03-03 22:29:34.675559667 +0100
@@ -1,0 +2,8 @@
+Tue Feb 28 09:46:17 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update to 22.12.3
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/22.12.3/
+
+-------------------------------------------------------------------

Old:
----
  knights-22.12.2.tar.xz
  knights-22.12.2.tar.xz.sig

New:
----
  knights-22.12.3.tar.xz
  knights-22.12.3.tar.xz.sig

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

Other differences:
------------------
++++++ knights.spec ++++++
--- /var/tmp/diff_new_pack.MJwUlU/_old  2023-03-03 22:29:36.067565903 +0100
+++ /var/tmp/diff_new_pack.MJwUlU/_new  2023-03-03 22:29:36.127566172 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package knights
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %bcond_without released
 Name:           knights
-Version:        22.12.2
+Version:        22.12.3
 Release:        0
 Summary:        A simple chess board
 License:        GPL-2.0-or-later


++++++ knights-22.12.2.tar.xz -> knights-22.12.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-22.12.2/.gitlab-ci.yml 
new/knights-22.12.3/.gitlab-ci.yml
--- old/knights-22.12.2/.gitlab-ci.yml  2023-01-30 00:12:32.000000000 +0100
+++ new/knights-22.12.3/.gitlab-ci.yml  2023-02-25 06:09:39.000000000 +0100
@@ -4,4 +4,3 @@
 include:
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
-  - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-22.12.2/CMakeLists.txt 
new/knights-22.12.3/CMakeLists.txt
--- old/knights-22.12.2/CMakeLists.txt  2023-01-30 00:12:32.000000000 +0100
+++ new/knights-22.12.3/CMakeLists.txt  2023-02-25 06:09:39.000000000 +0100
@@ -3,7 +3,7 @@
 # Release Service version, managed by release script
 set (RELEASE_SERVICE_VERSION_MAJOR "22")
 set (RELEASE_SERVICE_VERSION_MINOR "12")
-set (RELEASE_SERVICE_VERSION_MICRO "2")
+set (RELEASE_SERVICE_VERSION_MICRO "3")
 set (RELEASE_SERVICE_COMPACT_VERSION 
"${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}")
 
 # Bump KNIGHTS_BASE_VERSION once new features are added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-22.12.2/po/ka/knights.po 
new/knights-22.12.3/po/ka/knights.po
--- old/knights-22.12.2/po/ka/knights.po        2023-01-30 00:12:32.000000000 
+0100
+++ new/knights-22.12.3/po/ka/knights.po        2023-02-25 06:09:39.000000000 
+0100
@@ -8,7 +8,7 @@
 "Project-Id-Version: knights\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2022-10-21 00:44+0000\n"
-"PO-Revision-Date: 2023-01-28 11:22+0100\n"
+"PO-Revision-Date: 2023-02-11 07:08+0100\n"
 "Last-Translator: Temuri Doghonadze <[email protected]>\n"
 "Language-Team: Georgian <[email protected]>\n"
 "Language: ka\n"
@@ -915,7 +915,7 @@
 #: popup.ui:51
 #, kde-format
 msgid "Close"
-msgstr "დაკეტვა"
+msgstr "დახურვა"
 
 #. i18n: ectx: property (title), widget (QGroupBox, external_box)
 #: prefs_access.ui:17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-22.12.2/po/tr/knights.po 
new/knights-22.12.3/po/tr/knights.po
--- old/knights-22.12.2/po/tr/knights.po        2023-01-30 00:12:32.000000000 
+0100
+++ new/knights-22.12.3/po/tr/knights.po        2023-02-25 06:09:39.000000000 
+0100
@@ -5,13 +5,13 @@
 # Ayhan YALÇINSOY <[email protected]>, 2014.
 # H. İbrahim Güngör <[email protected]>, 2011.
 # Volkan Gezer <[email protected]>, 2013-2014, 2015.
-# Emir SARI <[email protected]>, 2022.
+# Emir SARI <[email protected]>, 2022, 2023.
 msgid ""
 msgstr ""
 "Project-Id-Version: extragear-games-kde4\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2022-10-21 00:44+0000\n"
-"PO-Revision-Date: 2022-12-11 20:13+0300\n"
+"PO-Revision-Date: 2023-02-08 20:10+0300\n"
 "Last-Translator: Emir SARI <[email protected]>\n"
 "Language-Team: Turkish <[email protected]>\n"
 "Language: tr\n"
@@ -19,7 +19,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Lokalize 22.12.0\n"
+"X-Generator: Lokalize 22.12.2\n"
 
 #, kde-format
 msgctxt "NAME OF TRANSLATORS"
@@ -791,13 +791,13 @@
 #: knights.kcfg:162
 #, kde-format
 msgid "whether to log in as guest"
-msgstr "misafir olarak giriş yapılıp yapılmayacağı"
+msgstr "misafir olarak oturum açılıp açılmayacağı"
 
 #. i18n: ectx: label, entry (autoLogin), group (Protocols)
 #: knights.kcfg:166
 #, kde-format
 msgid "whether to log in to chess server automatically"
-msgstr "satranç sunucusuna otomatik olarak giriş yapılıp yapılmayacağı"
+msgstr "satranç sunucusuna otomatik olarak oturum açılıp açılamayacağı"
 
 #. i18n: ectx: label, entry (computerDelay), group (Protocols)
 #: knights.kcfg:170
@@ -1225,7 +1225,7 @@
 #: proto/ficsdialog.ui:156
 #, kde-format
 msgid "Current ads arranged in a list"
-msgstr "Liste şeklinde düzenlenmiş mevcut ilanlar"
+msgstr "Liste şeklinde düzenlenmiş geçerli ilanlar"
 
 #. i18n: ectx: property (text), widget (QTableWidget, offerTable)
 #: proto/ficsdialog.ui:199
@@ -1279,7 +1279,7 @@
 #: proto/ficsdialog.ui:241
 #, kde-format
 msgid "Current ads arranged by rating and duration"
-msgstr "Puanlama ve süreye göre düzenlenmiş mevcut ilanlar"
+msgstr "Derecelendirme ve süreye göre düzenlenmiş geçerli ilanlar"
 
 #. i18n: ectx: attribute (title), widget (QWidget, challengeTab)
 #: proto/ficsdialog.ui:258
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-22.12.2/po/zh_CN/knights.po 
new/knights-22.12.3/po/zh_CN/knights.po
--- old/knights-22.12.2/po/zh_CN/knights.po     2023-01-30 00:12:32.000000000 
+0100
+++ new/knights-22.12.3/po/zh_CN/knights.po     2023-02-25 06:09:39.000000000 
+0100
@@ -3,7 +3,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2022-10-21 00:44+0000\n"
-"PO-Revision-Date: 2023-01-15 15:27\n"
+"PO-Revision-Date: 2023-02-24 12:58\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-22.12.2/src/org.kde.knights.appdata.xml 
new/knights-22.12.3/src/org.kde.knights.appdata.xml
--- old/knights-22.12.2/src/org.kde.knights.appdata.xml 2023-01-30 
00:12:32.000000000 +0100
+++ new/knights-22.12.3/src/org.kde.knights.appdata.xml 2023-02-25 
06:09:39.000000000 +0100
@@ -1004,9 +1004,9 @@
     <binary>knights</binary>
   </provides>
   <releases>
+    <release version="2.6.22123" date="2023-03-02"/>
     <release version="2.6.22122" date="2023-02-02"/>
     <release version="2.6.22121" date="2023-01-05"/>
     <release version="2.6.22120" date="2022-12-08"/>
-    <release version="2.6.22083" date="2022-11-03"/>
   </releases>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-22.12.2/src/rules/chessrules.cpp 
new/knights-22.12.3/src/rules/chessrules.cpp
--- old/knights-22.12.2/src/rules/chessrules.cpp        2023-01-30 
00:12:32.000000000 +0100
+++ new/knights-22.12.3/src/rules/chessrules.cpp        2023-02-25 
06:09:39.000000000 +0100
@@ -453,6 +453,12 @@
        moveHistory << data;
 }
 
+static PieceType gridPieceType(Grid *grid, const Pos& pos)
+{
+       Piece *p = grid->value ( pos );
+       return p ? p->pieceType() : NoType;
+}
+
 QList< Move > ChessRules::castlingMoves ( const Pos& pos ) {
        // TODO: move from a model which permanently stores king's and rooks' 
move history
        // to account for undone moves.
@@ -460,9 +466,9 @@
        Color color = m_grid->value ( pos )->color();
        if ( hasKingMoved ( color ) )
                return QList<Move>();
-       if ( !hasRookMoved ( color, Move::QueenSide ) && isPathClearForCastling 
( pos, queenRookStartPos[color] ) && ( m_grid->value ( queenRookStartPos[color] 
)->pieceType() == Rook ) )
+       if ( !hasRookMoved ( color, Move::QueenSide ) && isPathClearForCastling 
( pos, queenRookStartPos[color] ) && ( gridPieceType( m_grid, 
queenRookStartPos[color] ) == Rook ) )
                moves << Move::castling ( Move::QueenSide, color );
-       if ( !hasRookMoved ( color, Move::KingSide ) && isPathClearForCastling 
( pos, kingRookStartPos[color] ) && ( m_grid->value ( kingRookStartPos[color] 
)->pieceType() == Rook ) )
+       if ( !hasRookMoved ( color, Move::KingSide ) && isPathClearForCastling 
( pos, kingRookStartPos[color] ) && ( gridPieceType( m_grid, 
kingRookStartPos[color] ) == Rook ) )
                moves << Move::castling ( Move::KingSide, color );
        return moves;
 }

Reply via email to