Your message dated Sun, 17 Jan 2016 00:04:04 +0000
with message-id <[email protected]>
and subject line Bug#803823: fixed in guvcview 2.0.2+debian-3
has caused the Debian Bug report #803823,
regarding guvcview: 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.)


-- 
803823: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803823
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: guvcview
Version: 2.0.2+debian-1
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..329aa54
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,37 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <[email protected]>
+Last-Update: <2015-11-02>
+
+--- 2.0.2+debian.orig/gview_encoder/encoder.c
++++ 2.0.2+debian/gview_encoder/encoder.c
+@@ -1434,7 +1434,7 @@
+ 		/*convert default yuyv to y420p (libav input format)*/		
+ 		switch(video_codec_data->codec_context->pix_fmt)
+ 		{
+-			case PIX_FMT_YUVJ420P:
++			case AV_PIX_FMT_YUVJ420P:
+ 				yuv422to420p(encoder_ctx, input_frame);
+ 				break;
+ 			default:
+--- 2.0.2+debian.orig/gview_v4l2core/jpeg_decoder.c
++++ 2.0.2+debian/gview_v4l2core/jpeg_decoder.c
+@@ -1436,7 +1436,7 @@
+ 		exit(-1);
+ 	}
+ 
+-	codec_data->context->pix_fmt = PIX_FMT_YUV422P;
++	codec_data->context->pix_fmt = AV_PIX_FMT_YUV422P;
+ 	codec_data->context->width = width;
+ 	codec_data->context->height = height;
+ 	//jpeg_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);
+--- 2.0.2+debian.orig/gview_v4l2core/uvc_h264.c
++++ 2.0.2+debian/gview_v4l2core/uvc_h264.c
+@@ -970,7 +970,7 @@
+ 	}
+ 	
+ 	h264_ctx->context->flags2 |= CODEC_FLAG2_FAST;
+-	h264_ctx->context->pix_fmt = PIX_FMT_YUV420P;
++	h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P;
+ 	h264_ctx->context->width = width;
+ 	h264_ctx->context->height = height;
+ 	//h264_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);
diff --git a/debian/patches/series b/debian/patches/series
index 7caba60..6b9384a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 update-manpage
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: guvcview
Source-Version: 2.0.2+debian-3

