From owner-ports-jp@jp.freebsd.org  Wed Apr 26 23:36:37 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id XAA20006;
	Wed, 26 Apr 2000 23:36:37 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from mailgw2.prontomail.com (mailgw2.prontomail.com [209.185.149.198])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id XAA20000
	for <ports-jp@jp.freebsd.org>; Wed, 26 Apr 2000 23:36:36 +0900 (JST)
	(envelope-from tkato@prontomail.ne.jp)
From: tkato@prontomail.ne.jp
Received: from mail46.prontomail.com (209.185.149.146) by mailgw2.prontomail.com (NPlex 2.0.123) for ports-jp@jp.freebsd.org; Wed, 26 Apr 2000 07:35:56 -0700
Received: from web15 (209.185.149.215) by mail46.prontomail.com (NPlex 2.0.123) for ports-jp@jp.freebsd.org; Wed, 26 Apr 2000 07:35:43 -0700
Message-Id: <F2A84321CEA14D11785400807CF9C0B2@tkato.prontomail.ne.jp>
Date: Wed, 26 Apr 2000 23:35:46 +0900
X-Priority: Normal
Content-Type: text/plain; charset=ISO-2022-JP
To: ports-jp@jp.freebsd.org
X-Mailer: Web Based Pronto
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 9285
Subject: [ports-jp 9285] Re: GOGO-no-coda
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: tkato@prontomail.ne.jp

