commit kdegames3 for openSUSE:Factory

2012-04-02 Thread h_root
Hello community,

here is the log from the commit of package kdegames3 for openSUSE:Factory 
checked in at 2012-04-02 11:23:53

Comparing /work/SRC/openSUSE:Factory/kdegames3 (Old)
 and  /work/SRC/openSUSE:Factory/.kdegames3.new (New)


Package is kdegames3, Maintainer is kde-maintain...@suse.de

Changes:

--- /work/SRC/openSUSE:Factory/kdegames3/kdegames3.changes  2012-03-02 
13:48:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.kdegames3.new/kdegames3.changes 2012-04-02 
11:23:56.0 +0200
@@ -1,0 +2,5 @@
+Mon Apr  2 04:22:21 UTC 2012 - an...@opensuse.org
+
+- spec file cleanup
+
+---



Other differences:
--
++ kdegames3.spec ++
--- /var/tmp/diff_new_pack.hNceIa/_old  2012-04-02 11:23:57.0 +0200
+++ /var/tmp/diff_new_pack.hNceIa/_new  2012-04-02 11:23:57.0 +0200
@@ -16,17 +16,10 @@
 
 Name:   kdegames3
 BuildRequires:  kdelibs3-devel
-%if %suse_version  1030
-BuildRequires:  mDNSResponder-devel
-%endif
-%if %suse_version  1210
-BuildRequires:  unsermake
-%endif
 License:GPL-2.0+
 Group:  System/GUI/KDE
 Summary:Games for KDE
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Requires:   kdelibs3 = %( echo `rpm -q --queryformat '%{VERSION}' 
kdelibs3` )
 Version:3.5.10
 Release:1
 Url:http://www.kde.org
@@ -88,9 +81,6 @@
 Summary:Games for KDE: Build Environment
 Group:  Amusements/Games/Other
 Requires:   kdegames3 = %{version} kdegames3-arcade kdegames3-board 
kdelibs3-devel
-%if %suse_version  1030
-Requires:   mDNSResponder-devel
-%endif
 
 %description devel
 This package contains all necessary include files needed to develop
@@ -138,11 +128,7 @@
 %suse_update_desktop_file -r katomic Game LogicGame
 %suse_update_desktop_file -r kjumpingcubeGame LogicGame
 %suse_update_desktop_file -r klines  Game LogicGame
-%if %suse_version  1000
 %suse_update_desktop_file -r -G Tactical Game knetwalk Game LogicGame
-%else
-%suse_update_desktop_file -r knetwalk Game LogicGame
-%endif
 %suse_update_desktop_file -r kmines  Game LogicGame
 %suse_update_desktop_file -r konquestGame LogicGame
 %suse_update_desktop_file -r ksame   Game LogicGame
@@ -191,9 +177,6 @@
 /opt/kde3/share/icons/*/*/*/kmines.*
 /opt/kde3/share/icons/*/*/*/kpat.*
 /opt/kde3/share/icons/*/*/*/roll.*
-%if %suse_version  1210
-%_mandir/man*/kpat.*
-%endif
 
 %files arcade
 %defattr(-,root,root)
@@ -269,10 +252,6 @@
 %files board
 %defattr(-,root,root)
 %dir /opt/kde3/share/apps/zeroconf
-%if %suse_version  1210
-%_mandir/man*/kenolaba.*
-%_mandir/man*/atlantik.*
-%endif
 /opt/kde3/bin/atlantik
 /opt/kde3/bin/kba*
 /opt/kde3/bin/kblackbox

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit kdegames3 for openSUSE:Factory

2012-03-02 Thread h_root
Hello community,

here is the log from the commit of package kdegames3 for openSUSE:Factory 
checked in at 2012-03-02 13:48:18

Comparing /work/SRC/openSUSE:Factory/kdegames3 (Old)
 and  /work/SRC/openSUSE:Factory/.kdegames3.new (New)


Package is kdegames3, Maintainer is kde-maintain...@suse.de

Changes:

--- /work/SRC/openSUSE:Factory/kdegames3/kdegames3.changes  2011-09-23 
02:06:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.kdegames3.new/kdegames3.changes 2012-03-02 
13:48:18.0 +0100
@@ -1,0 +2,5 @@
+Thu Mar  1 21:09:25 UTC 2012 - an...@opensuse.org
+
+- fix katomic highscores display
+
+---

New:

  kdegames-trinity-fix-highscore.diff



