OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
port of abcde not fully working...

From: Ed Wandasiewicz (wandedbreathemail.net)
Date: Thu Sep 02 2004 - 05:59:09 CDT


The port of audio/abcde with OpenBSD stable 3.5, abcde v2.1.14, is not fully
functional.

$ man abcde

BACKEND TOOLS
       abcde requires the following backend tools to work:

* (for MP3s) id3 or id3v2, id3 v1 and v2 tagging pro-
              grams.

The dependencies of abcde does not include this. However, the ports
section does include audio/id3lib which is fully functional with abcde,
but without a few amendments. I dont know it you want to go this route,
or add another tag program of id3 or id3v2.

$ make search key=abcde
Port: abcde-2.1.14
Path: audio/abcde
Info: command-line utility to rip and encode audio cds
Maint: The OpenBSD ports mailing-list <portsopenbsd.org>
Index: audio
L-deps:
B-deps:
R-deps: cdparanoia-*:audio/cdparanoia vorbis-tools-*:audio/vorbis-tools
wget-*:net/wget
Archs: any

$ make search key=grip
Port: grip-3.0.0
Path: audio/grip
Info: front-end to external cd audio rippers and mp3 encoders
Maint: David Lebel <lebelopenbsd.org>
Index: audio
L-deps: ghttp::www/libghttp
gnome.36,gnomesupport.0,gnomeui.46,art_lgpl.4::x11/gnome/libs
gtk.1.2,gdk.1.2::x11/gtk+ id3.3.8::audio/id3lib
B-deps: :devel/gmake :devel/libtool
R-deps:
Archs: any

###########
# Solution
###########

1. Add audio/id3lib as a dependancy to abcde
2. Change /usr/local/share/examples/abcde to use id3tag, which is part
of id3lib

--- /usr/local/share/examples/abcde/abcde.conf Wed Sep 1 23:22:07 2004
+++ /usr/local/share/examples/abcde/abcde.conf.new Thu Sep 2 11:20:17 2004
-80,7 +80,7
 #OGGENC=oggenc
 #FLAC=flac
 #SPEEXENC=speexenc
-#ID3=id3
+ID3=id3tag
 #ID3V2=id3v2
 #CDPARANOIA=cdparanoia
 #CDDA2WAV=cdda2wav
 

3. Change /usr/local/bin/abcde to use id3tag successfully

--- abcde Thu Sep 2 11:08:31 2004
+++ abcde.new Thu Sep 2 11:07:50 2004
-269,8 +269,8 do_tag ()
                # id3v2 v0.1.9 claims to have solved the -c bug, so we
                # merge both id3 and id3v2
                #--------------------------------------------------
                run_command tagtrack-$1 $TAGGER $TAGGEROPTS -c
"$COMMENTOUTPUT" \
- -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME"
                        -y "$CDYEAR" \
- -g "$CDGENRE" -T "$1/$TRACKS"
                        "$ABCDETEMPDIR/track$1.$OUTPUT"
+ -A "$DALBUM" -a "$TRACKARTIST" -s "$TRACKNAME"
-y "$CDYEAR" \
+ -g "$CDGENRE" -t "$1" -T "$TRACKS"
"$ABCDETEMPDIR/track$1.$OUTPUT"
                ;;
        ogg)
                case "$OGGENCODERSYNTAX" in

Regards
Ed.