[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[abcde] abcde running on FreeBSD 4.4-Stable



Hi!

Been looking everywhere for a highly custamizable all-in one cd-->ogg/mp3 ripper with freedb support, and finnally I found one.

Here's what I did to tweak it to get it to run under FreeBSD 4.4 Stable:


tar -zxvf abcde_2.0.2.orig.tar.gz ;rm abcde_2.0.2.orig.tar.gz
mv abcde_2.0.2-1.diff abcde-2.0.2/
cd abcde-2.0.2/
patch < abcde_2.0.2-1.diff

Wherever I found a reference to seq in abcde and cddb-tool, I commented it out, then added a line using jot instead, with a syntax which should (according to my testing) produce the same output.
#                       for TRACK in $(seq 1 $TRACKS)                           
                        for TRACK in $($TRACKS jot 1 $TRACKS)                   
#                               for TRACK in $(seq 1 $TRACKS)                   
                                for TRACK in $($TRACKS jot 1 $TRACKS)           
#               NEWTRACKS=$(seq -s ' ' $RSTART $REND)                           
                NEWTRACKS=$(jot -s " " $REND $RSTART $REND)                     
#       ${NEEDDISTMP3+$DISTMP3} ${NEEDCOMMENTER+$VORBISCOMMENT} seq             
        ${NEEDDISTMP3+$DISTMP3} ${NEEDCOMMENTER+$VORBISCOMMENT} jot             
#       for NUM in $(seq 1 "$MAXPROCS")                                         
        for NUM in $(jot "$MAXPROCS" 1 "$MAXPROCS")                             


Since cdparanoia has not yet been ported to FreeBSD, I set cdda2wav to be the de
fault ripper in the abcde.conf file.

In abcde.conf, I added a SCSI variable which refers to the SCSI cdrom driver in the form x,x,x (SCSI-Bus, SCSI-Id,  and  SCSI-Lun), in my case 0,0,0. This is neccessary for cdda2wav under FreeBSD.
I then edited the cdda2wav syntax in abcde.conf by replacing -D $CDROM to -D $SCSI

Tata! The script now sort-of works on my FreeBSD 4.4-Stable computer.

Another thing which I think I noticed is that you need to specify the options to the Lame encoder in abcde (the actual script), as it didn't appear to want to read it from the abcde.conf file...

Unfortunatly, I'm got very little experience with shell-scripting, programming, patching, etc... It would be nice to see this program in the FreeBSD ports collection at some time, but for the moment, I'm just going to go with the `if it ain't broke don't fix it' mentality...

Drop me a line if you want the my `patched' version...

Cheers!


Espen

To unsubscribe: echo unsubscribe | mail abcde-request@whimsica.lly.org