ports/67082: Update port: games/gnomebreakout to 0.5.3
KATO Tsuguru
tkato at prontomail.com
Sun May 23 13:10:27 UTC 2004
>Number: 67082
>Category: ports
>Synopsis: Update port: games/gnomebreakout to 0.5.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 23 06:10:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p8 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.3
New file:
files/patch-src::anim.c
Remove file:
files/patch-aa
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/gnomebreakout/Makefile games/gnomebreakout/Makefile
--- /usr/ports/games/gnomebreakout/Makefile Wed Feb 4 18:58:39 2004
+++ games/gnomebreakout/Makefile Thu May 20 00:44:43 2004
@@ -6,19 +6,26 @@
#
PORTNAME= gnomebreakout
-PORTVERSION= 0.5.2
-PORTREVISION= 1
+PORTVERSION= 0.5.3
CATEGORIES= games gnome
-MASTER_SITES= http://users.senet.com.au/~alcaron/
+MASTER_SITES= http://www.users.on.net/mipearson/
DISTNAME= gnome-breakout-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= GNOME version of the classic breakout game
USE_X_PREFIX= yes
-USE_GNOME= gnomeprefix gnomehack gnomelibs
+USE_GNOME= gnomehack gnomeprefix libgnomeui
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|games.games|root:games|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|-Werror||g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|@GETTEXT_PACKAGE@|@PACKAGE@|g' ${WRKSRC}/po/Makefile.in.in
.include <bsd.port.mk>
diff -urN /usr/ports/games/gnomebreakout/distinfo games/gnomebreakout/distinfo
--- /usr/ports/games/gnomebreakout/distinfo Thu Jan 29 20:25:11 2004
+++ games/gnomebreakout/distinfo Thu May 20 00:21:46 2004
@@ -1,2 +1,2 @@
-MD5 (gnome-breakout-0.5.2.tar.gz) = 3464e74aae8dce37da5336ed10ea6452
-SIZE (gnome-breakout-0.5.2.tar.gz) = 223835
+MD5 (gnome-breakout-0.5.3.tar.gz) = 38da8b1d1594e7ed6e94bd334d7c7d25
+SIZE (gnome-breakout-0.5.3.tar.gz) = 197538
diff -urN /usr/ports/games/gnomebreakout/files/patch-aa games/gnomebreakout/files/patch-aa
--- /usr/ports/games/gnomebreakout/files/patch-aa Mon Jun 4 18:33:43 2001
+++ games/gnomebreakout/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/games/gnomebreakout/files/patch-aa,v 1.4 2001/06/04 09:33:43 dirk Exp $
-
---- Makefile.in.orig Thu Feb 8 12:20:37 2001
-+++ Makefile.in Thu Feb 8 12:21:38 2001
-@@ -446,7 +446,7 @@
- install-data-local:
- -$(mkinstalldirs) $(DESTDIR)$(scoredir)
- -touch $(DESTDIR)$(scoredir)/gnome-breakout.scores
-- -chown games.games $(DESTDIR)$(scoredir)/gnome-breakout.scores
-+ -chown root:games $(DESTDIR)$(scoredir)/gnome-breakout.scores
- -chmod 0664 $(DESTDIR)$(scoredir)/gnome-breakout.scores
- -chgrp games $(DESTDIR)$(bindir)/gnome-breakout && chmod 2755 $(DESTDIR)$(bindir)/gnome-breakout
-
diff -urN /usr/ports/games/gnomebreakout/files/patch-src::anim.c games/gnomebreakout/files/patch-src::anim.c
--- /usr/ports/games/gnomebreakout/files/patch-src::anim.c Thu Jan 1 09:00:00 1970
+++ games/gnomebreakout/files/patch-src::anim.c Thu May 20 00:26:03 2004
@@ -0,0 +1,18 @@
+--- src/anim.c.orig Mon May 10 19:42:51 2004
++++ src/anim.c Thu May 20 00:26:00 2004
+@@ -47,6 +47,7 @@
+ Animation newanim;
+ char *fullfilename;
+ int i;
++ GError *gerror = NULL;
+
+ /* Find the number of frames */
+ fullfilename = g_strdup_printf("%s.%d.png", filename, 0);
+@@ -64,7 +65,6 @@
+ sizeof(GdkPixbuf *));
+ for(i = 0; i < newanim.num_frames; i++) {
+ fullfilename = g_strdup_printf("%s.%d.png", filename, i);
+- GError *gerror = NULL;
+ newanim.pixmaps[i] = gdk_pixbuf_new_from_file(fullfilename,
+ &gerror);
+ if(!newanim.pixmaps[i]) {
diff -urN /usr/ports/games/gnomebreakout/pkg-descr games/gnomebreakout/pkg-descr
--- /usr/ports/games/gnomebreakout/pkg-descr Tue Jul 1 17:09:34 2003
+++ games/gnomebreakout/pkg-descr Thu May 20 00:19:29 2004
@@ -2,4 +2,4 @@
written for GNOME. Still in development, but very playable, and
very addictive.
-WWW: http://users.senet.com.au/~alcaron/software.html
+WWW: http://www.users.on.net/mipearson/
diff -urN /usr/ports/games/gnomebreakout/pkg-plist games/gnomebreakout/pkg-plist
--- /usr/ports/games/gnomebreakout/pkg-plist Tue Jun 12 02:57:13 2001
+++ games/gnomebreakout/pkg-plist Thu May 20 00:45:22 2004
@@ -69,6 +69,7 @@
share/gnome/pixmaps/gnome-breakout.png
share/locale/de/LC_MESSAGES/gnome-breakout.mo
share/locale/ru/LC_MESSAGES/gnome-breakout.mo
+share/locale/sv/LC_MESSAGES/gnome-breakout.mo
share/locale/tr/LC_MESSAGES/gnome-breakout.mo
@dirrm share/gnome/gnome-breakout/pixmaps
@dirrm share/gnome/gnome-breakout/levels
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list