summaryrefslogtreecommitdiff
path: root/audio/abcde
diff options
context:
space:
mode:
authorlukem <lukem>2001-08-16 06:02:45 +0000
committerlukem <lukem>2001-08-16 06:02:45 +0000
commit9e585a19006cbe38e24fec8243a0371fb197394d (patch)
tree864b4e9b5b16d8ff7bbec4bbc465762425bb6faf /audio/abcde
parent04886dae679b977997e47cd8601cc20da3a72b55 (diff)
downloadpkgsrc-9e585a19006cbe38e24fec8243a0371fb197394d.tar.gz
abcde - Command-line utility to rip and encode an audio CD
Diffstat (limited to 'audio/abcde')
-rw-r--r--audio/abcde/distinfo7
-rw-r--r--audio/abcde/patches/patch-aa29
-rw-r--r--audio/abcde/patches/patch-ab60
-rw-r--r--audio/abcde/patches/patch-ac22
4 files changed, 118 insertions, 0 deletions
diff --git a/audio/abcde/distinfo b/audio/abcde/distinfo
new file mode 100644
index 00000000000..cbe0039cdd3
--- /dev/null
+++ b/audio/abcde/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/16 06:03:00 lukem Exp $
+
+SHA1 (abcde_2.0.orig.tar.gz) = 1ff89ebf0df6b202544d0f195b2c68be1a6108d5
+Size (abcde_2.0.orig.tar.gz) = 34588 bytes
+SHA1 (patch-aa) = db58446402e858f7aa32621976fcad9485eb6db5
+SHA1 (patch-ab) = 0a7f2f096bfb3bcf4dbb90e808a61addd4abce62
+SHA1 (patch-ac) = f4fcc000e6cc76f01021b0cbdc43f650cede1ab0
diff --git a/audio/abcde/patches/patch-aa b/audio/abcde/patches/patch-aa
new file mode 100644
index 00000000000..94df022d3a3
--- /dev/null
+++ b/audio/abcde/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/08/16 06:02:45 lukem Exp $
+
+--- cddb-tool.orig Thu Aug 16 07:48:11 2001
++++ cddb-tool Thu Aug 16 15:45:59 2001
+@@ -121,7 +121,7 @@
+ echo '#'
+ echo '# Track frame offsets:'
+ NUMTRACKS=$2
+- for x in $(seq 3 $(expr $NUMTRACKS + 2))
++ for x in $(jot $NUMTRACKS 3)
+ do
+ echo -e "#\t$(echo "$DISCID" | cut -f$x -d' ')"
+ done
+@@ -137,13 +137,13 @@
+ echo DISCID="$DISCNUM"
+ echo "DTITLE=Unknown Artist / Unknown Album"
+ # TTITLE0 -- TTITLEn
+- for x in $(seq 1 $NUMTRACKS)
++ for x in $(jot $NUMTRACKS)
+ do
+ echo "TTITLE$(expr $x - 1)=Track $x"
+ done
+ echo "EXTD="
+ # EXTT0 -- EXTTn
+- for x in $(seq 1 $NUMTRACKS)
++ for x in $(jot $NUMTRACKS)
+ do
+ echo "EXTT$(expr $x - 1)="
+ done
diff --git a/audio/abcde/patches/patch-ab b/audio/abcde/patches/patch-ab
new file mode 100644
index 00000000000..ea9059258e6
--- /dev/null
+++ b/audio/abcde/patches/patch-ab
@@ -0,0 +1,60 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/08/16 06:02:46 lukem Exp $
+
+--- abcde.orig Thu Aug 16 07:39:29 2001
++++ abcde Thu Aug 16 15:53:55 2001
+@@ -552,7 +552,7 @@
+ fi
+ # List out disc title/author and contents
+ echo ---- $(cut '-d ' -f4- "$ABCDETEMPDIR/cddbquery") ---- >> "$ABCDETEMPDIR/cddbchoices"
+- for TRACK in $(seq 1 $TRACKS)
++ for TRACK in $(jot $TRACKS)
+ do
+ echo $TRACK: $(grep ^TTITLE$(expr $TRACK - 1)= "$ABCDETEMPDIR/cddbread.1" | cut -f2- -d= | tr -d \\r\\n) >> "$ABCDETEMPDIR/cddbchoices"
+ done
+@@ -568,7 +568,7 @@
+ $CDDBTOOL template $(cat "$ABCDETEMPDIR/discid") > "$ABCDETEMPDIR/cddbread.1"
+ # List out disc title/author and contents of template
+ echo ---- Unknown Artist / Unknown Album ---- >> "$ABCDETEMPDIR/cddbchoices"
+- for TRACK in $(seq 1 $TRACKS)
++ for TRACK in $(jot $TRACKS)
+ do
+ echo $TRACK: $(grep ^TTITLE$(expr $TRACK - 1)= "$ABCDETEMPDIR/cddbread.1" | cut -f2- -d= | tr -d \\r\\n) >> "$ABCDETEMPDIR/cddbchoices"
+ done
+@@ -598,7 +598,7 @@
+ fi
+ # List out disc title/author and contents
+ echo \#$X: ---- "$DISCINFO" ---- >> "$ABCDETEMPDIR/cddbchoices"
+- for TRACK in $(seq 1 $TRACKS)
++ for TRACK in $(jot $TRACKS)
+ do
+ echo $TRACK: $(grep ^TTITLE$(expr $TRACK - 1)= $ABCDETEMPDIR/cddbread.$X | cut -f2- -d= | tr -d \\r\\n) >> "$ABCDETEMPDIR/cddbchoices"
+ done
+@@ -935,8 +935,8 @@
+ fi
+
+ # Load system defaults
+-if [ -r /etc/abcde.conf ]; then
+- . /etc/abcde.conf
++if [ -r @ETCDIR@/abcde.conf ]; then
++ . @ETCDIR@/abcde.conf
+ fi
+ # Load user preference defaults
+ if [ -r $HOME/.abcde.conf ]; then
+@@ -972,7 +972,7 @@
+ if [ "$RSTART" = "$REND" ]; then
+ NEWTRACKS="$RSTART"
+ else
+- NEWTRACKS=$(seq -s ' ' $RSTART $REND)
++ NEWTRACKS=$(jot -s ' ' $(($REND - $RSTART + 1)) $RSTART $REND)
+ fi
+ TRACKQUEUE=$(echo "$TRACKQUEUE" "$NEWTRACKS")
+
+@@ -1145,7 +1145,7 @@
+ do
+ ENCODELOCATIONS="$ENCODELOCATIONS $REMOTEHOST"
+ done
+-for NUM in $(seq 1 "$MAXPROCS")
++for NUM in $(jot "$MAXPROCS")
+ do
+ ENCODELOCATIONS="$ENCODELOCATIONS %local%"
+ done
diff --git a/audio/abcde/patches/patch-ac b/audio/abcde/patches/patch-ac
new file mode 100644
index 00000000000..854b5bf183e
--- /dev/null
+++ b/audio/abcde/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/08/16 06:02:48 lukem Exp $
+
+--- abcde.1.orig Thu Aug 16 08:12:25 2001
++++ abcde.1 Thu Aug 16 15:55:04 2001
+@@ -42,7 +42,7 @@
+ .TP
+ .B \-c [filename]
+ Specifies an additional configuration file to parse. Configuration options
+-in this file override those in /etc/abcde.conf or $HOME/.abcde.conf.
++in this file override those in @ETCDIR@/abcde.conf or $HOME/.abcde.conf.
+ .TP
+ .B \-C [discid]
+ Allows you to resume a session for
+@@ -91,7 +91,7 @@
+ '.mp3'. This can be modified using the OUTPUTFORMAT and VAOUTPUTFORMAT
+ variables in your abcde.conf.
+ .SH CONFIGURATION
+-abcde sources two configuration files on startup - /etc/abcde.conf and
++abcde sources two configuration files on startup - @ETCDIR@/abcde.conf and
+ $HOME/.abcde.conf, in that order. Here is a list of options abcde recognizes:
+ .TP
+ .B CDDBURL