Your message dated Fri, 16 Dec 2011 14:51:04 +0000
with message-id <e1rbz7o-0007pj...@franck.debian.org>
and subject line Bug#634668: fixed in ktoon 0.8.1-5
has caused the Debian Bug report #634668,
regarding ktoon: Please consider supporting libav 0.7 (Debian 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 ow...@bugs.debian.org
immediately.)
--
634668: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634668
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ktoon
Version: 0.8.1-4.2
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch
Hi,
Ubuntu as well as Debian exprimental has libav 0.7, which makes ktoon FTBFS,
with the following error:
...
g++ -c -pipe -O2 -D__STDC_CONSTANT_MACROS -Wall -W -D_REENTRANT -fPIC
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4
-I../../../../src/store -I../../../../src/ktoonlib -I../../../../src/dlib/dgui
-I../../../../src/dlib/dcore -I-pthread -I-I/usr/include/glib-2.0
-I-I/usr/lib/i386-linux-gnu/glib-2.0/include -I-I/usr/include/gstreamer-0.10
-I-I/usr/include/libxml2 -I. -o ffmpegmanager.o ffmpegmanager.cpp
ffmpegmanager.cpp: In member function 'void FFMpegManager::create(const
QString&, int, const QStringList&, const QSize&, int)':
ffmpegmanager.cpp:58:69: error: 'guess_format' was not declared in this scope
ffmpegmanager.cpp:110:48: error: 'av_alloc_format_context' was not declared in
this scope
ffmpegmanager.cpp:129:6: warning: 'int av_set_parameters(AVFormatContext*,
AVFormatParameters*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1329) [-Wdeprecated-declarations]
ffmpegmanager.cpp:129:29: warning: 'int av_set_parameters(AVFormatContext*,
AVFormatParameters*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1329) [-Wdeprecated-declarations]
ffmpegmanager.cpp:135:2: warning: 'void dump_format(AVFormatContext*, int,
const char*, int)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1451) [-Wdeprecated-declarations]
ffmpegmanager.cpp:135:50: warning: 'void dump_format(AVFormatContext*, int,
const char*, int)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1451) [-Wdeprecated-declarations]
ffmpegmanager.cpp:145:7: warning: 'int url_fopen(AVIOContext**, const char*,
int)' is deprecated (declared at /usr/include/libavformat/avio.h:278)
[-Wdeprecated-declarations]
ffmpegmanager.cpp:145:64: warning: 'int url_fopen(AVIOContext**, const char*,
int)' is deprecated (declared at /usr/include/libavformat/avio.h:278)
[-Wdeprecated-declarations]
ffmpegmanager.cpp:152:2: warning: 'int av_write_header(AVFormatContext*)' is
deprecated (declared at /usr/include/libavformat/avformat.h:1387)
[-Wdeprecated-declarations]
ffmpegmanager.cpp:152:20: warning: 'int av_write_header(AVFormatContext*)' is
deprecated (declared at /usr/include/libavformat/avformat.h:1387)
[-Wdeprecated-declarations]
ffmpegmanager.cpp:180:25: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
ffmpegmanager.cpp:188:3: warning: 'int url_fclose(AVIOContext*)' is deprecated
(declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]
ffmpegmanager.cpp:188:20: warning: 'int url_fclose(AVIOContext*)' is deprecated
(declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]
ffmpegmanager.cpp: In member function 'AVStream*
FFMpegManager::addVideoStream(AVFormatContext*, int, int, int, int)':
ffmpegmanager.cpp:219:18: error: 'CODEC_TYPE_VIDEO' was not declared in this
scope
ffmpegmanager.cpp: In member function 'bool
FFMpegManager::writeVideoFrame(const QString&, AVFormatContext*, AVStream*,
int)':
ffmpegmanager.cpp:349:16: error: 'PKT_FLAG_KEY' was not declared in this scope
ffmpegmanager.cpp:372:18: error: 'PKT_FLAG_KEY' was not declared in this scope
ffmpegmanager.cpp: At global scope:
ffmpegmanager.cpp:453:6: warning: unused parameter 'oc' [-Wunused-parameter]
make[5]: *** [ffmpegmanager.o] Error 1
The following patch fixes that issues:
*** /tmp/tmpF0yF2J
Thanks for considering the patch.
-- 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-10-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
--- ktoon-0.8.1.orig/debian/patches/99-fix-FTBFS-libav-0.7.dpatch
+++ ktoon-0.8.1/debian/patches/99-fix-FTBFS-libav-0.7.dpatch
@@ -0,0 +1,60 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 99-fix-FTBFS-libav-0.7.dpatch by Fabrice Coutadeur <fabric...@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git'
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr'
ktoon-0.8.1~/src/components/export/ffmpegplugin/ffmpegmanager.cpp
ktoon-0.8.1/src/components/export/ffmpegplugin/ffmpegmanager.cpp
+--- ktoon-0.8.1~/src/components/export/ffmpegplugin/ffmpegmanager.cpp
2007-06-15 04:33:05.000000000 +0200
++++ ktoon-0.8.1/src/components/export/ffmpegplugin/ffmpegmanager.cpp
2011-07-18 08:59:10.339487475 +0200
+@@ -48,11 +48,11 @@
+ {
+ #ifdef HAVE_FFMPEG
+
+- AVOutputFormat *fmt = guess_format(0, filePath.toLatin1().data(), 0);
++ AVOutputFormat *fmt = av_guess_format(0, filePath.toLatin1().data(), 0);
+
+ if ( !fmt )
+ {
+- fmt = guess_format("mpeg", NULL, NULL);
++ fmt = av_guess_format("mpeg", NULL, NULL);
+ }
+
+ // AVFormatParameters params, *ap = ¶ms;
+@@ -100,7 +100,7 @@
+ default: break;
+ }
+
+- AVFormatContext *oc = av_alloc_format_context();
++ AVFormatContext *oc = avformat_alloc_context();
+ if ( !oc )
+ {
+ dError() << "Error while export";
+@@ -209,7 +209,7 @@
+ #endif
+
+ c->codec_id = CodecID(codec_id);
+- c->codec_type = CODEC_TYPE_VIDEO;
++ c->codec_type = AVMEDIA_TYPE_VIDEO;
+
+ /* put sample parameters */
+ c->bit_rate = 400000;
+@@ -316,7 +316,7 @@
+ AVPacket pkt;
+ av_init_packet(&pkt);
+
+- pkt.flags |= PKT_FLAG_KEY;
++ pkt.flags |= AV_PKT_FLAG_KEY;
+ pkt.stream_index= st->index;
+ pkt.data= (uint8_t *)picturePtr;
+ pkt.size= sizeof(AVPicture);
+@@ -339,7 +339,7 @@
+ pkt.pts= av_rescale_q(c->coded_frame->pts,
c->time_base, st->time_base);
+
+ if(c->coded_frame->key_frame)
+- pkt.flags |= PKT_FLAG_KEY;
++ pkt.flags |= AV_PKT_FLAG_KEY;
+ pkt.stream_index= st->index;
+ pkt.data= videOutbuf;
+ pkt.size= out_size;
--- End Message ---
--- Begin Message ---
Source: ktoon
Source-Version: 0.8.1-5
We believe that the bug you reported is fixed in the latest version of
ktoon, which is due to be installed in the Debian FTP archive:
ktoon_0.8.1-5.diff.gz
to main/k/ktoon/ktoon_0.8.1-5.diff.gz
ktoon_0.8.1-5.dsc
to main/k/ktoon/ktoon_0.8.1-5.dsc
ktoon_0.8.1-5_amd64.deb
to main/k/ktoon/ktoon_0.8.1-5_amd64.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 634...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Riku Voipio <riku.voi...@linaro.org> (supplier of updated ktoon 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: Fri, 16 Dec 2011 16:25:52 +0200
Source: ktoon
Binary: ktoon
Architecture: source amd64
Version: 0.8.1-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Riku Voipio <riku.voi...@linaro.org>
Description:
ktoon - 2D animation toolkit
Closes: 598933 625121 634668
Changes:
ktoon (0.8.1-5) unstable; urgency=low
.
* Mark as orphaned, as per #619741
* Merge from ubuntu, thanks:
.
* 51_qreal_arm_fix.dpatch: Casts doubles to qreal to fix armel FTBFS
Closes: #598933
* 99-fix-FTBFS-with-permissive.dpatch: fix FTBFS because of -fpermissive
option
Closes: #625121
* 99-fix-FTBFS-libav-0.7.dpatch: fix FTBFS because of deprecated functions
with libav 0.7
Closes: #634668
Checksums-Sha1:
5e1692e9313647444af154f7331642d48fb940e3 1303 ktoon_0.8.1-5.dsc
bec40a3e77a5d59c6d0a5f621f9563ce04a1fc19 37906 ktoon_0.8.1-5.diff.gz
edf19dc23a83ba0aa26f072dab1058c77f01b04c 2539814 ktoon_0.8.1-5_amd64.deb
Checksums-Sha256:
c9ffab91f78885dda8f112ea0f224a79b6f5ce01c51fb5be72d87c70f8942d23 1303
ktoon_0.8.1-5.dsc
aba2393e47252c1ddf922179def5311ecd7fa5902c6711a7795c9a2adb09fdd2 37906
ktoon_0.8.1-5.diff.gz
5b839483e34437b96b6957366ef2132cf46b6d45d363f38bc4c6fba73e01e91c 2539814
ktoon_0.8.1-5_amd64.deb
Files:
2e8c436bf3cd3dc27a35897ebbfd50ca 1303 graphics optional ktoon_0.8.1-5.dsc
845fc1000a952fa2c50256c8ad1ea55b 37906 graphics optional ktoon_0.8.1-5.diff.gz
826510ccde2df565bf907f8ee2a356b1 2539814 graphics optional
ktoon_0.8.1-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFO61f1ibPvMsrqrwMRAsfNAKCHG+k5PJ8YS80sL/IIQzeTIPnARwCfXJvZ
HNQBy7bXDaOWGCJYUCqmRUc=
=9dzS
-----END PGP SIGNATURE-----
--- End Message ---