Date: Sun, 24 May 2009 18:40:41 +0200 (CEST) From: Tobias Rehbein <tobias.rehbein@web.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/134913: [PATCH] update audio/ripit to version 3.7.0 Message-ID: <200905241640.n4OGefrm004033@sushi.pseudo.local> Resent-Message-ID: <200905241710.n4OHA0wr041340@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134913 >Category: ports >Synopsis: [PATCH] update audio/ripit to version 3.7.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun May 24 17:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tobias Rehbein >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD sushi.pseudo.local 7.2-RELEASE FreeBSD 7.2-RELEASE #47: Sun May 24 15:23:01 CEST 2009 tobi@sushi.pseudo.local:/usr/obj/usr/src/sys/SUSHI i386 >Description: ripIT 3.7.0 has finally been released. The first attached patch updates the port to the latest version. The second patch changes short and long description of the port as described in the patch itself. I splitted this in two pach as the first is mandatory and the second is a matter of taste ;) >How-To-Repeat: >Fix: --- 0001-Update-audio-ripit-to-version-3.7.0.patch begins here --- [PATCH 1/2] Update audio/ripit to version 3.7.0 --- diff --git a/audio/ripit/Makefile b/audio/ripit/Makefile index 26a3748..223abfc 100644 --- a/audio/ripit/Makefile +++ b/audio/ripit/Makefile @@ -6,8 +6,7 @@ # PORTNAME= ripit -PORTVERSION= 3.6.0 -PORTREVISION= 1 +PORTVERSION= 3.7.0 CATEGORIES= audio MASTER_SITES= http://www.suwald.com/ripit/ @@ -28,7 +27,7 @@ USE_PERL5_RUN= yes USE_BZIP2= yes post-patch: - @${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|" ${WRKSRC}/ripit.pl + @${REINPLACE_CMD} -e "s|#!/usr/bin/env perl|#!${PERL}|" ${WRKSRC}/ripit.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin/ripit diff --git a/audio/ripit/distinfo b/audio/ripit/distinfo index 0a488d1..ee98c39 100644 --- a/audio/ripit/distinfo +++ b/audio/ripit/distinfo @@ -1,3 +1,3 @@ -MD5 (ripit-3.6.0.tar.bz2) = 037ddab85cffd0a9519c48679f2e79ef -SHA256 (ripit-3.6.0.tar.bz2) = 7e84218009cc672a14f041d5a27279bcd9ebac0ca298f6c11ef6cfd053d64a8e -SIZE (ripit-3.6.0.tar.bz2) = 67702 +MD5 (ripit-3.7.0.tar.bz2) = f1553013cbc4dfc237e701341ea6182a +SHA256 (ripit-3.7.0.tar.bz2) = 16a8ab0977a8de3231fe35f74be46cf68aef12b81fe0ae3853a21fd6f365b21e +SIZE (ripit-3.7.0.tar.bz2) = 80076 diff --git a/audio/ripit/files/patch-ripit.pl b/audio/ripit/files/patch-ripit.pl deleted file mode 100644 index 7f38277..0000000 --- a/audio/ripit/files/patch-ripit.pl +++ /dev/null @@ -1,42 +0,0 @@ ---- ./ripit.pl.orig 2009-02-02 19:23:52.000000000 +0000 -+++ ./ripit.pl 2009-02-02 19:24:58.000000000 +0000 -@@ -3398,7 +3398,7 @@ - - # If Lame is not used, don't die if ID3v2-tag is not compliant. - if($lameflag == 0) { -- unless(log_system("lame --genre-list | grep -i \" $genre\$\" > /dev/null ")) { -+ unless(log_system("lame --genre-list 2>&1 | grep -i \" $genre\$\" > /dev/null ")) { - print "Genre $genre is not ID3v2 compliant!\n" - if($verbose >= 1); - print "I continue anyway!\n\n" if($verbose >= 1); -@@ -3417,7 +3417,7 @@ - - # Check if (similar) genre exists. Enter a new one with interaction, - # or take the default one. -- while(!log_system("lame --genre-list | grep -i \"$genre\" > /dev/null ")) { -+ while(!log_system("lame --genre-list 2>&1 | grep -i \"$genre\" > /dev/null ")) { - print "Genre $genre is not ID3v2 compliant!\n" if($verbose >= 1); - if($interaction == 1) { - print "Use \"lame --genre-list\" to get a list!\n"; -@@ -3437,7 +3437,7 @@ - return; - } - elsif($genre =~ /^\d+$/) { -- $genre = `lame --genre-list | grep -i \' $genre \'`; -+ $genre = `lame --genre-list 2>&1 | grep -i \' $genre \'`; - chomp $genre; - } - else { -@@ -3449,10 +3449,10 @@ - # "pop-like" genres! - # There will be a linebreak, if multiple possibilities found. - my $ogenre = $genre; -- $genre = `lame --genre-list | grep -i \'$genre\'`; -+ $genre = `lame --genre-list 2>&1 | grep -i \'$genre\'`; - chomp $genre; - # Second we want THE original genre, if it precisly exists. -- my $testgenre = `lame --genre-list | grep -i \'\^... $ogenre\$\'`; -+ my $testgenre = `lame --genre-list 2>&1 | grep -i \'\^... $ogenre\$\'`; - chomp $testgenre; - $genre = $testgenre if($testgenre); - # If we still have several genres: -- 1.6.3.1 --- 0001-Update-audio-ripit-to-version-3.7.0.patch ends here --- --- 0002-Update-short-and-long-description-for-audio-ripit.patch begins here --- [PATCH 2/2] Update short and long description for audio/ripit Makefile: * audio/ripit is capable of much more than suggested by the one-line suggestion found in the makefile. So let's generalize this one and use the short description given on the ripit homepage. * The URL of the ripit website has changed. Change Makefile accordingly pkg-descr: * Replace the ports description with a slightly modified version of http://www.suwald.com/ripit/about.php describing all current features * The port maintainer email address given in pkg-descr is outdated. Synced it with the one given in the Makefile. --- diff --git a/audio/ripit/Makefile b/audio/ripit/Makefile index 223abfc..d614db1 100644 --- a/audio/ripit/Makefile +++ b/audio/ripit/Makefile @@ -11,7 +11,7 @@ CATEGORIES= audio MASTER_SITES= http://www.suwald.com/ripit/ MAINTAINER= oyvind@moll.no -COMMENT= A perl-script frontend for encoding audio CDs to MP3 files +COMMENT= A command line audio CD ripper # See pkg-message about other dependencies. RUN_DEPENDS= ${SITE_PERL}/CDDB_get.pm:${PORTSDIR}/audio/p5-CDDB_get diff --git a/audio/ripit/pkg-descr b/audio/ripit/pkg-descr index 0054bea..5e20cb8 100644 --- a/audio/ripit/pkg-descr +++ b/audio/ripit/pkg-descr @@ -1,13 +1,21 @@ -ripit ------ +RipIT is used to create MPEG-1 Layer 3 (mp3) using Lame, or uses Flac (flac), +Ogg Vorbis (ogg) or Faac (m4a) to convert audio files (wav) extracted from an +audio CD. It is a console based front-end (no GUI here), written in Perl, for +various programs. -ripit is a small front-end program written in perl for ripping, -encoding and tagging MP3s or Ogg/Vorbis files from audio CDs. It -is a console program that needs no user intervention. It requires -p5-CDDB for CDDB access. A track ripper program and an encoder are -also needed. +The program will do the following without user intervention: + * getting the audio CD Album/Artist/Tracks information from CDDB + * ripping the audio CD Tracks + * encoding to Flac, mp3 or Ogg + * id3 tags encoded songs + * creating an playlist (m3u) file + * optionally generating a toc (cue) sheet for nice DAO burning + * optionally preparing and send a CDDB submission and save it locally + * optionally extracting hidden songs and split ghost songs + * optionally creating md5sum files for all tracks + * running several encoder processes at the same time and same run -WWW: http://www.suwald.com/ripit/ripit.html +WWW: http://www.suwald.com/ripit/news.php -- -Port by Oyvind Moll <oyvindmo@initio.no> +Port by Oyvind Moll <oyvind@moll.no> -- 1.6.3.1 --- 0002-Update-short-and-long-description-for-audio-ripit.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905241640.n4OGefrm004033>