Your message dated Mon, 27 Oct 2014 19:05:32 +0000
with message-id <e1xipbg-0005gc...@franck.debian.org>
and subject line Bug#748861: fixed in miro 6.0-1
has caused the Debian Bug report #748861,
regarding miro: FTBFS due to Libav 10
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.)


-- 
748861: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748861
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: miro
Version: 4.0.4-1.1
Severity: serious
Justification: fails to build from source
Tags: patch

Dear Maintainer,

miro currently fails to build in sid:
cc -I/usr/include/ffmpeg -c /tmp/buildd/miro-4.0.4/linux/miro-segmenter.c -o /tmp/buildd/miro-4.0.4/./build/miro-segmenter/tmp/buildd/miro-4.0.4/linux/miro-segmenter.o /tmp/buildd/miro-4.0.4/linux/miro-segmenter.c: In function 'add_output_stream': /tmp/buildd/miro-4.0.4/linux/miro-segmenter.c:81:92: error: 'CODEC_ID_MP3' undeclared (first use in this function) if ((input_codec_context->block_align == 1 && input_codec_context->codec_id == CODEC_ID_MP3) || input_codec_context->codec_id == CODEC_ID_AC3) {

                     ^
/tmp/buildd/miro-4.0.4/linux/miro-segmenter.c:81:92: note: each undeclared identifier is reported only once for each function it appears in /tmp/buildd/miro-4.0.4/linux/miro-segmenter.c:81:142: error: 'CODEC_ID_AC3' undeclared (first use in this function) if ((input_codec_context->block_align == 1 && input_codec_context->codec_id == CODEC_ID_MP3) || input_codec_context->codec_id == CODEC_ID_AC3) {

                                                                       ^
error: command 'cc' failed with exit status 1
/usr/share/cdbs/1/class/python-distutils.mk:105: recipe for target 'debian/python-module-stampdir/miro' failed
make: *** [debian/python-module-stampdir/miro] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Attached is a patch fixing this problem.

Best regards,
Andreas
diff --git a/debian/patches/CodecID.patch b/debian/patches/CodecID.patch
new file mode 100644
index 0000000..4e59be1
--- /dev/null
+++ b/debian/patches/CodecID.patch
@@ -0,0 +1,19 @@
+Description: Rename CODEC_ID_* to AV_CODEC_ID_*
+
+Author: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
+Last-Update: <2014-05-21>
+
+--- miro-4.0.4.orig/linux/miro-segmenter.c
++++ miro-4.0.4/linux/miro-segmenter.c
+@@ -78,7 +78,11 @@ static AVStream *add_output_stream(AVFor
+             output_codec_context->sample_rate = input_codec_context->sample_rate;
+             output_codec_context->channels = input_codec_context->channels;
+             output_codec_context->frame_size = input_codec_context->frame_size;
++#if LIBAVCODEC_VERSION_MAJOR > 54
++            if ((input_codec_context->block_align == 1 && input_codec_context->codec_id == AV_CODEC_ID_MP3) || input_codec_context->codec_id == AV_CODEC_ID_AC3) {
++#else
+             if ((input_codec_context->block_align == 1 && input_codec_context->codec_id == CODEC_ID_MP3) || input_codec_context->codec_id == CODEC_ID_AC3) {
++#endif
+                 output_codec_context->block_align = 0;
+             }
+             else {
diff --git a/debian/patches/series b/debian/patches/series
index d1cc606..a7b7305 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 120_miro.desktop.patch
 130_libav9.patch
 140_use_avconv.patch
+CodecID.patch

--- End Message ---
--- Begin Message ---
Source: miro
Source-Version: 6.0-1

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

Debian distribution maintenance software
pp.
Uwe Hermann <u...@debian.org> (supplier of updated miro 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: SHA1

Format: 1.8
Date: Mon, 27 Oct 2014 19:00:45 +0100
Source: miro
Binary: miro miro-data
Architecture: source all amd64
Version: 6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Uwe Hermann <u...@debian.org>
Changed-By: Uwe Hermann <u...@debian.org>
Description:
 miro       - GTK+ based RSS video aggregator
 miro-data  - GTK+ based RSS video aggregator data files
Closes: 532021 689826 692482 748861 754232 764562
Changes:
 miro (6.0-1) unstable; urgency=medium
 .
   * Acknowledge NMU, thanks Sebastian Ramacher <sramac...@debian.org>.
   * New upstream release (Closes: #692482, #754232, #764562).
     + Drop linux/contrib/enmfp-codegen/* in upstream tarball, apparently
       there's no source code available for those files.
     + Now build-depends on libtag1-dev, libsqlite3-dev, and libboost1.55-dev.
     + Fixes Youtube/Vimeo download/scraping (Closes: #689826).
   * Standards-Version: 3.9.6 (no changes required).
   * debian/patches:
      + 10_movies_dir.patch: Update.
      + 50_miro_debug_fix.patch: Update.
      + 100_catch_keyerror_in_update_items.patch: Drop (obsolete).
      + 130_libav9.patch: Drop (fixed upstream).
      + 140_use_avconv.patch: Update, drop upstream-merged parts.
      + 150_codec_id.patch: Add, fixes FTBFS due to libav 10 (Closes: #748861).
        Thanks Andreas Cadhalpun <andreas.cadhal...@googlemail.com>.
      + 160_fixyoutubedl.patch: Fix another Youtube downloads/scraping issue.
   * Drop 'Recommends: python-psyco' (package no longer in the archive).
   * Move 'libav-tools' from 'Suggests' to 'Depends', miro will not properly
     start-up without it.
   * Move gstreamer0.10-ffmpeg from 'Depends' to 'Suggests' for now; the
     package is uninstallable atm (#766988) and seems to be optional for miro.
   * Temporary lintian overrides ("use dh_python2 instead"):
      + miro: depends-on-obsolete-package
      + miro source: build-depends-on-obsolete-package
   * Close long-obsolete request for lenny backport (Closes: #532021).
Checksums-Sha1:
 86cbebce79a21262a3f7f7bcc378f407f6552b8b 1265 miro_6.0-1.dsc
 da34166634a39015e08c464933c52da0048d5844 12848738 miro_6.0.orig.tar.gz
 04cb7e3eeaabd716e02aa27e40ca1488a3458874 16100 miro_6.0-1.debian.tar.xz
 88749c17733e3863f6ee0407c5714fa02e458939 1072762 miro-data_6.0-1_all.deb
 0b936de7f32ed06e4a5616a33e81cdcb4853dd69 702424 miro_6.0-1_amd64.deb
Checksums-Sha256:
 3a457906e4b288b398c2f2a50066ba36ad2112c35869917e7985010958786992 1265 
miro_6.0-1.dsc
 9388ca3cc942d780c25d57c19ccf1e2b3ac9206cfe9fece6ea92843d9599ae46 12848738 
miro_6.0.orig.tar.gz
 e13e98152d526b6ec1be7ab731945f7890fbf3510e2d17c90d81f85f23ce00f2 16100 
miro_6.0-1.debian.tar.xz
 bccd56fc275f2d4e91424ce2b1e63f23b008747360f56a7a78bb22d0ff583e02 1072762 
miro-data_6.0-1_all.deb
 19d5905cf38311a9b809c297e930089a3a602bae3d9f6084107bf4a8ebe98a48 702424 
miro_6.0-1_amd64.deb
Files:
 8229ae8fb28fe7c60774de2d47f9f907 1265 net extra miro_6.0-1.dsc
 1ff5a36b3c8cead9aa39c6001986d44d 12848738 net extra miro_6.0.orig.tar.gz
 c21624105b9d58cad0fb8b652133cb74 16100 net extra miro_6.0-1.debian.tar.xz
 42892c00f71aadc3753f7f03c38a93cd 1072762 net extra miro-data_6.0-1_all.deb
 3d3430152d020a332047763b7df3a173 702424 net extra miro_6.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlROiywACgkQXdVoV3jWIbQ1BgCdE419HorJdgBz+CTBWq5HqvIg
TrsAmQEN+IL4UXnjir90xVx2xKg6cTD0
=+9At
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to