Your message dated Thu, 05 Nov 2015 06:20:02 +0000
with message-id <[email protected]>
and subject line Bug#803827: fixed in jugglemaster 0.4-8
has caused the Debian Bug report #803827,
regarding jugglemaster: 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.)


-- 
803827: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803827
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jugglemaster
Version: 0.4-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..4161e5b
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,44 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <[email protected]>
+Last-Update: <2015-11-02>
+
+--- jugglemaster-0.4.orig/src/jmdlx/Makefile
++++ jugglemaster-0.4/src/jmdlx/Makefile
+@@ -10,7 +10,7 @@ INSTALL=install
+ 
+ ifeq ($(HAVE_FFMPEG), 1)
+ CXXFLAGS+=-DHAVE_AVCODEC_H
+-LIBS+=-lavcodec
++LIBS+=-lavcodec -lavutil
+ endif
+ 
+ ifeq ($(DEBUG), 1)
+--- jugglemaster-0.4.orig/src/jmdlx/print.cpp
++++ jugglemaster-0.4/src/jmdlx/print.cpp
+@@ -553,7 +553,7 @@ int Print::printMPEG() {
+ 	}
+ 
+ 	c= avcodec_alloc_context3(codec);
+-	picture= avcodec_alloc_frame();
++	picture= av_frame_alloc();
+ 
+ 	c->bit_rate = 400000;
+ 	c->width = jmlib->getImageWidth();
+@@ -563,7 +563,7 @@ int Print::printMPEG() {
+ 	c->time_base.num = 1;
+ 	c->gop_size = 30;
+ 	c->max_b_frames=1;
+-	c->pix_fmt = PIX_FMT_YUV420P;
++	c->pix_fmt = AV_PIX_FMT_YUV420P;
+ 
+ 	if (avcodec_open2(c, codec, NULL) < 0) {
+ 		return(1);
+@@ -653,7 +653,7 @@ int Print::printMPEG() {
+ 
+ 	avcodec_close(c);
+ 	free(c);
+-	free(picture);
++	av_frame_free(&picture);
+ 
+ 	fclose(outputfile);
+ 	return(0);
diff --git a/debian/patches/series b/debian/patches/series
index 49df5ba..0db2cc2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@ loadavg.patch
 libav10.patch
 include-header-for-memset.patch
 wx3.0-compat.patch
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: jugglemaster
Source-Version: 0.4-8

We believe that the bug you reported is fixed in the latest version of
jugglemaster, 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.
Helmut Grohne <[email protected]> (supplier of updated jugglemaster 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: SHA512

Format: 1.8
Date: Thu, 05 Nov 2015 07:12:45 +0100
Source: jugglemaster
Binary: aajm jmdlx
Architecture: source
Version: 0.4-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Helmut Grohne <[email protected]>
Description:
 aajm       - ASCII art version of jugglemaster
 jmdlx      - jugglemaster deluxe using wxWidgets
Closes: 803827
Changes:
 jugglemaster (0.4-8) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Remove *.desktop files to comply with CTTE #741573: The new policy
     requires .desktop files to come with icons, so the present ones will
     become non-compliant. Then the CTTE ruling requires that either the .menu
     or the .desktop files are to be removed. Thus remove the broken ones.
   * Declare compliance with Debian policy 3.9.6: No changes needed.
 .
   [ Andreas Cadhalpun ]
   * Fix build against ffmpeg 2.9. (Closes: #803827)
Checksums-Sha1:
 f93691cc18de450eabe7d6b42c14c1525d3a5e23 2016 jugglemaster_0.4-8.dsc
 ccb8524eafd787e8be88c5b025808ee5eab97944 19324 jugglemaster_0.4-8.debian.tar.xz
Checksums-Sha256:
 77ff7da71057a343fbad432288756a2bb794eb63961460dc34ad2f83dbef6b09 2016 
jugglemaster_0.4-8.dsc
 b2b906e97d425c0507ffb4f5628915fb07084308611c81eac9515601cb31fc4e 19324 
jugglemaster_0.4-8.debian.tar.xz
Files:
 9caac671afe54641250c000d86f5aebe 2016 games extra jugglemaster_0.4-8.dsc
 59b8d8a565b89eca15f2a92eb3c40702 19324 games extra 
jugglemaster_0.4-8.debian.tar.xz

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

iQIcBAEBCgAGBQJWOvOiAAoJEC0aqs8kRERCp/YP/0Wh0ygmZBmdAu0X66cNMwww
g/0Fh1ruk3UHBbjW1Ww/8EeN1OHkSKE8t4zZMPwjpfQnpuMKSVdLmmAx7WIbUGHx
7P3Wrd5lNUJ41zpkKfrZKn1U0mubn29QzD0+/EXm+F+ZSr5YVCfQgZzUiOwqK0sC
AUR3Vb/FLv0ffbgOn66ARZWCpeKdekJGkxukREHbTM3h9IJNvUOPn02vhcat+y+t
W0wJaWtUu9QKgrXehrf/ZQDdGmXGkYF3y2aqXyb+q3liObnPK+HnS+arajU1K6Yk
p3D3YlirVOKIM/TFuoEvHthgzxwZeltkrK4lCDoCKkOwa97rBUQP5oW/gWLQYVeO
cXyoKxMT7mLtPeF1SbcbiBgiQjODwkjVnOdkquFVC41DWGU6sewcqTvkEMBoduv/
Zl0TZdCp6yBiyZvBaZXaUl5zi4n5Bsed2+m0VaASbNbDTcwAouA1LvdgVD/WA/4T
PBYSCrOprFUtFNbqxA4e8a771iDoq5upw7baDifKH4yEk0ye1BfugongC8wvqvjk
BVgcqMaklkxoOxK8wBaXJfX3OPrrH/ZGXdFbkMsc4BEllTGGk0kaXUZS/+JFoirM
rkUPnbyBB0iwkN7UEjfRYlp0STvJu7EgA9hLFPjApAQOjUwWjzoHZwblqvQuegYN
MQxbz9kSn834582/AI7h
=erhA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to