Skip to contentSkip to conversation

package/freeswitch: new package

PATCH Superseded Bernd Kuhls 3 participants 30 messages Apr 14, 2016 – Apr 15, 2016

v13 of 15 Superseded Latest is v15 →

lore
Share & tools
lore
#0 lore raw

v13 cover package/freeswitch: new package

Hi,

this patch series splits my previous patch into smaller chunks for easier review as requested by Luca and Thomas.

Instead of enabling or disabling modules in the upstream modules.conf I decided to delete that file in the first patch to provide a minimal build for easier review, please keep in mind that I never did a run-time test with this minimal version. A lot of modules, desired as a default set, are added with the second patch - all of them have no external dependencies. The rest of the patch series consists of modules having some form of dependency, added module by module for easier review.

Regards, Bernd

v13: - libuuid is now a dependency of freeswitch to avoid a build error
on arm (Thomas):
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/146009
- reworked dependencies (Arnout)
- removed host-[autoconf|automake|libtool]
- one dependency per line
- optimized FREESWITCH_ENABLE_MODULES (Arnout)
- removed video support patches, need to rework patch for flite bump (Arnout)
- removed extra patch for xml_int/mod_xml_rpc, this module needs wchar support and was moved to patch 0002 because freeswitch now depends on wchar itself
v12: - removed patches 0002 & 0003
- 0002 "fixed" a weird linking error when libuuid was missing, autoreconf was necessary for this but with freeswitch 1.6.7 this breaks build with BR2_COMPILER_PARANOID_UNSAFE_PATH=y Furthermore the linking error did not occur with 1.6.7, so autoreconf was removed as well
- 0003 "fixed" only a cosmetic problem and also needed autoreconf
- added support for mod_cv, mod_shout, openldap and mod_flite
- mod_flite needs a version bump of the flite package, this is included in the patch series
v11: - bumped to 1.6.7
- libvpx & libyuv are now part of the freeswitch source code
- reworked video support using new option BR2_PACKAGE_FREESWITCH_VIDEO
- removed two patches:
0001-jpeg.patch is not needed anymore since freeswitch does use system libyuv 0003-FS-8736-resolve-Missing-MEMMOVE-macro-in-spandsp-aut.patch was applied upstream
v10: - addressed various comments (Thomas)
- fixed _LICENSE
- fixed linking error for target fs_cli when libuuid is disabled
- shortened subject of enable_mod* patches
- fixed subject of patch #0003
- added patch to remove modcheck.sh from build/Makefile.am instead of using _PRE_CONFIGURE_HOOKS
- re-worded comment for FREESWITCH_BOOTSTRAP
v9: - added comment about bundled 3rd-party libraries (Romain)
- renamed some POST_PATCH_HOOKS into PRE_CONFIGURE_HOOKS (Romain)
- replaced autoreconf fix for spandsp (added in v6) with upstream commit, removed dependency to host-autoconf-archive
v8: - rebased against branch next
v7: - removed all Kconfig suboptions
- squashed zrtp patch into main patch
- updated platform support checks for zrtp and mod_isac
- renamed zrtp patch to 0002-zrtp.patch and updated it to fix PPC
- enabled missing modules:
mod_g723_1, mod_g729, mod_loopback and mod_say_*
v6: - bumped to version 1.6.6
- fixed autoreconf bug in libs/spandsp/ introduced by version bump
- added hint for dynamic libs to comment in Config.in (Ricardo)
- changed dependency from libjpeg to jpeg (Ricardo)
- fixed -Werror bug using FREESWITCH_CONF_ENV,
removed 0001-cross_git.patch (Ricardo)
- re-numbered patches
v5: - bumped to version 1.6.5
- split patch into smaller chunks (Luca, Thomas)
- removed most of the options from Config.in
- added several new modules
- compilation with uClibc-ng is fixed
v4: - bumped to version 1.6.2
v3: - bumped to version 1.6.0, added hash
- to compile with uClibc-NG this patch is needed:
http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?h=1.0&id=5a167e319ca2bee566d330d1c901d76dc53deea7
http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/126450/focus=127191
- removed python module, cross compiling to 32bit on 64bit host is broken:
http://lists.busybox.net/pipermail/buildroot/2011-August/045039.html
- added reverse dependencies from vlc
- added comment to 0002-jpeg.patch
v2: - addressed various comments (Thomas)

