Your message dated Sun, 17 Aug 2014 19:18:49 +0000
with message-id <e1xj5yb-000648...@franck.debian.org>
and subject line Bug#758337: fixed in forked-daapd 21.0-2
has caused the Debian Bug report #758337,
regarding forked-daapd: Use pkg-config to determine FFmpeg linker flags
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.)


-- 
758337: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758337
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: forked-daapd
Version: 21.0-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 0000000..d5070e5
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,24 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
+Last-Update: <2014-06-03>
+
+--- forked-daapd-20.0+git20140530+gc740e6e.orig/configure.ac
++++ forked-daapd-20.0+git20140530+gc740e6e/configure.ac
+@@ -142,11 +142,14 @@ PKG_CHECK_EXISTS([ libavcodec >= 54.35 ]
+   PKG_CHECK_MODULES(LIBAV, [ libavformat libavcodec libswscale libavutil ])
+ ])
+ 
++PKG_CHECK_MODULES([LIBAVCODEC], [libavcodec])
++avc_name=`echo $LIBAVCODEC_LIBS | sed 's/-l//'`
++
+ save_LIBS="$LIBS"
+ dnl Check for av_lock_manager (ffmpeg >= 0.5.1)
+-AC_CHECK_LIB([avcodec], [av_lockmgr_register], , AC_MSG_ERROR([libav (ffmpeg) >= 0.5.1 required]))
++AC_CHECK_LIB([$avc_name], [av_lockmgr_register], , AC_MSG_ERROR([libav (ffmpeg) >= 0.5.1 required]))
+ dnl Check for avcodec_find_best_pix_fmt_of_list (is only in ffmpeg, not libav)
+-AC_CHECK_LIB([avcodec], [avcodec_find_best_pix_fmt_of_list],
++AC_CHECK_LIB([$avc_name], [avcodec_find_best_pix_fmt_of_list],
+ 	AC_DEFINE(FFMPEG_INCOMPATIBLE_API, 1, [Define to 1 if you have ffmpeg (and not libav).]))
+ LIBS="$save_LIBS"
+ 
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..9937964 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pkg-config.patch


--- End Message ---
--- Begin Message ---
Source: forked-daapd
Source-Version: 21.0-2

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

Debian distribution maintenance software
pp.
Balint Reczey <bal...@balintreczey.hu> (supplier of updated forked-daapd 
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: Sun, 17 Aug 2014 21:00:46 +0200
Source: forked-daapd
Binary: forked-daapd
Architecture: source amd64
Version: 21.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Balint Reczey <bal...@balintreczey.hu>
Description:
 forked-daapd - DAAP/DACP (iTunes) server, support for AirPlay and Roku devices
Closes: 758337
Changes:
 forked-daapd (21.0-2) unstable; urgency=medium
 .
   [ Espen Jürgensen ]
   * Update package description
 .
   [ Andreas Cadhalpun ]
   * Use pkg-config to determine FFmpeg linker flags (Closes: #758337)
Checksums-Sha1:
 d6d900dc7ffdbaceb844ac9d032b93cf69347a09 2490 forked-daapd_21.0-2.dsc
 dfb01e2f7cb5d893d3750648ed30bebcb69b1aa1 8684 forked-daapd_21.0-2.debian.tar.xz
 bc83aabc088872ef151b54cdf31e1708c0b87533 170926 forked-daapd_21.0-2_amd64.deb
Checksums-Sha256:
 4ad6250c5c3aca68acdd9637fbc2f83d4db366644ff067f169834db5c608fd78 2490 
forked-daapd_21.0-2.dsc
 334638ca6a06d086a835997387b15e0b7b91e3d1c950af283d8ddea74d52e9b7 8684 
forked-daapd_21.0-2.debian.tar.xz
 f523e56919fe8e190855cdd78837968dc22d0a9f20d392c36705d6f4b6d5ac6e 170926 
forked-daapd_21.0-2_amd64.deb
Files:
 3eef47cdb186d21a5965dd99aae49e4e 170926 sound optional 
forked-daapd_21.0-2_amd64.deb
 ac96bac1ddceee25ea1cf80d162e7dec 2490 sound optional forked-daapd_21.0-2.dsc
 bb703914f0f574d133810a0c25c25e45 8684 sound optional 
forked-daapd_21.0-2.debian.tar.xz

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

iQIcBAEBAgAGBQJT8P+OAAoJEPZk0la0aRp949wQAKqLcLw0YYMZ/gBjHCGFikDr
uCTI2xwHxaE6Ly52682fJkw7LoogLWwBkm2SXPELaorhZlMKcPJEJ5QRE73ut4RD
5r99yxxAnF8w92/f3lGOenjwTK01WjelNIaP+5UQuElmX15T5/t/+lTbScYQBCv2
+dPims4PpjePJOL11McAagjqR2CpiNqU+mVpCjPIWi4X7kfFhRAYpHX3UeDNXu8u
EmvMCObP9sjibgPfUHOQUVDPOTXN34JYltxW19SQ9csdU1qkgyhK+hzjnhMcPmyq
dHwtv8CqV4zZTdbRKr03DcjBe7YwN7AOzKm2//5riLd0ZbwMug1f/YUDimU8+Mnb
5SN05r7PHohCuv9czcbcuDljWltpGLrwelmaNdTSPV8bcCfEJ2yNGpNAH3qhHdU5
RbodPZzslLROVYV3V5CFP4z9pP1AC5n8jNM2Tkk1bHqVZuPiTeeEPggZa05esj/H
q5GxVQFGNgK7Ow1vZZQceaSE9HTfZeiOihzO4fcHSIsKh9iN1ZeJuD1y4h86EbUG
nX0/C10S5pT5jIkcH2fWBSzp82dx+rWahQu4OEKyH4empdfHPBuFvoCZOfdZg3+6
o9foBpMDmJWnyW2OEbZRpPRtshqhYaKilCHV77B9l3fyvafCDEa3mPDEF+Vjb/eJ
21B0HSLdG4tdthnWproJ
=lJQU
-----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