* [Buildroot] [PATCH v15 01/27] package/freeswitch: new package
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 20:18 ` Thomas Petazzoni
2016-04-17 15:24 ` [Buildroot] [PATCH v15 02/27] package/freeswitch: enable optional modules Bernd Kuhls
` (26 subsequent siblings)
27 siblings, 1 reply; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
This commit adds freeswitch without any configured modules and with a
minimal set of non-optional dependencies. All other dependencies and
modules will be added by further patches in this series.
PLease note that freeswitch source repo bundles some libraries which are
also available as buildroot packages. The freeswitch build system does
not allow to use system libraries in these cases:
apr, apr-util, libsrtp, libvpx, libyuv, sofia-sip, tiff
The reason are patches to these packages by the freeswitch project which
are not yet upstream. There is an open JIRA report for this situation:
https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-353/FS-353.html
More historic infos can be found here:
http://article.gmane.org/gmane.comp.telephony.freeswitch.devel/2715
https://freeswitch.org/the-missing-link/
In the 1.6.7 version bump libvpx & libyuv were also moved in-tree:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/febe0f8dacea2d2a31902b3dc469be757f8c3c4d
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/44da905b4f6b3b35e94b4948fb70dec7b5071ded
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/Config.in | 1 +
package/freeswitch/0001-zrtp.patch | 33 +++++++++++++
package/freeswitch/Config.in | 27 +++++++++++
package/freeswitch/freeswitch.hash | 2 +
package/freeswitch/freeswitch.mk | 97 ++++++++++++++++++++++++++++++++++++++
5 files changed, 160 insertions(+)
create mode 100644 package/freeswitch/0001-zrtp.patch
create mode 100644 package/freeswitch/Config.in
create mode 100644 package/freeswitch/freeswitch.hash
create mode 100644 package/freeswitch/freeswitch.mk
diff --git a/package/Config.in b/package/Config.in
index bcfe13b..3ed5d1d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1381,6 +1381,7 @@ endif
source "package/fcgiwrap/Config.in"
source "package/fmc/Config.in"
source "package/fping/Config.in"
+ source "package/freeswitch/Config.in"
source "package/gesftpserver/Config.in"
source "package/gutenprint/Config.in"
source "package/hans/Config.in"
diff --git a/package/freeswitch/0001-zrtp.patch b/package/freeswitch/0001-zrtp.patch
new file mode 100644
index 0000000..c1cdeed
--- /dev/null
+++ b/package/freeswitch/0001-zrtp.patch
@@ -0,0 +1,33 @@
+Fix PowerPC detection (needs __linux__) and add aarch64 support.
+
+Patch sent upstream: https://freeswitch.org/jira/browse/FS-8746
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr freeswitch-1.6.6.org/libs/libzrtp/include/zrtp_config.h freeswitch-1.6.6/libs/libzrtp/include/zrtp_config.h
+--- freeswitch-1.6.6.org/libs/libzrtp/include/zrtp_config.h 2016-01-12 17:32:36.000000000 +0100
++++ freeswitch-1.6.6/libs/libzrtp/include/zrtp_config.h 2016-01-16 14:09:17.830860603 +0100
+@@ -21,7 +21,7 @@
+ # define ZRTP_PLATFORM ZP_ANDROID
+ # elif defined(__FreeBSD__)
+ # define ZRTP_PLATFORM ZP_BSD
+-# elif defined(linux) || defined(__linux)
++# elif defined(linux) || defined(__linux__)
+ # include <linux/version.h>
+ # define ZRTP_PLATFORM ZP_LINUX
+ # elif defined(__MACOSX__) || defined (__APPLE__) || defined (__MACH__)
+@@ -88,7 +88,13 @@
+ */
+ #define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
+
+-#elif defined(ARM) || defined(_ARM_) || defined(ARMV4) || defined(__arm__)
++#elif defined(__AARCH64EB__)
++/*
++ * aarch64, big endian
++ */
++#define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
++
++#elif defined(ARM) || defined(_ARM_) || defined(ARMV4) || defined(__arm__) || defined(__AARCH64EL__)
+ /*
+ * ARM, default to little endian
+ */
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
new file mode 100644
index 0000000..3824a09
--- /dev/null
+++ b/package/freeswitch/Config.in
@@ -0,0 +1,27 @@
+config BR2_PACKAGE_FREESWITCH
+ bool "freeswitch"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS # apr, included in freeswitch source
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_MMU # apr, included in freeswitch source
+ depends on BR2_USE_WCHAR # libuuid
+ select BR2_PACKAGE_LIBCURL
+ select BR2_PACKAGE_JPEG
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_SPEEX
+ select BR2_PACKAGE_SQLITE
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+ select BR2_PACKAGE_ZLIB
+ help
+ FreeSWITCH is a scalable open source cross-platform telephony
+ platform designed to route and interconnect popular communication
+ protocols using audio, video, text or any other form of media.
+
+ https://www.freeswitch.org
+
+comment "freeswitch needs a toolchain w/ C++, dynamic library, threads, wchar"
+ depends on BR2_USE_MMU
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
+ || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
diff --git a/package/freeswitch/freeswitch.hash b/package/freeswitch/freeswitch.hash
new file mode 100644
index 0000000..31915cd
--- /dev/null
+++ b/package/freeswitch/freeswitch.hash
@@ -0,0 +1,2 @@
+# From http://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.7.tar.xz.sha256
+sha256 9c7ca2d39985fdc39659054179465540e926880f032f855c0df74d6eec41a794 freeswitch-1.6.7.tar.xz
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
new file mode 100644
index 0000000..4b9e956
--- /dev/null
+++ b/package/freeswitch/freeswitch.mk
@@ -0,0 +1,97 @@
+################################################################################
+#
+# freeswitch
+#
+################################################################################
+
+FREESWITCH_VERSION = 1.6.7
+FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
+FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
+FREESWITCH_LICENSE = MPLv1.1, \
+ GPLv3+ with font exception (fonts), \
+ Apache-2.0 (apr, apr-util) \
+ LGPLv2+ (sofia-sip), \
+ LGPLv2.1, GPLv2 (spandsp), \
+ BSD-3c (libsrtp), \
+ tiff license
+
+FREESWITCH_LICENSE_FILES = \
+ COPYING \
+ libs/apr/LICENSE \
+ libs/apr-util/LICENSE \
+ libs/sofia-sip/COPYING \
+ libs/sofia-sip/COPYRIGHTS \
+ libs/spandsp/COPYING \
+ libs/srtp/LICENSE \
+ libs/tiff-4.0.2/COPYRIGHT
+
+# required dependencies
+FREESWITCH_DEPENDENCIES = \
+ host-pkgconf \
+ jpeg \
+ libcurl \
+ openssl \
+ pcre \
+ speex \
+ sqlite \
+ util-linux \
+ zlib
+
+# freeswitch comes with pre-enabled modules, since we want to control
+# the modules ourselves reset the upstream configuration
+define FREESWITCH_RESET_MODULES
+ > $(@D)/modules.conf
+endef
+FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_RESET_MODULES
+
+# we neither need host-perl nor host-php
+FREESWITCH_CONF_ENV += \
+ ac_cv_prog_PERL=false \
+ ac_cv_have_perl=no \
+ ac_cv_prog_PHP=false \
+ ac_cv_have_php=no \
+ ac_cv_prog_PHP_CONFIG=false \
+ ac_cv_have_php_config=no
+
+# copied from freeswitch/configure.ac, line 258+
+FREESWITCH_CONF_ENV += \
+ ac_cv_file__dev_ptmx=yes \
+ ac_cv_va_copy=yes \
+ ac_cv_file__dev_urandom=yes \
+ ac_cv_func_realloc_0_nonnull=yes \
+ ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_setpgrp_void=yes \
+ ac_cv_file__dev_zero=yes \
+ apr_cv_tcp_nodelay_with_cork=yes \
+ ac_cv_file_dbd_apr_dbd_mysql_c=no \
+ ac_cv_sizeof_ssize_t=4 \
+ apr_cv_mutex_recursive=yes \
+ ac_cv_func_pthread_rwlock_init=yes \
+ apr_cv_type_rwlock_t=yes \
+ apr_cv_process_shared_works=yes \
+ apr_cv_mutex_robust_shared=yes
+
+# build breaks with -Werror enabled
+FREESWITCH_CONF_ENV += \
+ ac_cv_gcc_supports_w_no_unused_result=no
+
+FREESWITCH_CONF_OPTS = \
+ --disable-core-libedit-support \
+ --disable-core-odbc-support \
+ --disable-libvpx \
+ --disable-libyuv \
+ --without-erlang \
+ --enable-fhs \
+ --without-python \
+ --disable-system-xmlrpc-c
+
+# zrtp supports a limited set of archs, sparc support is also broken due
+# to a broken ld call by gcc, see libs/libzrtp/include/zrtp_config.h
+ifeq ($(BR2_i386)$(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpcle)$(BR2_x86_64),y)
+FREESWITCH_LICENSE_FILES += libs/libzrtp/src/zrtp_legal.c
+FREESWITCH_CONF_OPTS += --enable-zrtp
+else
+FREESWITCH_CONF_OPTS += --disable-zrtp
+endif
+
+$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 01/27] package/freeswitch: new package
2016-04-17 15:24 ` [Buildroot] [PATCH v15 01/27] " Bernd Kuhls
@ 2016-04-17 20:18 ` Thomas Petazzoni
0 siblings, 0 replies; 31+ messages in thread
From: Thomas Petazzoni @ 2016-04-17 20:18 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 17 Apr 2016 17:24:23 +0200, Bernd Kuhls wrote:
> +FREESWITCH_VERSION = 1.6.7
> +FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
> +FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
> +FREESWITCH_LICENSE = MPLv1.1, \
> + GPLv3+ with font exception (fonts), \
> + Apache-2.0 (apr, apr-util) \
There was a missing comma at the end of this line.
I fixed this before applying.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Buildroot] [PATCH v15 02/27] package/freeswitch: enable optional modules
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 01/27] " Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 03/27] package/freeswitch: add optional dependency to libedit Bernd Kuhls
` (25 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
All these modules have no external dependencies.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 80 ++++++++++++++++++++++++++++++++++++----
1 file changed, 73 insertions(+), 7 deletions(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 4b9e956..560ca17 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -37,13 +37,6 @@ FREESWITCH_DEPENDENCIES = \
util-linux \
zlib
-# freeswitch comes with pre-enabled modules, since we want to control
-# the modules ourselves reset the upstream configuration
-define FREESWITCH_RESET_MODULES
- > $(@D)/modules.conf
-endef
-FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_RESET_MODULES
-
# we neither need host-perl nor host-php
FREESWITCH_CONF_ENV += \
ac_cv_prog_PERL=false \
@@ -94,4 +87,77 @@ else
FREESWITCH_CONF_OPTS += --disable-zrtp
endif
+# Enable optional modules
+FREESWITCH_ENABLED_MODULES += \
+ applications/mod_avmd \
+ applications/mod_blacklist \
+ applications/mod_callcenter \
+ applications/mod_commands \
+ applications/mod_conference \
+ applications/mod_curl \
+ applications/mod_db \
+ applications/mod_directory \
+ applications/mod_dptools \
+ applications/mod_easyroute \
+ applications/mod_esf \
+ applications/mod_esl \
+ applications/mod_expr \
+ applications/mod_fifo \
+ applications/mod_fsk \
+ applications/mod_hash \
+ applications/mod_httapi \
+ applications/mod_lcr \
+ applications/mod_sms \
+ applications/mod_snom \
+ applications/mod_spandsp \
+ applications/mod_spy \
+ applications/mod_valet_parking \
+ applications/mod_voicemail \
+ codecs/mod_g723_1 \
+ codecs/mod_g729 \
+ dialplans/mod_dialplan_asterisk \
+ dialplans/mod_dialplan_xml \
+ endpoints/mod_loopback \
+ endpoints/mod_rtc \
+ endpoints/mod_rtmp \
+ endpoints/mod_sofia \
+ endpoints/mod_verto \
+ event_handlers/mod_cdr_csv \
+ event_handlers/mod_cdr_sqlite \
+ event_handlers/mod_event_socket \
+ formats/mod_local_stream \
+ formats/mod_native_file \
+ formats/mod_tone_stream \
+ loggers/mod_console \
+ loggers/mod_logfile \
+ loggers/mod_syslog \
+ say/mod_say_de \
+ say/mod_say_en \
+ say/mod_say_es \
+ say/mod_say_es_ar \
+ say/mod_say_fa \
+ say/mod_say_fr \
+ say/mod_say_he \
+ say/mod_say_hr \
+ say/mod_say_hu \
+ say/mod_say_it \
+ say/mod_say_ja \
+ say/mod_say_nl \
+ say/mod_say_pl \
+ say/mod_say_pt \
+ say/mod_say_ru \
+ say/mod_say_sv \
+ say/mod_say_th \
+ say/mod_say_zh \
+ xml_int/mod_xml_cdr \
+ xml_int/mod_xml_rpc \
+ xml_int/mod_xml_scgi
+
+define FREESWITCH_ENABLE_MODULES
+ $(Q)echo $(FREESWITCH_ENABLED_MODULES) \
+ | tr ' ' '\n' \
+ > $(@D)/modules.conf
+endef
+FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 03/27] package/freeswitch: add optional dependency to libedit
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 01/27] " Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 02/27] package/freeswitch: enable optional modules Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 04/27] package/freeswitch: enable mod_enum Bernd Kuhls
` (24 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 560ca17..6c2bbab 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -69,7 +69,6 @@ FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
- --disable-core-libedit-support \
--disable-core-odbc-support \
--disable-libvpx \
--disable-libyuv \
@@ -160,4 +159,11 @@ define FREESWITCH_ENABLE_MODULES
endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_LIBEDIT),y)
+FREESWITCH_DEPENDENCIES += libedit
+FREESWITCH_CONF_OPTS += --enable-core-libedit-support
+else
+FREESWITCH_CONF_OPTS += --disable-core-libedit-support
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 04/27] package/freeswitch: enable mod_enum
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (2 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 03/27] package/freeswitch: add optional dependency to libedit Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 05/27] package/freeswitch: add optional dependency to libpng Bernd Kuhls
` (23 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 6c2bbab..453b806 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -166,4 +166,9 @@ else
FREESWITCH_CONF_OPTS += --disable-core-libedit-support
endif
+ifeq ($(BR2_PACKAGE_LIBLDNS),y)
+FREESWITCH_DEPENDENCIES += libldns
+FREESWITCH_ENABLED_MODULES += applications/mod_enum
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 05/27] package/freeswitch: add optional dependency to libpng
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (3 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 04/27] package/freeswitch: enable mod_enum Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 06/27] package/freeswitch: add optional dependency to unixodbc Bernd Kuhls
` (22 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 453b806..6ebfc9c 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -171,4 +171,9 @@ FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
endif
+ifeq ($(BR2_PACKAGE_LIBPNG),y)
+FREESWITCH_DEPENDENCIES += libpng
+FREESWITCH_ENABLED_MODULES += formats/mod_png
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 06/27] package/freeswitch: add optional dependency to unixodbc
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (4 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 05/27] package/freeswitch: add optional dependency to libpng Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 07/27] package/freeswitch: add optional dependency to freetype Bernd Kuhls
` (21 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 6ebfc9c..1dccdda 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -69,7 +69,6 @@ FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
- --disable-core-odbc-support \
--disable-libvpx \
--disable-libyuv \
--without-erlang \
@@ -176,4 +175,13 @@ FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
endif
+ifeq ($(BR2_PACKAGE_UNIXODBC),y)
+FREESWITCH_DEPENDENCIES += unixodbc
+FREESWITCH_CONF_OPTS += \
+ --enable-core-odbc-support \
+ --with-odbc=$(STAGING_DIR)/usr
+else
+FREESWITCH_CONF_OPTS += --disable-core-odbc-support
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 07/27] package/freeswitch: add optional dependency to freetype
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (5 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 06/27] package/freeswitch: add optional dependency to unixodbc Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 08/27] package/freeswitch: enable mod_yaml Bernd Kuhls
` (20 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 1dccdda..f067c20 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -158,6 +158,10 @@ define FREESWITCH_ENABLE_MODULES
endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_FREETYPE),y)
+FREESWITCH_DEPENDENCIES += freetype
+endif
+
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
FREESWITCH_DEPENDENCIES += libedit
FREESWITCH_CONF_OPTS += --enable-core-libedit-support
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 08/27] package/freeswitch: enable mod_yaml
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (6 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 07/27] package/freeswitch: add optional dependency to freetype Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 09/27] package/freeswitch: enable mod_lua Bernd Kuhls
` (19 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index f067c20..8c3c081 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -179,6 +179,11 @@ FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
endif
+ifeq ($(BR2_PACKAGE_LIBYAML),y)
+FREESWITCH_DEPENDENCIES += libyaml
+FREESWITCH_ENABLED_MODULES += languages/mod_yaml
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 09/27] package/freeswitch: enable mod_lua
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (7 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 08/27] package/freeswitch: enable mod_yaml Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 10/27] package/freeswitch: enable mod_bv Bernd Kuhls
` (18 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 8c3c081..69edf19 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -184,6 +184,11 @@ FREESWITCH_DEPENDENCIES += libyaml
FREESWITCH_ENABLED_MODULES += languages/mod_yaml
endif
+ifeq ($(BR2_PACKAGE_LUA),y)
+FREESWITCH_DEPENDENCIES += lua
+FREESWITCH_ENABLED_MODULES += languages/mod_lua
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 10/27] package/freeswitch: enable mod_bv
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (8 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 09/27] package/freeswitch: enable mod_lua Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 11/27] package/freeswitch: enable mod_codec2 Bernd Kuhls
` (17 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 69edf19..9e97b66 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -162,6 +162,11 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
+ifeq ($(BR2_PACKAGE_LIBBROADVOICE),y)
+FREESWITCH_DEPENDENCIES += libbroadvoice
+FREESWITCH_ENABLED_MODULES += codecs/mod_bv
+endif
+
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
FREESWITCH_DEPENDENCIES += libedit
FREESWITCH_CONF_OPTS += --enable-core-libedit-support
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 11/27] package/freeswitch: enable mod_codec2
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (9 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 10/27] package/freeswitch: enable mod_bv Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 12/27] package/freeswitch: add optional dependency to libg7221 Bernd Kuhls
` (16 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 9e97b66..ed57c23 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -167,6 +167,11 @@ FREESWITCH_DEPENDENCIES += libbroadvoice
FREESWITCH_ENABLED_MODULES += codecs/mod_bv
endif
+ifeq ($(BR2_PACKAGE_LIBCODEC2),y)
+FREESWITCH_DEPENDENCIES += libcodec2
+FREESWITCH_ENABLED_MODULES += codecs/mod_codec2
+endif
+
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
FREESWITCH_DEPENDENCIES += libedit
FREESWITCH_CONF_OPTS += --enable-core-libedit-support
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 12/27] package/freeswitch: add optional dependency to libg7221
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (10 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 11/27] package/freeswitch: enable mod_codec2 Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 13/27] package/freeswitch: enable mod_ilbc Bernd Kuhls
` (15 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index ed57c23..2de284b 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -179,6 +179,10 @@ else
FREESWITCH_CONF_OPTS += --disable-core-libedit-support
endif
+ifeq ($(BR2_PACKAGE_LIBG7221),y)
+FREESWITCH_DEPENDENCIES += libg7221
+endif
+
ifeq ($(BR2_PACKAGE_LIBLDNS),y)
FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 13/27] package/freeswitch: enable mod_ilbc
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (11 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 12/27] package/freeswitch: add optional dependency to libg7221 Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 14/27] package/freeswitch: enable mod_isac Bernd Kuhls
` (14 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 2de284b..795a302 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -183,6 +183,11 @@ ifeq ($(BR2_PACKAGE_LIBG7221),y)
FREESWITCH_DEPENDENCIES += libg7221
endif
+ifeq ($(BR2_PACKAGE_LIBILBC),y)
+FREESWITCH_DEPENDENCIES += libilbc
+FREESWITCH_ENABLED_MODULES += codecs/mod_ilbc
+endif
+
ifeq ($(BR2_PACKAGE_LIBLDNS),y)
FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 14/27] package/freeswitch: enable mod_isac
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (12 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 13/27] package/freeswitch: enable mod_ilbc Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 15/27] package/freeswitch: enable mod_opus Bernd Kuhls
` (13 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 795a302..a1d4dbe 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -158,6 +158,14 @@ define FREESWITCH_ENABLE_MODULES
endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+# mod_isac supports a limited set of archs
+# src/mod/codecs/mod_isac/typedefs.h
+ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_64),y)
+FREESWITCH_LICENSE += BSD-3c (mod_isac)
+FREESWITCH_LICENSE_FILES += src/mod/codecs/mod_isac/LICENSE
+FREESWITCH_ENABLED_MODULES += codecs/mod_isac
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 15/27] package/freeswitch: enable mod_opus
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (13 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 14/27] package/freeswitch: enable mod_isac Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 16/27] package/freeswitch: enable mod_portaudio Bernd Kuhls
` (12 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index a1d4dbe..082b6c5 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -216,6 +216,11 @@ FREESWITCH_DEPENDENCIES += lua
FREESWITCH_ENABLED_MODULES += languages/mod_lua
endif
+ifeq ($(BR2_PACKAGE_OPUS),y)
+FREESWITCH_DEPENDENCIES += opus
+FREESWITCH_ENABLED_MODULES += codecs/mod_opus
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 16/27] package/freeswitch: enable mod_portaudio
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (14 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 15/27] package/freeswitch: enable mod_opus Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 17/27] package/freeswitch: enable mod_silk Bernd Kuhls
` (11 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 082b6c5..0cded77 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -221,6 +221,11 @@ FREESWITCH_DEPENDENCIES += opus
FREESWITCH_ENABLED_MODULES += codecs/mod_opus
endif
+ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+FREESWITCH_DEPENDENCIES += portaudio
+FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 17/27] package/freeswitch: enable mod_silk
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (15 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 16/27] package/freeswitch: enable mod_portaudio Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 18/27] package/freeswitch: enable mod_sndfile Bernd Kuhls
` (10 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 0cded77..b57d2d7 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -226,6 +226,11 @@ FREESWITCH_DEPENDENCIES += portaudio
FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio
endif
+ifeq ($(BR2_PACKAGE_LIBSILK),y)
+FREESWITCH_DEPENDENCIES += libsilk
+FREESWITCH_ENABLED_MODULES += codecs/mod_silk
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 18/27] package/freeswitch: enable mod_sndfile
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (16 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 17/27] package/freeswitch: enable mod_silk Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 19/27] package/freeswitch: enable mod_alsa Bernd Kuhls
` (9 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index b57d2d7..e548f42 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -231,6 +231,11 @@ FREESWITCH_DEPENDENCIES += libsilk
FREESWITCH_ENABLED_MODULES += codecs/mod_silk
endif
+ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
+FREESWITCH_DEPENDENCIES += libsndfile
+FREESWITCH_ENABLED_MODULES += formats/mod_sndfile
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 19/27] package/freeswitch: enable mod_alsa
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (17 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 18/27] package/freeswitch: enable mod_sndfile Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 20/27] package/freeswitch: enable mod_soundtouch Bernd Kuhls
` (8 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index e548f42..9779996 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -166,6 +166,11 @@ FREESWITCH_LICENSE_FILES += src/mod/codecs/mod_isac/LICENSE
FREESWITCH_ENABLED_MODULES += codecs/mod_isac
endif
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+FREESWITCH_DEPENDENCIES += alsa-lib
+FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 20/27] package/freeswitch: enable mod_soundtouch
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (18 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 19/27] package/freeswitch: enable mod_alsa Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 21/27] package/freeswitch: add optional dependency to xz Bernd Kuhls
` (7 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 9779996..51a41b1 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -241,6 +241,11 @@ FREESWITCH_DEPENDENCIES += libsndfile
FREESWITCH_ENABLED_MODULES += formats/mod_sndfile
endif
+ifeq ($(BR2_PACKAGE_LIBSOUNDTOUCH),y)
+FREESWITCH_DEPENDENCIES += libsoundtouch
+FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 21/27] package/freeswitch: add optional dependency to xz
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (19 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 20/27] package/freeswitch: enable mod_soundtouch Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 22/27] package/freeswitch: enable mod_memcache Bernd Kuhls
` (6 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 51a41b1..93bdebd 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -255,4 +255,8 @@ else
FREESWITCH_CONF_OPTS += --disable-core-odbc-support
endif
+ifeq ($(BR2_PACKAGE_XZ),y)
+FREESWITCH_DEPENDENCIES += xz
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 22/27] package/freeswitch: enable mod_memcache
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (20 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 21/27] package/freeswitch: add optional dependency to xz Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 23/27] package/freeswitch: enable mod_imagick Bernd Kuhls
` (5 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 93bdebd..8cfe5b1 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -206,6 +206,11 @@ FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
endif
+ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y)
+FREESWITCH_DEPENDENCIES += libmemcached
+FREESWITCH_ENABLED_MODULES += applications/mod_memcache
+endif
+
ifeq ($(BR2_PACKAGE_LIBPNG),y)
FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 23/27] package/freeswitch: enable mod_imagick
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (21 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 22/27] package/freeswitch: enable mod_memcache Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 24/27] package/freeswitch: enable mod_cv Bernd Kuhls
` (4 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 8cfe5b1..67eb8a2 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -175,6 +175,11 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
+ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y)
+FREESWITCH_DEPENDENCIES += imagemagick
+FREESWITCH_ENABLED_MODULES += formats/mod_imagick
+endif
+
ifeq ($(BR2_PACKAGE_LIBBROADVOICE),y)
FREESWITCH_DEPENDENCIES += libbroadvoice
FREESWITCH_ENABLED_MODULES += codecs/mod_bv
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 24/27] package/freeswitch: enable mod_cv
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (22 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 23/27] package/freeswitch: enable mod_imagick Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 25/27] package/freeswitch: enable mod_shout Bernd Kuhls
` (3 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 67eb8a2..19b69d7 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -256,6 +256,11 @@ FREESWITCH_DEPENDENCIES += libsoundtouch
FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
endif
+ifeq ($(BR2_PACKAGE_OPENCV),y)
+FREESWITCH_DEPENDENCIES += opencv
+FREESWITCH_ENABLED_MODULES += applications/mod_cv
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 25/27] package/freeswitch: enable mod_shout
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (23 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 24/27] package/freeswitch: enable mod_cv Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 26/27] package/freeswitch: add optional dependency to openldap Bernd Kuhls
` (2 subsequent siblings)
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 19b69d7..5603b1f 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -241,6 +241,11 @@ FREESWITCH_DEPENDENCIES += portaudio
FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio
endif
+ifeq ($(BR2_PACKAGE_LAME)$(BR2_PACKAGE_LIBSHOUT)$(BR2_PACKAGE_MPG123),yyy)
+FREESWITCH_DEPENDENCIES += lame libshout mpg123
+FREESWITCH_ENABLED_MODULES += formats/mod_shout
+endif
+
ifeq ($(BR2_PACKAGE_LIBSILK),y)
FREESWITCH_DEPENDENCIES += libsilk
FREESWITCH_ENABLED_MODULES += codecs/mod_silk
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 26/27] package/freeswitch: add optional dependency to openldap
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (24 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 25/27] package/freeswitch: enable mod_shout Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 15:24 ` [Buildroot] [PATCH v15 27/27] package/freeswitch: enable video support Bernd Kuhls
2016-04-17 20:18 ` [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Thomas Petazzoni
27 siblings, 0 replies; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 5603b1f..9c4abe0 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -231,6 +231,11 @@ FREESWITCH_DEPENDENCIES += lua
FREESWITCH_ENABLED_MODULES += languages/mod_lua
endif
+ifeq ($(BR2_PACKAGE_OPENLDAP),y)
+FREESWITCH_DEPENDENCIES += openldap
+FREESWITCH_ENABLED_MODULES += directories/mod_ldap xml_int/mod_xml_ldap
+endif
+
ifeq ($(BR2_PACKAGE_OPUS),y)
FREESWITCH_DEPENDENCIES += opus
FREESWITCH_ENABLED_MODULES += codecs/mod_opus
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 27/27] package/freeswitch: enable video support
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (25 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 26/27] package/freeswitch: add optional dependency to openldap Bernd Kuhls
@ 2016-04-17 15:24 ` Bernd Kuhls
2016-04-17 20:21 ` Thomas Petazzoni
2016-04-17 20:18 ` [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Thomas Petazzoni
27 siblings, 1 reply; 31+ messages in thread
From: Bernd Kuhls @ 2016-04-17 15:24 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/Config.in | 16 +++++++++++++++-
package/freeswitch/freeswitch.mk | 40 ++++++++++++++++++++++++++++++++++++++--
2 files changed, 53 insertions(+), 3 deletions(-)
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
index 3824a09..f1a6f69 100644
--- a/package/freeswitch/Config.in
+++ b/package/freeswitch/Config.in
@@ -1,4 +1,4 @@
-config BR2_PACKAGE_FREESWITCH
+menuconfig BR2_PACKAGE_FREESWITCH
bool "freeswitch"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # apr, included in freeswitch source
@@ -21,6 +21,20 @@ config BR2_PACKAGE_FREESWITCH
https://www.freeswitch.org
+if BR2_PACKAGE_FREESWITCH
+
+config BR2_PACKAGE_FREESWITCH_MODULE_VIDEO
+ bool "Video support"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libyuv (in-tree)
+ select BR2_PACKAGE_FFMPEG
+ select BR2_PACKAGE_FFMPEG_AVRESAMPLE
+ select BR2_PACKAGE_FFMPEG_SWSCALE
+
+comment "Video support needs a toolchain w/ gcc >= 4.8"
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+
+endif
+
comment "freeswitch needs a toolchain w/ C++, dynamic library, threads, wchar"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 9c4abe0..57ee0bc 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -69,8 +69,6 @@ FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
- --disable-libvpx \
- --disable-libyuv \
--without-erlang \
--enable-fhs \
--without-python \
@@ -284,4 +282,42 @@ ifeq ($(BR2_PACKAGE_XZ),y)
FREESWITCH_DEPENDENCIES += xz
endif
+ifeq ($(BR2_PACKAGE_FREESWITCH_MODULE_VIDEO),y)
+FREESWITCH_LICENSE += BSD-3c (libvpx, libyuv)
+FREESWITCH_LICENSE_FILES += libs/libvpx/LICENSE libs/libyuv/LICENSE
+FREESWITCH_CONF_OPTS += --enable-libvpx --enable-libyuv
+FREESWITCH_DEPENDENCIES += host-yasm ffmpeg
+FREESWITCH_ENABLED_MODULES += applications/mod_av
+FREESWITCH_ENABLED_MODULES += applications/mod_fsv
+
+# freeswitch uses its own copy of libvpx since 1.6.7
+# the implementation of libvpx into the freeswitch build system is not
+# cross-compile friendly so we compile libvpx ourselves by copying
+# most of packages/libvpx/libvpx.mk here, added by some --disable-
+# options from freeswitch-1.6.7/Makefile.am, line 536
+define FREESWITCH_CROSS_COMPILE_LIBVPX
+ (cd $(@D)/libs/libvpx && \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_CONFIGURE_ARGS) \
+ LD="$(TARGET_CC)" \
+ CROSS=$(GNU_TARGET_NAME) \
+ ./configure \
+ --target=generic-gnu \
+ --enable-pic \
+ --prefix=/usr \
+ --disable-docs \
+ --disable-examples \
+ --disable-install-bins \
+ --disable-install-srcs \
+ --disable-unit-tests \
+ --extra-cflags="-fvisibility=hidden" \
+ )
+ $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D)/libs/libvpx
+endef
+FREESWITCH_POST_CONFIGURE_HOOKS += FREESWITCH_CROSS_COMPILE_LIBVPX
+
+else
+FREESWITCH_CONF_OPTS += --disable-libvpx --disable-libyuv
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 31+ messages in thread* [Buildroot] [PATCH v15 27/27] package/freeswitch: enable video support
2016-04-17 15:24 ` [Buildroot] [PATCH v15 27/27] package/freeswitch: enable video support Bernd Kuhls
@ 2016-04-17 20:21 ` Thomas Petazzoni
0 siblings, 0 replies; 31+ messages in thread
From: Thomas Petazzoni @ 2016-04-17 20:21 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 17 Apr 2016 17:24:49 +0200, Bernd Kuhls wrote:
> -config BR2_PACKAGE_FREESWITCH
> +menuconfig BR2_PACKAGE_FREESWITCH
Why? This seems unrelated to the change.
> +if BR2_PACKAGE_FREESWITCH
> +
> +config BR2_PACKAGE_FREESWITCH_MODULE_VIDEO
> + bool "Video support"
> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libyuv (in-tree)
> + select BR2_PACKAGE_FFMPEG
> + select BR2_PACKAGE_FFMPEG_AVRESAMPLE
> + select BR2_PACKAGE_FFMPEG_SWSCALE
> +
> +comment "Video support needs a toolchain w/ gcc >= 4.8"
> + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
> +
> +endif
Why are you adding this option, while all other options are enabled
automatically?
What about just:
select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
And then, in the .mk file:
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8)$(BR2_PACKAGE_FFMPEG),yy)
...
endif
> +ifeq ($(BR2_PACKAGE_FREESWITCH_MODULE_VIDEO),y)
> +FREESWITCH_LICENSE += BSD-3c (libvpx, libyuv)
I didn't notice until now, but we'll have issue with comma separation
when appending things this way. You should have a look at
package/qt/qt.mk to see how it was solved.
> +FREESWITCH_LICENSE_FILES += libs/libvpx/LICENSE libs/libyuv/LICENSE
> +FREESWITCH_CONF_OPTS += --enable-libvpx --enable-libyuv
> +FREESWITCH_DEPENDENCIES += host-yasm ffmpeg
> +FREESWITCH_ENABLED_MODULES += applications/mod_av
> +FREESWITCH_ENABLED_MODULES += applications/mod_fsv
> +
> +# freeswitch uses its own copy of libvpx since 1.6.7
> +# the implementation of libvpx into the freeswitch build system is not
> +# cross-compile friendly so we compile libvpx ourselves by copying
> +# most of packages/libvpx/libvpx.mk here, added by some --disable-
> +# options from freeswitch-1.6.7/Makefile.am, line 536
> +define FREESWITCH_CROSS_COMPILE_LIBVPX
> + (cd $(@D)/libs/libvpx && \
> + $(TARGET_CONFIGURE_OPTS) \
> + $(TARGET_CONFIGURE_ARGS) \
> + LD="$(TARGET_CC)" \
> + CROSS=$(GNU_TARGET_NAME) \
> + ./configure \
> + --target=generic-gnu \
> + --enable-pic \
> + --prefix=/usr \
> + --disable-docs \
> + --disable-examples \
> + --disable-install-bins \
> + --disable-install-srcs \
> + --disable-unit-tests \
> + --extra-cflags="-fvisibility=hidden" \
> + )
> + $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D)/libs/libvpx
> +endef
This is really horrible. Could you instead fix the libvpx integration
to make it work? Report the problem upstream so that it get fixed? Use
the external version of libvpx?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Buildroot] [PATCH v15 00/27] package/freeswitch: new package
2016-04-17 15:24 [Buildroot] [PATCH v15 00/27] package/freeswitch: new package Bernd Kuhls
` (26 preceding siblings ...)
2016-04-17 15:24 ` [Buildroot] [PATCH v15 27/27] package/freeswitch: enable video support Bernd Kuhls
@ 2016-04-17 20:18 ` Thomas Petazzoni
27 siblings, 0 replies; 31+ messages in thread
From: Thomas Petazzoni @ 2016-04-17 20:18 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 17 Apr 2016 17:24:22 +0200, Bernd Kuhls wrote:
> Bernd Kuhls (27):
> package/freeswitch: new package
> package/freeswitch: enable optional modules
> package/freeswitch: add optional dependency to libedit
> package/freeswitch: enable mod_enum
> package/freeswitch: add optional dependency to libpng
> package/freeswitch: add optional dependency to unixodbc
> package/freeswitch: add optional dependency to freetype
> package/freeswitch: enable mod_yaml
> package/freeswitch: enable mod_lua
> package/freeswitch: enable mod_bv
> package/freeswitch: enable mod_codec2
> package/freeswitch: add optional dependency to libg7221
> package/freeswitch: enable mod_ilbc
> package/freeswitch: enable mod_isac
> package/freeswitch: enable mod_opus
> package/freeswitch: enable mod_portaudio
> package/freeswitch: enable mod_silk
> package/freeswitch: enable mod_sndfile
> package/freeswitch: enable mod_alsa
> package/freeswitch: enable mod_soundtouch
> package/freeswitch: add optional dependency to xz
> package/freeswitch: enable mod_memcache
> package/freeswitch: enable mod_imagick
> package/freeswitch: enable mod_cv
> package/freeswitch: enable mod_shout
> package/freeswitch: add optional dependency to openldap
I've applied those initial 26 patches.
> package/freeswitch: enable video support
I've left out this one for now, I'll make some comments specifically on
it.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 31+ messages in thread