Bernd Kuhls (26):
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

 package/Config.in                  |   1 +
 package/freeswitch/0001-zrtp.patch |  33 +++++
 package/freeswitch/Config.in       |  27 ++++
 package/freeswitch/freeswitch.hash |   2 +
 package/freeswitch/freeswitch.mk   | 277 +++++++++++++++++++++++++++++++++++++
 5 files changed, 340 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
Signature · 1 line
2.8.0.rc3
#1 lore raw

PATCH v13 1/26 package/freeswitch: new package

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

---
 package/Config.in                  |  1 +
 package/freeswitch/0001-zrtp.patch | 33 ++++++++++++++++
 package/freeswitch/Config.in       | 27 +++++++++++++
 package/freeswitch/freeswitch.hash |  2 +
 package/freeswitch/freeswitch.mk   | 81 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 144 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
package/Config.in +1 -0
index 72ce1ac..aa8cbd9 100644
@@ -1377,6 +1377,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"
package/freeswitch/0001-zrtp.patch new file +33 -0
new file mode 100644
index 0000000..c1cdeed
@@ -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 <[email protected]>
+
+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
+  */
package/freeswitch/Config.in new file +27 -0
new file mode 100644
index 0000000..3824a09
@@ -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
package/freeswitch/freeswitch.hash new file +2 -0
new file mode 100644
index 0000000..31915cd
@@ -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
package/freeswitch/freeswitch.mk new file +81 -0

81 lines not on this page · raw message

Signature · 1 line
2.8.0.rc3
#2 lore raw

PATCH v13 1/26 package/freeswitch: new package

Quoted 18 lines · Bernd Kuhls

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/

Quoted 5 lines

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

Build-test on sh4aeb (i.e. exotic arch) with Sourcery toolchain.

However...

[snip]

Quoted 7 lines
package/freeswitch/freeswitch.mk new file +1 -0
new file mode 100644
index 0000000..e5f1ea5
@@ -0,0 +1,81 @@
+################################################################################

package/freeswitch/freeswitch.mk line 11

Quoted 10 lines
package/freeswitch/freeswitch.mk new file +10 -0
+#
+# 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
+FREESWITCH_LICENSE_FILES = COPYING

It's a shame that it takes until v13 to come to this, but the bundled
libraries of course have different licenses... So for instance this would become

FREESWITCH_LICENSE = MPLv1.1, LGPLv2+ (sofia-sip)

FREESWITCH_LICENSE_FILES = \
	COPYING \
	libs/sofia-sip/COPYING \
	libs/sofia-sip/COPYRIGHTS

etc.

I've uploaded the package to fossology [1] for easy analysis. But the existing
buildroot packages can already be a good guideline.

Quoted 9 lines
package/freeswitch/freeswitch.mk new file +9 -0
+
+# required dependencies
+FREESWITCH_DEPENDENCIES = \
+	host-pkgconf \
+	jpeg \
+	libcurl \
+	openssl \
+	pcre \
+	speex \

package/freeswitch/freeswitch.mk line 30

Quoted 10 lines
package/freeswitch/freeswitch.mk new file +10 -0
+	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

Note that with patch 2, this bit is no longer needed. I.e., it should be
removed in patch 2.

Regards,
Arnout

[1]
https://fossology.ist.unomaha.edu/?mod=browse&folder=1&show=quick&upload=9&item=19341

[snip]

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#3 lore raw

PATCH v13 2/26 package/freeswitch: enable optional modules

In reply to Bernd Kuhls

All these modules have no external dependencies.

---
 package/freeswitch/freeswitch.mk | 74 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
package/freeswitch/freeswitch.mk +74 -0
index e5f1ea5..717ada1 100644
@@ -78,4 +78,78 @@ else
 FREESWITCH_CONF_OPTS += --disable-zrtp
 endif
 
+# Enable more 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))
Signature · 1 line
2.8.0.rc3
#4 lore raw

