From root@durchnull.ath.cx  Sat Jul  2 19:36:18 2005
Return-Path: <root@durchnull.ath.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 67F7416A479
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Jul 2005 19:36:18 +0000 (GMT)
	(envelope-from root@durchnull.ath.cx)
Received: from ccc-offenbach.org (p54B06F07.dip.t-dialin.net [84.176.111.7])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E74DD43D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Jul 2005 19:36:16 +0000 (GMT)
	(envelope-from root@durchnull.ath.cx)
Received: (qmail 80354 invoked by uid 0); 2 Jul 2005 19:36:13 -0000
Message-Id: <20050702193613.80353.qmail@durchnull.ath.cx>
Date: 2 Jul 2005 19:36:13 -0000
From: Rudolf Polzer <freebsd-dr@durchnull.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Maintainer-update: games/pydance (1.0.2 -> 1.0.3, MP3 playback now works)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82902
>Category:       ports
>Synopsis:       Maintainer-update: games/pydance (1.0.2 -> 1.0.3, MP3 playback now works)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    novel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 02 19:40:17 GMT 2005
>Closed-Date:    Sun Jul 03 03:54:44 GMT 2005
>Last-Modified:  Sun Jul 03 03:54:44 GMT 2005
>Originator:     Rudolf Polzer
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD katsuragi.div0.ccc-offenbach.org 5.4-STABLE FreeBSD 5.4-STABLE #44: Tue Jun 28 23:16:39 CEST 2005 root@katsuragi.div0.ccc-offenbach.org:/usr/src/sys/i386/compile/DIV0_KERNEL i386


>Description:
Update to 1.0.3. Nothing has changed except for some bug fixes.
Now plays MP3 files.

>How-To-Repeat:
>Fix:
Apply this diff:

diff -Nru /usr/ports/games/pydance/Makefile pydance/Makefile
--- /usr/ports/games/pydance/Makefile	Fri Dec 17 14:42:56 2004
+++ pydance/Makefile	Sat Jul  2 20:55:39 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pydance
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.3
 CATEGORIES=	games
 MASTER_SITES=	http://www.icculus.org/pyddr/
 DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz ${SONGS}
diff -Nru /usr/ports/games/pydance/distinfo pydance/distinfo
--- /usr/ports/games/pydance/distinfo	Fri Dec 17 14:42:56 2004
+++ pydance/distinfo	Sat Jul  2 21:01:09 2005
@@ -1,5 +1,5 @@
-MD5 (pydance/pydance-1.0.2.tar.gz) = 9192f15042cfbabb5406f2bbd2e236df
-SIZE (pydance/pydance-1.0.2.tar.gz) = 6315594
+MD5 (pydance/pydance-1.0.3.tar.gz) = 070ba1b4f1b11bc7d8959941064051e7
+SIZE (pydance/pydance-1.0.3.tar.gz) = 6531541
 MD5 (pydance/forkbomb.ogg) = 0ca7527a0b792fe0b597322d69e675d7
 SIZE (pydance/forkbomb.ogg) = 1418973
 MD5 (pydance/forkbomb.dance) = e62aab2b2d39adf172a74d229acedb23
diff -Nru /usr/ports/games/pydance/files/patch-ui.py pydance/files/patch-ui.py
--- /usr/ports/games/pydance/files/patch-ui.py	Thu Jan  1 01:00:00 1970
+++ pydance/files/patch-ui.py	Sat Jul  2 21:16:39 2005
@@ -0,0 +1,18 @@
+--- ui.py.orig	Sat Jul  2 21:14:32 2005
++++ ui.py	Sat Jul  2 21:16:27 2005
+@@ -1,6 +1,6 @@
+ from pygame.locals import *
+ from constants import mainconfig
+-import pad, pygame
++import pad, pygame, time
+ 
+ (PASS, CANCEL, UP, DOWN, LEFT, RIGHT, START, SELECT, CONFIRM,
+  PGUP, PGDN, FULLSCREEN, SORT, CLEAR) = range(14)
+@@ -63,6 +63,7 @@
+       self.add_event(key, pid, event)
+ 
+   def poll(self):
++    time.sleep(0.01)
+     pid, ev = self.handler.poll()
+ 
+     nev = self.events.get(abs(ev), PASS)
diff -Nru /usr/ports/games/pydance/pkg-message pydance/pkg-message
--- /usr/ports/games/pydance/pkg-message	Thu Feb 26 16:09:25 2004
+++ pydance/pkg-message	Sat Jul  2 21:09:25 2005
@@ -7,8 +7,4 @@
 to suit the requirements of a particular site (for example in order
 to add song directories).
 
-For some reason, MP3 playback seems to be broken here or in
-devel/py-game. Please inform me if you get it working. OggVorbis
-files however should work fine.
-
 --------------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->novel 
Responsible-Changed-By: novel 
Responsible-Changed-When: Sun Jul 3 03:39:37 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82902 
State-Changed-From-To: open->closed 
State-Changed-By: novel 
State-Changed-When: Sun Jul 3 03:53:33 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

BTW, it would be nice if you mention added/deleted files. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82902 
>Unformatted:
