pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/abcde



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jan 18 09:52:13 UTC 2017

Modified Files:
        pkgsrc/audio/abcde: Makefile PLIST distinfo
        pkgsrc/audio/abcde/patches: patch-ab
Added Files:
        pkgsrc/audio/abcde/patches: patch-abcde-musicbrainz-tool

Log Message:
Install abcde-musicbrainz-tool and add dependencies for it.
Fix a bug in the script.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/audio/abcde/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/abcde/PLIST
cvs rdiff -u -r1.44 -r1.45 pkgsrc/audio/abcde/distinfo
cvs rdiff -u -r1.10 -r1.11 pkgsrc/audio/abcde/patches/patch-ab
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/abcde/patches/patch-abcde-musicbrainz-tool

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/abcde/Makefile
diff -u pkgsrc/audio/abcde/Makefile:1.61 pkgsrc/audio/abcde/Makefile:1.62
--- pkgsrc/audio/abcde/Makefile:1.61    Mon Jan 16 12:27:18 2017
+++ pkgsrc/audio/abcde/Makefile Wed Jan 18 09:52:13 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2017/01/16 12:27:18 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2017/01/18 09:52:13 wiz Exp $
 
 DISTNAME=      abcde-2.8
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  http://abcde.einval.com/download/
 
@@ -13,13 +14,15 @@ DEPENDS+=   cd-discid>=0.7:../../audio/cd-
 DEPENDS+=      eyeD3-[0-9]*:../../audio/eyeD3
 DEPENDS+=      id3-[0-9]*:../../audio/id3
 DEPENDS+=      cdparanoia>=3.0.9.7:../../audio/cdparanoia
+DEPENDS+=      p5-MusicBrainz-DiscID-[0-9]*:../../audio/p5-MusicBrainz-DiscID
+DEPENDS+=      p5-WebService-MusicBrainz-[0-9]*:../../net/p5-WebService-MusicBrainz
 # depend on cdrkit for icedax?
 DEPENDS+=      mkcue>=2.1:../../misc/mkcue
 
 NO_BUILD=      yes
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 
-USE_TOOLS+=    bash:run ftp:run gsed:run
+USE_TOOLS+=    bash:run ftp:run gsed:run perl:run
 REPLACE_BASH=  abcde cddb-tool
 REPLACE_PERL+= abcde-musicbrainz-tool
 
@@ -50,7 +53,7 @@ SUBST_SED.gsed=               -e "s, sed , ${TOOLS_PA
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/abcde ${DESTDIR}${PREFIX}/bin
        ${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${DESTDIR}${PREFIX}/bin
-#      ${INSTALL_SCRIPT} ${WRKSRC}/abcde-musicbrainz-tool ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/abcde-musicbrainz-tool ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${DESTDIR}${EGDIR}
        ${INSTALL_MAN} ${WRKSRC}/abcde.1 \

Index: pkgsrc/audio/abcde/PLIST
diff -u pkgsrc/audio/abcde/PLIST:1.5 pkgsrc/audio/abcde/PLIST:1.6
--- pkgsrc/audio/abcde/PLIST:1.5        Sun Jan  4 12:03:07 2015
+++ pkgsrc/audio/abcde/PLIST    Wed Jan 18 09:52:13 2017
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.5 2015/01/04 12:03:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/01/18 09:52:13 wiz Exp $
 bin/abcde
-@comment bin/abcde-musicbrainz-tool
+bin/abcde-musicbrainz-tool
 bin/cddb-tool
 man/man1/abcde.1
 man/man1/cddb-tool.1

Index: pkgsrc/audio/abcde/distinfo
diff -u pkgsrc/audio/abcde/distinfo:1.44 pkgsrc/audio/abcde/distinfo:1.45
--- pkgsrc/audio/abcde/distinfo:1.44    Mon Jan 16 12:27:18 2017
+++ pkgsrc/audio/abcde/distinfo Wed Jan 18 09:52:13 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.44 2017/01/16 12:27:18 wiz Exp $
+$NetBSD: distinfo,v 1.45 2017/01/18 09:52:13 wiz Exp $
 
 SHA1 (abcde-2.8.tar.gz) = 951071d3ed710d9e40dccaba9f47af2ff82b4c61
 RMD160 (abcde-2.8.tar.gz) = f080f1e499b8d6fec34d7777e5b396d01200682a
 SHA512 (abcde-2.8.tar.gz) = 2124b2fd4fcea984a258ebeffeb7654eecc92d62bb20e76f032ed2e0de5084e9afaf665cccf0b632983baeb572321ce6913e3a956c7865da40fecccc9d23243d
 Size (abcde-2.8.tar.gz) = 148444 bytes
-SHA1 (patch-ab) = eacbb4582c8dc74c6415adbb0af387aacce81ccc
+SHA1 (patch-ab) = 04771bb4d0ace2886fe7612a06b4476696d0429d
+SHA1 (patch-abcde-musicbrainz-tool) = 9cf135bb2682fa72a801ba1358098663370f9fc9

Index: pkgsrc/audio/abcde/patches/patch-ab
diff -u pkgsrc/audio/abcde/patches/patch-ab:1.10 pkgsrc/audio/abcde/patches/patch-ab:1.11
--- pkgsrc/audio/abcde/patches/patch-ab:1.10    Sat Apr 10 13:20:11 2010
+++ pkgsrc/audio/abcde/patches/patch-ab Wed Jan 18 09:52:13 2017
@@ -1,4 +1,6 @@
-$NetBSD: patch-ab,v 1.10 2010/04/10 13:20:11 sekiya Exp $
+$NetBSD: patch-ab,v 1.11 2017/01/18 09:52:13 wiz Exp $
+
+Adapt path in examplef or NetBSD.
 
 --- abcde.conf.orig    2006-10-02 03:26:11.000000000 +0900
 +++ abcde.conf 2010-04-10 10:03:49.000000000 +0900

Added files:

Index: pkgsrc/audio/abcde/patches/patch-abcde-musicbrainz-tool
diff -u /dev/null pkgsrc/audio/abcde/patches/patch-abcde-musicbrainz-tool:1.1
--- /dev/null   Wed Jan 18 09:52:13 2017
+++ pkgsrc/audio/abcde/patches/patch-abcde-musicbrainz-tool     Wed Jan 18 09:52:13 2017
@@ -0,0 +1,20 @@
+$NetBSD: patch-abcde-musicbrainz-tool,v 1.1 2017/01/18 09:52:13 wiz Exp $
+
+Fix undefined variable problem.
+
+--- abcde-musicbrainz-tool.orig        2017-01-14 00:53:48.000000000 +0000
++++ abcde-musicbrainz-tool
+@@ -92,12 +92,12 @@ if ($command =~ m/^id/) {
+     foreach my $release (@releases) {
+         my $a_artist = $release->artist()->name();
+         my $va = 0;
++        my $rel_year = "";
+         if ($a_artist =~ /Various Artists/) {
+             $va = 1;
+         }
+       if ($release->release_event_list()->count() > 0) {
+           my @events = @{$release->release_event_list()->events()};
+-          my $rel_year = "";
+           $rel_year =  substr($events[0]->date(),0,4);
+       }
+ 



Home | Main Index | Thread Index | Old Index