package/freeswitch: new package
v10 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. I also removed all options from Config.in.
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
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 (28):
package/freeswitch: new package package/freeswitch: enable optional modules package/freeswitch: add optional dependency to libuuid 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_fsv package/freeswitch: enable mod_av package/freeswitch: enable mod_vpx 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: enable mod_xml_rpc package/freeswitch: enable mod_imagemagick package/freeswitch: enable mod_memcache package/freeswitch: add optional dependency to xz
package/Config.in | 1 + package/freeswitch/0001-jpeg.patch | 31 +++ package/freeswitch/0002-zrtp.patch | 33 +++ ...olve-Missing-MEMMOVE-macro-in-spandsp-aut.patch | 71 +++++ .../0004-Makefile.am-fs_cli-needs-libzrtp.a.patch | 41 +++ ...ile.am-modcheck.sh-is-superfluous-when-cr.patch | 26 ++ package/freeswitch/Config.in | 28 ++ package/freeswitch/freeswitch.hash | 2 + package/freeswitch/freeswitch.mk | 285 +++++++++++++++++++++ 9 files changed, 518 insertions(+) create mode 100644 package/freeswitch/0001-jpeg.patch create mode 100644 package/freeswitch/0002-zrtp.patch create mode 100644 package/freeswitch/0003-FS-8736-resolve-Missing-MEMMOVE-macro-in-spandsp-aut.patch create mode 100644 package/freeswitch/0004-Makefile.am-fs_cli-needs-libzrtp.a.patch create mode 100644 package/freeswitch/0005-build-Makefile.am-modcheck.sh-is-superfluous-when-cr.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.7.0
PATCH v10 1/28 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, 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/
--- package/Config.in | 1 + package/freeswitch/0001-jpeg.patch | 31 +++++++++ package/freeswitch/0002-zrtp.patch | 33 +++++++++ ...olve-Missing-MEMMOVE-macro-in-spandsp-aut.patch | 71 +++++++++++++++++++ .../0004-Makefile.am-fs_cli-needs-libzrtp.a.patch | 41 +++++++++++ ...ile.am-modcheck.sh-is-superfluous-when-cr.patch | 26 +++++++ package/freeswitch/Config.in | 24 +++++++ package/freeswitch/freeswitch.hash | 2 + package/freeswitch/freeswitch.mk | 79 ++++++++++++++++++++++ 9 files changed, 308 insertions(+) create mode 100644 package/freeswitch/0001-jpeg.patch create mode 100644 package/freeswitch/0002-zrtp.patch create mode 100644 package/freeswitch/0003-FS-8736-resolve-Missing-MEMMOVE-macro-in-spandsp-aut.patch create mode 100644 package/freeswitch/0004-Makefile.am-fs_cli-needs-libzrtp.a.patch create mode 100644 package/freeswitch/0005-build-Makefile.am-modcheck.sh-is-superfluous-when-cr.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
@@ -1362,6 +1362,7 @@ endif source "package/fmc/Config.in" source "package/foomatic-filters/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-jpeg.patch new file +31 -0
@@ -0,0 +1,31 @@ +Fix jpeg detection + +libyuv has an optional jpeg dependency, freeswitch configure misses -ljpeg +when searching for libyuv and therefore assumes libyuv is missing. When +freeswitch first searches for libjpeg, -ljpeg will be added to +PKG_CHECK_MODULES([YUV]. + +Patch sent upstream: https://freeswitch.org/jira/browse/FS-8745 + +Signed-off-by: Bernd Kuhls <[email protected]> + +diff -uNr freeswitch_video2-b8b6acf33efe64aebbd939dd7281d6b6cd8fc2f4.org/configure.ac freeswitch_video2-b8b6acf33efe64aebbd939dd7281d6b6cd8fc2f4/configure.ac +--- freeswitch_video2-b8b6acf33efe64aebbd939dd7281d6b6cd8fc2f4.org/configure.ac 2015-05-23 05:18:56.000000000 +0200 ++++ freeswitch_video2-b8b6acf33efe64aebbd939dd7281d6b6cd8fc2f4/configure.ac 2015-05-25 14:15:20.360156247 +0200 +@@ -783,6 +783,8 @@ + APR_ADDTO([PLATFORM_CORE_LIBS], [-lz]) + fi + ++AC_CHECK_LIB(jpeg, jpeg_std_error,, AC_MSG_ERROR([no usable libjpeg; please install libjpeg devel package or equivalent])) ++ + PKG_CHECK_MODULES([YUV], [libyuv >= 0.0.1280], + [AC_MSG_RESULT([yes]);AM_CONDITIONAL([HAVE_YUV],[true])], + [AC_MSG_RESULT([no]);AM_CONDITIONAL([HAVE_YUV],[false])]) +@@ -797,7 +799,6 @@ + + save_LIBS="$LIBS" + LIBS= +-AC_CHECK_LIB(jpeg, jpeg_std_error,, AC_MSG_ERROR([no usable libjpeg; please install libjpeg devel package or equivalent])) + + AC_CHECK_LIB(jbig, jbg_enc_out, have_libjbig=yes, have_libjbig=no) + if test "x$have_libjbig" = "xyes" ; then
package/freeswitch/0002-zrtp.patch new file +33 -0
@@ -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/0003-FS-8736-resolve-Missing-MEMMOVE-macro-in-spandsp-aut.patch new file +71 -0
71 lines not on this page · raw message
package/freeswitch/0004-Makefile.am-fs_cli-needs-libzrtp.a.patch new file +41 -0
41 lines not on this page · raw message
package/freeswitch/0005-build-Makefile.am-modcheck.sh-is-superfluous-when-cr.patch new file +26 -0
@@ -0,0 +1,26 @@ +From d39fa44865110dd6d8ebe914f6fc1f0fa5caf14e Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 1 Mar 2016 22:14:55 +0100 +Subject: [PATCH 1/1] build/Makefile.am: modcheck.sh is superfluous when + cross-compiling + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + build/Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/build/Makefile.am b/build/Makefile.am +index 61ac412..9baa306 100644 +--- a/build/Makefile.am ++++ b/build/Makefile.am +@@ -71,7 +71,6 @@ install: + @echo " + +" + @echo " +-------------------------------------------------+" + @cat $(switch_srcdir)/cluecon2.tmpl +- @sh $(switch_srcdir)/build/modcheck.sh $(modulesdir) + + .PHONY: check dvi html info install-data \ + install-dvi install-exec install-html install-info install-pdf install-ps installcheck installdirs pdf \ +-- +2.7.0 +
package/freeswitch/Config.in new file +24 -0
@@ -0,0 +1,24 @@ +config BR2_PACKAGE_FREESWITCH + bool "freeswitch" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # apr, included in freeswitch source + depends on !BR2_STATIC_LIBS # apr, included in freeswitch source + 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_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" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS
package/freeswitch/freeswitch.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From http://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.6.tar.xz.sha256 +sha256 397b9c63c2c1f7008a2cc269f2e0e9a935d862b3fb074a6044819bcaea02ebc0 freeswitch-1.6.6.tar.xz
package/freeswitch/freeswitch.mk new file +79 -0
79 lines not on this page · raw message
Signature · 1 line
2.7.0
PATCH v10 1/28 package/freeswitch: new package
Bernd,
Thanks for the new iteration!
Quoted 12 lines · Bernd Kuhls
package/freeswitch/0004-Makefile.am-fs_cli-needs-libzrtp.a.patch new file +6
-0@@ -0,0 +1,41 @@ +From 2e53d91ac18f34dd08227c2940d1525da5c6dbd2 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 1 Mar 2016 21:38:51 +0100 +Subject: [PATCH 1/1] Makefile.am: fs_cli needs libzrtp.a + +Compiling freeswitch sometimes shows a strange linking error:
package/freeswitch/0004-Makefile.am-fs_cli-needs-libzrtp.a.patch line 16
Quoted 10 lines
package/freeswitch/0004-Makefile.am-fs_cli-needs-libzrtp.a.patch new file +10
-0+ +libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemWipe': +/home/bernd/buildroot/br7_freeswitch/output/build/freeswitch-1.6.6/libs/libzrtp/third_party/bnlib/lbnmem.c:69: undefined reference to `zrtp_memset' +libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemAlloc': +/home/bernd/buildroot/br7_freeswitch/output/build/freeswitch-1.6.6/libs/libzrtp/third_party/bnlib/lbnmem.c:78: undefined reference to `zrtp_sys_alloc' +libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemFree': +/home/bernd/buildroot/br7_freeswitch/output/build/freeswitch-1.6.6/libs/libzrtp/third_party/bnlib/lbnmem.c:87: undefined reference to `zrtp_sys_free' + +Adding libuuid as dependency fixes the problem but I fail to see the +connection between libzrtp and libuuid.
It feels rather odd to have a patch that we don't really understand :-) It would be nicer to get a full understanding so that the bug can be fixed upstream.
Also, using the first person ("I") is normally not done in commit logs.
package/freeswitch/0005-build-Makefile.am-modcheck.sh-is-superfluous-when-cr.patch line 5
Quoted 11 lines
package/freeswitch/0005-build-Makefile.am-modcheck.sh-is-superfluous-when-cr.patch new file +5
-0@@ -0,0 +1,26 @@ +From d39fa44865110dd6d8ebe914f6fc1f0fa5caf14e Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 1 Mar 2016 22:14:55 +0100 +Subject: [PATCH 1/1] build/Makefile.am: modcheck.sh is superfluous when + cross-compiling
If it were just superfluous, then we could still keep it. I guess you meant to say something stronger than "superfluous", right ?
(For those two aspects, no need to resend a full patch series.)
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v10 2/28 package/freeswitch: enable optional modules
In reply to Bernd KuhlsAll these modules have no external dependencies.
--- package/freeswitch/freeswitch.mk | 76 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+)
package/freeswitch/freeswitch.mk +76 -0
@@ -76,4 +76,80 @@ 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_scgi + +define FREESWITCH_ENABLE_MODULE # (option, file) + echo '$(1)' >> $(2) +endef + +define FREESWITCH_ENABLE_MODULES + $(foreach mod,$(FREESWITCH_ENABLED_MODULES),\ + $(call FREESWITCH_ENABLE_MODULE,$(mod),$(@D)/modules.conf)$(sep)) +endef + +FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES + $(eval $(autotools-package))
Signature · 1 line
2.7.0
PATCH v10 3/28 package/freeswitch: add optional dependency to libuuid
In reply to Bernd Kuhls--- package/freeswitch/Config.in | 4 ++++ package/freeswitch/freeswitch.mk | 4 ++++ 2 files changed, 8 insertions(+)
package/freeswitch/Config.in +4 -0
@@ -10,6 +10,10 @@ config BR2_PACKAGE_FREESWITCH select BR2_PACKAGE_PCRE select BR2_PACKAGE_SPEEX select BR2_PACKAGE_SQLITE + # "libuuid development package highly recommended!" + # https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/build/config/uuid.m4#9 + select BR2_PACKAGE_UTIL_LINUX if BR2_USE_WCHAR + select BR2_PACKAGE_UTIL_LINUX_LIBUUID if BR2_USE_WCHAR select BR2_PACKAGE_ZLIB help FreeSWITCH is a scalable open source cross-platform telephony
package/freeswitch/freeswitch.mk +4 -0
@@ -152,4 +152,8 @@ endef FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +FREESWITCH_DEPENDENCIES += util-linux +endif + $(eval $(autotools-package))
Signature · 1 line
2.7.0
PATCH v10 4/28 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
@@ -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 \ --without-erlang \ --enable-fhs \
@@ -152,6 +151,13 @@ 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 + ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) FREESWITCH_DEPENDENCIES += util-linux endif
Signature · 1 line
2.7.0
PATCH v10 5/28 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
@@ -158,6 +158,11 @@ else FREESWITCH_CONF_OPTS += --disable-core-libedit-support endif +ifeq ($(BR2_PACKAGE_LIBLDNS),y) +FREESWITCH_DEPENDENCIES += libldns +FREESWITCH_ENABLED_MODULES += applications/mod_enum +endif + ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) FREESWITCH_DEPENDENCIES += util-linux endif
Signature · 1 line
2.7.0
PATCH v10 6/28 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
@@ -163,6 +163,11 @@ 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 + ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) FREESWITCH_DEPENDENCIES += util-linux endif
Signature · 1 line
2.7.0
PATCH v10 7/28 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
@@ -61,7 +61,6 @@ FREESWITCH_CONF_ENV += \ ac_cv_gcc_supports_w_no_unused_result=no FREESWITCH_CONF_OPTS = \ - --disable-core-odbc-support \ --without-erlang \ --enable-fhs \ --without-python \
@@ -168,6 +167,15 @@ 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 + ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) FREESWITCH_DEPENDENCIES += util-linux endif
Signature · 1 line
2.7.0
PATCH v10 8/28 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
@@ -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.7.0
PATCH v10 9/28 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
@@ -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.7.0
PATCH v10 10/28 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
@@ -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.7.0
PATCH v10 11/28 package/freeswitch: enable mod_fsv
In reply to Bernd Kuhls--- package/freeswitch/freeswitch.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
@@ -176,6 +176,11 @@ FREESWITCH_DEPENDENCIES += libyaml FREESWITCH_ENABLED_MODULES += languages/mod_yaml endif +ifeq ($(BR2_PACKAGE_LIBVPX)$(BR2_PACKAGE_LIBYUV),yy) +FREESWITCH_DEPENDENCIES += libvpx libyuv +FREESWITCH_ENABLED_MODULES += applications/mod_fsv +endif + ifeq ($(BR2_PACKAGE_LUA),y) FREESWITCH_DEPENDENCIES += lua FREESWITCH_ENABLED_MODULES += languages/mod_lua
Signature · 1 line
2.7.0
PATCH v10 12/28 package/freeswitch: enable mod_av
In reply to Bernd Kuhlsmod_av delivers native support for these video codecs:
codec,H263 Video,mod_av
codec,H263+ Video,mod_av
codec,H264 Video,mod_av
--- package/freeswitch/freeswitch.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
@@ -150,6 +150,11 @@ endef FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES +ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE)$(BR2_PACKAGE_LIBVPX)$(BR2_PACKAGE_LIBYUV),yyyy) +FREESWITCH_DEPENDENCIES += ffmpeg libvpx libyuv +FREESWITCH_ENABLED_MODULES += applications/mod_av +endif + ifeq ($(BR2_PACKAGE_FREETYPE),y) FREESWITCH_DEPENDENCIES += freetype endif
Signature · 1 line
2.7.0
PATCH v10 13/28 package/freeswitch: enable mod_vpx
In reply to Bernd Kuhlsmod_vpx delivers native support for these video codecs:
codec,VP8 Video,mod_vpx
codec,VP9 Video,mod_vpx
--- package/freeswitch/freeswitch.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
@@ -181,6 +181,11 @@ FREESWITCH_DEPENDENCIES += libyaml FREESWITCH_ENABLED_MODULES += languages/mod_yaml endif +ifeq ($(BR2_PACKAGE_LIBVPX),y) +FREESWITCH_DEPENDENCIES += libvpx +FREESWITCH_ENABLED_MODULES += codecs/mod_vpx +endif + ifeq ($(BR2_PACKAGE_LIBVPX)$(BR2_PACKAGE_LIBYUV),yy) FREESWITCH_DEPENDENCIES += libvpx libyuv FREESWITCH_ENABLED_MODULES += applications/mod_fsv
Signature · 1 line
2.7.0
PATCH v10 14/28 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
@@ -159,6 +159,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.7.0
PATCH v10 15/28 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
@@ -164,6 +164,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.7.0
PATCH v10 16/28 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
@@ -176,6 +176,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.7.0
PATCH v10 17/28 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
@@ -180,6 +180,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.7.0
PATCH v10 18/28 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
@@ -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_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE)$(BR2_PACKAGE_LIBVPX)$(BR2_PACKAGE_LIBYUV),yyyy) FREESWITCH_DEPENDENCIES += ffmpeg libvpx libyuv FREESWITCH_ENABLED_MODULES += applications/mod_av
Signature · 1 line
2.7.0
PATCH v10 19/28 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
@@ -221,6 +221,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.7.0
PATCH v10 20/28 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
@@ -226,6 +226,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.7.0
PATCH v10 21/28 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
@@ -231,6 +231,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.7.0
PATCH v10 22/28 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
@@ -236,6 +236,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.7.0
PATCH v10 23/28 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
@@ -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_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE)$(BR2_PACKAGE_LIBVPX)$(BR2_PACKAGE_LIBYUV),yyyy) FREESWITCH_DEPENDENCIES += ffmpeg libvpx libyuv FREESWITCH_ENABLED_MODULES += applications/mod_av
Signature · 1 line
2.7.0
PATCH v10 24/28 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
@@ -246,6 +246,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.7.0
PATCH v10 25/28 package/freeswitch: enable mod_xml_rpc
In reply to Bernd Kuhls--- package/freeswitch/freeswitch.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/freeswitch/freeswitch.mk +4 -0
@@ -156,6 +156,10 @@ ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_6 FREESWITCH_ENABLED_MODULES += codecs/mod_isac endif +ifeq ($(BR2_USE_WCHAR),y) +FREESWITCH_ENABLED_MODULES += xml_int/mod_xml_rpc +endif + ifeq ($(BR2_PACKAGE_ALSA_LIB),y) FREESWITCH_DEPENDENCIES += alsa-lib FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
Signature · 1 line
2.7.0
PATCH v10 26/28 package/freeswitch: enable mod_imagemagick
In reply to Bernd KuhlsThis commit enables mod_imagemagick, which requires imagemagick, libvpx and libyuv as optional dependencies.
--- package/freeswitch/freeswitch.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/freeswitch/freeswitch.mk +5 -0
@@ -174,6 +174,11 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y) FREESWITCH_DEPENDENCIES += freetype endif +ifeq ($(BR2_PACKAGE_IMAGEMAGICK)$(BR2_PACKAGE_LIBVPX)$(BR2_PACKAGE_LIBYUV),yyy) +FREESWITCH_DEPENDENCIES += imagemagick libvpx libyuv +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.7.0
PATCH v10 27/28 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
@@ -210,6 +210,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.7.0
PATCH v10 28/28 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
@@ -278,4 +278,8 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) FREESWITCH_DEPENDENCIES += util-linux endif +ifeq ($(BR2_PACKAGE_XZ),y) +FREESWITCH_DEPENDENCIES += xz +endif + $(eval $(autotools-package))
Signature · 1 line
2.7.0