Your message dated Sun, 10 Jan 2016 00:18:54 +0000
with message-id <e1ai3ig-0006cv...@franck.debian.org>
and subject line Bug#803797: fixed in amarok 2.8.0-4
has caused the Debian Bug report #803797,
regarding amarok: 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.)


-- 
803797: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803797
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: amarok
Version: 2.8.0-3
Severity: important
Tags: patch
User: pkg-multimedia-maintain...@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..aee4e1c
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,87 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
+Last-Update: <2015-11-02>
+
+--- amarok-2.8.0.orig/src/musicbrainz/MusicDNSAudioDecoder.cpp
++++ amarok-2.8.0/src/musicbrainz/MusicDNSAudioDecoder.cpp
+@@ -223,7 +223,7 @@ MusicDNSAudioDecoder::decode( const QStr
+             {
+                 if( !decodedFrame )
+                 {
+-                    decodedFrame = avcodec_alloc_frame();
++                    decodedFrame = av_frame_alloc();
+                     if( !decodedFrame )
+                     {
+                         warning() << "Unable to allocate enough memory to decode file.";
+@@ -231,7 +231,7 @@ MusicDNSAudioDecoder::decode( const QStr
+                         break;
+                     }
+                     else
+-                        avcodec_get_frame_defaults( decodedFrame );
++                        av_frame_unref( decodedFrame );
+                 }
+ 
+                 decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
+@@ -267,7 +267,7 @@ MusicDNSAudioDecoder::decode( const QStr
+ 
+     avcodec_close( pCodecCtx );
+     avformat_close_input( &pFormatCtx );
+-    av_free( decodedFrame );
++    av_frame_free( &decodedFrame );
+ 
+     return data->duration();
+ }
+@@ -341,7 +341,7 @@ MusicDNSAudioDecoder::decode( const QStr
+             {
+                 if( !decodedFrame )
+                 {
+-                    decodedFrame = avcodec_alloc_frame();
++                    decodedFrame = av_frame_alloc();
+                     if( !decodedFrame )
+                     {
+                         warning() << "Unable to allocate enough memory to decode file.";
+@@ -349,7 +349,7 @@ MusicDNSAudioDecoder::decode( const QStr
+                         break;
+                     }
+                     else
+-                        avcodec_get_frame_defaults( decodedFrame );
++                        av_frame_unref( decodedFrame );
+                 }
+ 
+                 decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
+@@ -385,7 +385,7 @@ MusicDNSAudioDecoder::decode( const QStr
+ 
+     avcodec_close( pCodecCtx );
+     avformat_close_input( &pFormatCtx );
+-    av_free( decodedFrame );
++    av_frame_free( &decodedFrame );
+ 
+     return data->duration();
+ }
+@@ -459,7 +459,7 @@ MusicDNSAudioDecoder::decode( const QStr
+             {
+                 if( !decodedFrame )
+                 {
+-                    decodedFrame = avcodec_alloc_frame();
++                    decodedFrame = av_frame_alloc();
+                     if( !decodedFrame )
+                     {
+                         warning() << "Unable to allocate enough memory to decode file.";
+@@ -467,7 +467,7 @@ MusicDNSAudioDecoder::decode( const QStr
+                         break;
+                     }
+                     else
+-                        avcodec_get_frame_defaults( decodedFrame );
++                        av_frame_unref( decodedFrame );
+                 }
+ 
+                 decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
+@@ -503,7 +503,7 @@ MusicDNSAudioDecoder::decode( const QStr
+ 
+     avcodec_close( pCodecCtx );
+     av_close_input_file( pFormatCtx );
+-    av_free( decodedFrame );
++    av_frame_free( &decodedFrame );
+ 
+     return data->duration();
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 74320d5..605d3d8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ debian_mysqle_force_defaults_file.diff
 debian_find_mysql_fix.diff
 debian_clamz_is_runtime_dependency.diff
 valgrind_uninitialized_value
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: amarok
Source-Version: 2.8.0-4

We believe that the bug you reported is fixed in the latest version of
amarok, 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.
Diane Trout <di...@ghic.org> (supplier of updated amarok 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: SHA512

Format: 1.8
Date: Sat, 09 Jan 2016 15:49:03 -0800
Source: amarok
Binary: amarok amarok-common amarok-doc amarok-utils amarok-dbg
Architecture: source
Version: 2.8.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Diane Trout <di...@ghic.org>
Description:
 amarok     - easy to use media player based on the KDE Platform
 amarok-common - architecture independent files for Amarok
 amarok-dbg - debugging symbols for Amarok
 amarok-doc - Amarok documentation (Handbook)
 amarok-utils - utilities for Amarok media player
Closes: 803797
Changes:
 amarok (2.8.0-4) unstable; urgency=medium
 .
   * Update watch file.
   * Add ffmpeg-2.9.patch for FFmpeg 2.9 compatibility (Closes: #803797)
     Thanks: Andreas Cadhalpun for the patch.
Checksums-Sha1:
 3f8c39563b6cab735c84721f106c2327986b063b 2898 amarok_2.8.0-4.dsc
 4668b8700d90d96d8ee24b206961fe1bfeec2a8e 45944 amarok_2.8.0-4.debian.tar.xz
Checksums-Sha256:
 7719a9b9df8a4fdcc024faa8696ea50f0f79d4bad85e6455b44936d3e30197bc 2898 
amarok_2.8.0-4.dsc
 0f16a9a38bacae64a21585f8000232d15df54614b921f49b188115164c463a8a 45944 
amarok_2.8.0-4.debian.tar.xz
Files:
 c39559af7d72921b00fa6ccd2775b2e7 2898 sound optional amarok_2.8.0-4.dsc
 f086e3c52ca2da8fc09715f8bb2522ff 45944 sound optional 
amarok_2.8.0-4.debian.tar.xz

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

iQIcBAEBCgAGBQJWkZyLAAoJEJkNODZzNNdwzBQP/3xiy6R1CnUnrWQ7ZS0Ck46l
MZ7JNK/0h3dS/vWnogc72a+WRdw2dHdLZj9oanCDUz6dDpN8zmJIHGK1f00BrWoo
Hq0t2I4iqfDWU4y4agOtb17LGplxrdbvOCOIC6WOlxrBRTEECDJkALe+XhF4cd8m
k2x11byrKTkPgl2T5IXKDZeIuzU5YHQO4JGHxxr+AnBIcmsMiMCj/GfWKfiuiVcz
YKqVcDBRbot9mIxexzDndVmc5FE9YeIz7fc0iH03ZafeoObpLVD+OcHQXGsB+Ift
Dx0hH7QCFFRhXD4FVF34fg+qdfhyPSA1zH2QNTqtBQiuexMut/eQ+WLr5ThTfNCX
4ypQTBhLFHaldoMxchVK76ORTLmTcW/fKcwMWICTqKeA/eOm+c/9tjHkPRlTaM30
kNYm6/TnVBj41m4Un30GP3QH4KOw4F0ftGnISJRCsryKpFPB7NHfCe7g9n2hkPKF
dRONubp/kzMuzAhOEiB1tY52sjxhaK+f3vrNr1Mm9UKc+boAqsL9Bhjmv92sC34V
DN2gmoTbcCC3MJvW782R98wg5KU6sBHgn8wVIR9BINX7M5Cu1DSo3GRLwsBFvQgS
2k4wVZReIsHG+aF7x2j0GMfQPr8VYTGVYMpMqiYpbgUcFtivudmEWg+YGOyo3K9R
Sc6kjKVZ5H0ERmMzZ/YR
=GfM/
-----END PGP SIGNATURE-----

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

Reply via email to