Your message dated Fri, 22 Feb 2013 06:47:32 +0000
with message-id <[email protected]>
and subject line Bug#692912: fixed in chromaprint 0.7-1
has caused the Debian Bug report #692912,
regarding chromaprint: FTBFS against libav9
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
692912: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692912
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chromaprint
Version: 0.6-2
Severity: important
Dear Maintainer,
Your package chromaprint current fails to build against libav9, which is
currently in experimental. Please review and discuss the attached patch
with your upstream.
Thanks,
Reinhard
-- System Information:
Debian Release: wheezy/sid
APT prefers raring-proposed
APT policy: (500, 'raring-proposed'), (500, 'raring')
Architecture: amd64 (x86_64)
Kernel: Linux 3.5.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Description: Fixes FTBFS against libav9
This patch updates the API usage against libav
Author: Reinhard Tartler <[email protected]>
---
Origin: Ubuntu
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: no
--- chromaprint-0.6.orig/examples/fpcalc.c
+++ chromaprint-0.6/examples/fpcalc.c
@@ -28,12 +28,12 @@ int decode_audio_file(ChromaprintContext
#endif
int16_t *buffer;
- if (av_open_input_file(&format_ctx, file_name, NULL, 0, NULL) != 0) {
+ if (avformat_open_input(&format_ctx, file_name, NULL, NULL) != 0) {
fprintf(stderr, "ERROR: couldn't open the file\n");
goto done;
}
- if (av_find_stream_info(format_ctx) < 0) {
+ if (avformat_find_stream_info(format_ctx, NULL) < 0) {
fprintf(stderr, "ERROR: couldn't find stream information in the file\n");
goto done;
}
@@ -60,7 +60,7 @@ int decode_audio_file(ChromaprintContext
goto done;
}
- if (avcodec_open(codec_ctx, codec) < 0) {
+ if (avcodec_open2(codec_ctx, codec, NULL) < 0) {
fprintf(stderr, "ERROR: couldn't open the codec\n");
goto done;
}
@@ -71,9 +71,9 @@ int decode_audio_file(ChromaprintContext
goto done;
}
- if (codec_ctx->sample_fmt != SAMPLE_FMT_S16) {
+ if (codec_ctx->sample_fmt != AV_SAMPLE_FMT_S16) {
#ifdef HAVE_AV_AUDIO_CONVERT
- convert_ctx = av_audio_convert_alloc(SAMPLE_FMT_S16, codec_ctx->channels,
+ convert_ctx = av_audio_convert_alloc(AV_SAMPLE_FMT_S16, codec_ctx->channels,
codec_ctx->sample_fmt, codec_ctx->channels, NULL, 0);
if (!convert_ctx) {
fprintf(stderr, "ERROR: couldn't create sample format converter\n");
@@ -133,7 +133,7 @@ int decode_audio_file(ChromaprintContext
if (convert_ctx) {
const void *ibuf[6] = { buffer1 };
void *obuf[6] = { buffer2 };
- int istride[6] = { av_get_bits_per_sample_format(codec_ctx->sample_fmt) / 8 };
+ int istride[6] = { av_get_bytes_per_sample(codec_ctx->sample_fmt) };
int ostride[6] = { 2 };
int len = buffer_size / istride[0];
if (av_audio_convert(convert_ctx, obuf, ostride, ibuf, istride, len) < 0) {
--- chromaprint-0.6.orig/src/fft_lib_avfft.h
+++ chromaprint-0.6/src/fft_lib_avfft.h
@@ -25,6 +25,7 @@
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavcodec/avfft.h>
+#include <libavutil/mem.h>
}
#include "combined_buffer.h"
--- End Message ---
--- Begin Message ---
Source: chromaprint
Source-Version: 0.7-1
We believe that the bug you reported is fixed in the latest version of
chromaprint, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Reinhard Tartler <[email protected]> (supplier of updated chromaprint package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 22 Feb 2013 07:08:44 +0100
Source: chromaprint
Binary: libchromaprint-dev libchromaprint0 libchromaprint-tools
Architecture: source i386
Version: 0.7-1
Distribution: experimental
Urgency: low
Maintainer: Reinhard Tartler <[email protected]>
Changed-By: Reinhard Tartler <[email protected]>
Description:
libchromaprint-dev - audio fingerprinting library - development files
libchromaprint-tools - audio fingerprinting library - tools
libchromaprint0 - audio fingerprint library
Closes: 692912
Changes:
chromaprint (0.7-1) experimental; urgency=low
.
[ Simon Chopin ]
* New upstream release
* Add fix-libav9-ftbfs patch for libav9 compatibility. (Closes: #692912)
Thanks to Reinhard Tartler.
.
[ Reinhard Tartler ]
* normalize fields with 'wrap-and-sort -as'
* update Maintainers field, add myself to uploaders
* make git-buildpackage work in branch 'exerimental'
Checksums-Sha1:
7cb2b06611a10164475926753d50fd5669124bf4 1614 chromaprint_0.7-1.dsc
ceb94f43fbdc7e8a2964d652ac8ef529c70f7758 543119 chromaprint_0.7.orig.tar.gz
e5c72aa68e8aa61ef9721f22a6a93901d7165d61 4619 chromaprint_0.7-1.debian.tar.gz
48930dcc018d56dd139070af963f399a099a4a11 7448 libchromaprint-dev_0.7-1_i386.deb
87ecace71344cdc3e2e5411daed8b151c76e922d 32300 libchromaprint0_0.7-1_i386.deb
d9e1b17785530dbeb012af6c75e06c74687b0ba7 9654
libchromaprint-tools_0.7-1_i386.deb
Checksums-Sha256:
1abe5ad7a315f0e840ef20f1b972973152c213675bc6ff77dea18a11b61679bb 1614
chromaprint_0.7-1.dsc
9d9b34931ba30f056721d9941615c3f67339787cc3d7d0495f051ad9b29ec28d 543119
chromaprint_0.7.orig.tar.gz
12caa6019d21c2d7d0bf5ea7656150ee2932d8ad78ad3c4aa5238e5f5fdc005a 4619
chromaprint_0.7-1.debian.tar.gz
7fc927020714406d32f1d9db87f1f634e9face057a56db1802cacb2fbf5c26f0 7448
libchromaprint-dev_0.7-1_i386.deb
9b721313ce1a62533856e27d21243ffb29757cb005d29245a4477c967887daad 32300
libchromaprint0_0.7-1_i386.deb
9e9e6abe10af0c580118f71b4ec8637d30499b6a3a759aa79598283011ab6ee0 9654
libchromaprint-tools_0.7-1_i386.deb
Files:
e7101f36e94a5c27a545b04419194226 1614 libs optional chromaprint_0.7-1.dsc
f559c89769b77a4d077ccafe0803c908 543119 libs optional
chromaprint_0.7.orig.tar.gz
08a6c3d6e08f93d8168222415949b235 4619 libs optional
chromaprint_0.7-1.debian.tar.gz
c17f854369b4ab56509fd956cff07b80 7448 libdevel optional
libchromaprint-dev_0.7-1_i386.deb
efe47a7a16e7d505375a847bf0ae55e6 32300 libs optional
libchromaprint0_0.7-1_i386.deb
1374ae0a8c7e2f0b7af06da1a7264cf4 9654 sound optional
libchromaprint-tools_0.7-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Debian Powered!
iEYEARECAAYFAlEnEGYACgkQmAg1RJRTSKRtcQCfUGQ4JbW2a1mU/6T0puUZZjxK
vDoAn1EuOXyABiayLjfjnD4YPzld7TVV
=aRX7
-----END PGP SIGNATURE-----
--- End Message ---