From owner-svn-ports-head@FreeBSD.ORG Sun Mar 30 23:53:36 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BA8AC0C; Sun, 30 Mar 2014 23:53:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26F55B0A; Sun, 30 Mar 2014 23:53:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2UNraOw050501; Sun, 30 Mar 2014 23:53:36 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2UNrZJh050496; Sun, 30 Mar 2014 23:53:35 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201403302353.s2UNrZJh050496@svn.freebsd.org> From: Rusmir Dusko Date: Sun, 30 Mar 2014 23:53:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349695 - in head/games: . xemeraldia xemeraldia/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2014 23:53:36 -0000 Author: nemysis Date: Sun Mar 30 23:53:34 2014 New Revision: 349695 URL: http://svnweb.freebsd.org/changeset/ports/349695 QAT: https://qat.redports.org/buildarchive/r349695/ Log: XEmeraldia, Drop the blocks. If you drop a square on top of one of the same color, they (as well as any neighboring blocks of the same color) will both be shaken by an "impact". The first impact will cause fractures; the second will cause the block(s) to dissolve. You can either use the arrow keys or vi-style (hjkl) keys to move/ rotate the blocks. `s' or `p' will pause the game, and if your boss comes along, `q' can be used to avoid an unpleasant confrontation. http://www.reloco.com.ar/xemeraldia/ Added: head/games/xemeraldia/ - copied from r182631, head/games/xemeraldia/ head/games/xemeraldia/files/patch-graphics.c (contents, props changed) Deleted: head/games/xemeraldia/files/patch-aa head/games/xemeraldia/files/patch-ab head/games/xemeraldia/files/patch-ac head/games/xemeraldia/pkg-plist Modified: head/games/Makefile head/games/xemeraldia/Makefile (contents, props changed) head/games/xemeraldia/distinfo (contents, props changed) head/games/xemeraldia/pkg-descr (contents, props changed) Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sun Mar 30 23:32:21 2014 (r349694) +++ head/games/Makefile Sun Mar 30 23:53:34 2014 (r349695) @@ -1063,6 +1063,7 @@ SUBDIR += xdesktopwaves SUBDIR += xdigger SUBDIR += xdino + SUBDIR += xemeraldia SUBDIR += xevil SUBDIR += xeyesplus SUBDIR += xfireworks Modified: head/games/xemeraldia/Makefile ============================================================================== --- head/games/xemeraldia/Makefile Wed Jan 17 13:38:12 2007 (r182631) +++ head/games/xemeraldia/Makefile Sun Mar 30 23:53:34 2014 (r349695) @@ -1,35 +1,51 @@ -# New ports collection makefile for: xemeraldia -# Date created: 22 Mar 1995 -# Whom: asami -# +# Created by: Rusmir Dusko # $FreeBSD$ -# PORTNAME= xemeraldia -PORTVERSION= 0.31 +PORTVERSION= 0.4.3 CATEGORIES= games -MASTER_SITES= ftp://ftp.eos.hokudai.ac.jp/pub/Linux/JG/JG-0.9.1/other-sources/jp/ -DISTNAME= xemeraldia-0.3 - -PATCH_SITES= ${MASTER_SITES} -PATCHFILES= xemeraldia-0.3to0.31.patch.gz -PATCH_DIST_STRIP= -p1 - -MAINTAINER= ports@FreeBSD.org -COMMENT= A game of breaking blocks - -DEPRECATED= distfile disappeared and has no homepage -EXPIRATION_DATE= 2007-01-17 - -USE_IMAKE= yes -NO_INSTALL_MANPAGES= yes +MASTER_SITES= http://www.reloco.com.ar/xemeraldia/ \ + SUNSITE/games/tetris \ + SF/nemysisfreebsdp/${CATEGORIES}/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Falling blocks game + +USES= pkgconfig +USE_GNOME= cairo gtk20 +GNU_CONFIGURE= yes + +PLIST_FILES= bin/${PORTNAME} \ + ${DESKTOPDIR}/${PORTNAME}.desktop \ + %%NLS%%share/locale/es/LC_MESSAGES/${PORTNAME}.mo \ + %%NLS%%share/locale/gl/LC_MESSAGES/${PORTNAME}.mo \ + share/pixmaps/${PORTNAME}.png \ + share/pixmaps/${PORTNAME}.xpm + +PORTDOCS= NEWS README +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext + +post-patch: + @${REINPLACE_CMD} -e 's|$${prefix}/games|$${prefix}/bin|; \ + s|/var/games/x|.x|; \ + s|) install-data-hook|)|' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|@prefix@/games/||; \ + s|^Icon.*|Icon=${PORTNAME}|' \ + ${WRKSRC}/xemeraldia.desktop.in post-install: - @${CHOWN} root:games ${PREFIX}/bin/xemeraldia - @${CHMOD} 2755 ${PREFIX}/bin/xemeraldia - @${MKDIR} ${PREFIX}/lib/X11/xemeraldia - @${TOUCH} ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores - @${CHOWN} root:games ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores - @${CHMOD} 664 ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/games/xemeraldia/distinfo ============================================================================== --- head/games/xemeraldia/distinfo Wed Jan 17 13:38:12 2007 (r182631) +++ head/games/xemeraldia/distinfo Sun Mar 30 23:53:34 2014 (r349695) @@ -1,6 +1,4 @@ -MD5 (xemeraldia-0.3.tar.gz) = 35c30637ea597ce995d8b51a3d8e4080 -SHA256 (xemeraldia-0.3.tar.gz) = 00ef70c84b3d2299b6d8e19a3e9461f6aab8fbb51babbb7cb31ec640ef20b95f -SIZE (xemeraldia-0.3.tar.gz) = 16454 -MD5 (xemeraldia-0.3to0.31.patch.gz) = 77287135b5d28d67c1245241dbd6534f -SHA256 (xemeraldia-0.3to0.31.patch.gz) = eed7efb28975f88dd16f8d986fa51452d518130e1d8c7711d11f0abdb2b95aff -SIZE (xemeraldia-0.3to0.31.patch.gz) = 2400 +SHA256 (xemeraldia-0.4.3.tar.gz) = c1974b37fe81b4d1f19eb1c527b8555039a3385f448031c3772771c881481bab +SIZE (xemeraldia-0.4.3.tar.gz) = 192820 +SHA256 (xemeraldia.png) = 7b804362743ca5d837b5539df55515622305acae5e0d9fd7648609f1a2c7f99e +SIZE (xemeraldia.png) = 312 Added: head/games/xemeraldia/files/patch-graphics.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xemeraldia/files/patch-graphics.c Sun Mar 30 23:53:34 2014 (r349695) @@ -0,0 +1,19 @@ +--- ./graphics.c.orig 2009-02-10 01:55:24.000000000 +0100 ++++ ./graphics.c 2014-03-31 00:27:54.287686028 +0200 +@@ -7,6 +7,7 @@ + #endif + + #include "games.h" ++#include "gtk-2.0/gtk/gtkprivate.h" + + static gboolean animateTmpScore (void *); + +@@ -32,7 +33,7 @@ + + static void invalidate_area(GtkWidget *widget, gint x, gint y, gint w, gint h) + { +- while(GTK_WIDGET_FLAGS(widget) & GTK_NO_WINDOW) ++ while(GTK_PRIVATE_FLAGS(widget) & GTK_NO_WINDOW) + { + x += widget->allocation.x; + y += widget->allocation.y; Modified: head/games/xemeraldia/pkg-descr ============================================================================== --- head/games/xemeraldia/pkg-descr Wed Jan 17 13:38:12 2007 (r182631) +++ head/games/xemeraldia/pkg-descr Sun Mar 30 23:53:34 2014 (r349695) @@ -1,13 +1,10 @@ -This is version 0.3 of xemeraldia. - -Drop the blocks. If you drop a square on top of one of the same -color, they (as well as any neighboring blocks of the same color) will -both be shaken by an "impact". The first impact will cause fractures; +XEmeraldia, Drop the blocks. If you drop a square on top of one of the +same color, they (as well as any neighboring blocks of the same color) +will both be shaken by an "impact". The first impact will cause fractures; the second will cause the block(s) to dissolve. You can either use the arrow keys or vi-style (hjkl) keys to move/ -rotate the blocks. `s' or `p' will pause the game, and if your boss +rotate the blocks. `s' or `p' will pause the game, and if your boss comes along, `q' can be used to avoid an unpleasant confrontation. -- Satoshi -asami@cs.berkeley.edu +http://www.reloco.com.ar/xemeraldia/