Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 21:04:12 GMT
From:      junker@jazz.snu.ac.kr
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6122: port upgrade: audio/splay
Message-ID:  <199803242104.VAA02851@punky.snu.ac.kr>

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

>Number:         6122
>Category:       ports
>Synopsis:       port upgrade: audio/splay
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 24 04:10:01 PST 1998
>Last-Modified:
>Originator:     CHOI Junho
>Organization:
NARAE, CS Dept., Seoul National Univ., ROK
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:

FreeBSD garfield.snu.ac.kr 2.2.6-BETA FreeBSD 2.2.6-BETA #0: Fri Mar 13 03:02:46 GMT 1998     root@garfield.snu.ac.kr:/usr/src/sys/compile/GARFIELD  i386

>Description:

Port upgrade(audio/splay) to v0.8.2

>How-To-Repeat:

>Fix:
	
Apply the following diffs:

diff -uNr /usr/ports/audio/splay/Makefile ./Makefile
--- /usr/ports/audio/splay/Makefile	Thu Mar 12 06:03:54 1998
+++ ./Makefile	Tue Mar 24 19:54:48 1998
@@ -1,18 +1,21 @@
 # New ports collection makefile for:    splay
-# Version required:     0.3
+# Version required:     0.8.2
 # Date created:         1 Apr 1997
 # Whom:                 junker@jazz.snu.ac.kr
 #
 # $Id: Makefile,v 1.5 1998/01/08 18:52:01 fenner Exp $
 #
+# pthread library can be used, but sound quality is buggy
+#
 
-DISTNAME=		splay-0.5
+DISTNAME=		splay-0.8.2
 CATEGORIES=		audio