PATCH v13 3/26 package/freeswitch: add optional dependency to libedit

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
package/freeswitch/freeswitch.mk +7 -1
index 717ada1..c583ffa 100644
@@ -61,7 +61,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 \
@@ -152,4 +151,11 @@ 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))
Signature · 1 line
2.8.0.rc3
#5 lore raw

PATCH v13 4/26 package/freeswitch: enable mod_enum

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index c583ffa..0fa17bb 100644
@@ -158,4 +158,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))
Signature · 1 line
2.8.0.rc3
#6 lore raw

PATCH v13 5/26 package/freeswitch: add optional dependency to libpng

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 0fa17bb..cfe126b 100644
@@ -163,4 +163,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))
Signature · 1 line
2.8.0.rc3
#7 lore raw

PATCH v13 6/26 package/freeswitch: add optional dependency to unixodbc

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
package/freeswitch/freeswitch.mk +9 -1
index cfe126b..b6fe0aa 100644
@@ -61,7 +61,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 \
@@ -168,4 +167,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))
Signature · 1 line
2.8.0.rc3
#8 lore raw

PATCH v13 7/26 package/freeswitch: add optional dependency to freetype

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/freeswitch/freeswitch.mk +4 -0
index b6fe0aa..d0565f8 100644
@@ -150,6 +150,10 @@ 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
Signature · 1 line
2.8.0.rc3
#9 lore raw

PATCH v13 8/26 package/freeswitch: enable mod_yaml

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index d0565f8..827ae26 100644
@@ -171,6 +171,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 += \
Signature · 1 line
2.8.0.rc3
#10 lore raw

PATCH v13 9/26 package/freeswitch: enable mod_lua

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 827ae26..942c478 100644
@@ -176,6 +176,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 += \
Signature · 1 line
2.8.0.rc3
#11 lore raw

PATCH v13 10/26 package/freeswitch: enable mod_bv

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 942c478..2b4ad50 100644
@@ -154,6 +154,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
Signature · 1 line
2.8.0.rc3
#12 lore raw

PATCH v13 11/26 package/freeswitch: enable mod_codec2

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 2b4ad50..fe97705 100644
@@ -159,6 +159,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
Signature · 1 line
2.8.0.rc3
#13 lore raw

PATCH v13 12/26 package/freeswitch: add optional dependency to libg7221

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/freeswitch/freeswitch.mk +4 -0
index fe97705..2950955 100644
@@ -171,6 +171,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
Signature · 1 line
2.8.0.rc3
#14 lore raw

PATCH v13 13/26 package/freeswitch: enable mod_ilbc

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 2950955..a718e74 100644
@@ -175,6 +175,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
Signature · 1 line
2.8.0.rc3
#15 lore raw

PATCH v13 14/26 package/freeswitch: enable mod_isac

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/freeswitch/freeswitch.mk +6 -0
index a718e74..f901420 100644
@@ -150,6 +150,12 @@ 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_ENABLED_MODULES += codecs/mod_isac
+endif
+
 ifeq ($(BR2_PACKAGE_FREETYPE),y)
 FREESWITCH_DEPENDENCIES += freetype
 endif
Signature · 1 line
2.8.0.rc3
#16 lore raw

PATCH v13 15/26 package/freeswitch: enable mod_opus

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index f901420..d4b165c 100644
@@ -206,6 +206,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 += \
Signature · 1 line
2.8.0.rc3
#17 lore raw

PATCH v13 16/26 package/freeswitch: enable mod_portaudio

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index d4b165c..7043e1b 100644
@@ -211,6 +211,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 += \
Signature · 1 line
2.8.0.rc3
#18 lore raw

PATCH v13 17/26 package/freeswitch: enable mod_silk

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 7043e1b..f81a941 100644
@@ -216,6 +216,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 += \
Signature · 1 line
2.8.0.rc3
#19 lore raw

PATCH v13 18/26 package/freeswitch: enable mod_sndfile

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index f81a941..23cab1d 100644
@@ -221,6 +221,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 += \
Signature · 1 line
2.8.0.rc3
#20 lore raw

