Skip site navigation (1)Skip section navigation (2)
Date:      2 Jul 2005 19:36:13 -0000
From:      Rudolf Polzer <freebsd-dr@durchnull.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82902: Maintainer-update: games/pydance (1.0.2 -> 1.0.3, MP3 playback now works)
Message-ID:  <20050702193613.80353.qmail@durchnull.ath.cx>
Resent-Message-ID: <200507021940.j62JeHsr082484@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         82902
>Category:       ports
>Synopsis:       Maintainer-update: games/pydance (1.0.2 -> 1.0.3, MP3 playback now works)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 02 19:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050702193613.80353.qmail>