Hello community, here is the log from the commit of package gnome-games.1598 for openSUSE:12.3:Update checked in at 2013-05-02 14:26:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3:Update/gnome-games.1598 (Old) and /work/SRC/openSUSE:12.3:Update/.gnome-games.1598.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-games.1598" Changes: -------- New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:12.3:Update/.gnome-games.1598.new/gnome-games.changes 2013-05-02 14:26:10.000000000 +0200 @@ -0,0 +1,2125 @@ +------------------------------------------------------------------- +Thu Apr 18 16:54:02 UTC 2013 - mike.catanzaro@gmail.com + +- Backport several fixes from GNOME 3.8 (bnc#815331): + + glchess-castle-through-pawn-check.patch - prevent castling + through attack by a pawn + + glchess-history.patch - fix the same game being autoloaded + forever + + glchess-phalanx-promotion.patch - fix AI hang when trying to + promote a piece + + glines-32bit-segfault.patch - fix a crash + +------------------------------------------------------------------- +Tue Oct 16 15:04:26 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.6.1: + + swell-foop: prevent keyboard focus from going to the toolbar. + + Updated translations. + +------------------------------------------------------------------- +Wed Sep 26 14:51:15 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.6.0.2: + + glchess: Fix crash on startup due to incorrect usage of + GApplication. + +------------------------------------------------------------------- +Tue Sep 25 06:44:49 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.6.0.1: + + Fix for a map loading in the Vala rewrite of Mahjongg. +- Changes from version 3.6.0: + + General: code modernization and libgames deprecation. + + Gnomine: the timer is not stopped at the end + + Updated translations. + +------------------------------------------------------------------- +Fri Sep 14 16:14:28 UTC 2012 - vuntz@opensuse.org + +- Remove gobject-introspection-devel BuildRequires: it's not needed + anymore since 3.5.2. + +------------------------------------------------------------------- +Mon Aug 20 14:05:30 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.5.90: + + The major changes in this release are: + - Gtali was ported to GtkApplication and got an app menu + - Timers was split out of libgames-support + + gtali: Add GtkApplication (and application menu) support + + lightsoff: Fix transition of won board + + Several bug fixes. + + Updated documentation. + + Updated translations. + +------------------------------------------------------------------- +Mon Aug 6 21:58:40 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.5.5: + + Major changes: + - The high score dialogs got a date field + - Simplify preferences of several games + + Bug fixes, code cleanups. + + Updated documentation. + + Updated translations. + +------------------------------------------------------------------- +Tue Jul 17 09:08:44 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.5.4: + + Mahjongg was renamed to gnome-mahjongg + + Swell-foop can now be played with keyboard, got a 256x256 + icon, and now has mnemonics in the preferences dialog. + + Gnomine got a "Replay game" option in the menu. It also has + improved help and better wording in the gui. + + Chess had some fixes to chess rules and no longer leaves behind + engine processes. + + Updated translations. +- Rename mahjongg subpackage to gnome-mahjongg, following upstreams + name change. The old package name is provided/obsoleted. + +------------------------------------------------------------------- +Sun Jun 10 11:55:48 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.5.2: + + Major changes: + - Glines and mahjongg both use GtkApplication and app menu. + - Sudoku now uses xdg data directory for saved games + - Mallard docs for quadrapassel/lightsoff + + glchess: fix phalanx/gnuchess output interpretation + + glines: fix closing via window decoration + + gnotravex: Only show congratulations message if score is in + top 10 + + mahjongg: ability to select new stone without unselecting + existing one + + swell-foop: fix saving score twice + + Drop introspection for libgames-support. + + Several other code changes. + + Bugs fixed: #bgo#673347, bgo#675434 + + Updated translations. +- Drop glchess-engines.patch: fixed upstream + +------------------------------------------------------------------- +Fri May 18 20:21:54 UTC 2012 - dimstar@opensuse.org + +- Add glchess-engines.patch: More flexibly parse the output of + gnuchess and phalanx engines. + +------------------------------------------------------------------- +Tue May 15 05:36:05 UTC 2012 - vuntz@opensuse.org + +- Update to version 3.4.2: + + Documentation fixes. + + Updated translations. + +------------------------------------------------------------------- +Tue Apr 17 06:19:58 UTC 2012 - vuntz@opensuse.org + +- Update to version 3.4.1: + + Fix help links for modules that still use docbook + + glines: Fix closing via window decoration + + gnomine: Port to mallard help + + mahjongg: Can't select new stone without unselecting existing + one + + swell-foop: Fix saving score twice + + Build fixes. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 27 06:31:23 UTC 2012 - vuntz@opensuse.org + +- Update to version 3.4.0: + + Small fixes. + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 26 08:17:37 UTC 2012 - vuntz@opensuse.org + +- Remove hack to find localized help: this has been fixed in + find-lang.sh. + +------------------------------------------------------------------- +Tue Mar 20 16:26:32 UTC 2012 - vuntz@opensuse.org + +- Update to version 3.3.92: + + Ported swell-foop to vala. + + Misc bug fixes. + + Updated translations. +- Remove seed Requires from swell-foop as it got ported to vala. +- Change swell-foop packaging for high score handling: + + Add /bin/chown, /bin/chmod, /usr/bin/touch, permissions PreReq, + since that's needed for scriptlets. + + Use the new generated swell-foop.scores_post file in %post. + + Call %set_permissions %{_bindir}/swell-foop in %post. + + Add a %verifyscript with %verify_permissions -e + %{_bindir}/swell-foop. + + Make %{_bindir}/swell-foop owned by games:games. + +------------------------------------------------------------------- +Sun Mar 11 18:36:36 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.3.91.1: + + Fixed a build problem in the docs. + +------------------------------------------------------------------- +Mon Mar 5 21:40:22 UTC 2012 - dimstar@opensuse.org + +- Update to version 3.3.91: + + Use GMenu: gnomine, iagno, lightsoff, quadrapassel + + Use GtkApplication: quadrapassel + + glchess: Better performance by caching surfaces for pieces + + iagno: Use infobar to show warning & game over messages + + quadrapassel: "Show where the block will land" always appeared + unchecked + + Updated translations. + +------------------------------------------------------------------- +Tue Feb 7 13:31:16 UTC 2012 - vuntz@opensuse.org + +- Update to version 3.3.5: + + Help is built with yelp-tools instead of gnome-doc-utils + + Performance improvements: iagno, gnomine, mahjongg + + Removed statusbar: gnomine, iagno + + iagno: + - Add back 'Flip final results' option + + gnomine: + - Add a new game screen + - Increase minimum mine size + + quadrapassel: + - Port from C++ to Vala + - Add show where block will land + - Add fullscreen option +- Remove xz BuildRequires now that it comes for free in the build + system. +- Remove now unneeded gcc-c++ BuildRequires. +- Add vala BuildRequires for the vala games. +- Add explicit pkgconfig(gtk+-3.0) BuildRequires, so it can be ++++ 1928 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.3:Update/.gnome-games.1598.new/gnome-games.changes New: ---- README-recommended.openSUSE README.openSUSE glchess-castle-through-pawn-check.patch glchess-history.patch glchess-phalanx-promotion.patch glines-32bit-segfault.patch gnome-games-3.6.1.tar.xz gnome-games-create-post gnome-games.changes gnome-games.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-games.spec ++++++ ++++ 1028 lines (skipped) ++++++ README-recommended.openSUSE ++++++ This package installs a recommended subset of games from the upstream gnome-games module. You can install the gnome-games package to get all of the games. If you think a game should be added or removed from this subset, please file a but at http://bugzilla.novell.com/ ++++++ README.openSUSE ++++++ This package installs all of the games from the upstream gnome-games module. ++++++ glchess-castle-through-pawn-check.patch ++++++
From f0276e497f16f6c9f2b3983685c8ce9ccc4208e9 Mon Sep 17 00:00:00 2001 From: Robert Ancell <robert.ancell@canonical.com> Date: Tue, 08 Jan 2013 01:09:08 +0000 Subject: Fix being able to castle when square being moved over is threatened by a pawn.
--- diff --git a/glchess/src/chess-game.vala b/glchess/src/chess-game.vala index a29e745..c3b7d78 100644 --- a/glchess/src/chess-game.vala +++ b/glchess/src/chess-game.vala @@ -628,11 +628,8 @@ public class ChessState return false; /* Square moved across can't be under attack */ - for (int i = 0; i < 64; i++) - { - if (move_with_coords (opponent, get_rank (i), get_file (i), get_rank (rook_end), get_file (rook_end), PieceType.QUEEN, false, false)) - return false; - } + if (!move_with_coords (player, r0, f0, get_rank (rook_end), get_file (rook_end), PieceType.QUEEN, false, true)) + return false; } break; default: -- cgit v0.9.1 ++++++ glchess-history.patch ++++++
From 55f896d1d29c18e491ca774191aa83d64558dcb8 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro <mike.catanzaro@gmail.com> Date: Sun, 03 Mar 2013 22:56:47 +0000 Subject: Chess history doesn't work very well
* Autoload the most recent autosaved game instead of the least recent * Update history upon completing a game, so it's not autoloaded forever * Autosave even if game was manually loaded from a PGN https://bugzilla.gnome.org/show_bug.cgi?id=695092 --- diff --git a/glchess/src/glchess.vala b/glchess/src/glchess.vala index d2062ee..c566a6d 100644 --- a/glchess/src/glchess.vala +++ b/glchess/src/glchess.vala @@ -135,12 +135,14 @@ public class Application : Gtk.Application foreach (var profile in ai_profiles) message ("Detected AI profile %s in %s", profile.name, profile.path); + bool from_history = game_file == null ? true : false; + /* Load from history if no game requested */ if (game_file == null) { var unfinished = history.get_unfinished (); if (unfinished != null) - game_file = unfinished.data; + game_file = unfinished.last().data; else start_new_game (); } @@ -149,7 +151,7 @@ public class Application : Gtk.Application { try { - load_game (game_file, false); + load_game (game_file, from_history); } catch (Error e) { @@ -272,10 +274,6 @@ public class Application : Gtk.Application private void autosave () { - /* FIXME: Prompt user to save somewhere */ - if (!in_history) - return; - /* Don't autosave if no moves (e.g. they have been undone) or only the computer has moved */ if (!game_needs_saving) { @@ -286,10 +284,10 @@ public class Application : Gtk.Application try { - if (game_file != null) - history.update (game_file, "", pgn_game.result); - else + if (!in_history || game_file == null) game_file = history.add (pgn_game.date, pgn_game.result); + else + history.update (game_file, "", pgn_game.result); debug ("Writing current game to %s", game_file.get_path ()); pgn_game.write (game_file); } -- cgit v0.9.1 ++++++ glchess-phalanx-promotion.patch ++++++
From d190d8bbdb78697774eae854c398e7fa15893a25 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro <mike.catanzaro@gmail.com> Date: Sun, 24 Mar 2013 02:56:37 +0000 Subject: Fix AI hang when Phalanx attempts to promote
https://bugzilla.gnome.org/show_bug.cgi?id=696475 --- diff --git a/glchess/src/chess-game.vala b/glchess/src/chess-game.vala index 39e386f..557acbc 100644 --- a/glchess/src/chess-game.vala +++ b/glchess/src/chess-game.vala @@ -1091,18 +1091,22 @@ public class ChessState switch (move[i]) { case 'q': + case 'Q': promotion_type = PieceType.QUEEN; i++; break; case 'n': + case 'N': promotion_type = PieceType.KNIGHT; i++; break; case 'r': + case 'R': promotion_type = PieceType.ROOK; i++; break; case 'b': + case 'B': promotion_type = PieceType.BISHOP; i++; break; -- cgit v0.9.1 ++++++ glines-32bit-segfault.patch ++++++
From 2e79cd17d26da2991d3a3fa69a93a45e6fe2bdfb Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> Date: Mon, 18 Feb 2013 21:44:17 +0000 Subject: reset the game before starting it
Otherwise we use uninitialised mem for e.g. the preview array. https://bugzilla.gnome.org/show_bug.cgi?id=675628 --- diff --git a/glines/src/glines.c b/glines/src/glines.c index 5d1d989..b8b47a9 100644 --- a/glines/src/glines.c +++ b/glines/src/glines.c @@ -1616,6 +1616,7 @@ activate_cb (GApplication *application) { gtk_widget_show_all (app); + reset_game (); start_game (); } -- cgit v0.9.1 ++++++ gnome-games-create-post ++++++ #!/bin/bash PACKAGES=`ls $1/var/games/*.scores | sed "s,^.*/,,g;s,.[^/]*$,,g" | sort -u` for PACKAGE in $PACKAGES; do exec >$PACKAGE.scores_post echo -n "for SCORES in " echo $1/var/games/$PACKAGE.*.scores | sed "s:$1/var/games/::g" cat <<EOF do if [ ! -r $SCORES ] then touch var/games/$SCORES fi chown games:games var/games/$SCORES chmod 664 var/games/$SCORES done EOF exec >&- done -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org