pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/kid3
Module Name: pkgsrc
Committed By: wiz
Date: Mon Dec 19 09:20:11 UTC 2016
Modified Files:
pkgsrc/audio/kid3: distinfo
Added Files:
pkgsrc/audio/kid3/patches:
patch-src_plugins_acoustidimport_fingerprintcalculator.cpp
patch-src_plugins_acoustidimport_fingerprintcalculator.h
Log Message:
Fix build with chromaprint-1.4.x.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/audio/kid3/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.cpp \
pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/kid3/distinfo
diff -u pkgsrc/audio/kid3/distinfo:1.11 pkgsrc/audio/kid3/distinfo:1.12
--- pkgsrc/audio/kid3/distinfo:1.11 Sun Nov 1 09:13:16 2015
+++ pkgsrc/audio/kid3/distinfo Mon Dec 19 09:20:10 2016
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.11 2015/11/01 09:13:16 adam Exp $
+$NetBSD: distinfo,v 1.12 2016/12/19 09:20:10 wiz Exp $
SHA1 (kid3-3.3.0.tar.gz) = 5d9d02b2063b87023459fea0283444052978329e
RMD160 (kid3-3.3.0.tar.gz) = 2442e95724a71fcd63f6de5dba0d689c4acec8b4
SHA512 (kid3-3.3.0.tar.gz) = 42b238c2cc7023477606419a13bb677b8bfcc044a78ec36b8fa96db40ece8a2e623c581a2274d319c760fa6e101625dd282e1c7a39a63b8a2c6f0b1265be6eca
Size (kid3-3.3.0.tar.gz) = 1258378 bytes
SHA1 (patch-CMakeLists.txt) = 81e4ee22279dd9acf0619380f3b41e8316f7c2ea
+SHA1 (patch-src_plugins_acoustidimport_fingerprintcalculator.cpp) = 8ef550096f4a89c6074b94bb467832dfb2f1c98f
+SHA1 (patch-src_plugins_acoustidimport_fingerprintcalculator.h) = 9b9815db812d38eac65cc6c153c58ca86acd8dec
Added files:
Index: pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.cpp
diff -u /dev/null pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.cpp:1.1
--- /dev/null Mon Dec 19 09:20:11 2016
+++ pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.cpp Mon Dec 19 09:20:10 2016
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_plugins_acoustidimport_fingerprintcalculator.cpp,v 1.1 2016/12/19 09:20:10 wiz Exp $
+
+Fix build with chromaprint-1.4.x.
+
+--- src/plugins/acoustidimport/fingerprintcalculator.cpp.orig 2015-09-30 06:40:08.000000000 +0000
++++ src/plugins/acoustidimport/fingerprintcalculator.cpp
+@@ -26,7 +26,6 @@
+
+ #define __STDC_CONSTANT_MACROS
+ #include "fingerprintcalculator.h"
+-#include <chromaprint.h>
+ #include "config.h"
+ #include "abstractfingerprintdecoder.h"
+
+@@ -94,7 +93,7 @@ void FingerprintCalculator::startChromap
+ */
+ void FingerprintCalculator::feedChromaprint(QByteArray data)
+ {
+- if (!::chromaprint_feed(m_chromaprintCtx, data.data(), data.size() / 2)) {
++ if (!::chromaprint_feed(m_chromaprintCtx, (int16_t*)data.data(), data.size() / 2)) {
+ m_decoder->stop();
+ emit finished(QString(), 0, FingerprintCalculationFailed);
+ }
Index: pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.h
diff -u /dev/null pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.h:1.1
--- /dev/null Mon Dec 19 09:20:11 2016
+++ pkgsrc/audio/kid3/patches/patch-src_plugins_acoustidimport_fingerprintcalculator.h Mon Dec 19 09:20:10 2016
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_plugins_acoustidimport_fingerprintcalculator.h,v 1.1 2016/12/19 09:20:10 wiz Exp $
+
+Fix build with chromaprint-1.4.x.
+
+--- src/plugins/acoustidimport/fingerprintcalculator.h.orig 2015-09-30 06:40:08.000000000 +0000
++++ src/plugins/acoustidimport/fingerprintcalculator.h
+@@ -29,6 +29,7 @@
+
+ #include <QObject>
+ #include <QString>
++#include <chromaprint.h>
+
+ class AbstractFingerprintDecoder;
+
+@@ -110,7 +111,7 @@ private slots:
+ void finishChromaprint(int duration);
+
+ private:
+- void** m_chromaprintCtx;
++ ChromaprintContext* m_chromaprintCtx;
+ AbstractFingerprintDecoder* m_decoder;
+ };
+
Home |
Main Index |
Thread Index |
Old Index