Your message dated Tue, 26 Jul 2011 08:58:00 +0000
with message-id <e1qldsi-0008ff...@franck.debian.org>
and subject line Bug#632679: fixed in wxsvg 2:1.1.0~dfsg-1
has caused the Debian Bug report #632679,
regarding Please adapt wxsvg for libav >= 0.7
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.)


-- 
632679: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632679
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: wxsvg
Version: 2:1.0.10~dfsg0-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

Hi,

libavcodec 0.7 is in experimental as well as in next release of Ubuntu, and
as it deprecate several functions, wxsvg has to be patched to build correctly.

This is the patch we applied in Ubuntu to fix wxsvg:
*** /tmp/tmpv1k0RJ

The resulting package builds fine in sid: thanks for considering the patch.

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 wxsvg-1.0.10~dfsg0/debian/patches/fix-ftbs-libav-0.7.patch wxsvg-1.0.10~dfsg0/debian/patches/fix-ftbs-libav-0.7.patch
--- wxsvg-1.0.10~dfsg0/debian/patches/fix-ftbs-libav-0.7.patch	1970-01-01 01:00:00.000000000 +0100
+++ wxsvg-1.0.10~dfsg0/debian/patches/fix-ftbs-libav-0.7.patch	2011-07-04 20:34:36.000000000 +0200
@@ -0,0 +1,47 @@
+Description: fix FTBFS with libav > 0.7
+Author: Fabrice Coutadeur <fabric...@ubuntu.com>
+
+--- wxsvg-1.0.10~dfsg0.orig/src/mediadec_ffmpeg.cpp
++++ wxsvg-1.0.10~dfsg0/src/mediadec_ffmpeg.cpp
+@@ -50,7 +50,7 @@ void PrintError(const wxString& msg, int
+ 	case AVERROR_INVALIDDATA:
+ 		wxLogError(wxT("%s: Error while parsing header"), msg.c_str());
+ 		break;
+-	case AVERROR_NOFMT:
++	case AVERROR(EILSEQ):
+ 		wxLogError(wxT("%s: Unknown format"), msg.c_str());
+ 		break;
+ 	case AVERROR(EIO):
+@@ -106,7 +106,7 @@ float wxFfmpegMediaDecoder::GetFrameAspe
+ 	for (int i=0; i<(int)m_formatCtx->nb_streams; i++) {
+ 		AVStream *st = m_formatCtx->streams[i];
+ 		AVCodecContext *enc = st->codec;
+-		if (enc->codec_type == CODEC_TYPE_VIDEO) {
++		if (enc->codec_type == AVMEDIA_TYPE_VIDEO) {
+ 			if (st->sample_aspect_ratio.num)
+ 				frame_aspect_ratio = av_q2d(st->sample_aspect_ratio);
+ 			else if (enc->sample_aspect_ratio.num)
+@@ -124,11 +124,11 @@ StreamType wxFfmpegMediaDecoder::GetStre
+ 	if (m_formatCtx == NULL || streamIndex >= m_formatCtx->nb_streams)
+ 		return stUNKNOWN;
+ 	switch (m_formatCtx->streams[streamIndex]->codec->codec_type) {
+-	case CODEC_TYPE_VIDEO:
++	case AVMEDIA_TYPE_VIDEO:
+ 		return stVIDEO;
+-	case CODEC_TYPE_AUDIO:
++	case AVMEDIA_TYPE_AUDIO:
+ 		return stAUDIO;
+-	case CODEC_TYPE_SUBTITLE:
++	case AVMEDIA_TYPE_SUBTITLE:
+ 		return stSUBTITLE;
+ 	default:
+ 		break;
+@@ -167,7 +167,7 @@ bool wxFfmpegMediaDecoder::OpenVideoDeco
+ 	// find the first video stream
+ 	m_videoStream = -1;
+ 	for (int i=0; i<(int)m_formatCtx->nb_streams; i++) {
+-		if (m_formatCtx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO) {
++		if (m_formatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
+ 			m_videoStream = i;
+ 			break;
+ 		}
diff -Nru wxsvg-1.0.10~dfsg0/debian/patches/series wxsvg-1.0.10~dfsg0/debian/patches/series
--- wxsvg-1.0.10~dfsg0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ wxsvg-1.0.10~dfsg0/debian/patches/series	2011-07-04 20:34:44.000000000 +0200
@@ -0,0 +1 @@
+fix-ftbs-libav-0.7.patch

--- End Message ---
--- Begin Message ---
Source: wxsvg
Source-Version: 2:1.1.0~dfsg-1

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

libwxsvg-dbg_1.1.0~dfsg-1_amd64.deb
  to main/w/wxsvg/libwxsvg-dbg_1.1.0~dfsg-1_amd64.deb
libwxsvg-dev_1.1.0~dfsg-1_all.deb
  to main/w/wxsvg/libwxsvg-dev_1.1.0~dfsg-1_all.deb
libwxsvg0_1.1.0~dfsg-1_amd64.deb
  to main/w/wxsvg/libwxsvg0_1.1.0~dfsg-1_amd64.deb
wxsvg_1.1.0~dfsg-1.debian.tar.gz
  to main/w/wxsvg/wxsvg_1.1.0~dfsg-1.debian.tar.gz
wxsvg_1.1.0~dfsg-1.dsc
  to main/w/wxsvg/wxsvg_1.1.0~dfsg-1.dsc
wxsvg_1.1.0~dfsg.orig.tar.bz2
  to main/w/wxsvg/wxsvg_1.1.0~dfsg.orig.tar.bz2



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 632...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alessio Treglia <ales...@debian.org> (supplier of updated wxsvg 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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 26 Jul 2011 10:23:59 +0200
Source: wxsvg
Binary: libwxsvg0 libwxsvg-dev libwxsvg-dbg
Architecture: source amd64 all
Version: 2:1.1.0~dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Alessio Treglia <ales...@debian.org>
Description: 
 libwxsvg-dbg - Debugging symbols for wxSVG
 libwxsvg-dev - Development files for wxSVG
 libwxsvg0  - SVG library for the wxWidgets toolkit
Closes: 632679
Changes: 
 wxsvg (2:1.1.0~dfsg-1) unstable; urgency=low
 .
   * New upstream release:
     - Fix FTBFS with libav (Closes: #632679).
   * Drop build-dep on libart-2.0-dev.
   * Don't repack after downloading the tarball.
Checksums-Sha1: 
 2c621ba7fffcb37f6c8764e5d88349e6ff89577f 1526 wxsvg_1.1.0~dfsg-1.dsc
 a8c0a2d1fc998e8c422244489d19dbcbdd13f87e 450583 wxsvg_1.1.0~dfsg.orig.tar.bz2
 d572e14cb6d5b5666353a443c7ca50798e2f40e9 3368 wxsvg_1.1.0~dfsg-1.debian.tar.gz
 c504c2ca0654be9f7fbfd072df0677523a5c9a07 318772 
libwxsvg0_1.1.0~dfsg-1_amd64.deb
 bf1c382e76e769536e033f5a267a70ae8b5ba299 89766 
libwxsvg-dev_1.1.0~dfsg-1_all.deb
 804559cce1c67841a79616c61261c860b936edae 3252654 
libwxsvg-dbg_1.1.0~dfsg-1_amd64.deb
Checksums-Sha256: 
 6dd9ba96c99e3371728d3d434e34fcf999826a92fde8beea73410ace9387dec4 1526 
wxsvg_1.1.0~dfsg-1.dsc
 d33be26f7ae31ee1a8e121c1198790b5d5cedc509318d423a6946611f0d459c5 450583 
wxsvg_1.1.0~dfsg.orig.tar.bz2
 e337d94fb74179733130ebc5cff124f767b54ec7284221a82053028582769648 3368 
wxsvg_1.1.0~dfsg-1.debian.tar.gz
 22f25ba44f3ef83f7762c3ef4df9a05cea3e0b6d1153aeb9a20ca392474fa12c 318772 
libwxsvg0_1.1.0~dfsg-1_amd64.deb
 e37bd8ec1ad64615354fef1a4fe7a86ec073f234a6e76703feb6aa28a1caac97 89766 
libwxsvg-dev_1.1.0~dfsg-1_all.deb
 cb450c35d07122289320cdde3992660083aa1f2b3313ee6a887c805e060eecce 3252654 
libwxsvg-dbg_1.1.0~dfsg-1_amd64.deb
Files: 
 d58c522bf3f1202c088172bbe575eff1 1526 libs optional wxsvg_1.1.0~dfsg-1.dsc
 20fcb9b74b05d5cec8946bbe25d6ca25 450583 libs optional 
wxsvg_1.1.0~dfsg.orig.tar.bz2
 0139768bfee475331964446bf0ee36c5 3368 libs optional 
wxsvg_1.1.0~dfsg-1.debian.tar.gz
 4ec6c813380077f7a28e10f7b7e64ee2 318772 libs optional 
libwxsvg0_1.1.0~dfsg-1_amd64.deb
 78075716dbbddb47b5406e9e204011d6 89766 libdevel optional 
libwxsvg-dev_1.1.0~dfsg-1_all.deb
 63a26d66a65bcf81d5a79814bc9098cb 3252654 debug extra 
libwxsvg-dbg_1.1.0~dfsg-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk4ue04ACgkQRdSMfNz8P9Br9gCffFQ8vR4jnxYC7taLyVNr4LEu
OvUAmwcyUSAjVjHGKrviRRjGcHbmoSQZ
=dLB6
-----END PGP SIGNATURE-----



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

Reply via email to