-MASTER_SITES=		${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=	apps/sound/players
+MASTER_SITES=		http://cain.kaist.ac.kr/~jwj95/
 
 MAINTAINER=		junker@jazz.snu.ac.kr
 
 GNU_CONFIGURE=		yes
+CONFIGURE_ARGS=		i386--freebsd --without-xsplay --without-pthread
+MAN1=			splay.1
 
 .include <bsd.port.mk>
diff -uNr /usr/ports/audio/splay/diff.splay ./diff.splay
--- /usr/ports/audio/splay/diff.splay	Thu Jan  1 00:00:00 1970
+++ ./diff.splay	Tue Mar 24 19:55:43 1998
@@ -0,0 +1,29 @@
+diff -uNr /usr/ports/audio/splay/Makefile ./Makefile
+--- /usr/ports/audio/splay/Makefile	Thu Mar 12 06:03:54 1998
++++ ./Makefile	Tue Mar 24 19:54:48 1998
+@@ -1,18 +1,21 @@
+ # New ports collection makefile for:    splay
+-# Version required:     0.3
++# Version required:     0.8.2
+ # Date created:         1 Apr 1997
+ # Whom:                 junker@jazz.snu.ac.kr
+ #
+ # $Id: Makefile,v 1.5 1998/01/08 18:52:01 fenner Exp $
+ #
++# pthread library can be used, but sound quality is buggy
++#
+ 
+-DISTNAME=		splay-0.5
++DISTNAME=		splay-0.8.2
+ CATEGORIES=		audio
+-MASTER_SITES=		${MASTER_SITE_SUNSITE}
+-MASTER_SITE_SUBDIR=	apps/sound/players
++MASTER_SITES=		http://cain.kaist.ac.kr/~jwj95/
+ 
+ MAINTAINER=		junker@jazz.snu.ac.kr
+ 
+ GNU_CONFIGURE=		yes
++CONFIGURE_ARGS=		i386--freebsd --without-xsplay --without-pthread
++MAN1=			splay.1
+ 
+ .include <bsd.port.mk>
diff -uNr /usr/ports/audio/splay/files/md5 ./files/md5
--- /usr/ports/audio/splay/files/md5	Sat Aug  9 23:37:37 1997
+++ ./files/md5	Fri Mar 20 10:57:14 1998
@@ -1 +1 @@
-MD5 (splay-0.5.tar.gz) = 6c98edfb97961c4f89c6a4b8e9aac405
+MD5 (splay-0.8.2.tar.gz) = 4031830584fddf315881798e074f7207
diff -uNr /usr/ports/audio/splay/patches/patch-aa ./patches/patch-aa
--- /usr/ports/audio/splay/patches/patch-aa	Fri May 16 07:39:28 1997
+++ ./patches/patch-aa	Fri Mar 20 11:03:56 1998
@@ -1,19 +1,34 @@
-*** mpegsound/rawplayer.cc	Thu Mar 27 22:18:47 1997
---- mpegsound/rawplayer.cc	Tue Apr  1 19:33:46 1997
-***************
-*** 8,14 ****
-  
-  #include <fcntl.h>
-  #include <sys/ioctl.h>
-! #include <sys/soundcard.h>
-  
-  #include "mpegsound.h"
-  
---- 8,14 ----
-  
-  #include <fcntl.h>
-  #include <sys/ioctl.h>
-! #include <machine/soundcard.h>
-  
-  #include "mpegsound.h"
-  
+diff -uNr ../../splay-0.8.2/mpegsound/httpinput.cc ./mpegsound/httpinput.cc
+--- ../../splay-0.8.2/mpegsound/httpinput.cc	Fri Mar  6 17:43:55 1998
++++ ./mpegsound/httpinput.cc	Fri Mar 20 11:00:16 1998
+@@ -13,6 +13,7 @@
+ 
+ #include <sys/stat.h>
+ #include <unistd.h>
++#include <errno.h>
+ 
+ #include "mpegsound.h"
+ 
+diff -uNr ../../splay-0.8.2/mpegsound/rawplayer.cc ./mpegsound/rawplayer.cc
+--- ../../splay-0.8.2/mpegsound/rawplayer.cc	Fri Mar  6 17:43:55 1998
++++ ./mpegsound/rawplayer.cc	Fri Mar 20 11:00:29 1998
+@@ -13,7 +13,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+-#include <sys/soundcard.h>
++#include <machine/soundcard.h>
+ 
+ #include "mpegsound.h"
+ 
+diff -uNr ../../splay-0.8.2/src/splay/splay.cc ./src/splay/splay.cc
+--- ../../splay-0.8.2/src/splay/splay.cc	Fri Mar  6 17:43:55 1998
++++ ./src/splay/splay.cc	Fri Mar 20 11:01:55 1998
+@@ -12,6 +12,7 @@
+ 
+ #include <string.h>
+ #include <unistd.h>
++#include <stdlib.h>
+ 
+ #include <mpegsound.h>
+ 
diff -uNr /usr/ports/audio/splay/patches/patch-ab ./patches/patch-ab
--- /usr/ports/audio/splay/patches/patch-ab	Sat Aug  9 23:37:38 1997
+++ ./patches/patch-ab	Thu Jan  1 00:00:00 1970
@@ -1,11 +0,0 @@
---- src/cmd/cmd.cc.orig	Sat Aug  9 16:31:03 1997
-+++ src/cmd/cmd.cc	Sat Aug  9 16:31:15 1997
-@@ -15,7 +15,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
--#include <sys/soundcard.h>
-+#include <machine/soundcard.h>
- 
- #include <mpegsound.h>
- 
diff -uNr /usr/ports/audio/splay/pkg/COMMENT ./pkg/COMMENT
--- /usr/ports/audio/splay/pkg/COMMENT	Fri May 16 07:39:28 1997
+++ ./pkg/COMMENT	Fri Mar 20 11:49:41 1998
@@ -1 +1 @@
-An audio player/decoder that decodes MPEG Layer I,II,III and WAV files.
+An audio player that decodes MPEG Layer I,II,III and WAV files.
diff -uNr /usr/ports/audio/splay/pkg/DESCR ./pkg/DESCR
--- /usr/ports/audio/splay/pkg/DESCR	Fri May 16 07:39:28 1997
+++ ./pkg/DESCR	Fri Mar 20 11:11:16 1998
@@ -1,5 +1,5 @@
-splay-0.3
----------
+splay
+-----
 
 Splay program uses the MPEG/Wave Sound library to play sound files in
 several formats, notably the MPEG audio and Wave format. This early version
@@ -11,4 +11,4 @@
 
 * This version of splay was not compiled with pthread library.
 --
-Port by Choi Jun Ho <junker@jazz.snu.ac.kr>
+Port by CHOI Junho <junker@jazz.snu.ac.kr>
diff -uNr /usr/ports/audio/splay/pkg/PLIST ./pkg/PLIST
--- /usr/ports/audio/splay/pkg/PLIST	Fri May 16 07:39:29 1997
+++ ./pkg/PLIST	Fri Mar 20 11:10:40 1998
@@ -1 +1,2 @@
 bin/splay
+man/man1/splay.1.gz
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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