> $B$I$s$J$b$N$G$7$g$&$+!%(J

$B$$$/$D$+5$IU$$$?E@$r!#(J

o $B%3%a%s%HItJ,$NI=5-$b(J"GOGO-no-coda"$B$KJQ99(J
o $B%"!<%+%$%V$K4^$^$l$k(Jgogo.spec$B$G$N5-=R$K=>$$!"%P!<%8%g%s$r(J2.31f$B$H$9$k(J
o $BF1MM$K!"(J"GOGO"$B$NI=5-$r$9$Y$FBgJ8;z$H$9$k(J
o Makefile$BFb$GD>$K(J/usr/local$B$H$J$C$F$$$k2U=j$r(J${LOCALBASE}$B$KJQ99(J
o NOPORTDOCS$B$r$_$F(JPLIST$B$r$$$8$kItJ,$O!"$=$3$^$G$d$i$s$G$b$$$$$h$&$J5$$,(J
$B$9$k$N$G85$KLa$9(J

$B$H$$$C$?6q9g$K$$$8$C$F$_$^$7$?!#(J

diff -urN /usr/ports/audio/gogo/Makefile audio/gogo/Makefile
--- /usr/ports/audio/gogo/Makefile	Thu Apr 20 00:38:53 2000
+++ audio/gogo/Makefile	Wed Apr 26 23:00:45 2000
@@ -1,12 +1,12 @@
-# New ports collection makefile for:   gogo no coder
-# Date created:        01 July 1999
-# Whom:                Yukihiro Nakai <Nacai@iname.com>
+# New ports collection makefile for:	GOGO-no-coda
+# Date created:		01 July 1999
+# Whom:			Yukihiro Nakai <Nacai@iname.com>
 #
 # $FreeBSD: ports/audio/gogo/Makefile,v 1.16 2000/04/19 04:46:02 nakai Exp $
 #
 
 PORTNAME=	gogo
-PORTVERSION=	2.30f
+PORTVERSION=	2.31f
 CATEGORIES=	audio
 MASTER_SITES=	http://homepage1.nifty.com/herumi/soft/gogo2/src/
 DISTNAME=	gogo230f
@@ -16,34 +16,41 @@
 
 # More than version 0.98
 BUILD_DEPENDS=	nasm-0.98:${PORTSDIR}/devel/nasm
-.if !defined(MINIMAL)
-RUN_DEPENDS=	cdda2wav:${PORTSDIR}/sysutils/cdrecord \
-		list_audio_tracks:${PORTSDIR}/sysutils/cdrecord
-.endif
 
 USE_GMAKE=	yes
 ALL_TARGET=	gogo
-.if(!defined(KANJI))
-MAKE_ARGS+=	DONT_USE_KANJI=-DNO_KANJI
-.else
-MAKE_ARGS+=	DONT_USE_KANJI=
-.endif
+
 RESTRICTED=	Condition is not clear
 
 WRKSRC=		${WRKDIR}/gogo231f
+PLIST=		${WRKDIR}/PLIST
+
+# A sample of heavily optimized CFLAGS(typically used with pgcc).
+# Recommended ONLY for benchmarks.
+# CFLAGS=-march=pentiumpro -O6 -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-register-move -ffast-math -fdefer-pop -mfancy-math-387
+
+MAKE_ENV=	"CC=$(CCMD)" "LD=$(CC)"

+CCMD!=		${ECHO} "$(CC) -c $(CFLAGS) -DRAW_INPUT"
+
+pre-fetch:
+.if !defined(USE_MT)
+	@${ECHO_MSG} "set USE_MT to compile with linuxthreads."
+	@${ECHO_MSG} "It would increase performance in SMP environment."
+.else
+LIB_DEPENDS=	lthread.2:${PORTSDIR}/devel/linuxthreads
+MAKE_ENV+=	"USE_MT=yes"
+.endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin
-.if !defined(MINIMAL)
-	${INSTALL_SCRIPT} ${WRKSRC}/sakai/cdda2mp3.bsd \
+	${INSTALL_SCRIPT} ${WRKSRC}/contrib/cdda2mp3.bsd \
 		${PREFIX}/bin/cdda2mp3.gogo
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/doc/gogo
-	${INSTALL_DATA} ${WRKSRC}/sakai/cdda2mp3.txt \
-		${PREFIX}/share/doc/gogo/cdda2mp3.gogo.jp
-	${INSTALL_DATA} ${WRKSRC}/sakai/readme_e.txt \
+	${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.txt \
 		${PREFIX}/share/doc/gogo/cdda2mp3.gogo.en
-.endif
+	${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.euc \
+		${PREFIX}/share/doc/gogo/cdda2mp3.gogo.ja
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/gogo/patches/patch-ac audio/gogo/patches/patch-ac
--- /usr/ports/audio/gogo/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ audio/gogo/patches/patch-ac	Wed Apr 26 23:07:53 2000
@@ -0,0 +1,26 @@
+--- Makefile.orig	Tue Apr 11 12:07:39 2000
++++ Makefile	Wed Apr 26 23:07:46 2000
+@@ -30,10 +30,10 @@
+ endif
+ 
+ # common definition
+-LD=gcc
++#LD=gcc
+ #LD=gcc -Wl,-Map,gogo.map
+ LIBS=-lm
+-CC=gcc -c -m486 -O3 -finline-functions -fomit-frame-pointer -funroll-loops
++#CC=gcc -c -m486 -O3 -finline-functions -fomit-frame-pointer -funroll-loops
+ # This option is available for gcc-2.8.x
+ #CC=gcc -c -mcpu=pentiumpro -malign-double -O6 -fstrength-reduce -fexpensive-optimizations  -finline-functions -fomit-frame-pointer -funroll-loops
+ # This option is available for gcc-2.95.1, gcc-2.95.2, gcc-2.95.3,...
+@@ -62,8 +62,8 @@
+ ifeq ($(OS),FreeBSD)
+ 	CFLAGS+= -DDISPLAY_REALTIME
+ 	ifeq ($(USE_MT),yes)
+-		LIBS+= -L/usr/local/lib -llthread
+-		CFLAGS+= -DUSE_PTHREAD -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
++		LIBS+= -L${LOCALBASE}/lib -llthread -llgcc_r
++		CFLAGS+= -DUSE_PTHREAD -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
+ 		CC+=-kthread
+ 		LD+=-kthread
+ 	endif
diff -urN /usr/ports/audio/gogo/pkg/COMMENT audio/gogo/pkg/COMMENT
--- /usr/ports/audio/gogo/pkg/COMMENT	Fri Oct  1 17:46:14 1999
+++ audio/gogo/pkg/COMMENT	Wed Apr 26 22:57:17 2000
@@ -1 +1 @@
-Very fast MP3 encoder with MMX, 3D Now! and PentiumIII SSE support
+Very fast MP3 encoder for recent x86 processors
diff -urN /usr/ports/audio/gogo/pkg/DESCR audio/gogo/pkg/DESCR
--- /usr/ports/audio/gogo/pkg/DESCR	Wed Jan 26 20:28:06 2000
+++ audio/gogo/pkg/DESCR	Wed Apr 26 23:01:39 2000
@@ -1,12 +1,12 @@
-gogo, 'Gogo no coder' (which means 'afternoon coder'), is very fast
-MP3 encoder based on lame-3.23 which is optimized for MMX, K6-2 3DNow!
-and Intel PentiumIII SSE. The latter is available when FreeBSD
-supports SSE. (Linux supports it.)
+GOGO-no-coda is very fast MP3 encoder based on lame-3.29beta,
+optimized for MMX, 3DNow!, Enhanced 3DNow! and SSE (patched nasm required
+to compile with E3DNow! and kernel support needed to enable SSE but FreeBSD
+does not have it yet).
 
-*** DON'T OVERCLOCK YOUR K6-2 ***
-Gogo heavily uses the 3DNow! unit that almost sleeps in usual,
-and the encoding CPU becomes very hot even with its normal clock.
-So overclock may cause serious internal errors or crazy results.
-Also, this may be same on PentiumIII or others.
+*** DO NOT OVERCLOCK YOUR CPUs ***
+GOGO heavily uses the part of processors that almost sleeps in usual,
+so makes them very hot even it runs standard clock.
+Overclocking may cause serious internal errors and crazy results.
+Or you need gigantic heatsink and extra-noisy fans. :-)
 
 WWW: http://homepage1.nifty.com/herumi/gogo_e.html



-- 
KATO Tsuguru / tkato@prontomail.ne.jp
                  
Sent by Japanese ProntoMail
