Your message dated Thu, 10 Mar 2016 23:23:13 +0000
with message-id <e1ae9vf-0000tn...@franck.debian.org>
and subject line Bug#803862: fixed in strigi 0.7.8-2.1
has caused the Debian Bug report #803862,
regarding strigi: 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 ow...@bugs.debian.org
immediately.)


-- 
803862: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803862
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: strigi
Version: 0.7.8-2
Severity: important
Tags: patch
User: pkg-multimedia-maintain...@lists.alioth.debian.org
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..24a314f
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,35 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
+Last-Update: <2015-11-02>
+
+--- strigi-0.7.8.orig/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
++++ strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
+@@ -355,7 +355,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
+ #endif
+ 
+   if(fc->bit_rate)
+-    ar.addValue(factory->bitrateProperty, fc->bit_rate);
++    ar.addValue(factory->bitrateProperty, (uint32_t)fc->bit_rate);
+   else if (fc->duration!= no_bitrate && fc->duration > 0) {
+     cout<<"Trying to estimate bitrate\n";
+     int64_t size;
+@@ -412,8 +412,8 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
+         if (size_t len = strlen(p->name)) {
+           ar.addTriplet(streamuri, codecPropertyName, string(p->name, len));
+         }
+-      } else if (size_t len = strlen(codec.codec_name)) {
+-        ar.addTriplet(streamuri, codecPropertyName, string(codec.codec_name, len));
++      } else if (size_t len = strlen(avcodec_get_name(codec.codec_id))) {
++        ar.addTriplet(streamuri, codecPropertyName, string(avcodec_get_name(codec.codec_id), len));
+       }
+ /*
+ 00792     } else if (enc->codec_id == CODEC_ID_MPEG2TS) {
+@@ -486,7 +486,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
+           outs << stream.avg_frame_rate.num / stream.avg_frame_rate.den;
+           ar.addTriplet(streamuri, frameRatePropertyName, outs.str());
+         }
+-        if (codec.pix_fmt != PIX_FMT_NONE) {}//FIXME pixel format
++        if (codec.pix_fmt != AV_PIX_FMT_NONE) {}//FIXME pixel format
+       }
+       
+     }
diff --git a/debian/patches/series b/debian/patches/series
index 75d761a..4458755 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 deepgrep_mayhem_fix.diff
 libav10.patch
+ffmpeg_2.9.patch

--- End Message ---
--- Begin Message ---
Source: strigi
Source-Version: 0.7.8-2.1

We believe that the bug you reported is fixed in the latest version of
strigi, 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 803...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramac...@debian.org> (supplier of updated strigi 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...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 08 Mar 2016 23:23:53 +0100
Source: strigi
Binary: strigi-daemon strigi-client strigi-utils libstreams0v5 libstreams-dev 
libstreamanalyzer0v5 libstreamanalyzer-dev libsearchclient0v5 
libsearchclient-dev libstrigihtmlgui0v5 libstrigihtmlgui-dev 
libstrigiqtdbusclient0 libstrigiqtdbusclient-dev strigi-dbg
Architecture: source
Version: 0.7.8-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Sebastian Ramacher <sramac...@debian.org>
Description:
 libsearchclient-dev - development files for libsearchclient
 libsearchclient0v5 - searchclient library for Strigi Desktop Search
 libstreamanalyzer-dev - development files for libstreamanalyzer
 libstreamanalyzer0v5 - streamanalyzer library for Strigi Desktop Search
 libstreams-dev - development files for libstreams
 libstreams0v5 - streams library for Strigi Desktop Search
 libstrigihtmlgui-dev - development files for libstrigihtmlgui
 libstrigihtmlgui0v5 - library for writing html clients for Strigi Desktop 
Search
 libstrigiqtdbusclient-dev - development files for libstrigiqtdbusclient
 libstrigiqtdbusclient0 - library for writing D-Bus clients for Strigi Desktop 
Search
 strigi-client - Qt4 client for Strigi Desktop Search
 strigi-daemon - fast indexing and searching tool for your personal data 
(daemon)
 strigi-dbg - debugging symbols for strigi
 strigi-utils - command-line tools for Strigi Desktop Search
Closes: 803862
Changes:
 strigi (0.7.8-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Andreas Cadhalpun ]
   * Fix build against ffmpeg 3.0. (Closes: #803862)
Checksums-Sha1:
 7d9b8e7ec3f67453eca188a1c023989433e16296 3150 strigi_0.7.8-2.1.dsc
 c774fe188fca1a4ac07088a3c8b72e00287f3b4e 10188 strigi_0.7.8-2.1.debian.tar.xz
Checksums-Sha256:
 757159cfa3aa0f9cc36272023366354e117b00bd5d1a18218deb3d64d3705f61 3150 
strigi_0.7.8-2.1.dsc
 41b3aad47aff1cecf3646f7411f09e79f591aac46fa5fb4dddeb404199467501 10188 
strigi_0.7.8-2.1.debian.tar.xz
Files:
 ce4cc53c154d32714137bf1ef15d0a70 3150 utils optional strigi_0.7.8-2.1.dsc
 a79ef1e2404da6270e0ffec40006ceb6 10188 utils optional 
strigi_0.7.8-2.1.debian.tar.xz

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

iQIcBAEBCAAGBQJW31H/AAoJEGny/FFupxmTQCYP/it1nmwWKlgJ/0BWxQBpkHyf
cAYEUO5rawY9NBv9jylnb+9mzUAgamnoPM0OuZQDsU90Y7mcMaXAXXe5X+9I9Oyg
neHSObb2+9tHw2luZJd7Afun8Na9PCgpfqH/iRfq58szLE4u5hRzsMMooj1rHkyX
MWHE6VpnxKvx68SFPDgigxz5pnUC+OcMIzBDJbU33Do99jMq9vfdOxs51HEYn6eq
T00PO/wFChLoGVRboZPrQfrJVOFB/+e7oO7wo9ubbWgv+ngsWnL7n68kg8mhoy6B
ZNJndgCGNGtxp62RP0pjGVf9RGDmXyKU8Y4GnCNGkZnlydUSjUEJu3Gw3o/4Ypqg
M5tWB2p+JvNrCC9saPo8gPdoFQwgSvxDB+xiqkiNo69KiqVa5G1AlJEOp8b3aMcB
mKeHNrKwD54/vc7pQ5I4CC5RjWbejzjIYaZawkO52M0e28m3W/7fOwLSP8NIj2dv
37Dri57X0/eaYCJ5rqqd1LBlU3gm/MCNeNHylQcVTzIS9jD5EUva5LuQyMdDOvE1
+y9Yt/UOuctZ43zyk4Ba+u0fR9dIY/hXVtfJuhIF6P+TWEhxGs92LaRosQ7reMme
U9thzN92opuH+TWPYQc0ygcQAHgwGuAoh5rgjnpuy5bETpFAlSUsq8pLQuEbWJ3Y
/oGT7U7B1MADQFhIsNyB
=h8hi
-----END PGP SIGNATURE-----

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

Reply via email to