* [Buildroot] [PATCH v2 1/1] package/linphone: remove ffmpeg-related patches
@ 2017-12-17 13:53 Bernd Kuhls
2017-12-18 9:00 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-12-17 13:53 UTC (permalink / raw)
To: buildroot
The linphone package never provided video support.
While this commit
https://git.buildroot.net/buildroot/commit/package/linphone?id=dec04466549cd40e2696ae7725e90d6559bee640
added support for ffmpeg 3.0+ the next commit, which fixed the build of
the bundled mediastreamer2 library, added --disable-video:
https://git.buildroot.net/buildroot/commit/package/linphone?id=f3492b28d89c1f2448c9662a6f755cb48e8c0f0b
At this point the ffmpeg 3.0 patches could have been removed because
ffmpeg is only used if video support is enabled:
https://github.com/BelledonneCommunications/mediastreamer2/blob/6c2a608800a221942f2a827e0abb60346e7d065f/acinclude.m4#L80
https://github.com/BelledonneCommunications/mediastreamer2/blob/6c2a608800a221942f2a827e0abb60346e7d065f/acinclude.m4#L107
This patch catches up on that to avoid changing the upstream URL for
the patches which is broken.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: removed unneeded ffmpeg patches instead of using
http://snapshot.debian.org/archive/debian/20161118T211932Z/pool/main/l/linphone
as proposed by Thomas.
package/linphone/linphone.hash | 4 ----
package/linphone/linphone.mk | 5 -----
2 files changed, 9 deletions(-)
diff --git a/package/linphone/linphone.hash b/package/linphone/linphone.hash
index 2e202cf10e..9ed9d37f77 100644
--- a/package/linphone/linphone.hash
+++ b/package/linphone/linphone.hash
@@ -1,6 +1,2 @@
# Locally calculated after checking pgp signature
sha256 05ba81223e9378c3bce8d33080213b9925af49bd9623cd9004eb3dd22ca9d2a0 linphone-3.6.1.tar.gz
-sha256 bc4ef670c0ecc1bb60bcb79374309b555c11d154bacfa363d809a26a58780933 libav9.patch
-sha256 a50a8ac2caedb389c224f81393901a029fec055ec2ec83aa18d677e1bfe7fc73 libav10.patch
-sha256 e384775c12ea93d3bc35dccfe4ea875c38b74be8af63fcb82e6b7f06e93d1593 libav11.patch
-sha256 3367a26f65f49f4101787b1821402127d29cde9b02d3873112a5001a549cc7d9 ffmpeg_2.9.patch
diff --git a/package/linphone/linphone.mk b/package/linphone/linphone.mk
index 214c116417..4129c2a9e3 100644
--- a/package/linphone/linphone.mk
+++ b/package/linphone/linphone.mk
@@ -15,11 +15,6 @@ LINPHONE_INSTALL_STAGING = YES
LINPHONE_DEPENDENCIES = host-pkgconf libeXosip2 speex
LINPHONE_LICENSE = GPL-2.0+
LINPHONE_LICENSE_FILES = COPYING
-LINPHONE_PATCH = \
- https://sources.debian.net/data/main/l/linphone/3.6.1-3/debian/patches/libav9.patch \
- https://sources.debian.net/data/main/l/linphone/3.6.1-3/debian/patches/libav10.patch \
- https://sources.debian.net/data/main/l/linphone/3.6.1-3/debian/patches/libav11.patch \
- https://sources.debian.net/data/main/l/linphone/3.6.1-3/debian/patches/ffmpeg_2.9.patch
ifeq ($(BR2_arc),y)
# toolchain __arc__ define conflicts with libosip2 source
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* [Buildroot] [PATCH v2 1/1] package/linphone: remove ffmpeg-related patches
2017-12-17 13:53 [Buildroot] [PATCH v2 1/1] package/linphone: remove ffmpeg-related patches Bernd Kuhls
@ 2017-12-18 9:00 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-12-18 9:00 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 17 Dec 2017 14:53:46 +0100, Bernd Kuhls wrote:
> The linphone package never provided video support.
>
> While this commit
> https://git.buildroot.net/buildroot/commit/package/linphone?id=dec04466549cd40e2696ae7725e90d6559bee640
>
> added support for ffmpeg 3.0+ the next commit, which fixed the build of
> the bundled mediastreamer2 library, added --disable-video:
> https://git.buildroot.net/buildroot/commit/package/linphone?id=f3492b28d89c1f2448c9662a6f755cb48e8c0f0b
>
> At this point the ffmpeg 3.0 patches could have been removed because
> ffmpeg is only used if video support is enabled:
>
> https://github.com/BelledonneCommunications/mediastreamer2/blob/6c2a608800a221942f2a827e0abb60346e7d065f/acinclude.m4#L80
> https://github.com/BelledonneCommunications/mediastreamer2/blob/6c2a608800a221942f2a827e0abb60346e7d065f/acinclude.m4#L107
>
> This patch catches up on that to avoid changing the upstream URL for
> the patches which is broken.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: removed unneeded ffmpeg patches instead of using
> http://snapshot.debian.org/archive/debian/20161118T211932Z/pool/main/l/linphone
> as proposed by Thomas.
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-18 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-17 13:53 [Buildroot] [PATCH v2 1/1] package/linphone: remove ffmpeg-related patches Bernd Kuhls
2017-12-18 9:00 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox