pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/abcmidi abcmidi: update to 20210221



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a64d14a065d0
branches:  trunk
changeset: 450450:a64d14a065d0
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Apr 17 07:46:52 2021 +0000

description:
abcmidi: update to 20210221

Unknown changes

diffstat:

 audio/abcmidi/DESCR                     |  16 ++++++++++--
 audio/abcmidi/Makefile                  |  14 ++++------
 audio/abcmidi/PLIST                     |   3 +-
 audio/abcmidi/distinfo                  |  14 ++++------
 audio/abcmidi/patches/patch-Makefile.in |  41 +++++---------------------------
 audio/abcmidi/patches/patch-ab          |  31 ------------------------
 audio/abcmidi/patches/patch-ac          |  13 ----------
 7 files changed, 34 insertions(+), 98 deletions(-)

diffs (191 lines):

diff -r 89b7f69222c8 -r a64d14a065d0 audio/abcmidi/DESCR
--- a/audio/abcmidi/DESCR       Sat Apr 17 07:37:23 2021 +0000
+++ b/audio/abcmidi/DESCR       Sat Apr 17 07:46:52 2021 +0000
@@ -1,3 +1,13 @@
-abcMIDI is a package of programs developed by James Allwright for
-processing ABC music notation files. It consists of several programs:
-abc2midi, abc2abc, yaps, and midi2abc.
+abcmidi contains a collection of command line utilities for working
+with abc music notation files.
+
+- abc2midi converts an abc file into a midi file.
+- abc2abc transposes the contents of an abc file to another key.
+- midi2abc converts a midi file into an abc file.
+- yaps renders the contents of an abc file into common music notation
+  and records it into a PostScript file.
+- mftext presents a textual representation of a midi file.
+- midicopy changes the contents of a midi file and records it in
+  a new midi file.
+- abcmatch searches a database of abc files for certain musical
+  patterns.
diff -r 89b7f69222c8 -r a64d14a065d0 audio/abcmidi/Makefile
--- a/audio/abcmidi/Makefile    Sat Apr 17 07:37:23 2021 +0000
+++ b/audio/abcmidi/Makefile    Sat Apr 17 07:46:52 2021 +0000
@@ -1,20 +1,18 @@
-# $NetBSD: Makefile,v 1.20 2020/01/26 05:26:08 rillig Exp $
+# $NetBSD: Makefile,v 1.21 2021/04/17 07:46:52 nia Exp $
 #
 
+ABCMIDIVER=    2021.02.21
 DISTNAME=      abcMIDI-${ABCMIDIVER}
-PKGNAME=       abcmidi-${ABCMIDIVER:S/-//g}
+PKGNAME=       ${DISTNAME:tl:S/.//g}
 CATEGORIES=    audio
-MASTER_SITES=  http://ifdo.ca/~seymour/runabc/
-MASTER_SITES+= http://ifdo.pugmarks.com/~seymour/backup/
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=abcmidi/}
 EXTRACT_SUFX=  .zip
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://abc.sourceforge.net/abcMIDI/
-COMMENT=       Music utilities for abc
+HOMEPAGE=      https://abcmidi.sourceforge.io/
+COMMENT=       Command line utilities for working with abc music notation files
 LICENSE=       gnu-gpl-v2
 
-ABCMIDIVER=    2014-12-25
-
 INSTALLATION_DIRS=     share/doc/${PKGBASE}/programming \
                        share/examples/${PKGBASE}
 
diff -r 89b7f69222c8 -r a64d14a065d0 audio/abcmidi/PLIST
--- a/audio/abcmidi/PLIST       Sat Apr 17 07:37:23 2021 +0000
+++ b/audio/abcmidi/PLIST       Sat Apr 17 07:46:52 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/01/23 00:02:48 mef Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/04/17 07:46:52 nia Exp $
 bin/abc2abc
 bin/abc2midi
 bin/abcmatch
@@ -20,6 +20,7 @@
 share/doc/abcmidi/abcmatch.txt
 share/doc/abcmidi/gpl.txt
 share/doc/abcmidi/history.txt
+share/doc/abcmidi/midi2abc-stats.txt
 share/doc/abcmidi/programming/abc2midi.txt
 share/doc/abcmidi/programming/coding.txt
 share/doc/abcmidi/programming/midi2abc.txt
diff -r 89b7f69222c8 -r a64d14a065d0 audio/abcmidi/distinfo
--- a/audio/abcmidi/distinfo    Sat Apr 17 07:37:23 2021 +0000
+++ b/audio/abcmidi/distinfo    Sat Apr 17 07:46:52 2021 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.14 2015/11/03 01:12:24 agc Exp $
+$NetBSD: distinfo,v 1.15 2021/04/17 07:46:52 nia Exp $
 
-SHA1 (abcMIDI-2014-12-25.zip) = a8d9509b32131015f38e0a31432b6c8990607888
-RMD160 (abcMIDI-2014-12-25.zip) = 1d223bf35ddc07302b11d31773a30e375c16cbb1
-SHA512 (abcMIDI-2014-12-25.zip) = 3801a35c23d3bc145c50d652f61c2ffd245cb78d080836985dd6f495d37a31742b2bfd372c7d8ccf12d75fd2d7ccd70a119eb03f2f7abdc45ff666b26d535968
-Size (abcMIDI-2014-12-25.zip) = 515102 bytes
-SHA1 (patch-Makefile.in) = 46cff6cde3c32b0e54e200f2eabc148422d68f26
-SHA1 (patch-ab) = 27df5bb0d637336d7c244c5c9ac9c115bfd9ed24
-SHA1 (patch-ac) = 54e42d69173162ce991564c592e5be1fcc8cc0fa
+SHA1 (abcMIDI-2021.02.21.zip) = 310b027d405a3ed81d600bd505dca68988296026
+RMD160 (abcMIDI-2021.02.21.zip) = 33561d2640bd376e3527bee81b4de08fbb6f9c5d
+SHA512 (abcMIDI-2021.02.21.zip) = 337f0504bf5da140c90c6c9eac86fcaff692f08450d9796161eedaf5466f5a52a478dbe9773d2e2af799f6039c5e348149b31b3a320feec45f9ce0b986e37381
+Size (abcMIDI-2021.02.21.zip) = 602458 bytes
+SHA1 (patch-Makefile.in) = 85955fde3d3cc3184130fe9be87aa29e95691da2
diff -r 89b7f69222c8 -r a64d14a065d0 audio/abcmidi/patches/patch-Makefile.in
--- a/audio/abcmidi/patches/patch-Makefile.in   Sat Apr 17 07:37:23 2021 +0000
+++ b/audio/abcmidi/patches/patch-Makefile.in   Sat Apr 17 07:46:52 2021 +0000
@@ -1,42 +1,15 @@
-$NetBSD: patch-Makefile.in,v 1.3 2011/10/27 09:56:14 ryoon Exp $
+$NetBSD: patch-Makefile.in,v 1.4 2021/04/17 07:46:52 nia Exp $
 
-* Fix double prefix problem
-* Adjust docdir
+Install man pages to mandir.
 
---- Makefile.in.orig   2011-08-19 16:20:25.000000000 +0000
+--- Makefile.in.orig   2020-10-19 12:07:59.000000000 +0000
 +++ Makefile.in
-@@ -50,7 +50,7 @@ VPATH = @srcdir@
- bindir = @bindir@
+@@ -51,7 +51,7 @@ bindir = @bindir@
  libdir = @libdir@
  datadir = @datarootdir@
--docdir = @prefix@/doc
-+docdir = @prefix@/share/doc/abcmidi
- mandir=@mandir@/man1
+ docdir = @datarootdir@/doc/abcmidi
+-mandir = @datarootdir@/man/man1
++mandir = @mandir@/man1
  
  binaries=abc2midi midi2abc abc2abc mftext yaps midicopy abcmatch
-@@ -140,17 +140,17 @@ clean :
-       rm *.o ${binaries}
  
- install: abc2midi midi2abc abc2abc mftext midicopy yaps abcmatch
--      test -d $(DESTDIR)${prefix}/${bindir} || mkdir -p $(DESTDIR)${prefix}/${bindir}
--      $(INSTALL) -m 755 ${binaries} $(DESTDIR)${prefix}/${bindir}
-+      test -d $(DESTDIR)/${bindir} || mkdir -p $(DESTDIR)/${bindir}
-+      $(INSTALL) -m 755 ${binaries} $(DESTDIR)/${bindir}
- 
-       # install documentation
-       test -d $(DESTDIR)${PREFIX}/share/doc/abcmidi || mkdir -p $(DESTDIR)${prefix}/${docdir}
--      $(INSTALL) -m 644 doc/*.txt $(DESTDIR)${prefix}/${docdir}
--      $(INSTALL) -m 644 doc/AUTHORS $(DESTDIR)${prefix}/${docdir}
--      $(INSTALL) -m 644 doc/CHANGES $(DESTDIR)${prefix}/${docdir}
--      $(INSTALL) -m 644 VERSION $(DESTDIR)${prefix}/${docdir}
-+      $(INSTALL) -m 644 doc/*.txt $(DESTDIR)/${docdir}
-+      $(INSTALL) -m 644 doc/AUTHORS $(DESTDIR)/${docdir}
-+      $(INSTALL) -m 644 doc/CHANGES $(DESTDIR)/${docdir}
-+      $(INSTALL) -m 644 VERSION $(DESTDIR)/${docdir}
- 
-       # install manpages
--      test -d $(DESTDIR)${prefix}/${mandir} || mkdir -p $(DESTDIR)${prefix}/${mandir};
--      $(INSTALL) -m 644 doc/*.1 $(DESTDIR)${prefix}/${mandir}
-+      test -d $(DESTDIR)/${mandir} || mkdir -p $(DESTDIR)/${mandir};
-+      $(INSTALL) -m 644 doc/*.1 $(DESTDIR)/${mandir}
- 
diff -r 89b7f69222c8 -r a64d14a065d0 audio/abcmidi/patches/patch-ab
--- a/audio/abcmidi/patches/patch-ab    Sat Apr 17 07:37:23 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2011/02/17 13:54:12 ryoon Exp $
-
---- drawtune.c.orig    2010-02-08 16:36:39.000000000 +0000
-+++ drawtune.c
-@@ -492,7 +492,7 @@ char* s;
-   double x;
-   char units[40];
- 
--  count = sscanf(s, "%lf%s", &x, units);
-+  count = sscanf(s, "%lf%39s", &x, units);
-   if (count > 0) {
-     if ((count >= 2) && (strncmp(units, "cm", 2) == 0)) {
-       x = x*28.3;
-@@ -1956,7 +1956,7 @@ static void define_font(struct font* the
-   char fontname[80];
-   int fontsize, params;
-    
--  params = sscanf(s, "%s %d", fontname, &fontsize);
-+  params = sscanf(s, "%79s %d", fontname, &fontsize);
-   if (params >= 1) {
-     if (strcmp(fontname, "-") != 0) {
-       if (thefont->name != NULL) {
-@@ -1980,7 +1980,7 @@ char *s;
-   int result;
- 
-   p[0] = '\0';
--  sscanf(s, " %10s", p);
-+  sscanf(s, " %9s", p);
-   result = 1;
-   if ((strcmp(p, "0") == 0) || (strcmp(p, "no") == 0) || 
-       (strcmp(p, "false") == 0)) {
diff -r 89b7f69222c8 -r a64d14a065d0 audio/abcmidi/patches/patch-ac
--- a/audio/abcmidi/patches/patch-ac    Sat Apr 17 07:37:23 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2011/02/17 13:54:12 ryoon Exp $
-
---- yapstree.c.orig    2010-12-12 15:18:56.000000000 +0000
-+++ yapstree.c
-@@ -1485,7 +1485,7 @@ char *str; /* string following first wor
-     };
-   };
-   if (strcmp(p, "vskip") == 0) {
--    count = sscanf(s, "%lf%s", &vspace, units);
-+    count = sscanf(s, "%lf%79s", &vspace, units);
-     if (count > 0) {
-       if ((count >= 2) && (strncmp(units, "cm", 2) == 0)) {
-         vspace = vspace*28.3;



Home | Main Index | Thread Index | Old Index