Your message dated Tue, 08 Mar 2016 22:10:49 +0000
with message-id <[email protected]>
and subject line Bug#803840: fixed in lynkeos.app 1.2-7.1
has caused the Debian Bug report #803840,
regarding lynkeos.app: 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 [email protected]
immediately.)


-- 
803840: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803840
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lynkeos.app
Version: 1.2-7
Severity: important
Tags: patch
User: [email protected]
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..b86d4bd
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,28 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <[email protected]>
+Last-Update: <2015-11-02>
+
+--- lynkeos.app-1.2.orig/Sources/ffmpeg_access.c
++++ lynkeos.app-1.2/Sources/ffmpeg_access.c
+@@ -59,7 +59,7 @@ int ffmpegNextFrame(FfmpegMovie* movie){
+ int ffmpegConvertCurrentFrame (FfmpegMovie* movie)
+ {
+   img_convert_ctx = sws_getContext (movie->pCodecCtx->width,
+-				    movie->pCodecCtx->height, PIX_FMT_RGB24,
++				    movie->pCodecCtx->height, AV_PIX_FMT_RGB24,
+ 				    movie->pCodecCtx->width,
+ 				    movie->pCodecCtx->height,
+ 				    movie->pCodecCtx->pix_fmt, SWS_BICUBIC,
+@@ -309,10 +309,10 @@ int ffmpegLoadMovie(const char* movieNam
+     pFrameRGB=av_frame_alloc();
+ 
+     // Determine required buffer size and allocate buffer
+-    numBytes=avpicture_get_size(PIX_FMT_RGB24, pCodecCtx->width,pCodecCtx->height);
++    numBytes=avpicture_get_size(AV_PIX_FMT_RGB24, pCodecCtx->width,pCodecCtx->height);
+     buffer = (uint8_t*) malloc(sizeof(uint8_t)*numBytes);
+     // Assign appropriate parts of buffer to image planes in pFrameRGB
+-    avpicture_fill((AVPicture *)pFrameRGB, buffer, PIX_FMT_RGB24,pCodecCtx->width, pCodecCtx->height);
++    avpicture_fill((AVPicture *)pFrameRGB, buffer, AV_PIX_FMT_RGB24,pCodecCtx->width, pCodecCtx->height);
+     
+     resultMovie->pFormatCtx = pFormatCtx;
+     resultMovie->pCodecCtx = pCodecCtx;
diff --git a/debian/patches/series b/debian/patches/series
index 3c2c27d..c71a761 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ libav-9.patch
 libav-10.patch
 format-security.patch
 gcc-warnings.patch
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: lynkeos.app
Source-Version: 1.2-7.1

We believe that the bug you reported is fixed in the latest version of
lynkeos.app, 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.
Sebastian Ramacher <[email protected]> (supplier of updated lynkeos.app 
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: SHA256

Format: 1.8
Date: Sun, 06 Mar 2016 22:46:15 +0100
Source: lynkeos.app
Binary: lynkeos.app
Architecture: source
Version: 1.2-7.1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNUstep maintainers 
<[email protected]>
Changed-By: Sebastian Ramacher <[email protected]>
Description:
 lynkeos.app - GNUstep app for processing planetary astronomical images
Closes: 803840
Changes:
 lynkeos.app (1.2-7.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Andreas Cadhalpun ]
   * Fix build with ffmpeg 3.0. (Closes: #803840)
Checksums-Sha1:
 7bfe0a89d3d470d07a91dec523d29c5930c9c497 2114 lynkeos.app_1.2-7.1.dsc
 6838908e4647890d791b7fec45f5a1712f599a42 14752 
lynkeos.app_1.2-7.1.debian.tar.xz
Checksums-Sha256:
 d835e504c082e60ac5f3b2d35cfdbfc94e704dac9e809faf7ce4afa2bfee340c 2114 
lynkeos.app_1.2-7.1.dsc
 ae9e0498ed9e141af62a382a7b39ef137cb6a24b2e1feb5bae47c3fc8e9c6fa9 14752 
lynkeos.app_1.2-7.1.debian.tar.xz
Files:
 e192fb8c90366f7d585028b8389105a0 2114 gnustep optional lynkeos.app_1.2-7.1.dsc
 f6497b1e9330ec4766d933cb2819273f 14752 gnustep optional 
lynkeos.app_1.2-7.1.debian.tar.xz

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

iQIcBAEBCAAGBQJW3KWnAAoJEGny/FFupxmTebMP/0jt4qLF1LwQWXCllCYfTFqH
DmYq361smx336rahjVoLCAs7P/9HmmY2MgcJmusBZJynbKj4lEk8fcG2ZtOpCfjG
hloPPtaGoQcUL+yOiWoH554C/4ulzBUzNoYP7Hn7bGXHjZQl8lynmN5guJ7BcWgP
Ezsd2vWPpwD+YwOtqXA/BokG6zfG/WEfTdVe2WmigaXTrh269jyP4EDzGrPVtiQL
gUnRwtScER0N4yIyI2aP6bDOg05G7NW/l3mEHnHzwVkJF1IzLUz8DCzhua5ImoD9
kZlBy2ES2d5bDKJm4Rmfq1YAsBCnBEzgzcwbNpMHZqzci9PH52LbECWFuj2MX2PQ
fFbxpUQohcuoJD3QB2t1yTzJXi3HRnwFH/pc1XcxaHckNmYSLMOvdeCyNevoute3
RvC1HAGN+GDWQsHs5mGI7NjpbBzri0BxkB0czyJWYJJ/uM8paugFuu/gg3rk/TrV
nkS2JQ3Q/LXDdvaR++a+/7OG741zm8zQm0g/WYzkk4RLnjHd3YSYOg3MrdnR4/UV
WM8Yi3KDfaugTGd2cwbu9kl60HWl5ZHlDLV/uarhCJTUcD2x32ZLTh7t5dZohCcn
NouBsxG1ThpzUsYkuICdu2gIqfibjg8n2UYSXokhIjv+bCGPl/Ud8zIGus3krFCB
QUE429k3GdRW6kCY+NN8
=HOpa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to