Other differences:
--
++ kdegames3.spec ++
--- /var/tmp/diff_new_pack.7g7LRB/_old  2012-03-02 13:48:20.0 +0100
+++ /var/tmp/diff_new_pack.7g7LRB/_new  2012-03-02 13:48:20.0 +0100
@@ -13,10 +13,6 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-
 
 Name:   kdegames3
 BuildRequires:  kdelibs3-devel
@@ -36,6 +32,7 @@
 Url:http://www.kde.org
 Source: kdegames-%{version}.tar.bz2
 Patch0: 3_5_BRANCH.diff
+Patch1: kdegames-trinity-fix-highscore.diff
 
 %description
 The base libraries for kdegames as well as the games Solitaire and
@@ -43,12 +40,6 @@
 
 kdegames3-arcade kdegames3-board kdegames3-card kdegames3-tactic
 
-
-
-Authors:
-
-The KDE Team k...@kde.org
-
 %package arcade
 License:GPL-2.0+
 # usesubdirs kasteroids ksirtet ksmiletris ksnake kspaceduel ktron kbounce 
ktuberling kolf kfouleggs
@@ -60,12 +51,6 @@
 Several arcade style games. Hunting asteroids, the famous Tetris, and
 Tron are just an example of what is included.
 
-
-
-Authors:
-
-The KDE Team k...@kde.org
-
 %package board
 License:GPL-2.0+
 # usesubdirs atlantik kbackgammon kbattleship kblackbox kenolaba kmahjongg 
kreversi kshisen kwin4 klickety
@@ -77,12 +62,6 @@
 %description board
 Board games like Backgammon, battleship, Mahjongg, and 4 wins.
 
-
-
-Authors:
-
-The KDE Team k...@kde.org
-
 %package card
 License:GPL-2.0+
 # usesubdirs megami kpoker lskat
@@ -93,12 +72,6 @@
 %description card
 Card games for KDE. Poker and Skat.
 
-
-
-Authors:
-
-The KDE Team k...@kde.org
-
 %package tactic
 License:GPL-2.0 and GPL-2.0+
 # usesubdirs katomic kjumpingcube klines konquest ksame ksokoban
@@ -110,12 +83,6 @@
 Famous games for the time you should spend working: Sokoban, Same, and
 more.
 
-
-
-Authors:
-
-The KDE Team k...@kde.org
-
 %package devel
 License:GPL-2.0+
 Summary:Games for KDE: Build Environment
@@ -129,15 +96,10 @@
 This package contains all necessary include files needed to develop
 applications that require these.
 
-
-
-Authors:
-
-The KDE Team k...@kde.org
-
 %prep
 %setup -n kdegames-%{version} -q
 %patch0
+%patch1 -p1
 . /etc/opt/kde3/common_options
 update_admin
 

++ kdegames-trinity-fix-highscore.diff ++
commit 18b5622af48967838240687fc54ff937acaae903
Author: tpearson tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Date:   1260832269 +

Fix high scores display

git-svn-id: 
svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1062508 
283d02a7-25f6-0310-bc7c-ecb5cbfe19da

diff --git a/katomic/gamewidget.cpp b/katomic/gamewidget.cpp
index fc6838a..165e55c 100644
--- a/katomic/gamewidget.cpp
+++ b/katomic/gamewidget.cpp
@@ -116,6 +116,25 @@ void GameWidget::getMoves(int moves)
 ys-setText(current);
 }
 
