Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ecbd1fe8c4b74d5f5ce1e76843319d6e9d326bfd

commit ecbd1fe8c4b74d5f5ce1e76843319d6e9d326bfd
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun Nov 16 18:55:23 2008 +0100

gcompris-8.4.7-1-x86_64
* Version bump

diff --git a/source/games-extra/gcompris/FrugalBuild 
b/source/games-extra/gcompris/FrugalBuild
index 134346e..8c29540 100644
--- a/source/games-extra/gcompris/FrugalBuild
+++ b/source/games-extra/gcompris/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: crazy <[EMAIL PROTECTED]>

pkgname=gcompris
-pkgver=8.4.6
+pkgver=8.4.7
pkgrel=1
pkgdesc="Educational application for children"
depends=('pygtk' 'gnet' 'python' 'gnucap' 'gstreamer' 'sdl_mixer' 'gnuchess' \
@@ -13,15 +13,23 @@ makedepends=('perl-xml-parser' 'intltool' 'texi2html' 
'gettext' 'libgnomecanvas'
groups=('games-extra')
archs=('i686' 'x86_64')
Finclude sourceforge
+source=($source po-compile.patch)
url="http://gcompris.net/";
options=('scriptlet')
-sha1sums=('6e4cba93bb5430f7973c3fe2327c3ebe5e98d8a8')
+sha1sums=('44a97946e651187bdd51c0fdd180754e821daf31' \
+          '93b37eaba360fd74be532d6d18f79d9835004353')

build()
{
Fcd
+       ## wtf
+       for i in 0 1 2 3 4
+       do
+               echo boards/babyshapes/board8_${i}.xml.in >>po/POTFILES.skip
+       done
cat /usr/share/gettext/config.rpath >config.rpath || Fdie
Fautoreconf
+       Fpatchall
Fconf --enable-gnet
make || Fdie
make check || Fdie
diff --git a/source/games-extra/gcompris/po-compile.patch 
b/source/games-extra/gcompris/po-compile.patch
new file mode 100644
index 0000000..1d06299
--- /dev/null
+++ b/source/games-extra/gcompris/po-compile.patch
@@ -0,0 +1,23 @@
+diff -Naur gcompris-8.4.7/src/boards/python/clickanddraw.py 
gcompris-8.4.7-p/src/boards/python/clickanddraw.py
+--- gcompris-8.4.7/src/boards/python/clickanddraw.py   2008-02-14 
01:45:14.000000000 +0100
++++ gcompris-8.4.7-p/src/boards/python/clickanddraw.py 2008-11-16 
18:41:48.000000000 +0100
+@@ -107,6 +107,6 @@
+           self.gamewon = 1
+           self.timeout = gobject.timeout_add(1500, self.lauch_bonus) # The 
level is complete -> Bonus display
+
+-        else : #Action to execute if the selected point isn't the last one of 
this level
++        else : #Action to execute if the selected point is not the last one 
of this level
+           self.POINT[(idpt+1)].set(fill_color='blue') #Set color in blue to 
next point. Too easy ???
+           self.actu = self.actu+1 #self.actu update to set it at actual value 
of selected point
+diff -Naur gcompris-8.4.7/src/boards/python/drawnumber.py 
gcompris-8.4.7-p/src/boards/python/drawnumber.py
+--- gcompris-8.4.7/src/boards/python/drawnumber.py     2008-02-14 
01:45:14.000000000 +0100
++++ gcompris-8.4.7-p/src/boards/python/drawnumber.py   2008-11-16 
18:41:26.000000000 +0100
+@@ -185,7 +185,7 @@
+           self.gamewon = 1
+           self.timeout = gobject.timeout_add(1500, self.lauch_bonus) # The 
level is complete -> Bonus display
+
+-        else : #Action to execute if the selected point isn't the last one of 
this level
++        else : #Action to execute if the selected point is not the last one 
of this level
+           #self.POINT[(idpt+1)].set(fill_color='blue') #Set color in blue to 
next point. Too easy ???
+           self.actu=self.actu+1 #self.actu update to set it at actual value 
of selected point
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to