PATCH v13 19/26 package/freeswitch: enable mod_alsa

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 23cab1d..107293d 100644
@@ -156,6 +156,11 @@ ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_6
 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
Signature · 1 line
2.8.0.rc3
#21 lore raw

PATCH v13 20/26 package/freeswitch: enable mod_soundtouch

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 107293d..013dccd 100644
@@ -231,6 +231,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 += \
Signature · 1 line
2.8.0.rc3
#22 lore raw

PATCH v13 21/26 package/freeswitch: add optional dependency to xz

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/freeswitch/freeswitch.mk +4 -0
index 013dccd..384866c 100644
@@ -245,4 +245,8 @@ else
 FREESWITCH_CONF_OPTS += --disable-core-odbc-support
 endif
 
+ifeq ($(BR2_PACKAGE_XZ),y)
+FREESWITCH_DEPENDENCIES += xz
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.8.0.rc3
#23 lore raw

PATCH v13 22/26 package/freeswitch: enable mod_memcache

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 384866c..ba7e5a7 100644
@@ -196,6 +196,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
Signature · 1 line
2.8.0.rc3
#24 lore raw

PATCH v13 23/26 package/freeswitch: enable mod_imagick

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index ba7e5a7..2f3be17 100644
@@ -165,6 +165,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
Signature · 1 line
2.8.0.rc3
#25 lore raw

PATCH v13 24/26 package/freeswitch: enable mod_cv

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 2f3be17..8cd9b67 100644
@@ -246,6 +246,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 += \
Signature · 1 line
2.8.0.rc3
#26 lore raw

PATCH v13 24/26 package/freeswitch: enable mod_cv

Bernd,

Quoted 10 lines · Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +0 -0
index 2f3be17..8cd9b67 100644

package/freeswitch/freeswitch.mk FREESWITCH_DEPENDENCIES += libsoundtouch · line 250

Quoted 5 lines
package/freeswitch/freeswitch.mk +2 -0
@@ -246,6 +246,11 @@ FREESWITCH_DEPENDENCIES += libsoundtouch
 FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
 endif
 
+ifeq ($(BR2_PACKAGE_OPENCV),y)
+FREESWITCH_DEPENDENCIES += opencv

Just wondering: is freeswitch only compatible with opencv2?

Quoted 9 lines
package/freeswitch/freeswitch.mk +3 -1
+FREESWITCH_ENABLED_MODULES += applications/mod_cv
+endif
+
 ifeq ($(BR2_PACKAGE_UNIXODBC),y)
 FREESWITCH_DEPENDENCIES += unixodbc
 FREESWITCH_CONF_OPTS += \
--

2.8.0.rc3

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Regards,

Signature · 1 line
Samuel
#27 lore raw

PATCH v13 24/26 package/freeswitch: enable mod_cv

Hi Samuel,

Samuel Martin <[email protected]> wrote in news:CAHXCMMLMkZwaLGbgP7wpR4KXWW_p=kPtna=AZA6FSCN=4kdnAg at mail.gmail.com:

Quoted 3 lines

package/freeswitch/freeswitch.mk FREESWITCH_DEPENDENCIES += libsoundtouch · line 250

Quoted 2 lines
package/freeswitch/freeswitch.mk +2 -0
+ifeq ($(BR2_PACKAGE_OPENCV),y)
+FREESWITCH_DEPENDENCIES += opencv

Just wondering: is freeswitch only compatible with opencv2?

yes:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/appl
ications/mod_cv/mod_cv.cpp?at=refs%2Fheads%2Fv1.6#34

I tried to compile with opencv3 and it failed due to missing opencv2 headers.

Regards, Bernd

#28 lore raw

PATCH v13 25/26 package/freeswitch: enable mod_shout

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index 8cd9b67..aea40b7 100644
@@ -231,6 +231,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
Signature · 1 line
2.8.0.rc3
#29 lore raw

PATCH v13 26/26 package/freeswitch: add optional dependency to openldap

In reply to Bernd Kuhls
---
 package/freeswitch/freeswitch.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
index aea40b7..f3d12a2 100644
@@ -221,6 +221,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
Signature · 1 line
2.8.0.rc3