Skip site navigation (1)Skip section navigation (2)
Date:      2 Jun 2000 21:33:33 -0000
From:      oyvindmo@initio.no
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18972: update port: audio/ripit
Message-ID:  <20000602213333.7791.qmail@gaia.initio.no>

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

>Number:         18972
>Category:       ports
>Synopsis:       update port: audio/ripit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 02 14:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     oyvindmo@initio.no
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Initio IT-losninger AS
>Environment:

No CFC gases were used in updating this port.  Heavy air from nearby
traffic, though.  Weather-wise:  A bit cloudy, some rain.  Actually
a small hail storm hit us earlier today.  Much fun.

	

>Description:

Update audio/ripit from 1.6 to 1.8.  From the author's changelog:

1.7     14/05/00        Added support for GOGO encoder
                        Added support for TOSHA and CDDA rippers
                        Fixed a minor CDDB problem
1.8     22/05/00        GOGO support was broken
                        Testing options had been left in the encoder
                        and ripper option variables
	

>How-To-Repeat:

	

>Fix:

	
diff -uNr ripit.orig/Makefile ripit/Makefile
--- ripit.orig/Makefile	Thu Jun  1 19:46:48 2000
+++ ripit/Makefile	Fri Jun  2 23:13:31 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ripit
-PORTVERSION=	1.6
+PORTVERSION=	1.8
 CATEGORIES=	audio
 MASTER_SITES=	http://www.initio.no/~oyvindmo/distfiles/
 
@@ -14,6 +14,7 @@
 
 RUN_DEPENDS=	bladeenc:${PORTSDIR}/audio/bladeenc \
 		lame:${PORTSDIR}/audio/lame \
+		gogo:${PORTSDIR}/audio/gogo \
 		tosha:${PORTSDIR}/audio/tosha \
 		cdda2wav:${PORTSDIR}/sysutils/cdrecord \
 		cda:${PORTSDIR}/audio/xmcd
diff -uNr ripit.orig/files/md5 ripit/files/md5
--- ripit.orig/files/md5	Thu Jun  1 19:46:49 2000
+++ ripit/files/md5	Fri Jun  2 23:15:09 2000
@@ -1 +1 @@
-MD5 (ripit-1.6.tar.gz) = b46334c00712b65f6b59ad23caab2b94
+MD5 (ripit-1.8.tar.gz) = f2cf29b275525e1c91fe726479e71172
diff -uNr ripit.orig/patches/patch-aa ripit/patches/patch-aa
--- ripit.orig/patches/patch-aa	Thu Jun  1 19:46:49 2000
+++ ripit/patches/patch-aa	Fri Jun  2 23:19:49 2000
@@ -1,5 +1,5 @@
---- ripit.pl.orig	Fri Apr 21 12:11:23 2000
-+++ ripit.pl	Fri Apr 21 12:16:20 2000
+--- ripit.pl.orig	Fri Jun  2 23:17:16 2000
++++ ripit.pl	Fri Jun  2 23:18:58 2000
 @@ -26,12 +26,12 @@
  # User configurable variables
  #
@@ -9,39 +9,11 @@
 +$cddev 		= "/dev/rcd0c";		# CD Audio device
 +$outputdir 	= "/home/mp3/";		# Where the MP3s should go
  $bitrate	= 160;			# Bitrate for MP3s
- $encoder	= 1; 			# 0 - Bladeenc, 1 - Lame
+-$encoder	= 1; 			# 0 - Bladeenc, 1 - Lame, 2 - Gogo
++$encoder	= 2; 			# 0 - Bladeenc, 1 - Lame, 2 - Gogo
  $encopt		= "";			# options for mp3 encoder
--$cdripper	= 0;			# 0 - cdparanoia, 1 - cdda2wav
-+$cdripper	= 2;			# 0 - cdparanoia, 1 - cdda2wav, 2 - tosha
+-$cdripper	= 0;			# 0 - cdparanoia, 1 - cdda2wav,
++$cdripper	= 2;			# 0 - cdparanoia, 1 - cdda2wav,
+ 					# 2 - tosha, 3 - cdd
  $cdopt		= "";			# options for cdaudio ripper
  
- $use_underscore = 0;	# Use _ instead of spaces in filenames (1 yes, 0 no)
-@@ -340,12 +340,18 @@
-          die "cdparanoia failed on $tracklist[$_ - 1]";
-       }
-     }
--    else {
-+    elsif ($cdripper == 1) {
-       if (system("cdda2wav -D $cddev -Q -H $cdopt -t $riptrackno \"$riptrackname.rip\"")) {
-          &printflush(RIPLOG,"cdda2wav failed on $tracklist[$_ - 1]\n");
-          die "cdda2wav failed on $tracklist[$_ - 1]";
-       }
-     }
-+    else {
-+      if (system("tosha -d $cddev -f wav -t $riptrackno -o \"$riptrackname.rip\"")) {
-+         &printflush(RIPLOG,"tosha failed on $tracklist[$_ - 1]\n");
-+         die "tosha failed on $tracklist[$_ - 1]";
-+      }
-+    } 
- 
-     # Rename rip file to a wav for encoder
-     rename "$riptrackname.rip","$riptrackname.wav";
-@@ -380,7 +386,7 @@
-     print "\nMP3 Encoding track ".$ncount." of ".($#seltrack + 1)."\n";
-     &printflush(RIPLOG,"Encoding $tracklist[$_ - 1]...\n");
- 
--    # Keep looping until the file appears, ie wait for cdparanoia
-+    # Keep looping until the file appears, ie wait for cdripper
-     # timeout after 30 minutes
-     $x=0;
-     while( ! -r "$riptrackname.wav" ){ 


>Release-Note:
>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?20000602213333.7791.qmail>