Your message dated Fri, 29 Jan 2016 21:50:39 +0000
with message-id <e1apgwb-0006fe...@franck.debian.org>
and subject line Bug#803805: fixed in chromaprint 1.2-2
has caused the Debian Bug report #803805,
regarding chromaprint: FTBFS with FFmpeg 2.9
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 ow...@bugs.debian.org
immediately.)


-- 
803805: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803805
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: chromaprint
Version: 1.2-1
Severity: important
Tags: patch
User: pkg-multimedia-maintainers@lists.alioth.debian.org
Usertags: ffmpeg2.9

Dear Maintainer,

your package fails to build with the upcoming ffmpeg 2.9.
This bug will become release-critical at some point when the
ffmpeg2.9 transition gets closer.

Attached is a patch replacing the deprecated functionality.
It also works with ffmpeg 2.8.
Please apply this patch and forward it upstream, if necessary.

These changes have little regression potential.

Best regards,
Andreas

diff --git a/debian/patches/ffmpeg_2.9.patch b/debian/patches/ffmpeg_2.9.patch
new file mode 100644
index 0000000..f5fd17e
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,44 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
+Last-Update: <2015-11-02>
+
+--- chromaprint-1.2.orig/examples/fpcalc.c
++++ chromaprint-1.2/examples/fpcalc.c
+@@ -17,10 +17,6 @@
+ #define MAX(a, b) ((a) > (b) ? (a) : (b))
+ #define MIN(a, b) ((a) < (b) ? (a) : (b))
+ 
+-#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 28, 0)
+-#define avcodec_free_frame av_freep
+-#endif
+-
+ int decode_audio_file(ChromaprintContext *chromaprint_ctx, const char *file_name, int max_length, int *duration)
+ {
+ 	int ok = 0, remaining, length, consumed, codec_ctx_opened = 0, got_frame, stream_index;
+@@ -131,7 +127,7 @@ int decode_audio_file(ChromaprintContext
+ 	remaining = max_length * codec_ctx->channels * codec_ctx->sample_rate;
+ 	chromaprint_start(chromaprint_ctx, codec_ctx->sample_rate, codec_ctx->channels);
+ 
+-	frame = avcodec_alloc_frame();
++	frame = av_frame_alloc();
+ 
+ 	while (1) {
+ 		if (av_read_frame(format_ctx, &packet) < 0) {
+@@ -139,7 +135,7 @@ int decode_audio_file(ChromaprintContext
+ 		}
+ 
+ 		if (packet.stream_index == stream_index) {
+-			avcodec_get_frame_defaults(frame);
++			av_frame_unref(frame);
+ 
+ 			got_frame = 0;
+ 			consumed = avcodec_decode_audio4(codec_ctx, frame, &got_frame, &packet);
+@@ -196,7 +192,7 @@ finish:
+ 
+ done:
+ 	if (frame) {
+-		avcodec_free_frame(&frame);
++		av_frame_free(&frame);
+ 	}
+ 	if (dst_data[0]) {
+ 		av_freep(&dst_data[0]);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f762d21
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: chromaprint
Source-Version: 1.2-2

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 803...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramac...@debian.org> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 29 Jan 2016 21:46:05 +0100
Source: chromaprint
Binary: libchromaprint-dev libchromaprint0 libchromaprint-tools
Architecture: source
Version: 1.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Sebastian Ramacher <sramac...@debian.org>
Description:
 libchromaprint-dev - audio fingerprinting library - development files
 libchromaprint-tools - audio fingerprinting library - tools
 libchromaprint0 - audio fingerprint library
Closes: 803805
Changes:
 chromaprint (1.2-2) unstable; urgency=medium
 .
   * Team upload.
   * debian/control:
     - Update Homepage.
     - Update and Vcs-*.
     - Bump Standards Version.
   * debian/patches/remove-deprecated-lavc-APIs.patch: Apply upstream patch to
     fix FTBFS with ffmpeg 2.9/3.0 (Closes: #803805)
Checksums-Sha1:
 c04222d7329158d1551a396bea42368baaec5674 2252 chromaprint_1.2-2.dsc
 221b9ee4ee633cb471f48a1268e88110264a4603 4860 chromaprint_1.2-2.debian.tar.xz
Checksums-Sha256:
 c5e5c3bc4d3052732ec0cc5faf1a9d5623d94152fbf96c1cc1b9259ec9408607 2252 
chromaprint_1.2-2.dsc
 710c23eec9d87ac066d211ee4fa9e85e28220a21b462b1e45d56087002fa214b 4860 
chromaprint_1.2-2.debian.tar.xz
Files:
 2c76101456f4af2333d9092f2dbcd1a7 2252 libs optional chromaprint_1.2-2.dsc
 13260698da4be38d3881e867361f6d79 4860 libs optional 
chromaprint_1.2-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWq8+8AAoJEGny/FFupxmTBQEP/Agthv2YIwSRLAYgrklazWXL
O19KW3CWSKCungmNkokdsWxgXT42+mN7K9pY69kb7zPi35ovmZ8lWmgoQiJLzZEh
vDhp4OwDnASevgFs06Hwjb/9Mw4vvTGri+/v9CaiAYRlfWCNvd+KOKvDXtsgcpd8
NIVgD4Sx/tpYNImx1bzJ7hgZacJhtB/5oBd+wpGMHx6M/YI451TcEwXykHLykojv
ksHMKiOYq02X08Jwa4o92JXE5D0COBLoRueC4469zSiVKqVrpGr/dCd4Wc8jj4u9
z6FNfcK3i9vE2ofTR5mnxphMs7pbMzCTSG42dxBAMDwvy4mEsKbxmvnB/oyDHl/B
qI4ujJqHp41M1b5Ur8OcKI40uafKLWvxqqA1zltpaE2m4Ne6qEjrP7/Zxu1e59x2
BpC05jun2O6LbA8ah7HhATCqZV1UYS5dSl4t6ZZGMmA2MsXwbLsrLIgslUMtMIIH
2CK++azz2KSYr4Il49Ov5HfRg4N5q0UyxU8UxRJOVFEg3X/XT7uE+XIZbWi8xQOw
O3P7wU8bkIrrI3R6dVHT235TKtLgjX0k7x1VPS5JUs83tJ/7EQ+1PvXjJKNZjazJ
QVzokoP0zhktqVNCJxpk8EdS3xnKcJ7YraEhkqwSEoAUwHyXchdOIoOouW+GZ4sX
Eh/7GxPV/vLU9Ajiv0Ac
=G35C
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to