We believe that the bug you reported is fixed in the latest version of
guvcview, 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.
Nobuhiro Iwamatsu <[email protected]> (supplier of updated guvcview 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, 17 Jan 2016 07:42:31 +0900
Source: guvcview
Binary: guvcview libguvcview-1.1-1 libguvcview-dev
Architecture: source amd64
Version: 2.0.2+debian-3
Distribution: unstable
Urgency: medium
Maintainer: Nobuhiro Iwamatsu <[email protected]>
Changed-By: Nobuhiro Iwamatsu <[email protected]>
Description:
 guvcview   - GTK+ base UVC Viewer
 libguvcview-1.1-1 - GTK+ base UVC Viewer - runtime
 libguvcview-dev - GTK+ base UVC Viewer - development files
Closes: 803823
Changes:
 guvcview (2.0.2+debian-3) unstable; urgency=medium
 .
   * Fix build with ffmpeg 2.9. (Closes: #803823)
     Thanks to Andreas Cadhalpun.
Checksums-Sha1:
 50892faf1d9f1f8409986d05c23b22e4514c17e9 2207 guvcview_2.0.2+debian-3.dsc
 f8aacb50f29dfa6a191a0a0813ef98ac093bdb23 5880 
guvcview_2.0.2+debian-3.debian.tar.xz
 2572b18fb0a7f0222257aa0375a5a21b51e586a2 125510 
guvcview-dbgsym_2.0.2+debian-3_amd64.deb
 f6df3d88a88c0d4fa62512ae799668cf32ad2c65 140418 
guvcview_2.0.2+debian-3_amd64.deb
 0027db4a232ad335d840ebe9cf49326e440fe12e 326080 
libguvcview-1.1-1-dbgsym_2.0.2+debian-3_amd64.deb
 2c085a0a8c93606d861791d2aac87933a352f1dd 106928 
libguvcview-1.1-1_2.0.2+debian-3_amd64.deb
 8935a203afd0487043ce66924158d550234965b3 121044 
libguvcview-dev_2.0.2+debian-3_amd64.deb
Checksums-Sha256:
 6c992f21fbc13ef20f8efb22705581d3b5cbd3f6d10cf40d4b4fe367ed507028 2207 
guvcview_2.0.2+debian-3.dsc
 d74553a7a1c2c19ef22e6a30920550cc575072c608fbeb30d6e6d3790051ef54 5880 
guvcview_2.0.2+debian-3.debian.tar.xz
 1a564e00f7af980054fe861040585d841f0fe05e16513a9bd33a369930cf217e 125510 
guvcview-dbgsym_2.0.2+debian-3_amd64.deb
 451c7b2c3bde90d826a028dfa087b14e40733bcbe1df936f1147acb35f47b966 140418 
guvcview_2.0.2+debian-3_amd64.deb
 750c46bc52ad2cde920fb698c0759f54a6144925ecf2d5a78316dbea0728e75a 326080 
libguvcview-1.1-1-dbgsym_2.0.2+debian-3_amd64.deb
 af5f863063066dc7b2ba3c4c23752a3e7cac766d1622d31da8073e041cbb9919 106928 
libguvcview-1.1-1_2.0.2+debian-3_amd64.deb
 92650641e463277557c03032cc95395b313b3d2e2935ee76897699bb2c580c10 121044 
libguvcview-dev_2.0.2+debian-3_amd64.deb
Files:
 a22be70ea99066e82feedbe87aa696b3 2207 graphics extra 
guvcview_2.0.2+debian-3.dsc
 450d30eebcd0cf72d5289659c378cd8e 5880 graphics extra 
guvcview_2.0.2+debian-3.debian.tar.xz
 f5542d4bbe15ae56f73484312621ad1e 125510 debug extra 
guvcview-dbgsym_2.0.2+debian-3_amd64.deb
 4ad2bf9909ca24863756d0194a04cd05 140418 graphics extra 
guvcview_2.0.2+debian-3_amd64.deb
 1bc1da7265dbdadeb63e22f48abbaa3e 326080 debug extra 
libguvcview-1.1-1-dbgsym_2.0.2+debian-3_amd64.deb
 a3cf8185258534714f51166817b5581a 106928 libs extra 
libguvcview-1.1-1_2.0.2+debian-3_amd64.deb
 713d1c8afe05eb9e6c424e038723838d 121044 libdevel extra 
libguvcview-dev_2.0.2+debian-3_amd64.deb

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

iQIcBAEBCAAGBQJWmtXFAAoJEDIkf7tArR+mXG0P/jQ8RcwnwAS6Vi51FS5RDMa0
jr/aUrXo+0SGCyziUrVSe8duNg+AyLX0KvidUFAf+3RgB+HSC11VitIzCijIwXzV
jFhhoFdA2j4KKXgggjpKUYmGLkUtw/r89b0WKMJQoJDmI01Rbw1KhktRSwHgQ6yG
TkfjgYFrHffAb8I4mDtKJAgqkl+I+fhRbBK7QlfpZWtvW2nFNzfr4wqHkz1X3n+u
aXeJdQEh31WXAndTVD80EFK9RNZF6nH/HXEbVlxlton77cElLNVnG/FgnCaeuY6L
16IYT4nBZazg1vknjndRE2guTJ2y2WcWkDYjDfxcNvsZauqXHet371GRX4xumBQr
7u/i7gGHl4Y11xXJ5tAl62M9RHY0x83NNK2cWRRm7r9VoVCRv4KbpPpaqDEjhiHK
PFtHhbddu7Kc+OCUnLj8KnkyPNnX0xieUCrSHLgapC31Yz6PfPqlJcmFn693CAPO
LYnCV+G9C1H29GI+aRNNVT8KzF4Kt8kJBXQ9nfzGycwdgrU3yq7As6uyVaWivPmA
LsC4yfxDPG8BapjsKqG8zdVIhUWFbizv4J4gsoG5ueiIn3oZAGo9RzB3eI2zzwqY
wQ8BQO5RNA9vuj9pHsokZbgA+4E+XvytncPqB0tnBhYUf4VJDIZCsHWWyiyQLg2K
liKCgjJfZ8aIpsnYVjai
=5EQZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to