pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/mp3check update to 0.8.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64748661b8f8
branches:  trunk
changeset: 532810:64748661b8f8
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Aug 31 10:37:36 2007 +0000

description:
update to 0.8.3
changes:
--add-tag added: automatically add an ID3v1.1 tag to file which do
not have any ID3v1.x or v2.x tag, lots of handcrafted algorithms converted
2300 files rather successfully in 37 seconds, the code is obscure though

approved by tron

diffstat:

 audio/mp3check/Makefile         |   4 ++--
 audio/mp3check/distinfo         |  13 +++++--------
 audio/mp3check/patches/patch-ac |  13 -------------
 audio/mp3check/patches/patch-ae |  14 +++++++-------
 audio/mp3check/patches/patch-af |  13 -------------
 audio/mp3check/patches/patch-ag |  22 ----------------------
 6 files changed, 14 insertions(+), 65 deletions(-)

diffs (130 lines):

diff -r cf3309e655f6 -r 64748661b8f8 audio/mp3check/Makefile
--- a/audio/mp3check/Makefile   Fri Aug 31 10:36:24 2007 +0000
+++ b/audio/mp3check/Makefile   Fri Aug 31 10:37:36 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2007/01/07 09:13:47 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2007/08/31 10:37:36 drochner Exp $
 
-DISTNAME=      mp3check-0.8.0
+DISTNAME=      mp3check-0.8.3
 CATEGORIES=    audio
 MASTER_SITES=  http://jo.ath.cx/soft/mp3check/
 
diff -r cf3309e655f6 -r 64748661b8f8 audio/mp3check/distinfo
--- a/audio/mp3check/distinfo   Fri Aug 31 10:36:24 2007 +0000
+++ b/audio/mp3check/distinfo   Fri Aug 31 10:37:36 2007 +0000
@@ -1,12 +1,9 @@
-$NetBSD: distinfo,v 1.6 2005/12/11 22:03:39 joerg Exp $
+$NetBSD: distinfo,v 1.7 2007/08/31 10:37:36 drochner Exp $
 
-SHA1 (mp3check-0.8.0.tar.gz) = 3f75bbb59a86dc234acba8db2537cc2f86e52896
-RMD160 (mp3check-0.8.0.tar.gz) = c10fb30c1f0679322e80f92798c117f77e1c6755
-Size (mp3check-0.8.0.tar.gz) = 119644 bytes
+SHA1 (mp3check-0.8.3.tar.gz) = 4921a0f5250016abd8fe92d8ca4522c4c6e8b657
+RMD160 (mp3check-0.8.3.tar.gz) = da244159e2f6637d5bd1d386dbca6a2078329bdb
+Size (mp3check-0.8.3.tar.gz) = 163594 bytes
 SHA1 (patch-aa) = df47e94ed8a765d58da8fcabaf407df8931843e3
 SHA1 (patch-ab) = 86e1da01f1407f748dbd2fa8436e2d2cdaaf3f4d
-SHA1 (patch-ac) = 9befdd0ac3e96014a389c00180768b709e1ce3a4
 SHA1 (patch-ad) = ca416a54a1b751f7587f977288a99b5da061a12a
-SHA1 (patch-ae) = 02494d79eaf448d9b96f80e29ac22bcac52527c9
-SHA1 (patch-af) = 3b6c2f96b6f372553bdbf8332184c78fe20b2706
-SHA1 (patch-ag) = b29c5b8be30e0f971680381586e80650b3791547
+SHA1 (patch-ae) = 8858652cd376372411366d6c06e1e31e4d4b7590
diff -r cf3309e655f6 -r 64748661b8f8 audio/mp3check/patches/patch-ac
--- a/audio/mp3check/patches/patch-ac   Fri Aug 31 10:36:24 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2003/02/16 23:08:25 abs Exp $
-
---- texception.h.orig  Tue Dec  3 22:00:57 2002
-+++ texception.h
-@@ -57,7 +57,7 @@ class TException {
-       va_end(ap);
-    }
- #endif
--#if !(defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED)
-+#ifndef HAVE_STRDUP
-    static char *strdup(const char *str) { char *buf; vasprintf(&buf, "%s", str); return buf; }
- #endif
- };
diff -r cf3309e655f6 -r 64748661b8f8 audio/mp3check/patches/patch-ae
--- a/audio/mp3check/patches/patch-ae   Fri Aug 31 10:36:24 2007 +0000
+++ b/audio/mp3check/patches/patch-ae   Fri Aug 31 10:37:36 2007 +0000
@@ -1,26 +1,26 @@
-$NetBSD: patch-ae,v 1.2 2005/12/11 22:03:39 joerg Exp $
+$NetBSD: patch-ae,v 1.3 2007/08/31 10:37:37 drochner Exp $
 
