pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc Incorporate James Wetterau's patch from PR 20763 t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4fde14c3f42e
branches:  trunk
changeset: 461388:4fde14c3f42e
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Sep 15 11:17:27 2003 +0000

description:
Incorporate James Wetterau's patch from PR 20763 to warn if there is no
encoder in the path.

Unify patch-ac and patch-ae which both patch the same file.

Bump pkgrevision to nb4

diffstat:

 audio/abcde/Makefile         |   4 ++--
 audio/abcde/distinfo         |   5 ++---
 audio/abcde/patches/patch-ac |  21 ++++++++++++++++++++-
 audio/abcde/patches/patch-ae |  13 -------------
 doc/CHANGES                  |   3 ++-
 5 files changed, 26 insertions(+), 20 deletions(-)

diffs (93 lines):

diff -r a1203e128fe8 -r 4fde14c3f42e audio/abcde/Makefile
--- a/audio/abcde/Makefile      Mon Sep 15 10:54:58 2003 +0000
+++ b/audio/abcde/Makefile      Mon Sep 15 11:17:27 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2003/07/17 21:21:53 grant Exp $
+# $NetBSD: Makefile,v 1.17 2003/09/15 11:17:27 agc Exp $
 
 DISTNAME=      abcde-2.1.4
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    audio
 MASTER_SITES=  http://www.hispalinux.es/~data/files/
 DISTFILES=     ${DISTNAME:S/-/_/}.orig.tar.gz
diff -r a1203e128fe8 -r 4fde14c3f42e audio/abcde/distinfo
--- a/audio/abcde/distinfo      Mon Sep 15 10:54:58 2003 +0000
+++ b/audio/abcde/distinfo      Mon Sep 15 11:17:27 2003 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.18 2003/07/12 15:25:53 wiz Exp $
+$NetBSD: distinfo,v 1.19 2003/09/15 11:17:27 agc Exp $
 
 SHA1 (abcde_2.1.4.orig.tar.gz) = 0d00d1ab462f38c449b575b17828bdc20c35ca65
 Size (abcde_2.1.4.orig.tar.gz) = 42945 bytes
 SHA1 (patch-ab) = 524452b3930c25351deee7a508f98bcd0f51a872
-SHA1 (patch-ac) = 50fdf70637493358d83d6ad8f25e9650de1d8bdc
+SHA1 (patch-ac) = a752b7f3e54c7bb2ed38b08c45c564428fedffba
 SHA1 (patch-ad) = d6aecd0279087d190fb2c467526dbc35496659e9
-SHA1 (patch-ae) = c184b8df4b2ed69ff0d695fbef15c9f1f32158ca
diff -r a1203e128fe8 -r 4fde14c3f42e audio/abcde/patches/patch-ac
--- a/audio/abcde/patches/patch-ac      Mon Sep 15 10:54:58 2003 +0000
+++ b/audio/abcde/patches/patch-ac      Mon Sep 15 11:17:27 2003 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-ac,v 1.13 2003/07/12 15:25:55 wiz Exp $
+$NetBSD: patch-ac,v 1.14 2003/09/15 11:17:28 agc Exp $
 
 --- abcde.orig Sun May 18 23:01:13 2003
 +++ abcde
+@@ -337,7 +337,7 @@
+                       do
+                               TRACKFILES="$TRACKFILES track$UTRACKNUM.wav"
+                       done
+-                      nice $ENCNICE $ENCODER $ENCODEROPTS --nogap $TRACKFILES
++                      nice $ENCNICE $MP3ENCODER $MP3ENCODEROPTS --nogap $TRACKFILES
+                       RETURN=$?
+                       if [ "$RETURN" != "0" ]; then
+                               echo "batch-encode: $ENCODER returned code $RETURN" >> errors
 @@ -1233,8 +1233,8 @@ if [ -z "$WAVOUTPUTDIR" ]; then
  fi
  
@@ -33,3 +42,13 @@
                ;;
        cdda2wav)
                CDROMREADER="$CDDA2WAV"
+@@ -1427,7 +1427,8 @@
+ do
+       # Cut off the command-line options we just added in
+       X=$(echo $X | cut -d' ' -f2)
+-      if [ "$(which $X)" = "" ]; then
++      Y="$(which $X | cut -d' ' -f1,2)"
++      if [ "$Y" = "" -o "$Y" = "no $X" ]; then
+               echo "abcde error: $X is not in your path." >&2
+               exit 1
+       elif [ ! -x $(which $X) ]; then
diff -r a1203e128fe8 -r 4fde14c3f42e audio/abcde/patches/patch-ae
--- a/audio/abcde/patches/patch-ae      Mon Sep 15 10:54:58 2003 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2003/06/30 19:20:37 rafal Exp $
-
---- abcde.orig 2003-06-30 15:06:18.000000000 -0400
-+++ abcde      2003-06-30 15:07:32.000000000 -0400
-@@ -337,7 +337,7 @@
-                       do
-                               TRACKFILES="$TRACKFILES track$UTRACKNUM.wav"
-                       done
--                      nice $ENCNICE $ENCODER $ENCODEROPTS --nogap $TRACKFILES
-+                      nice $ENCNICE $MP3ENCODER $MP3ENCODEROPTS --nogap $TRACKFILES
-                       RETURN=$?
-                       if [ "$RETURN" != "0" ]; then
-                               echo "batch-encode: $ENCODER returned code $RETURN" >> errors
diff -r a1203e128fe8 -r 4fde14c3f42e doc/CHANGES
--- a/doc/CHANGES       Mon Sep 15 10:54:58 2003 +0000
+++ b/doc/CHANGES       Mon Sep 15 11:17:27 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.3384 2003/09/15 10:54:58 adam Exp $
+$NetBSD: CHANGES,v 1.3385 2003/09/15 11:18:27 agc Exp $
 
 Changes to the packages collection and infrastructure in 2003:
 
@@ -3701,3 +3701,4 @@
        Updated lout to 3.26 [agc 2003-09-15]
        Updated wine to 20030911 [adam 2003-09-15]
        Updated papersize to 1.0.8 [agc 2003-09-15]
+       Updated abcde to 2.1.4nb4 [agc 2003-09-15]



Home | Main Index | Thread Index | Old Index