Skip to contentSkip to conversation

package/linphone: remove ffmpeg-related patches

PATCH New Bernd Kuhls 2 participants 2 messages Dec 17, 2017 – Dec 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/linphone: remove ffmpeg-related patches

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.

---
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(-)
package/linphone/linphone.hash +0 -4
index 2e202cf10e..9ed9d37f77 100644
@@ -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
package/linphone/linphone.mk +0 -5
index 214c116417..4129c2a9e3 100644
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 package/linphone: remove ffmpeg-related patches

Hello,

Quoted 15 lines · Bernd Kuhls

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

Quoted 8 lines

This patch catches up on that to avoid changing the upstream URL for the patches which is broken.

---
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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com