---- tstring.cc.orig    2003-01-27 21:21:17.000000000 +0000
+--- tstring.cc.orig    2006-09-21 23:17:07.000000000 +0200
 +++ tstring.cc
-@@ -27,6 +27,7 @@
+@@ -23,6 +23,7 @@
+ #include <sys/stat.h>
  #include <unistd.h>
- #endif
  #include <errno.h>
 +#include "config.h"
  #include "tstring.h"
  #include "texception.h"
  
-@@ -714,12 +715,12 @@ void tstring::truncate(size_t max) {
+@@ -716,12 +717,12 @@ void tstring::truncate(size_t max) {
  
  void tstring::replaceUnprintable(bool only_ascii) {
     for(size_t i = 0; i < rep->len; i++) {
--      unsigned char& c = (unsigned char)(*rep)[i];
+-      unsigned char& c = (unsigned char &)(*rep)[i];
 -      if(!isprint(c)) {
 -       if(c < ' ') {
 -          c = '!';
 -       } else if(only_ascii || (c < 0xa0)) {
 -          c = '?';
-+      unsigned char *c = (unsigned char*)&(*rep)[i];
++      unsigned char *c = (unsigned char *)&(*rep)[i];
 +      if(!isprint(*c)) {
 +       if(*c < ' ') {
 +          *c = '!';
diff -r cf3309e655f6 -r 64748661b8f8 audio/mp3check/patches/patch-af
--- a/audio/mp3check/patches/patch-af   Fri Aug 31 10:36:24 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2005/12/11 22:03:39 joerg Exp $
-
---- tmap.h.orig        2005-12-11 21:46:52.000000000 +0000
-+++ tmap.h
-@@ -54,7 +54,7 @@ class tmap: public tmap_base<K,T> {
-    // new functionality
- 
-    /// return whether an element with key is contained or not
--   bool contains(const K& key) const { return find(key) != end(); }
-+   bool contains(const K& key) const { return find(key) != this->end(); }
-    /// access element read only (const)
- // g++ 2.95.2 does not allow this:
- // const T& operator[](const K& key) const { const_iterator i = find(key); if(i != end()) return i->second; else throw TNotFoundException(); } // throw(TNotFoundException)
diff -r cf3309e655f6 -r 64748661b8f8 audio/mp3check/patches/patch-ag
--- a/audio/mp3check/patches/patch-ag   Fri Aug 31 10:36:24 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2005/12/11 22:03:39 joerg Exp $
-
---- tvector.h.orig     2005-12-11 21:47:29.000000000 +0000
-+++ tvector.h
-@@ -60,13 +60,13 @@ class tvector: public tvector_base<T> {
-    /// append an element to the end
-    const tvector& operator += (const T& a) { push_back(a); return *this; }
-    /// append another tvector to the end
--   const tvector& operator += (const tvector& a) { insert(end(), a.begin(), a.end()); return *this; }
-+   const tvector& operator += (const tvector& a) { insert(tvector_base<T>::end(), a.begin(), a.end()); return *this; }
-    /// direct read only access, safe
--   const T& operator[](size_t i) const { if(i < size()) return tvector_base<T>::operator[](i); else throw TZeroBasedIndexOutOfRangeException(i, size()); } // 
throw(TZeroBasedIndexOutOfRangeException);
-+   const T& operator[](size_t i) const { if(i < this->size()) return tvector_base<T>::operator[](i); else throw TZeroBasedIndexOutOfRangeException(i, this->size()); } // 
throw(TZeroBasedIndexOutOfRangeException);
-    /// direct read/write access, automatically create new elements
--   T& operator[](size_t i) { if(i >= size()) operator+=(tvector(i - size() + 1)); return tvector_base<T>::operator[](i); }
-+   T& operator[](size_t i) { if(i >= this->size()) operator+=(tvector(i - this->size() + 1)); return tvector_base<T>::operator[](i); }
-    /// clear vector
--   void clear() { erase(begin(), end()); }
-+   void clear() { erase(this->begin(), this->end()); }
- };
- 
- 



Home | Main Index | Thread Index | Old Index