From cd04e59f18ce2f01d183cbad387d04bacb90c098 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 24 Aug 2016 09:59:31 +0000 Subject: Updated id3 to 1.0.0. 1.0.0 ----- - Development taken over by Peter Pentchev. - Import a Debian patch by Stefan Ott to avoid backquotes in the usage string. - Import a Debian patch by Stefan Ott and Peter Pentchev to let the compiler and linker flags be overridden. - Let the install program and the strip flag also be overridden. - Check some more functions' return values for errors. - Add some preprocessor and compiler flags to specify certain POSIX and C environment standards. - Reorder the #include statements. - Also include for strncasecmp(). - Mark the list of genres in genre.h as "const char". - Add a lot of GCC-specific compiler warning flags. - Use the err(3) and warn(3) functions, they're portable enough. - Mark several global variables as static. - Break the display of the ID3 tags out into a separate function. - Use "return" from main(), remove unreachable "break" statements. - Avoid possible out-of-bound copying when storing command-line arguments into the new tag structure. - Expect a C99 compiler and reduce the scope of some variables. - Use the C99 "bool" type for, well, boolean flags. - Convert the id3.1 manual page to the mdoc format. - Fix the fields length in the manual page - only the comment is limited to 28 characters, the rest of the text fields are at 30. - Use the more common "file..." instead of "file1 [file2 [file3...]]" - Fill in some commonly-used manual page sections. - Validate number-to-string conversions for the genre and track number. - Fix a signedness error in the track number display. --- audio/id3/Makefile | 12 +++++------- audio/id3/distinfo | 14 +++++++------- audio/id3/patches/patch-aa | 23 ++++++----------------- audio/id3/patches/patch-ab | 20 ++++++++++---------- 4 files changed, 28 insertions(+), 41 deletions(-) (limited to 'audio/id3') diff --git a/audio/id3/Makefile b/audio/id3/Makefile index 97612fdea2e..22c0f1944c4 100644 --- a/audio/id3/Makefile +++ b/audio/id3/Makefile @@ -1,15 +1,13 @@ -# $NetBSD: Makefile,v 1.11 2016/04/20 12:10:26 nros Exp $ +# $NetBSD: Makefile,v 1.12 2016/08/24 09:59:31 wiz Exp $ -DISTNAME= id3_0.15.orig -PKGNAME= id3-0.15 +DISTNAME= id3-1.0.0 CATEGORIES= audio -MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/id3/} +MASTER_SITES= https://devel.ringlet.net/files/audio/id3/ +EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org -#HOMEPAGE= http://packages.qa.debian.org/i/id3.html +HOMEPAGE= https://devel.ringlet.net/audio/id3/ COMMENT= ID3 v1.1 tag editor LICENSE= gnu-gpl-v2 -WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} - .include "../../mk/bsd.pkg.mk" diff --git a/audio/id3/distinfo b/audio/id3/distinfo index aeed868394d..a40efd0525e 100644 --- a/audio/id3/distinfo +++ b/audio/id3/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.5 2015/11/03 01:12:35 agc Exp $ +$NetBSD: distinfo,v 1.6 2016/08/24 09:59:31 wiz Exp $ -SHA1 (id3_0.15.orig.tar.gz) = 5095c2e8963071776adf10df92d94b3fa8934dd8 -RMD160 (id3_0.15.orig.tar.gz) = 85a84f94012971bd79828dee179ffe171fe2eb07 -SHA512 (id3_0.15.orig.tar.gz) = b99f3608fc5494863ddf71b5d15505ea952453777090deb82ea469c1c8ed8cc794907d2fffcd4c5a0aaf6ede260103cd9e720e06244877934b22dfa88e1f2cd0 -Size (id3_0.15.orig.tar.gz) = 12871 bytes -SHA1 (patch-aa) = 2c3b4f97300489ba7c2ff3d47cbb6654b00abb70 -SHA1 (patch-ab) = e9343a34088e6ca9bbb0315399e9c8e604546c54 +SHA1 (id3-1.0.0.tar.xz) = 26bf0cd599f4754adb453189598df9ce68cce2ec +RMD160 (id3-1.0.0.tar.xz) = 6616235d06c815357369cd339bb2f50579d9776e +SHA512 (id3-1.0.0.tar.xz) = 94e88c3a47118bdd2778cc64f5ea009d1a3a872431be945f0dab2f5cbd4b5c82dc61d39049ff1f528ab0f013ccd0e938a856d33d1bda5bc96ecfb9c4284a6e55 +Size (id3-1.0.0.tar.xz) = 13596 bytes +SHA1 (patch-aa) = 48ded9b7447c8d10f56500ef20a52c5a4a587376 +SHA1 (patch-ab) = bab24712e77be69ca83dc2b22761a361fab30d60 diff --git a/audio/id3/patches/patch-aa b/audio/id3/patches/patch-aa index 750f2a70aa5..6deb288ef8d 100644 --- a/audio/id3/patches/patch-aa +++ b/audio/id3/patches/patch-aa @@ -1,20 +1,9 @@ -$NetBSD: patch-aa,v 1.3 2008/11/24 12:04:15 obache Exp $ +$NetBSD: patch-aa,v 1.4 2016/08/24 09:59:31 wiz Exp $ ---- Makefile.orig 2000-09-23 03:08:39.000000000 +0000 +--- Makefile.orig 2016-08-13 22:39:26.000000000 +0000 +++ Makefile -@@ -3,17 +3,17 @@ VERSION = 0.13 - - SHELL = /bin/sh - --CC = gcc --CFLAGS = -g -O2 --LDFLAGS = -+#CC = gcc -+#CFLAGS = -g -O2 -+#LDFLAGS = - LIBS = - DEFS = - INSTALL = /usr/bin/install -c +@@ -27,9 +27,9 @@ INSTALL ?= /usr/bin/install -c + STRIP ?= -s # Installation directories -prefix = ${DESTDIR}/usr @@ -25,12 +14,12 @@ $NetBSD: patch-aa,v 1.3 2008/11/24 12:04:15 obache Exp $ bindir = ${exec_prefix}/bin INCL = -@@ -34,7 +34,7 @@ clean: +@@ -50,7 +50,7 @@ clean: rm -f *~ *.o core $(PRODUCT) install: $(PRODUCT) - $(INSTALL) -d -m 755 $(bindir) -- $(INSTALL) -s -m 755 -o 0 $(PRODUCT) $(bindir) +- $(INSTALL) $(STRIP) -m 755 -o 0 $(PRODUCT) $(bindir) - $(INSTALL) -d -m 755 $(mandir) - $(INSTALL) -m 644 -o 0 $(PRODUCT).1 $(mandir) + $(BSD_INSTALL_PROGRAM_DIR) $(bindir) diff --git a/audio/id3/patches/patch-ab b/audio/id3/patches/patch-ab index 326a5769a65..1a248cc7527 100644 --- a/audio/id3/patches/patch-ab +++ b/audio/id3/patches/patch-ab @@ -1,12 +1,12 @@ -$NetBSD: patch-ab,v 1.1 2003/12/23 18:11:19 sketch Exp $ +$NetBSD: patch-ab,v 1.2 2016/08/24 09:59:31 wiz Exp $ ---- id3.c.orig 2003-12-23 12:32:28.874414092 +0000 -+++ id3.c 2003-12-23 12:32:49.648359969 +0000 -@@ -34,7 +34,6 @@ - - #include - #include --#include +--- id3.c.orig 2016-08-13 22:39:26.000000000 +0000 ++++ id3.c +@@ -18,7 +18,6 @@ + #include + #include #include - #include - #include +-#include + #include + #include + #include -- cgit v1.2.3