* [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1
@ 2020-02-27 17:47 Fabrice Fontaine
2020-02-27 17:47 ` [Buildroot] [PATCH/next 2/6] package/ortp: " Fabrice Fontaine
` (5 more replies)
0 siblings, 6 replies; 13+ messages in thread
From: Fabrice Fontaine @ 2020-02-27 17:47 UTC (permalink / raw)
To: buildroot
- Refresh patch
- libiconv is needed without locale since version 4.3.0 and
https://github.com/BelledonneCommunications/bctoolbox/commit/d5713996c2ae100594ebf319c54d95297b02a2e1
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...1-Fix-Libs.private-flags-for-mbedtls.patch | 44 +++++++------------
package/bctoolbox/Config.in | 5 +++
package/bctoolbox/bctoolbox.hash | 2 +-
package/bctoolbox/bctoolbox.mk | 7 ++-
package/mediastreamer/Config.in | 4 ++
package/ortp/Config.in | 4 ++
6 files changed, 36 insertions(+), 30 deletions(-)
diff --git a/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch b/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch
index a70c7c633a..342042d59c 100644
--- a/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch
+++ b/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch
@@ -1,49 +1,37 @@
-From c0b3dbb43aa3a38c47311556c85eadc6072e2d68 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
-Date: Tue, 14 Feb 2017 22:02:26 +0100
-Subject: [PATCH] Fix Libs.private flags for mbedtls
+From b7f14a800bbdad193f45695bc5b8c5173f3882ba Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 10 Feb 2019 17:51:05 +0100
+Subject: [PATCH] CMakeLists.txt: fix mbedtls libraries in bctoolbox.pc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Static linking with bctoolbox fails when using pkg-config as the
-generated bctoolbox.pc file only consists of an '-L' string without any
-search path or libraries flags.
-
-That's because of an typo in `mbedtls_library_path`. However,
-`mbedtls_library_path` contains a string of the mbedtls libraries
-concatenated by an ';' which cannot be parsed by pkg-config.
-
-Therefore, use `MBEDTLS_LIBRARY` instead of `MBEDTLS_LIBRARIES` to get
-the library path.
-
-Furthermore, add the three mbedtls libraries *mbedtls*, *mbedcrypto*, and
-*mbedx509* to `LIBS_PRIVATE` so these libraries are added to the
-`Libs.private` field of bctoolbox.pc.
-
-Upstream status: Pending
+bctoolbox.pc should not contain the full libraries path, path should be
+given by -L and library names by -l
+So sent back the fix already suggested by J?rg Krause in
https://github.com/BelledonneCommunications/bctoolbox/pull/4
Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status:
+https://github.com/BelledonneCommunications/bctoolbox/pull/7]
---
- CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ CMakeLists.txt | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ed7aa00..4127f0e 100644
+index 29f3eb6..b2f26c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -103,8 +103,8 @@ else()
+@@ -101,9 +101,8 @@ else()
endif()
if(MBEDTLS_FOUND)
- get_filename_component(mbedtls_library_path "${MBEDTLS_LIBRARIES}" PATH)
-- set(LIBS_PRIVATE "${LIBS_PRIVATE} -L${mbedlts_library_path}")
+- string(REPLACE ";" " " MBEDTLS_LIBRARIES_STR "${MBEDTLS_LIBRARIES}")
+- set(LIBS_PRIVATE "${LIBS_PRIVATE} ${MBEDTLS_LIBRARIES_STR}")
+ get_filename_component(mbedtls_library_path "${MBEDTLS_LIBRARY}" PATH)
+ set(LIBS_PRIVATE "${LIBS_PRIVATE} -L${mbedtls_library_path} -lmbedtls -lmbedcrypto -lmbedx509")
endif()
if(POLARSSL_FOUND)
get_filename_component(polarssl_library_path "${POLARSSL_LIBRARIES}" PATH)
---
-2.11.1
-
diff --git a/package/bctoolbox/Config.in b/package/bctoolbox/Config.in
index 048d01282c..1cf2b7e236 100644
--- a/package/bctoolbox/Config.in
+++ b/package/bctoolbox/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_BCTOOLBOX
bool "bctoolbox"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Utilities library used by Belledonne Communications
softwares like belle-sip, mediastreamer2 and linphone.
@@ -12,3 +14,6 @@ config BR2_PACKAGE_BCTOOLBOX
comment "bctoolbox needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+
+comment "bctoolbox needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
diff --git a/package/bctoolbox/bctoolbox.hash b/package/bctoolbox/bctoolbox.hash
index 6242355ee2..7d64c32013 100644
--- a/package/bctoolbox/bctoolbox.hash
+++ b/package/bctoolbox/bctoolbox.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 da7df7ff359a9829e9e6ef98dfe9fead0cf735b8a4a5da1b1047f467dee1b2a9 bctoolbox-0.4.0.tar.gz
+sha256 d8501e3793c10abbf913759d7a0e5f6eb3140af6bacf5e2bdcd532049bde69c0 bctoolbox-4.3.1.tar.gz
sha256 849dd903d98f12a964466ccfbaf3a1de1f94ad0ebd49a59d12f8ce4506f9f647 COPYING
diff --git a/package/bctoolbox/bctoolbox.mk b/package/bctoolbox/bctoolbox.mk
index 281a0bf2a1..f9d740820d 100644
--- a/package/bctoolbox/bctoolbox.mk
+++ b/package/bctoolbox/bctoolbox.mk
@@ -4,7 +4,7 @@
#
################################################################################
-BCTOOLBOX_VERSION = 0.4.0
+BCTOOLBOX_VERSION = 4.3.1
BCTOOLBOX_SITE = $(call github,BelledonneCommunications,bctoolbox,$(BCTOOLBOX_VERSION))
BCTOOLBOX_LICENSE = GPL-2.0+
BCTOOLBOX_LICENSE_FILES = COPYING
@@ -20,6 +20,11 @@ BCTOOLBOX_CONF_OPTS = \
-DGIT_EXECUTABLE=OFF \
-DCMAKE_SKIP_RPATH=ON
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+BCTOOLBOX_DEPENDENCIES += libiconv
+BCTOOLBOX_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -liconv"
+endif
+
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
BCTOOLBOX_DEPENDENCIES += mbedtls
BCTOOLBOX_CONF_OPTS += -DENABLE_MBEDTLS=ON
diff --git a/package/mediastreamer/Config.in b/package/mediastreamer/Config.in
index b18c83c5e5..91861c16c1 100644
--- a/package/mediastreamer/Config.in
+++ b/package/mediastreamer/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_MEDIASTREAMER
bool "mediastreamer"
depends on BR2_INSTALL_LIBSTDCPP # ortp
depends on BR2_TOOLCHAIN_HAS_THREADS # ortp
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # ortp
select BR2_PACKAGE_ORTP
help
Mediastreamer is a powerful and lightweighted streaming
@@ -15,3 +16,6 @@ config BR2_PACKAGE_MEDIASTREAMER
comment "mediastreamer needs a toolchain w/ threads, C++"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+
+comment "mediastreamer needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
diff --git a/package/ortp/Config.in b/package/ortp/Config.in
index 052ff1d397..e296e82f7a 100644
--- a/package/ortp/Config.in
+++ b/package/ortp/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_ORTP
bool "oRTP"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # bctoolbox
select BR2_PACKAGE_BCTOOLBOX
help
oRTP, a Real-time Transport Protocol (RTP,RFC3550) library
@@ -10,3 +11,6 @@ config BR2_PACKAGE_ORTP
comment "ortp needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+
+comment "ortp needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
--
2.25.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 2/6] package/ortp: bump to version 4.3.1
2020-02-27 17:47 [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1 Fabrice Fontaine
@ 2020-02-27 17:47 ` Fabrice Fontaine
2020-03-08 15:31 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 3/6] package/mediastreamer: " Fabrice Fontaine
` (4 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Fabrice Fontaine @ 2020-02-27 17:47 UTC (permalink / raw)
To: buildroot
- License is GPL-3.0+ since version 4.3.0 and
https://gitlab.linphone.org/BC/public/ortp/commit/6b925368588ce0fc64a9762dbe86041151e8450a
- Switch to cmake-package
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/ortp/ortp.hash | 4 ++--
package/ortp/ortp.mk | 23 ++++++++++++++++-------
2 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/package/ortp/ortp.hash b/package/ortp/ortp.hash
index 93ec39297f..65a5141609 100644
--- a/package/ortp/ortp.hash
+++ b/package/ortp/ortp.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 eb61a833ab3ad80978d7007411240f46e9b2d1034373b9d9dfaac88c1b6ec0af ortp-0.27.0.tar.gz
-sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING
+sha256 55d12b71ed7c3958abb8d892105e616499d66c88200c46e3ec3cfbbe79771b2e ortp-4.3.1.tar.gz
+sha256 1b3782ccad7b8614100cda30d3faf42fc39f2e97932908c543005053b654ca68 LICENSE.txt
diff --git a/package/ortp/ortp.mk b/package/ortp/ortp.mk
index 0bd61e88d9..436e04c14d 100644
--- a/package/ortp/ortp.mk
+++ b/package/ortp/ortp.mk
@@ -4,13 +4,22 @@
#
################################################################################
-ORTP_VERSION = 0.27.0
-ORTP_SITE = http://download.savannah.nongnu.org/releases/linphone/ortp/sources
-
-ORTP_CONF_OPTS = --disable-strict
+ORTP_VERSION = 4.3.1
+ORTP_SITE = https://gitlab.linphone.org/BC/public/ortp/-/archive/$(ORTP_VERSION)
+ORTP_LICENSE = GPL-3.0+
+ORTP_LICENSE_FILES = LICENSE.txt
ORTP_INSTALL_STAGING = YES
-ORTP_LICENSE = LGPL-2.1+
-ORTP_LICENSE_FILES = COPYING
ORTP_DEPENDENCIES = bctoolbox
+ORTP_CONF_OPTS = \
+ -DENABLE_DOC=OFF \
+ -DENABLE_STRICT=OFF
+
+ifeq ($(BR2_STATIC_LIBS),y)
+ORTP_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=OFF
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
+ORTP_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=ON
+else ifeq ($(BR2_SHARED_LIBS),y)
+ORTP_CONF_OPTS += -DENABLE_STATIC=OFF -DENABLE_SHARED=ON
+endif
-$(eval $(autotools-package))
+$(eval $(cmake-package))
--
2.25.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 3/6] package/mediastreamer: bump to version 4.3.1
2020-02-27 17:47 [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1 Fabrice Fontaine
2020-02-27 17:47 ` [Buildroot] [PATCH/next 2/6] package/ortp: " Fabrice Fontaine
@ 2020-02-27 17:47 ` Fabrice Fontaine
2020-03-09 21:06 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 4/6] package/belle-sip: new package Fabrice Fontaine
` (3 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Fabrice Fontaine @ 2020-02-27 17:47 UTC (permalink / raw)
To: buildroot
- Drop first patch (already in version)
- Update second patch
- License is GPL-3.0+ since version 4.3.0 and
https://gitlab.linphone.org/BC/public/mediastreamer2/commit/85094197cfaaaa8768a86562a0bce9d3d738d2da
- Switch to cmake-package and so drop third patch as autotools is not
updated anymore (and fails to build due to missing po/Makefile.in.in)
- Add a mandatory dependency to mbedtls (to enable crypto support in
bctoolbox)
- Add bcg729, jpegturbo, libgsm, libpcap, libsrtp and zxing-cpp optional
dependencies
- Add a dependency on dynamic library as no pkg-config calls are done in
cmake (static build with ffmepg and opus will fail for example)
- Drop libupnp optional dependency (not available anymore)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...mpilation-issue-with-latest-bctoobox.patch | 38 -----
...-nowebcam.c-fix-build-without-ffmpeg.patch | 55 +++++++
...FER_PADDING_SIZE-to-determine-paddin.patch | 24 +--
...ffmpeg-and-avcodec-function-conflict.patch | 42 -----
package/mediastreamer/Config.in | 9 +-
package/mediastreamer/mediastreamer.hash | 4 +-
package/mediastreamer/mediastreamer.mk | 153 ++++++++++++------
7 files changed, 171 insertions(+), 154 deletions(-)
delete mode 100644 package/mediastreamer/0001-fix-compilation-issue-with-latest-bctoobox.patch
create mode 100644 package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch
delete mode 100644 package/mediastreamer/0002-m4-fix-local-ffmpeg-and-avcodec-function-conflict.patch
diff --git a/package/mediastreamer/0001-fix-compilation-issue-with-latest-bctoobox.patch b/package/mediastreamer/0001-fix-compilation-issue-with-latest-bctoobox.patch
deleted file mode 100644
index 7bc9733c85..0000000000
--- a/package/mediastreamer/0001-fix-compilation-issue-with-latest-bctoobox.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 26f884bf977977041fe6f98a0af186be1580bf22 Mon Sep 17 00:00:00 2001
-From: Simon Morlat <simon.morlat@linphone.org>
-Date: Thu, 29 Sep 2016 15:26:18 +0200
-Subject: [PATCH] fix compilation issue with latest bctoobox
-
-[Upstream commit https://github.com/BelledonneCommunications/mediastreamer2/commit/26f884bf977977041fe6f98a0af186be1580bf22]
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- configure.ac | 2 +-
- src/crypto/dtls_srtp.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 7ab20a08f..244d87275 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1116,7 +1116,7 @@ fi
-
-
- dnl check bctoolbox library
--PKG_CHECK_MODULES(BCTOOLBOX, bctoolbox >= 0.0.0, found_bctoolbox=true, found_bctoolbox=false)
-+PKG_CHECK_MODULES(BCTOOLBOX, bctoolbox >= 0.4.0, found_bctoolbox=true, found_bctoolbox=false)
- if test "$found_bctoolbox" = "true" ; then
- LIBS="$LIBS $BCTOOLBOX_LIBS"
- CFLAGS="$CFLAGS $BCTOOLBOX_CFLAGS"
-diff --git a/src/crypto/dtls_srtp.c b/src/crypto/dtls_srtp.c
-index e2c8e1c44..fd37eb5cb 100644
---- a/src/crypto/dtls_srtp.c
-+++ b/src/crypto/dtls_srtp.c
-@@ -705,7 +705,7 @@ static int ms_dtls_srtp_initialise_bctbx_dtls_context(DtlsBcToolBoxContext *dtls
- bctbx_ssl_config_set_authmode(dtlsContext->ssl_config, BCTBX_SSL_VERIFY_OPTIONAL);
- bctbx_ssl_config_set_own_cert( dtlsContext->ssl_config, dtlsContext->crt, dtlsContext->pkey );
- /* This is useless as peer would certainly be a self signed certificate and we won't verify it but avoid runtime warnings */
-- bctbx_ssl_config_set_ca_chain(dtlsContext->ssl_config, dtlsContext->crt, NULL);
-+ bctbx_ssl_config_set_ca_chain(dtlsContext->ssl_config, dtlsContext->crt);
-
- /* we are not ready yet to actually start the ssl context, this will be done by calling bctbx_ssl_setup when stream starts */
- return 0;
diff --git a/package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch b/package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch
new file mode 100644
index 0000000000..8e7812c389
--- /dev/null
+++ b/package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch
@@ -0,0 +1,55 @@
+From 342f59f1603f759b6dd90754f8dba14d08947f55 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Thu, 27 Feb 2020 16:18:35 +0100
+Subject: [PATCH] src/videofilters/nowebcam.c: fix build without ffmpeg or jpeg
+
+jpeg2yuv is only defined if ffmpeg or turbojpeg is available
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ CMakeLists.txt | 3 +++
+ src/videofilters/nowebcam.c | 4 ++++
+ 2 files changed, 7 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0efc1a5f..6668db2b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -336,7 +336,10 @@ if(ENABLE_JPEG)
+ if(NOT TURBOJPEG_FOUND)
+ message(WARNING "Could not find libturbo-jpeg, mediastreamer2 will be compiled without LibJpeg-Turbo")
+ set(ENABLE_JPEG OFF CACHE BOOL "Enable JPEG support" FORCE)
++ add_definitions(-DNO_JPEG)
+ endif()
++else()
++ add_definitions(-DNO_JPEG)
+ endif()
+ if(ENABLE_QRCODE)
+ find_package(Zxing)
+diff --git a/src/videofilters/nowebcam.c b/src/videofilters/nowebcam.c
+index a2344dcd..afb0d7b1 100644
+--- a/src/videofilters/nowebcam.c
++++ b/src/videofilters/nowebcam.c
+@@ -107,7 +107,9 @@ static mblk_t *_ms_load_jpeg_as_yuv(const char *jpgpath, MSVideoSize *reqsize) {
+ if (err != st_sizel) {
+ ms_error("Could not read as much as wanted !");
+ }
++#if !(defined(NO_FFMPEG) && defined(NO_JPEG))
+ m = jpeg2yuv(jpgbuf, st_sizel, reqsize);
++#endif
+ ms_free(jpgbuf);
+ if (m == NULL) {
+ CloseHandle(fd);
+@@ -140,7 +142,9 @@ static mblk_t *_ms_load_jpeg_as_yuv(const char *jpgpath, MSVideoSize *reqsize) {
+ if (err != statbuf.st_size) {
+ ms_error("Could not read as much as wanted: %i<>%li !", err, (long)statbuf.st_size);
+ }
++#if !(defined(NO_FFMPEG) && defined(NO_JPEG))
+ m = jpeg2yuv(jpgbuf,statbuf.st_size,reqsize);
++#endif
+ ms_free(jpgbuf);
+ if (m == NULL) {
+ close(fd);
+--
+2.25.0
+
diff --git a/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch b/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch
index 792c3eeb44..fc66e9a9f9 100644
--- a/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch
+++ b/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch
@@ -17,6 +17,8 @@ Downloaded from
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901735
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+[Fabrice: updated for 4.3.1]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
src/utils/ffmpeg-priv.h | 4 ++++
src/videofilters/nowebcam.c | 4 ++--
@@ -37,28 +39,6 @@ index c0745a9a..d59ea0e1 100644
#ifndef HAVE_FUN_avcodec_encode_video2
int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr);
#endif
-diff --git a/src/videofilters/nowebcam.c b/src/videofilters/nowebcam.c
-index bd2ca838..4783de05 100644
---- a/src/videofilters/nowebcam.c
-+++ b/src/videofilters/nowebcam.c
-@@ -32,7 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- #ifndef NO_FFMPEG
- #include "ffmpeg-priv.h"
- #else
--#define FF_INPUT_BUFFER_PADDING_SIZE 32
-+#define AV_INPUT_BUFFER_PADDING_SIZE 32
- #endif
-
- #if TARGET_OS_IPHONE
-@@ -248,7 +248,7 @@ static mblk_t *_ms_load_jpeg_as_yuv(const char *jpgpath, MSVideoSize *reqsize){
- ms_error("Cannot load %s",jpgpath);
- return NULL;
- }
-- jpgbuf=(uint8_t*)ms_malloc0(statbuf.st_size + FF_INPUT_BUFFER_PADDING_SIZE);
-+ jpgbuf=(uint8_t*)ms_malloc0(statbuf.st_size + AV_INPUT_BUFFER_PADDING_SIZE);
- if (jpgbuf==NULL)
- {
- close(fd);
--
2.18.0
diff --git a/package/mediastreamer/0002-m4-fix-local-ffmpeg-and-avcodec-function-conflict.patch b/package/mediastreamer/0002-m4-fix-local-ffmpeg-and-avcodec-function-conflict.patch
deleted file mode 100644
index cdaa0fab24..0000000000
--- a/package/mediastreamer/0002-m4-fix-local-ffmpeg-and-avcodec-function-conflict.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From d12e74a559602b3dff9a6bf38fcbb139535c9c9c Mon Sep 17 00:00:00 2001
-From: Giulio Benetti <giulio.benetti@micronovasrl.com>
-Date: Mon, 3 Sep 2018 20:27:00 +0200
-Subject: [PATCH] m4: fix local ffmpeg and avcodec function conflict
-
-Autotools miss avcodec function check.
-This is due to linker library list order, -ldrm is appended too early
-respect to -lavutil. This results in missing drm library functions for
-avcodec functions:
-- drmGetVersion()
-- drmFreeVersion()
-So these functions:
-- avcodec_get_context_defaults3
-- avcodec_open2
-- avcodec_encode_video2
-can't link correctly during check and they seem not to be present.
-Then macros HAVE_FUN_avcodec_* are not defined in mediastreamer-config.h
-So local avcodec functions conflict with real avcodec library functions.
-
-In acinclude.m4 file, swap $FFMPEG_LIBS and -lavutil if avcodec is found.
-
-Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
----
- acinclude.m4 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/acinclude.m4 b/acinclude.m4
-index 6c31ed82..89ff6643 100644
---- a/acinclude.m4
-+++ b/acinclude.m4
-@@ -110,7 +110,7 @@ AC_DEFUN([MS_CHECK_VIDEO],[
- if test x$avcodec_found = xno ; then
- AC_MSG_WARN([Could not find libavcodec (from ffmpeg) headers and library.])
- else
-- FFMPEG_LIBS="$FFMPEG_LIBS -lavutil"
-+ FFMPEG_LIBS="-lavutil $FFMPEG_LIBS"
- fi
-
-
---
-2.17.1
-
diff --git a/package/mediastreamer/Config.in b/package/mediastreamer/Config.in
index 91861c16c1..b3ba5a0cb0 100644
--- a/package/mediastreamer/Config.in
+++ b/package/mediastreamer/Config.in
@@ -1,8 +1,10 @@
config BR2_PACKAGE_MEDIASTREAMER
bool "mediastreamer"
- depends on BR2_INSTALL_LIBSTDCPP # ortp
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS # ortp
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # ortp
+ select BR2_PACKAGE_MBEDTLS
select BR2_PACKAGE_ORTP
help
Mediastreamer is a powerful and lightweighted streaming
@@ -14,8 +16,9 @@ config BR2_PACKAGE_MEDIASTREAMER
http://www.linphone.org/technical-corner/mediastreamer2
-comment "mediastreamer needs a toolchain w/ threads, C++"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "mediastreamer needs a toolchain w/ threads, C++, dynamic library"
+ depends on !BR2_INSTALL_LIBSTDCPP || \
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_STATIC_LIBS
comment "mediastreamer needs a toolchain not affected by GCC bug 64735"
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
diff --git a/package/mediastreamer/mediastreamer.hash b/package/mediastreamer/mediastreamer.hash
index 8ebf64af09..5b72426781 100644
--- a/package/mediastreamer/mediastreamer.hash
+++ b/package/mediastreamer/mediastreamer.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 1144849c0c96abafb1153adf56109f0f195a9e4a53cf28cb611bbca7a9012c1a mediastreamer-2.14.0.tar.gz
-sha256 ba9ed2269151ad63b922598f3c5c19ddf781b2bbb6cb843ed9f085ecd1679c5d COPYING
+sha256 b7251495c0bf2c71508b7cdf29999326af0bd215ec4c647b3ebb60796ee72503 mediastreamer-4.3.1.tar.gz
+sha256 1b3782ccad7b8614100cda30d3faf42fc39f2e97932908c543005053b654ca68 LICENSE.txt
diff --git a/package/mediastreamer/mediastreamer.mk b/package/mediastreamer/mediastreamer.mk
index 3c9756936a..dcec66dfcd 100644
--- a/package/mediastreamer/mediastreamer.mk
+++ b/package/mediastreamer/mediastreamer.mk
@@ -4,110 +4,169 @@
#
################################################################################
-MEDIASTREAMER_VERSION = 2.14.0
-MEDIASTREAMER_SITE = http://download.savannah.nongnu.org/releases/linphone/mediastreamer
+MEDIASTREAMER_VERSION = 4.3.1
+MEDIASTREAMER_SITE = \
+ https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/$(MEDIASTREAMER_VERSION)
+MEDIASTREAMER_LICENSE = GPL-3.0+
+MEDIASTREAMER_LICENSE_FILES = LICENSE.txt
MEDIASTREAMER_INSTALL_STAGING = YES
-# host-vim needed for the xxd utility
-MEDIASTREAMER_DEPENDENCIES = host-intltool host-pkgconf ortp host-gettext host-vim
-# tests fail linking on some architectures, so disable them
-MEDIASTREAMER_CONF_OPTS = --disable-tests --disable-glx --disable-strict
-MEDIASTREAMER_LICENSE = GPL-2.0+
-MEDIASTREAMER_LICENSE_FILES = COPYING
-
-# patching configure.ac
-MEDIASTREAMER_AUTORECONF = YES
+MEDIASTREAMER_DEPENDENCIES = ortp
+MEDIASTREAMER_CONF_OPTS = \
+ -DENABLE_DOC=OFF \
+ -DENABLE_GL=OFF \
+ -DENABLE_GLX=OFF \
+ -DENABLE_MKV=OFF \
+ -DENABLE_SOUND=OFF \
+ -DENABLE_STRICT=OFF \
+ -DENABLE_TOOLS=OFF \
+ -DENABLE_UNIT_TESTS=OFF \
+ -DENABLE_ZRTP=OFF
ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy)
-MEDIASTREAMER_CONF_OPTS += --enable-alsa
+MEDIASTREAMER_CONF_OPTS += \
+ -DENABLE_ALSA=ON \
+ -DENABLE_SOUND=ON
MEDIASTREAMER_DEPENDENCIES += alsa-lib
else
-MEDIASTREAMER_CONF_OPTS += --disable-alsa
+MEDIASTREAMER_CONF_OPTS += -DENABLE_ALSA=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_BCG729),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_G729=ON
+MEDIASTREAMER_DEPENDENCIES += bcg729
+else
+MEDIASTREAMER_CONF_OPTS += -DENABLE_G729=OFF
endif
-ifeq ($(BR2_PACKAGE_LIBUPNP),y)
-MEDIASTREAMER_CONF_OPTS += --enable-upnp
-MEDIASTREAMER_DEPENDENCIES += libupnp
+ifeq ($(BR2_PACKAGE_JPEG_TURBO),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_JPEG=ON
+MEDIASTREAMER_DEPENDENCIES += jpeg
else
-MEDIASTREAMER_CONF_OPTS += --disable-upnp
+MEDIASTREAMER_CONF_OPTS += -DENABLE_JPEG=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_LIBGSM),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_GSM=ON
+MEDIASTREAMER_DEPENDENCIES += libgsm
+else
+MEDIASTREAMER_CONF_OPTS += -DENABLE_GSM=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_LIBPCAP),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_PCAP=ON
+MEDIASTREAMER_DEPENDENCIES += libpcap
+else
+MEDIASTREAMER_CONF_OPTS += -DENABLE_PCAP=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_LIBSRTP),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SRTP=ON
+MEDIASTREAMER_DEPENDENCIES += libsrtp
+else
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SRTP=OFF
endif
ifeq ($(BR2_PACKAGE_LIBVPX),y)
-MEDIASTREAMER_CONF_OPTS += --enable-vp8
+MEDIASTREAMER_CONF_OPTS += -DENABLE_VPX=ON
MEDIASTREAMER_DEPENDENCIES += libvpx
else
-MEDIASTREAMER_CONF_OPTS += --disable-vp8
+MEDIASTREAMER_CONF_OPTS += -DENABLE_VPX=OFF
endif
ifeq ($(BR2_PACKAGE_OPUS),y)
-MEDIASTREAMER_CONF_OPTS += --enable-opus
+MEDIASTREAMER_CONF_OPTS += -DENABLE_OPUS=ON
MEDIASTREAMER_DEPENDENCIES += opus
else
-MEDIASTREAMER_CONF_OPTS += --disable-opus
+MEDIASTREAMER_CONF_OPTS += -DENABLE_OPUS=OFF
endif
-# portaudio backend needs speex as well
-ifeq ($(BR2_PACKAGE_PORTAUDIO)$(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yyy)
-MEDIASTREAMER_CONF_OPTS += --enable-portaudio
-MEDIASTREAMER_DEPENDENCIES += portaudio speex
+ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+MEDIASTREAMER_CONF_OPTS += \
+ -DENABLE_PORTAUDIO=ON \
+ -DENABLE_SOUND=ON
+MEDIASTREAMER_DEPENDENCIES += portaudio
else
-MEDIASTREAMER_CONF_OPTS += --disable-portaudio
+MEDIASTREAMER_CONF_OPTS += -DENABLE_PORTAUDIO=OFF
endif
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
-MEDIASTREAMER_CONF_OPTS += --enable-pulseaudio
+MEDIASTREAMER_CONF_OPTS += \
+ -DENABLE_PULSEAUDIO=ON \
+ -DENABLE_SOUND=ON
MEDIASTREAMER_DEPENDENCIES += pulseaudio
else
-MEDIASTREAMER_CONF_OPTS += --disable-pulseaudio
+MEDIASTREAMER_CONF_OPTS += -DENABLE_PULSEAUDIO=OFF
endif
-ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
-MEDIASTREAMER_CONF_OPTS += --enable-speex
+ifeq ($(BR2_PACKAGE_SPEEX),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SPEEX_CODEC=ON
MEDIASTREAMER_DEPENDENCIES += speex
else
-MEDIASTREAMER_CONF_OPTS += --disable-speex
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SPEEX_CODEC=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_SPEEXDSP),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SPEEX_DSP=ON
+MEDIASTREAMER_DEPENDENCIES += speexdsp
+else
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SPEEX_DSP=OFF
endif
ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
-MEDIASTREAMER_CONF_OPTS += --enable-ffmpeg
+MEDIASTREAMER_CONF_OPTS += -DENABLE_FFMPEG=ON
MEDIASTREAMER_DEPENDENCIES += ffmpeg
else
-MEDIASTREAMER_CONF_OPTS += --disable-ffmpeg
+MEDIASTREAMER_CONF_OPTS += -DENABLE_FFMPEG=OFF
endif
ifeq ($(BR2_PACKAGE_SDL),y)
-MEDIASTREAMER_CONF_OPTS += --enable-sdl
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SDL=ON
MEDIASTREAMER_DEPENDENCIES += sdl
else
-MEDIASTREAMER_CONF_OPTS += --disable-sdl
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SDL=OFF
endif
-# mediastreamer assumes SDL has X11 support if --enable-x11 (and X11 support
-# is only used for SDL output)
-ifeq ($(BR2_PACKAGE_SDL_X11),y)
-MEDIASTREAMER_CONF_OPTS += --enable-x11
+ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_X11=ON
+MEDIASTREAMER_DEPENDENCIES += xlib_libX11
else
-MEDIASTREAMER_CONF_OPTS += --disable-x11
+MEDIASTREAMER_CONF_OPTS += -DENABLE_X11=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
-MEDIASTREAMER_CONF_OPTS += --enable-xv
+MEDIASTREAMER_CONF_OPTS += -DENABLE_XV=ON
MEDIASTREAMER_DEPENDENCIES += xlib_libXv
else
-MEDIASTREAMER_CONF_OPTS += --disable-xv
+MEDIASTREAMER_CONF_OPTS += -DENABLE_XV=OFF
endif
ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
-MEDIASTREAMER_CONF_OPTS += --enable-theora
+MEDIASTREAMER_CONF_OPTS += -DENABLE_THEORA=ON
MEDIASTREAMER_DEPENDENCIES += libtheora
else
-MEDIASTREAMER_CONF_OPTS += --disable-theora
+MEDIASTREAMER_CONF_OPTS += -DENABLE_THEORA=OFF
endif
ifeq ($(BR2_PACKAGE_LIBV4L),y)
-MEDIASTREAMER_CONF_OPTS += --enable-libv4l1 --enable-libv4l2
+MEDIASTREAMER_CONF_OPTS += -DENABLE_V4L=ON
MEDIASTREAMER_DEPENDENCIES += libv4l
else
-MEDIASTREAMER_CONF_OPTS += --disable-libv4l1 --disable-libv4l2
+MEDIASTREAMER_CONF_OPTS += -DENABLE_V4L=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_ZXING_CPP),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_QRCODE=ON
+MEDIASTREAMER_DEPENDENCIES += zxing-cpp
+else
+MEDIASTREAMER_CONF_OPTS += -DENABLE_QRCODE=OFF
+endif
+
+ifeq ($(BR2_STATIC_LIBS),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON
+else ifeq ($(BR2_SHARED_LIBS),y)
+MEDIASTREAMER_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
endif
-$(eval $(autotools-package))
+$(eval $(cmake-package))
--
2.25.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 4/6] package/belle-sip: new package
2020-02-27 17:47 [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1 Fabrice Fontaine
2020-02-27 17:47 ` [Buildroot] [PATCH/next 2/6] package/ortp: " Fabrice Fontaine
2020-02-27 17:47 ` [Buildroot] [PATCH/next 3/6] package/mediastreamer: " Fabrice Fontaine
@ 2020-02-27 17:47 ` Fabrice Fontaine
2020-03-09 21:07 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 5/6] package/belr: " Fabrice Fontaine
` (2 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Fabrice Fontaine @ 2020-02-27 17:47 UTC (permalink / raw)
To: buildroot
Belle-sip is a modern library implementing SIP (RFC 3261) transport,
transaction and dialog layers.
http://www.linphone.org/technical-corner/belle-sip
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/belle-sip/Config.in | 20 ++++++++++++++++++
package/belle-sip/belle-sip.hash | 3 +++
package/belle-sip/belle-sip.mk | 35 ++++++++++++++++++++++++++++++++
5 files changed, 60 insertions(+)
create mode 100644 package/belle-sip/Config.in
create mode 100644 package/belle-sip/belle-sip.hash
create mode 100644 package/belle-sip/belle-sip.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 9eb9950408..b610c79ce3 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -824,6 +824,7 @@ F: package/openzwave/
N: Fabrice Fontaine <fontaine.fabrice@gmail.com>
F: package/bearssl/
+F: package/belle-sip/
F: package/boinc/
F: package/cairo/
F: package/daq3/
diff --git a/package/Config.in b/package/Config.in
index 17e74c1cd5..6f4d844ad0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1615,6 +1615,7 @@ menu "Networking"
source "package/azmq/Config.in"
source "package/azure-iot-sdk-c/Config.in"
source "package/batman-adv/Config.in"
+ source "package/belle-sip/Config.in"
source "package/bluez5_utils-headers/Config.in"
source "package/c-ares/Config.in"
source "package/canfestival/Config.in"
diff --git a/package/belle-sip/Config.in b/package/belle-sip/Config.in
new file mode 100644
index 0000000000..96b89d1627
--- /dev/null
+++ b/package/belle-sip/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_BELLE_SIP
+ bool "belle-sip"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS # dlfcn.h
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # bctoolbox
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_BCTOOLBOX
+ help
+ Belle-sip is a modern library implementing SIP (RFC 3261)
+ transport, transaction and dialog layers.
+
+ http://www.linphone.org/technical-corner/belle-sip
+
+comment "belle-sip needs a toolchain w/ threads, C++, dynamic library, wchar"
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+
+comment "belle-sip needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
diff --git a/package/belle-sip/belle-sip.hash b/package/belle-sip/belle-sip.hash
new file mode 100644
index 0000000000..889ad2be70
--- /dev/null
+++ b/package/belle-sip/belle-sip.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 3ac7051ea6ac758cccbf1483a5dd6cda4293b5cde1370a3f0d298e3a6f0ee032 belle-sip-4.3.1.tar.gz
+sha256 1b3782ccad7b8614100cda30d3faf42fc39f2e97932908c543005053b654ca68 LICENSE.txt
diff --git a/package/belle-sip/belle-sip.mk b/package/belle-sip/belle-sip.mk
new file mode 100644
index 0000000000..1daef1d2df
--- /dev/null
+++ b/package/belle-sip/belle-sip.mk
@@ -0,0 +1,35 @@
+################################################################################
+#
+# belle-sip
+#
+################################################################################
+
+BELLE_SIP_VERSION = 4.3.1
+BELLE_SIP_SITE = \
+ https://gitlab.linphone.org/BC/public/belle-sip/-/archive/$(BELLE_SIP_VERSION)
+BELLE_SIP_LICENSE = GPL-3.0+
+BELLE_SIP_LICENSE_FILES = LICENSE.txt
+BELLE_SIP_INSTALL_STAGING = YES
+BELLE_SIP_DEPENDENCIES = \
+ bctoolbox \
+ $(if $(BR2_PACKAGE_ZLIB),zlib)
+BELLE_SIP_CONF_OPTS = \
+ -DENABLE_STRICT=OFF \
+ -DENABLE_TESTS=OFF
+
+ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
+BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=ON
+BELLE_SIP_DEPENDENCIES += avahi
+else
+BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=OFF
+endif
+
+ifeq ($(BR2_STATIC_LIBS),y)
+BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
+BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON
+else ifeq ($(BR2_SHARED_LIBS),y)
+BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
+endif
+
+$(eval $(cmake-package))
--
2.25.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 5/6] package/belr: new package
2020-02-27 17:47 [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1 Fabrice Fontaine
` (2 preceding siblings ...)
2020-02-27 17:47 ` [Buildroot] [PATCH/next 4/6] package/belle-sip: new package Fabrice Fontaine
@ 2020-02-27 17:47 ` Fabrice Fontaine
2020-03-09 21:07 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 6/6] package/linphone: bump to version 4.3.1 Fabrice Fontaine
2020-03-08 15:28 ` [Buildroot] [PATCH/next 1/6] package/bctoolbox: " Thomas Petazzoni
5 siblings, 1 reply; 13+ messages in thread
From: Fabrice Fontaine @ 2020-02-27 17:47 UTC (permalink / raw)
To: buildroot
Belr is Belledonne Communications' language recognition library, written
in C++11. It parses text inputs formatted according to a language
defined by an ABNF grammar, such as the protocols standardized at IETF.
https://gitlab.linphone.org/BC/public/belr
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/belr/Config.in | 19 +++++++++++++++++++
package/belr/belr.hash | 3 +++
package/belr/belr.mk | 26 ++++++++++++++++++++++++++
5 files changed, 50 insertions(+)
create mode 100644 package/belr/Config.in
create mode 100644 package/belr/belr.hash
create mode 100644 package/belr/belr.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index b610c79ce3..a9c7b005cc 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -825,6 +825,7 @@ F: package/openzwave/
N: Fabrice Fontaine <fontaine.fabrice@gmail.com>
F: package/bearssl/
F: package/belle-sip/
+F: package/belr/
F: package/boinc/
F: package/cairo/
F: package/daq3/
diff --git a/package/Config.in b/package/Config.in
index 6f4d844ad0..d879078fc1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1750,6 +1750,7 @@ menu "Other"
source "package/avro-c/Config.in"
source "package/bctoolbox/Config.in"
source "package/bdwgc/Config.in"
+ source "package/belr/Config.in"
source "package/boost/Config.in"
source "package/c-capnproto/Config.in"
source "package/capnproto/Config.in"
diff --git a/package/belr/Config.in b/package/belr/Config.in
new file mode 100644
index 0000000000..f3f742ad28
--- /dev/null
+++ b/package/belr/Config.in
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_BELR
+ bool "belr"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS # bctoolbox
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # bctoolbox
+ select BR2_PACKAGE_BCTOOLBOX
+ help
+ Belr is Belledonne Communications' language recognition
+ library, written in C++11. It parses text inputs formatted
+ according to a language defined by an ABNF grammar, such as
+ the protocols standardized at IETF.
+
+ https://gitlab.linphone.org/BC/public/belr
+
+comment "belr needs a toolchain w/ threads, C++"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+
+comment "belr needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
diff --git a/package/belr/belr.hash b/package/belr/belr.hash
new file mode 100644
index 0000000000..42cf506972
--- /dev/null
+++ b/package/belr/belr.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 d6575c36c32828edcaf39df2775070b187019b21fe5fe274e7a85caf54284f05 belr-4.3.1.tar.gz
+sha256 1b3782ccad7b8614100cda30d3faf42fc39f2e97932908c543005053b654ca68 LICENSE.txt
diff --git a/package/belr/belr.mk b/package/belr/belr.mk
new file mode 100644
index 0000000000..8855f94fda
--- /dev/null
+++ b/package/belr/belr.mk
@@ -0,0 +1,26 @@
+################################################################################
+#
+# belr
+#
+################################################################################
+
+BELR_VERSION = 4.3.1
+BELR_SITE = https://gitlab.linphone.org/BC/public/belr/-/archive/$(BELR_VERSION)
+BELR_LICENSE = GPL-3.0+
+BELR_LICENSE_FILES = LICENSE.txt
+BELR_INSTALL_STAGING = YES
+BELR_DEPENDENCIES = bctoolbox
+BELR_CONF_OPTS = \
+ -DENABLE_STRICT=OFF \
+ -DENABLE_TESTS=OFF \
+ -DENABLE_TOOLS=OFF
+
+ifeq ($(BR2_STATIC_LIBS),y)
+BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
+BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON
+else ifeq ($(BR2_SHARED_LIBS),y)
+BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
+endif
+
+$(eval $(cmake-package))
--
2.25.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 6/6] package/linphone: bump to version 4.3.1
2020-02-27 17:47 [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1 Fabrice Fontaine
` (3 preceding siblings ...)
2020-02-27 17:47 ` [Buildroot] [PATCH/next 5/6] package/belr: " Fabrice Fontaine
@ 2020-02-27 17:47 ` Fabrice Fontaine
2020-03-09 21:14 ` Thomas Petazzoni
2020-03-08 15:28 ` [Buildroot] [PATCH/next 1/6] package/bctoolbox: " Thomas Petazzoni
5 siblings, 1 reply; 13+ messages in thread
From: Fabrice Fontaine @ 2020-02-27 17:47 UTC (permalink / raw)
To: buildroot
- Update site to get latest release
- License is GPL-3.0+ since version 4.3.0 and
https://gitlab.linphone.org/BC/public/liblinphone/commit/2bc924c184e2f00f1be3f82a736bccaeacce106e
- Switch to cmake-infrastructure
- Remove most of the existing dependencies (alsa, speex, libupnp, ...)
as they are now only managed in mediatreamer
- Add external dependencies: belr, belle-sip, libxml2, mediastreamer,
sqlite
- This bump is needed as current linphone does not build with latest
libeXosip2
Fixes:
- http://autobuild.buildroot.org/results/ed8bdcbfb7d453ed7d436bada35417ee305e6ac9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/linphone/Config.in | 26 +++++++++----
package/linphone/linphone.hash | 4 +-
package/linphone/linphone.mk | 71 +++++++++++++++-------------------
3 files changed, 52 insertions(+), 49 deletions(-)
diff --git a/package/linphone/Config.in b/package/linphone/Config.in
index 06eb059cfd..c7683b829e 100644
--- a/package/linphone/Config.in
+++ b/package/linphone/Config.in
@@ -1,11 +1,17 @@
config BR2_PACKAGE_LINPHONE
bool "linphone"
- depends on BR2_INSTALL_LIBSTDCPP # mediastreamer (bundled)
- depends on BR2_TOOLCHAIN_HAS_THREADS # ortp (bundled)
- depends on BR2_USE_MMU # libeXosip2
- select BR2_PACKAGE_LIBEXOSIP2
- select BR2_PACKAGE_SPEEX
- select BR2_PACKAGE_SPEEXDSP
+ depends on BR2_USE_MMU
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS # belle-sip, mediastreamer
+ depends on BR2_TOOLCHAIN_HAS_THREADS # belr, belle-sip, mediastreamer
+ # belr, belle-sip, mediastreamer
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
+ depends on BR2_USE_WCHAR # belle-sip
+ select BR2_PACKAGE_BELLE_SIP
+ select BR2_PACKAGE_BELR
+ select BR2_PACKAGE_LIBXML2
+ select BR2_PACKAGE_MEDIASTREAMER
+ select BR2_PACKAGE_SQLITE
help
Linphone is an internet phone or Voice Over IP phone (VoIP).
@@ -24,6 +30,10 @@ config BR2_PACKAGE_LINPHONE
http://www.linphone.org/
-comment "linphone needs a toolchain w/ threads, C++"
+comment "linphone needs a toolchain w/ threads, C++, dynamic library, wchar"
depends on BR2_USE_MMU
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+
+comment "linphone needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
diff --git a/package/linphone/linphone.hash b/package/linphone/linphone.hash
index e5b9015ae5..9aa03078d2 100644
--- a/package/linphone/linphone.hash
+++ b/package/linphone/linphone.hash
@@ -1,4 +1,4 @@
# Locally calculated after checking pgp signature
-sha256 05ba81223e9378c3bce8d33080213b9925af49bd9623cd9004eb3dd22ca9d2a0 linphone-3.6.1.tar.gz
+sha256 bfb195845ae23311667d5631c470310a63818fe46029cea2f1b77a5ed84e6e21 linphone-4.3.1.tar.gz
# Locally computed
-sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
+sha256 1b3782ccad7b8614100cda30d3faf42fc39f2e97932908c543005053b654ca68 LICENSE.txt
diff --git a/package/linphone/linphone.mk b/package/linphone/linphone.mk
index 4129c2a9e3..484cc356fa 100644
--- a/package/linphone/linphone.mk
+++ b/package/linphone/linphone.mk
@@ -4,52 +4,45 @@
#
################################################################################
-LINPHONE_VERSION_MAJOR = 3.6
-LINPHONE_VERSION = $(LINPHONE_VERSION_MAJOR).1
-LINPHONE_SITE = http://download-mirror.savannah.gnu.org/releases/linphone/$(LINPHONE_VERSION_MAJOR).x/sources
+LINPHONE_VERSION = 4.3.1
+LINPHONE_SITE = \
+ https://gitlab.linphone.org/BC/public/liblinphone/-/archive/$(LINPHONE_VERSION)
LINPHONE_CONF_OPTS = \
- --disable-strict --disable-video
-# configure is out of sync causing deplibs linking issues
-LINPHONE_AUTORECONF = YES
+ -DENABLE_ADVANCED_IM=OFF \
+ -DENABLE_CXX_WRAPPER=OFF \
+ -DENABLE_DB_STORAGE=OFF \
+ -DENABLE_LIME=OFF \
+ -DENABLE_LIME_X3DH=OFF \
+ -DENABLE_STRICT=OFF \
+ -DENABLE_TOOLS=OFF \
+ -DENABLE_TUTORIALS=OFF \
+ -DENABLE_UNIT_TESTS=OFF \
+ -DENABLE_VCARD=OFF \
+ -DENABLE_VIDEO=OFF
LINPHONE_INSTALL_STAGING = YES
-LINPHONE_DEPENDENCIES = host-pkgconf libeXosip2 speex
-LINPHONE_LICENSE = GPL-2.0+
-LINPHONE_LICENSE_FILES = COPYING
-
-ifeq ($(BR2_arc),y)
-# toolchain __arc__ define conflicts with libosip2 source
-LINPHONE_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
-endif
+LINPHONE_DEPENDENCIES = \
+ belle-sip \
+ belr \
+ libxml2 \
+ mediastreamer \
+ sqlite \
+ $(if $(BR2_PACKAGE_ZLIB),zlib)
+LINPHONE_LICENSE = GPL-3.0+
+LINPHONE_LICENSE_FILES = LICENSE.txt
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
-LINPHONE_CONF_OPTS += --enable-gtk_ui
+LINPHONE_CONF_OPTS += -DENABLE_GTK_UI=ON
LINPHONE_DEPENDENCIES += libgtk2
else
-LINPHONE_CONF_OPTS += --disable-gtk_ui
-endif
-
-# needed for bundled mediastreamer2
-LINPHONE_DEPENDENCIES += host-intltool host-gettext
-
-ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy)
-LINPHONE_CONF_OPTS += --enable-alsa
-LINPHONE_DEPENDENCIES += alsa-lib
-else
-LINPHONE_CONF_OPTS += --disable-alsa
+LINPHONE_CONF_OPTS += -DENABLE_GTK_UI=OFF
endif
-ifeq ($(BR2_PACKAGE_LIBV4L),y)
-LINPHONE_CONF_OPTS += --enable-libv4l1 --enable-libv4l2
-LINPHONE_DEPENDENCIES += libv4l
-else
-LINPHONE_CONF_OPTS += --disable-libv4l1 --disable-libv4l2
-endif
-
-ifeq ($(BR2_PACKAGE_LIBUPNP),y)
-LINPHONE_DEPENDENCIES += libupnp
-LINPHONE_CONF_OPTS += --enable-upnp
-else
-LINPHONE_CONF_OPTS += --disable-upnp
+ifeq ($(BR2_STATIC_LIBS),y)
+LINPHONE_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=OFF
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
+LINPHONE_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=ON
+else ifeq ($(BR2_SHARED_LIBS),y)
+LINPHONE_CONF_OPTS += -DENABLE_STATIC=OFF -DENABLE_SHARED=ON
endif
-$(eval $(autotools-package))
+$(eval $(cmake-package))
--
2.25.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1
2020-02-27 17:47 [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1 Fabrice Fontaine
` (4 preceding siblings ...)
2020-02-27 17:47 ` [Buildroot] [PATCH/next 6/6] package/linphone: bump to version 4.3.1 Fabrice Fontaine
@ 2020-03-08 15:28 ` Thomas Petazzoni
5 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-03-08 15:28 UTC (permalink / raw)
To: buildroot
On Thu, 27 Feb 2020 18:47:09 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> - Refresh patch
> - libiconv is needed without locale since version 4.3.0 and
> https://github.com/BelledonneCommunications/bctoolbox/commit/d5713996c2ae100594ebf319c54d95297b02a2e1
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...1-Fix-Libs.private-flags-for-mbedtls.patch | 44 +++++++------------
> package/bctoolbox/Config.in | 5 +++
> package/bctoolbox/bctoolbox.hash | 2 +-
> package/bctoolbox/bctoolbox.mk | 7 ++-
> package/mediastreamer/Config.in | 4 ++
> package/ortp/Config.in | 4 ++
> 6 files changed, 36 insertions(+), 30 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 2/6] package/ortp: bump to version 4.3.1
2020-02-27 17:47 ` [Buildroot] [PATCH/next 2/6] package/ortp: " Fabrice Fontaine
@ 2020-03-08 15:31 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-03-08 15:31 UTC (permalink / raw)
To: buildroot
On Thu, 27 Feb 2020 18:47:10 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> - License is GPL-3.0+ since version 4.3.0 and
> https://gitlab.linphone.org/BC/public/ortp/commit/6b925368588ce0fc64a9762dbe86041151e8450a
> - Switch to cmake-package
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/ortp/ortp.hash | 4 ++--
> package/ortp/ortp.mk | 23 ++++++++++++++++-------
> 2 files changed, 18 insertions(+), 9 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 3/6] package/mediastreamer: bump to version 4.3.1
2020-02-27 17:47 ` [Buildroot] [PATCH/next 3/6] package/mediastreamer: " Fabrice Fontaine
@ 2020-03-09 21:06 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-03-09 21:06 UTC (permalink / raw)
To: buildroot
On Thu, 27 Feb 2020 18:47:11 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> - Drop first patch (already in version)
> - Update second patch
> - License is GPL-3.0+ since version 4.3.0 and
> https://gitlab.linphone.org/BC/public/mediastreamer2/commit/85094197cfaaaa8768a86562a0bce9d3d738d2da
> - Switch to cmake-package and so drop third patch as autotools is not
> updated anymore (and fails to build due to missing po/Makefile.in.in)
> - Add a mandatory dependency to mbedtls (to enable crypto support in
> bctoolbox)
> - Add bcg729, jpegturbo, libgsm, libpcap, libsrtp and zxing-cpp optional
> dependencies
> - Add a dependency on dynamic library as no pkg-config calls are done in
> cmake (static build with ffmepg and opus will fail for example)
> - Drop libupnp optional dependency (not available anymore)
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...mpilation-issue-with-latest-bctoobox.patch | 38 -----
> ...-nowebcam.c-fix-build-without-ffmpeg.patch | 55 +++++++
> ...FER_PADDING_SIZE-to-determine-paddin.patch | 24 +--
> ...ffmpeg-and-avcodec-function-conflict.patch | 42 -----
> package/mediastreamer/Config.in | 9 +-
> package/mediastreamer/mediastreamer.hash | 4 +-
> package/mediastreamer/mediastreamer.mk | 153 ++++++++++++------
> 7 files changed, 171 insertions(+), 154 deletions(-)
> delete mode 100644 package/mediastreamer/0001-fix-compilation-issue-with-latest-bctoobox.patch
> create mode 100644 package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch
> delete mode 100644 package/mediastreamer/0002-m4-fix-local-ffmpeg-and-avcodec-function-conflict.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 4/6] package/belle-sip: new package
2020-02-27 17:47 ` [Buildroot] [PATCH/next 4/6] package/belle-sip: new package Fabrice Fontaine
@ 2020-03-09 21:07 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-03-09 21:07 UTC (permalink / raw)
To: buildroot
On Thu, 27 Feb 2020 18:47:12 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> diff --git a/package/belle-sip/Config.in b/package/belle-sip/Config.in
> new file mode 100644
> index 0000000000..96b89d1627
> --- /dev/null
> +++ b/package/belle-sip/Config.in
> @@ -0,0 +1,20 @@
> +config BR2_PACKAGE_BELLE_SIP
> + bool "belle-sip"
> + depends on BR2_INSTALL_LIBSTDCPP
> + depends on !BR2_STATIC_LIBS # dlfcn.h
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # bctoolbox
> + depends on BR2_USE_WCHAR
> + select BR2_PACKAGE_BCTOOLBOX
select BR2_PACKAGE_MBEDTLS
was needed here, as belle-sip requires crypto support in bctoolbox.
I've added that and applied to master. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 5/6] package/belr: new package
2020-02-27 17:47 ` [Buildroot] [PATCH/next 5/6] package/belr: " Fabrice Fontaine
@ 2020-03-09 21:07 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-03-09 21:07 UTC (permalink / raw)
To: buildroot
On Thu, 27 Feb 2020 18:47:13 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Belr is Belledonne Communications' language recognition library, written
> in C++11. It parses text inputs formatted according to a language
> defined by an ABNF grammar, such as the protocols standardized at IETF.
>
> https://gitlab.linphone.org/BC/public/belr
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/belr/Config.in | 19 +++++++++++++++++++
> package/belr/belr.hash | 3 +++
> package/belr/belr.mk | 26 ++++++++++++++++++++++++++
> 5 files changed, 50 insertions(+)
> create mode 100644 package/belr/Config.in
> create mode 100644 package/belr/belr.hash
> create mode 100644 package/belr/belr.mk
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 6/6] package/linphone: bump to version 4.3.1
2020-02-27 17:47 ` [Buildroot] [PATCH/next 6/6] package/linphone: bump to version 4.3.1 Fabrice Fontaine
@ 2020-03-09 21:14 ` Thomas Petazzoni
2020-03-10 21:03 ` Fabrice Fontaine
0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2020-03-09 21:14 UTC (permalink / raw)
To: buildroot
Hello Fabrice,
On Thu, 27 Feb 2020 18:47:14 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> -LINPHONE_AUTORECONF = YES
> + -DENABLE_ADVANCED_IM=OFF \
> + -DENABLE_CXX_WRAPPER=OFF \
> + -DENABLE_DB_STORAGE=OFF \
> + -DENABLE_LIME=OFF \
> + -DENABLE_LIME_X3DH=OFF \
> + -DENABLE_STRICT=OFF \
> + -DENABLE_TOOLS=OFF \
> + -DENABLE_TUTORIALS=OFF \
> + -DENABLE_UNIT_TESTS=OFF \
> + -DENABLE_VCARD=OFF \
> + -DENABLE_VIDEO=OFF
Before your patch, linphone had support for Video4Linux (V4L), so we
used to have video support. It seems like quite a regression to no
longer have any video support.
> ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
> -LINPHONE_CONF_OPTS += --enable-gtk_ui
> +LINPHONE_CONF_OPTS += -DENABLE_GTK_UI=ON
Are you sure about this ENABLE_GTK_UI option? I don't see it being
defined anywhere:
$ grep -r ENABLE_GTK_UI
share/CMakeLists.txt:if(ENABLE_GTK_UI)
CMakeLists.txt:cmake_dependent_option(ENABLE_NOTIFY "Enable libnotify support." YES "ENABLE_GTK_UI;NOT APPLE" NO)
CMakeLists.txt:cmake_dependent_option(ENABLE_ASSISTANT "Turn on assistant compiling." YES "ENABLE_GTK_UI" NO)
None of these occurrences seem to be definitions of the ENABLE_GTK_UI
option.
Could you comment on these topics ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH/next 6/6] package/linphone: bump to version 4.3.1
2020-03-09 21:14 ` Thomas Petazzoni
@ 2020-03-10 21:03 ` Fabrice Fontaine
0 siblings, 0 replies; 13+ messages in thread
From: Fabrice Fontaine @ 2020-03-10 21:03 UTC (permalink / raw)
To: buildroot
Hello Thomas,
Le lun. 9 mars 2020 ? 22:14, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> a ?crit :
>
> Hello Fabrice,
>
> On Thu, 27 Feb 2020 18:47:14 +0100
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>
> > -LINPHONE_AUTORECONF = YES
> > + -DENABLE_ADVANCED_IM=OFF \
> > + -DENABLE_CXX_WRAPPER=OFF \
> > + -DENABLE_DB_STORAGE=OFF \
> > + -DENABLE_LIME=OFF \
> > + -DENABLE_LIME_X3DH=OFF \
> > + -DENABLE_STRICT=OFF \
> > + -DENABLE_TOOLS=OFF \
> > + -DENABLE_TUTORIALS=OFF \
> > + -DENABLE_UNIT_TESTS=OFF \
> > + -DENABLE_VCARD=OFF \
> > + -DENABLE_VIDEO=OFF
>
> Before your patch, linphone had support for Video4Linux (V4L), so we
> used to have video support. It seems like quite a regression to no
> longer have any video support.
The linphone package never provided video support as stated in:
- the Config.in file
- the commit message of f3492b28d89c1f2448c9662a6f755cb48e8c0f0b
which added --disable-video to LINPHONE_CONF_OPTS
>
> > ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
> > -LINPHONE_CONF_OPTS += --enable-gtk_ui
> > +LINPHONE_CONF_OPTS += -DENABLE_GTK_UI=ON
>
> Are you sure about this ENABLE_GTK_UI option? I don't see it being
> defined anywhere:
>
> $ grep -r ENABLE_GTK_UI
> share/CMakeLists.txt:if(ENABLE_GTK_UI)
> CMakeLists.txt:cmake_dependent_option(ENABLE_NOTIFY "Enable libnotify support." YES "ENABLE_GTK_UI;NOT APPLE" NO)
> CMakeLists.txt:cmake_dependent_option(ENABLE_ASSISTANT "Turn on assistant compiling." YES "ENABLE_GTK_UI" NO)
>
> None of these occurrences seem to be definitions of the ENABLE_GTK_UI
> option.
You're right that ENABLE_GTK_UI doesn't seem to be defined or useful.
I'll remove it in v2.
>
> Could you comment on these topics ?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Best Regards,
Fabrice
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2020-03-10 21:03 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 17:47 [Buildroot] [PATCH/next 1/6] package/bctoolbox: bump to version 4.3.1 Fabrice Fontaine
2020-02-27 17:47 ` [Buildroot] [PATCH/next 2/6] package/ortp: " Fabrice Fontaine
2020-03-08 15:31 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 3/6] package/mediastreamer: " Fabrice Fontaine
2020-03-09 21:06 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 4/6] package/belle-sip: new package Fabrice Fontaine
2020-03-09 21:07 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 5/6] package/belr: " Fabrice Fontaine
2020-03-09 21:07 ` Thomas Petazzoni
2020-02-27 17:47 ` [Buildroot] [PATCH/next 6/6] package/linphone: bump to version 4.3.1 Fabrice Fontaine
2020-03-09 21:14 ` Thomas Petazzoni
2020-03-10 21:03 ` Fabrice Fontaine
2020-03-08 15:28 ` [Buildroot] [PATCH/next 1/6] package/bctoolbox: " Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.