Your message dated Fri, 02 Sep 2011 16:47:54 +0000
with message-id <[email protected]>
and subject line Bug#633904: fixed in imageshack-uploader 
2.2+hg20100408.d802dea89428-3
has caused the Debian Bug report #633904,
regarding Please patch imageshack-uploader to build correctly with libav 0.7 
(experimental)
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.)


-- 
633904: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633904
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: imageshack-uploader
Version: 2.2+hg20100408.d802dea89428-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch

Hi,

Next version of Ubuntu (Oneiric) will have libav 0.7, like experimental, and
imageshack-uploader FTBFS with this version.

Here is the patch that fix this FTBFS:
*** /tmp/tmppfQJSV

As the resulting package should builds fine in sid, thanks for considering the
patch. If you're not able to apply right now, I'll upload it temporarly in
Ubuntu and sync the package later on.

Thaks,
Fabrice
-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF8, LC_CTYPE=es_ES.UTF8 (charmap=UTF-8) (ignored: LC_ALL 
set to es_ES.UTF8)
Shell: /bin/sh linked to /bin/dash
diff -Nru imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/fix-FTBFS-libav-0.7.patch imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/fix-FTBFS-libav-0.7.patch
--- imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/fix-FTBFS-libav-0.7.patch	1970-01-01 01:00:00.000000000 +0100
+++ imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/fix-FTBFS-libav-0.7.patch	2011-07-14 22:02:33.000000000 +0200
@@ -0,0 +1,40 @@
+Description: fix FTBFS with libav 0.7 because deprecated values and functions
+ has been dropped
+Author: Fabrice Coutadeur <[email protected]>
+
+--- imageshack-uploader-2.2+hg20100408.d802dea89428.orig/ffmpeg_fas.c
++++ imageshack-uploader-2.2+hg20100408.d802dea89428/ffmpeg_fas.c
+@@ -392,8 +392,13 @@ fas_error_type fas_step_forward (fas_con
+ 		context->keyframe_packet_dts = context->previous_dts;
+ 	    }
+ 	  
++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52,23,0)
++          avcodec_decode_video2( context->codec_context, context->frame_buffer,
++                                        &frameFinished, &packet );
++#else
+ 	  avcodec_decode_video(context->codec_context, context->frame_buffer, &frameFinished,
+ 			       packet.data, packet.size);	
++#endif
+ 	  
+ 	  if (frameFinished)
+ 	    {
+--- imageshack-uploader-2.2+hg20100408.d802dea89428.orig/ffmpeg_fas.c
++++ imageshack-uploader-2.2+hg20100408.d802dea89428/ffmpeg_fas.c
+@@ -228,7 +228,7 @@ fas_error_type fas_open_video (fas_conte
+   int stream_idx;
+   for (stream_idx = 0; stream_idx < fas_context->format_context->nb_streams; stream_idx++) 
+     {
+-      if (fas_context->format_context->streams[stream_idx]->codec->codec_type == CODEC_TYPE_VIDEO)
++      if (fas_context->format_context->streams[stream_idx]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
+ 	{
+ 	  fas_context->stream_idx = stream_idx;
+ 	  fas_context->codec_context  = fas_context->format_context->streams[stream_idx]->codec;
+@@ -382,7 +382,7 @@ fas_error_type fas_step_forward (fas_con
+ 	  /* note this -1 approach to setting the packet is a workaround for a common failure. setting 
+ 	     to 0 would work just incur a huge penalty in videos that needed -1. Might be worth testing.
+ 	  */
+-	  if (packet.flags & PKT_FLAG_KEY)
++	  if (packet.flags & AV_PKT_FLAG_KEY)
+ 	    {
+ 	      //fprintf(stderr, "Packet: (F:%d %lld %lld)\n", context->current_frame_index, packet.pts, packet.dts);
+ 	      
diff -Nru imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/series imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/series
--- imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/series	2011-02-19 04:08:59.000000000 +0100
+++ imageshack-uploader-2.2+hg20100408.d802dea89428/debian/patches/series	2011-07-14 22:02:55.000000000 +0200
@@ -1,2 +1,3 @@
 1001-fix-ffmpeg-6.0.diff
 1000-proper-desktop-file.diff
+fix-FTBFS-libav-0.7.patch

--- End Message ---
--- Begin Message ---
Source: imageshack-uploader
Source-Version: 2.2+hg20100408.d802dea89428-3

We believe that the bug you reported is fixed in the latest version of
imageshack-uploader, which is due to be installed in the Debian FTP archive:

imageshack-uploader-common_2.2+hg20100408.d802dea89428-3_all.deb
  to 
main/i/imageshack-uploader/imageshack-uploader-common_2.2+hg20100408.d802dea89428-3_all.deb
imageshack-uploader_2.2+hg20100408.d802dea89428-3.debian.tar.gz
  to 
main/i/imageshack-uploader/imageshack-uploader_2.2+hg20100408.d802dea89428-3.debian.tar.gz
imageshack-uploader_2.2+hg20100408.d802dea89428-3.dsc
  to 
main/i/imageshack-uploader/imageshack-uploader_2.2+hg20100408.d802dea89428-3.dsc
imageshack-uploader_2.2+hg20100408.d802dea89428-3_i386.deb
  to 
main/i/imageshack-uploader/imageshack-uploader_2.2+hg20100408.d802dea89428-3_i386.deb



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.
Luke Faraone <[email protected]> (supplier of updated imageshack-uploader 
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: Mon, 22 Aug 2011 10:22:07 -0400
Source: imageshack-uploader
Binary: imageshack-uploader imageshack-uploader-common
Architecture: source all i386
Version: 2.2+hg20100408.d802dea89428-3
Distribution: unstable
Urgency: low
Maintainer: Luke Faraone <[email protected]>
Changed-By: Luke Faraone <[email protected]>
Description: 
 imageshack-uploader - a image and video upload utility for the ImageShack 
hosting servi
 imageshack-uploader-common - a image and video upload utility - common files
Closes: 633904
Changes: 
 imageshack-uploader (2.2+hg20100408.d802dea89428-3) unstable; urgency=low
 .
   * Fix FTBFS in experimental from use of deprecated libav functions. Thanks
     again to Fabrice Coutadeur! (Closes: #633904, LP: #831063
   * Add Replaces field for versions of imageshack-uploader produced by
     upstream. This prevents breakage on upgrade if imageshack-uploader
     is replaced by the distribution-provided version, as seen in
     LP: #820882.)
Checksums-Sha1: 
 b7c029890a088deee8008223c5011706a941fabd 2371 
imageshack-uploader_2.2+hg20100408.d802dea89428-3.dsc
 8e2c58b941d97be8eae710a6db83fd52ad3e2597 6687 
imageshack-uploader_2.2+hg20100408.d802dea89428-3.debian.tar.gz
 21ee8da2fa8162770926c08ca1387219acb0916a 8046 
imageshack-uploader-common_2.2+hg20100408.d802dea89428-3_all.deb
 2ab2ccfe0240580ac04cb2a5cb3b1465da8bdb77 359904 
imageshack-uploader_2.2+hg20100408.d802dea89428-3_i386.deb
Checksums-Sha256: 
 5a1f1e15fe7f756625a40d7e8ed42e3d1f5e5e6ae54ebce9c4ab19738d259411 2371 
imageshack-uploader_2.2+hg20100408.d802dea89428-3.dsc
 cdf1a30c93eb28bd2b5e7bf072115064f38ada18cc37ed8cb45bf00c888df6c7 6687 
imageshack-uploader_2.2+hg20100408.d802dea89428-3.debian.tar.gz
 73c3a412e9a263254409a9a97e790d54c4653dfd3109889a85c208360d482778 8046 
imageshack-uploader-common_2.2+hg20100408.d802dea89428-3_all.deb
 c3c4acdfadba514fe17ce9810586afd267d95e467f0b7518f55cd054c99e1327 359904 
imageshack-uploader_2.2+hg20100408.d802dea89428-3_i386.deb
Files: 
 6f01ee6386a7df0525c3e3f2aad3693b 2371 utils optional 
imageshack-uploader_2.2+hg20100408.d802dea89428-3.dsc
 a7b5ac497781099db250325cb3a1158a 6687 utils optional 
imageshack-uploader_2.2+hg20100408.d802dea89428-3.debian.tar.gz
 482be333e7fc27fca551e833e00f4531 8046 utils optional 
imageshack-uploader-common_2.2+hg20100408.d802dea89428-3_all.deb
 bfabd998853d2eb97e561f7bf0089260 359904 utils optional 
imageshack-uploader_2.2+hg20100408.d802dea89428-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer

iQIVAwUBTmEGmTk1h9l9hlALAQg0vQ/7BK9qcPklEDjvnBxyB79CkTjtfhwJqZS+
1BWjc5YQXtX6hhsawiNx1xlNxmSvnDFPMOcQqegp0Dn4CIez0jEQql13gqusp/6h
pqMoznzNxDUEl5W+icyQg0uYDs9nl5dyiVlFTMI+NNAAw0peWedBwPwH2POvEUox
YM0tixyrsrzGqyk8mAxJaj/M7wdwoMTqRHIli0l57mjMQbYq4ItnBor3osgdyp+x
i8w6cEzLpm5/GLk9o7s7kh3NnMyVI8xI4dJ3oo86D/MNxegX2dzBxfu12A3Ybxf8
uzbBFtvEN/urC5aRG1u+zkZklOEBRrLeeJhCv9Lf/yQTQg5Rm3V6gi01f3iuCyzf
Aug/6mPI5nkhVoh0irtR7bEP7ytXsbIZ3H9gtR7T40cTkmsF0/ghD7H3+NlJZ6gw
KP9LrZORjbe6JH+mUY4LaAcC3NR665/1RM0Y+KZVUrbLthDhKYH3410ObfY39+Tt
35eM2t8bDHwYkwP7cizRMS9WpXlo2uLCIzEb+j6+9zEN0RPfKNSo7h+tMX5PmFtn
74QtUTbOg43T1jKbFmZVDSL+f4iKC0plRy8bEEqUVSIdfQlerJbfK1Crvd4Mr/M3
UOCI3PMeKWpsT3SnP/+zDlDM0KD47/j9O0CkwW+qAJtICupSQjlnaWOTxsok5cme
MJsrNENhU3E=
=9PTc
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to