From llwang@infor.ck.tp.edu.tw  Fri Dec  7 09:18:17 2001
Return-Path: <llwang@infor.ck.tp.edu.tw>
Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200])
	by hub.freebsd.org (Postfix) with ESMTP id BD75437B41A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Dec 2001 09:18:15 -0800 (PST)
Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001)
	id E1E7992A9; Sat,  8 Dec 2001 01:17:53 +0800 (CST)
Message-Id: <20011207171753.E1E7992A9@infor.ck.tp.edu.tw>
Date: Sat,  8 Dec 2001 01:17:53 +0800 (CST)
From: Li-lun Wang (Leland Wang) <llwang@infor.org>
Reply-To: Li-lun Wang (Leland Wang) <llwang@infor.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: audio/tempest_for_eliza
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32582
>Category:       ports
>Synopsis:       Update port: audio/tempest_for_eliza
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    greid
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 07 09:20:01 PST 2001
>Closed-Date:    Wed Mar 05 02:30:56 PST 2003
>Last-Modified:  Wed Mar 05 02:30:56 PST 2003
>Originator:     Li-lun Wang (Leland Wang)
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
National Taiwan University
>Environment:
System: FreeBSD Athena.infor.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Dec 3 13:21:32 CST 2001 root@Athena.infor.org:/usr/src/sys/compile/Athena i386


	
>Description:
tempest for eliza is 1.0.5 now. This new version begins to support
playing mp3 (converted to raw actually) with the monitor. It now depends
on amp and sox, and needs sdl12 instead of sdl10. The mp3 playing back
quality is not very good, but it works.

	
>How-To-Repeat:
	
>Fix:
diff -urN tempest_for_eliza.orig/Makefile tempest_for_eliza/Makefile
--- tempest_for_eliza.orig/Makefile	Fri Dec  7 01:26:10 2001
+++ tempest_for_eliza/Makefile	Sat Dec  8 00:21:49 2001
@@ -6,18 +6,25 @@
 #
 
 PORTNAME=       tempest_for_eliza
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.5
 CATEGORIES=     audio
 MASTER_SITES=   http://www.erikyyy.de/tempest/
 
 MAINTAINER=	greid@FreeBSD.org
 
-LIB_DEPENDS=	SDL-1.0.2:${PORTSDIR}/devel/sdl10
+LIB_DEPENDS=	SDL-1.1.3:${PORTSDIR}/devel/sdl12
+RUN_DEPENDS=	${LOCALBASE}/bin/amp:${PORTSDIR}/audio/amp \
+		${LOCALBASE}/bin/sox:${PORTSDIR}/audio/sox
+
+SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
+CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
+
 post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/mksong.sh ${PREFIX}/bin
 	${MKDIR} ${PREFIX}/share/tempest
 .for S in forelise jonny fruehling saints oldmacdonald ungarian
 	${INSTALL_DATA} ${WRKSRC}/songs/$S ${PREFIX}/share/tempest
diff -urN tempest_for_eliza.orig/distinfo tempest_for_eliza/distinfo
--- tempest_for_eliza.orig/distinfo	Fri Dec  7 01:26:15 2001
+++ tempest_for_eliza/distinfo	Fri Dec  7 01:36:26 2001
@@ -1 +1 @@
-MD5 (tempest_for_eliza-1.0.2.tar.gz) = 470a412adebe7f9cd1f675bcbe5a7004
+MD5 (tempest_for_eliza-1.0.5.tar.gz) = e29c700a7ae15aaaa4c36cbe94e38afc
diff -urN tempest_for_eliza.orig/files/patch-tempest_for_eliza::mp3player.cpp tempest_for_eliza/files/patch-tempest_for_eliza::mp3player.cpp
--- tempest_for_eliza.orig/files/patch-tempest_for_eliza::mp3player.cpp	Thu Jan  1 08:00:00 1970
+++ tempest_for_eliza/files/patch-tempest_for_eliza::mp3player.cpp	Sat Dec  8 00:25:24 2001
@@ -0,0 +1,10 @@
+--- mp3player.cpp.orig	Sat Dec  8 00:24:10 2001
++++ mp3player.cpp	Sat Dec  8 00:24:24 2001
+@@ -182,6 +182,7 @@
+       if (curpos>=audiolength) exit(0);
+     }
+     SDL_SetPalette(screen, SDL_PHYSPAL, colors, 0, 256);
++    SDL_UpdateRect(screen, 0, 0, 0, 0);
+   }
+ 
+   return 0;
diff -urN tempest_for_eliza.orig/pkg-plist tempest_for_eliza/pkg-plist
--- tempest_for_eliza.orig/pkg-plist	Fri Dec  7 02:04:43 2001
+++ tempest_for_eliza/pkg-plist	Fri Dec  7 02:10:42 2001
@@ -1,4 +1,6 @@
+bin/mksong.sh
 bin/tempest_for_eliza
+bin/tempest_for_mp3
 %%PORTDOCS%%share/doc/tempest/README
 share/tempest/forelise
 share/tempest/fruehling

	
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->greid 
Responsible-Changed-By: pat 
Responsible-Changed-When: Fri Dec 7 13:56:43 PST 2001 
Responsible-Changed-Why:  
Over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32582 
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Wed Mar 5 02:30:40 PST 2003 
State-Changed-Why:  
The port was updated to 1.0.5 some time ago.  Thanks! 

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