+void GameWidget::mergeHighScores(int l)
+{
+KConfigGroup oldConfig(kapp-config(), QString(High Scores Level 
%1).arg(l).utf8());
+KConfigGroup newConfig(kapp-config(), QString(Highscores Level 
%1).arg(l).utf8());
+
+newConfig.writeEntry(LastPlayer, oldConfig.readEntry(LastPlayer));
+
+QString num;
+for (int i = 1; i = 10; ++i)
+{
+   num.setNum(i);
+   QString key = Pos + num + Name;
+newConfig.writeEntry(key, oldConfig.readEntry(key, -));
+   key = Pos + num + Score;
+   newConfig.writeEntry(key, oldConfig.readEntry(key, -));
+}
+kapp-config()-sync();
+}
+
 void GameWidget::updateLevel (int l)
 {
 level=l;
@@ -128,7 +147,11 @@ void GameWidget::updateLevel (int l)
 cfg.setGroup(Level);
 feld-load(cfg);
 
-highScore-setConfigGroup(QString(High Scores Level %1).arg(level));
+if (!kapp-config()-hasGroup(QString(Highscores Level %1).arg(level)) 
+kapp-config()-hasGroup(QString(High Scores Level 
%1).arg(level)))
+   mergeHighScores(level);
+
+

commit kdegames3 for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package kdegames3 for openSUSE:Factory
checked in at Mon Sep 19 17:30:49 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /mounts/work_src_done/STABLE/kdegames3/kdegames3.changes2011-09-15 
16:46:57.0 +0200
@@ -0,0 +1,736 @@
+---
+Thu Sep 15 14:46:27 UTC 2011 - an...@opensuse.org
+
+- updated licenses information
+
+---
+Wed Aug 20 18:35:06 CEST 2008 - co...@suse.de
+
+- update to KDE 3.5.10
+  * translation update
+
+---
+Fri May  9 10:29:32 CEST 2008 - dmuel...@suse.de
+
+- 3_5_BRANCH.diff update:
+  * more translations
+
+---
+Wed Feb 13 23:31:07 CET 2008 - dmuel...@suse.de
+
+- update to 3.5.9:
+  * bugfix, translation update 
+
+---
+Tue Oct 12 15:55:55 CEST 2007 - stbin...@suse.de
+
+- update to 3.5.8: minor mem leak fixes
+
+---
+Thu Oct 11 16:39:38 CEST 2007 - sbra...@suse.cz
+
+- Reduced BuildRequires (mDNSResponder).
+
+---
+Wed Oct  3 11:14:02 CEST 2007 - co...@suse.de
+
+- fix compilation with gcc43
+
+---
+Mon Sep  3 16:05:51 CEST 2007 - dmuel...@suse.de
+
+- fix parallel build 
+
+---
+Sat Aug  4 19:17:19 CEST 2007 - stbin...@suse.de
+
+- add 3_5_BRANCH.diff
+
+---
+Thu Jul 19 22:51:57 CEST 2007 - stbin...@suse.de
+
+- fix suse_update_desktop_file call
+
+---
+Thu Jun 21 16:02:55 CEST 2007 - stbin...@suse.de
+
+- fix invalid .desktop files
+
+---
+Fri Jun  1 08:20:57 CEST 2007 - co...@suse.de
+
+- move kde_post_install
+
+---
+Wed May 23 21:33:55 CEST 2007 - stbin...@suse.de
+
+- split off -devel package
+
+---
+Mon May 14 23:27:32 CEST 2007 - stbin...@suse.de
+
+- update to 3.5.7: 
+   * KGoldRunner: State of Terror: a new KGoldrunner game. 
+   * Bugfixes in KBackgammon and KBattleship
+
+---
+Tue May  8 00:47:56 CEST 2007 - dmuel...@suse.de
+
+- update 3_5_BRANCH.diff to pre-3.5.7 for testing
+
+---
+Tue Jan 16 15:40:10 CET 2007 - stbin...@suse.de
+
+- update to 3.5.6 release:
+   * knetwalk: make KNetWalk appear on the K-Menu
+   * single bugfixes in KGoldRunner, KMines and KSpaceDuel
+
+---
+Thu Dec 14 14:36:42 CET 2006 - wstephen...@suse.de
+
+- Put boardgame documentation in correct subpackage (#224825)
+
+---
+Wed Nov  8 16:54:50 CET 2006 - stbin...@suse.de
+
+- remove historic Provides: (#218798) 
+
+---
+Tue Oct 31 16:35:59 CET 2006 - co...@suse.de
+
+- add 3_5_BRANCH.diff (kgoldrunner and kpat fixes)
+
+---
+Tue Oct  3 10:39:02 CEST 2006 - stbin...@suse.de
+
+- update to 3.5.5 release tarball
+
+---
+Wed Aug 23 11:53:52 CEST 2006 - stbin...@suse.de
+
+- add 3_5_BRANCH.diff (translation improvements)
+
+---
+Mon Jul 24 07:46:10 CEST 2006 - co...@suse.de
+
+- update to KDE 3.5.4:
+   * fixes in libksirtet, KReversi, KPat and KMahjong
+
+---
+Wed May 24 10:24:40 CEST 2006 - stbin...@suse.de
+
+- update to 3.5.3
+   * kpat: several fixes to the freecell-solver
+   * kreversi/knetwalk: make them global highscore aware
+   * kbattleship: improve protocol to not send info about hit ship
+   * kasteroids: fix missile going through closer asteroids
+ 
+---
+Mon Mar 20 15:11:27 CET 2006 - stbin...@suse.de
+
+- update to 3.5.2
+   * kmahjongg: fix not looking for themes/background/etc on .kde
+
+---
+Wed Jan 25 21:33:07 CET 2006 - m...@suse.de
+
+- converted neededforbuild to BuildRequires
+
+---
+Sun Jan 22 10:56:21 CET 2006 - stbin...@suse.de
+