[arch-commits] Commit in gnome-games/trunk (3 files)
Jan de Groot
jgc at archlinux.org
Mon Jan 10 10:03:29 UTC 2011
Date: Monday, January 10, 2011 @ 05:03:28
Author: jgc
Revision: 105513
upgpkg: gnome-games 2.32.1-2
Fix missing icons
Added:
gnome-games/trunk/03_missing_icons.patch
gnome-games/trunk/scores.png
Modified:
gnome-games/trunk/PKGBUILD
------------------------+
03_missing_icons.patch | 38 ++++++++++++++++++++++++++++++++++++++
PKGBUILD | 14 +++++++++++---
2 files changed, 49 insertions(+), 3 deletions(-)
Added: 03_missing_icons.patch
===================================================================
--- 03_missing_icons.patch (rev 0)
+++ 03_missing_icons.patch 2011-01-10 10:03:28 UTC (rev 105513)
@@ -0,0 +1,38 @@
+Index: gnome-games-2.30.2/libgames-support/games-stock.c
+===================================================================
+--- gnome-games-2.30.2.orig/libgames-support/games-stock.c 2010-07-04 11:33:16.880062363 +0200
++++ gnome-games-2.30.2/libgames-support/games-stock.c 2010-07-04 12:23:59.035567621 +0200
+@@ -282,15 +282,14 @@ games_stock_init (void)
+ #ifdef HAVE_GTK_ICON_FACTORY_ADD_ALIAS
+ { GAMES_STOCK_REDO_MOVE, GTK_STOCK_REDO },
+ { GAMES_STOCK_UNDO_MOVE, GTK_STOCK_UNDO },
++ { GAMES_STOCK_RESUME_GAME, GTK_STOCK_MEDIA_PLAY },
+ #endif
+ #ifndef HAVE_HILDON
+ { GAMES_STOCK_NETWORK_GAME, GTK_STOCK_NETWORK },
+ { GAMES_STOCK_NETWORK_LEAVE, GTK_STOCK_STOP },
+ { GAMES_STOCK_PLAYER_LIST, GTK_STOCK_INFO },
+
+- { GAMES_STOCK_PAUSE_GAME, "stock_timer_stopped" },
+- { GAMES_STOCK_RESUME_GAME, "stock_timer" },
+- { GAMES_STOCK_SCORES, "stock_scores" },
++ { GAMES_STOCK_PAUSE_GAME, GTK_STOCK_MEDIA_PAUSE },
+ #endif /* !HAVE_HILDON */
+ };
+
+@@ -298,6 +297,7 @@ games_stock_init (void)
+ const char *stock_icon_aliases_bidi[][3] = {
+ { GAMES_STOCK_REDO_MOVE, GTK_STOCK_REDO "-ltr", GTK_STOCK_REDO "-rtl" },
+ { GAMES_STOCK_UNDO_MOVE, GTK_STOCK_UNDO "-ltr", GTK_STOCK_UNDO "-rtl" },
++ { GAMES_STOCK_RESUME_GAME, GTK_STOCK_MEDIA_PLAY "-ltr", GTK_STOCK_MEDIA_PLAY "-rtl" },
+ };
+ #endif
+
+@@ -306,6 +306,7 @@ games_stock_init (void)
+ #ifndef HAVE_HILDON
+ { GAMES_STOCK_TELEPORT, "teleport" },
+ { GAMES_STOCK_RTELEPORT, "teleport-random" },
++ { GAMES_STOCK_SCORES, "scores" },
+ #endif /* !HAVE_HILDON */
+ { GAMES_STOCK_DEAL_CARDS, "cards-deal" }
+ };
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-09 22:09:50 UTC (rev 105512)
+++ PKGBUILD 2011-01-10 10:03:28 UTC (rev 105513)
@@ -3,7 +3,7 @@
pkgname=gnome-games
pkgver=2.32.1
-pkgrel=1
+pkgrel=2
pkgdesc="Some Games for GNOME"
arch=('i686' 'x86_64')
license=('GPL')
@@ -16,11 +16,16 @@
install=gnome-games.install
url="http://www.gnome.org"
groups=('gnome-extra')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('1a3b2e82102eed3780f05db4378111c475456678deed82fd4ca379da1c5593d9')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2
+ 03_missing_icons.patch
+ scores.png)
+sha256sums=('1a3b2e82102eed3780f05db4378111c475456678deed82fd4ca379da1c5593d9'
+ '05d63319773e5389b87672a20b03c4c1e91a33fd1678b5e76335bf7e4daa46a6'
+ '2f818741bbf20fc83a68d71908de76f5f1b2b9e27691a4767aebf0e4a39fee85')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/03_missing_icons.patch"
PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-scrollkeeper \
--disable-static \
@@ -39,6 +44,9 @@
sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
$pkgdir/usr/bin/{gnome-sudoku,glchess}
+ install -m755 -d "${pkgdir}/usr/share/icons/hicolor/24x24/actions"
+ install -m644 "${srcdir}/scores.png" "${pkgdir}/usr/share/icons/hicolor/24x24/actions/"
+
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-games ${pkgdir}/etc/gconf/schemas/*.schemas
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
Added: scores.png
===================================================================
(Binary files differ)
Property changes on: gnome-games/trunk/scores.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
More information about the arch-commits
mailing list