* [Buildroot] [PATCH v8 00/28] package/freeswitch: new package
@ 2016-02-20 22:23 Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 01/28] " Bernd Kuhls
` (27 more replies)
0 siblings, 28 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 UTC (permalink / raw)
To: buildroot
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
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, add optional dependency to
libldns
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, add optional dependency to
libyaml
package/freeswitch: enable mod_lua, add optional dependency to lua
package/freeswitch: enable mod_fsv, add optional dependencies to
libvpx & libyuv
package/freeswitch: enable mod_av, add optional dependencies to
ffmpeg, libvpx & libyuv
package/freeswitch: enable mod_vpx, add optional dependency to libvpx
package/freeswitch: enable mod_bv, add optional dependency to
libbroadvoice
package/freeswitch: enable mod_codec2, add optional dependency to
libcodec2
package/freeswitch: add optional dependency to libg7221
package/freeswitch: enable mod_ilbc, add optional dependency to
libilbc
package/freeswitch: enable mod_isac
package/freeswitch: enable mod_opus, add optional dependency to opus
package/freeswitch: enable mod_portaudio, add optional dependency to
portaudio
package/freeswitch: enable mod_silk, add optional dependency to
libsilk
package/freeswitch: enable mod_sndfile, add optional dependency to
libsndfile
package/freeswitch: enable mod_alsa, add optional dependency to
alsa-lib
package/freeswitch: enable mod_soundtouch, add optional dependency to
libsoundtouch
package/freeswitch: enable mod_xml_rpc
package/freeswitch: enable mod_imagick, add optional dependencies to
imagemagick, libvpx & libyuv
package/freeswitch: enable mod_memcache, add optional dependency to
libmemcached
package/freeswitch: add optional dependency to xz
package/Config.in | 1 +
package/freeswitch/0001-jpeg.patch | 31 ++++
package/freeswitch/0002-zrtp.patch | 33 +++++
package/freeswitch/Config.in | 28 ++++
package/freeswitch/freeswitch.hash | 2 +
package/freeswitch/freeswitch.mk | 295 +++++++++++++++++++++++++++++++++++++
6 files changed, 390 insertions(+)
create mode 100644 package/freeswitch/0001-jpeg.patch
create mode 100644 package/freeswitch/0002-zrtp.patch
create mode 100644 package/freeswitch/Config.in
create mode 100644 package/freeswitch/freeswitch.hash
create mode 100644 package/freeswitch/freeswitch.mk
--
2.7.0
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 01/28] package/freeswitch: new package
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-26 23:33 ` Romain Naour
2016-02-20 22:23 ` [Buildroot] [PATCH v8 02/28] package/freeswitch: enable optional modules Bernd Kuhls
` (26 subsequent siblings)
27 siblings, 1 reply; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/Config.in | 1 +
package/freeswitch/0001-jpeg.patch | 31 +++++++++++++
package/freeswitch/0002-zrtp.patch | 33 ++++++++++++++
package/freeswitch/Config.in | 24 ++++++++++
package/freeswitch/freeswitch.hash | 2 +
package/freeswitch/freeswitch.mk | 89 ++++++++++++++++++++++++++++++++++++++
6 files changed, 180 insertions(+)
create mode 100644 package/freeswitch/0001-jpeg.patch
create mode 100644 package/freeswitch/0002-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 422978f..28f3b60 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1355,6 +1355,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"
diff --git a/package/freeswitch/0001-jpeg.patch b/package/freeswitch/0001-jpeg.patch
new file mode 100644
index 0000000..8fc3052
--- /dev/null
+++ b/package/freeswitch/0001-jpeg.patch
@@ -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 <bernd.kuhls@t-online.de>
+
+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
diff --git a/package/freeswitch/0002-zrtp.patch b/package/freeswitch/0002-zrtp.patch
new file mode 100644
index 0000000..c1cdeed
--- /dev/null
+++ b/package/freeswitch/0002-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..b52d469
--- /dev/null
+++ b/package/freeswitch/Config.in
@@ -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
diff --git a/package/freeswitch/freeswitch.hash b/package/freeswitch/freeswitch.hash
new file mode 100644
index 0000000..ebee17f
--- /dev/null
+++ b/package/freeswitch/freeswitch.hash
@@ -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
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
new file mode 100644
index 0000000..ba3f2e9
--- /dev/null
+++ b/package/freeswitch/freeswitch.mk
@@ -0,0 +1,89 @@
+################################################################################
+#
+# freeswitch
+#
+################################################################################
+
+FREESWITCH_VERSION = 1.6.6
+FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
+FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
+FREESWITCH_LICENSE = MPL v1.1
+FREESWITCH_LICENSE_FILES = COPYING
+
+# required dependencies
+FREESWITCH_DEPENDENCIES = \
+ host-autoconf host-automake host-libtool host-pkgconf jpeg \
+ libcurl openssl pcre speex sqlite zlib
+
+# needed after
+# https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/c74237ad3cbd1974ae70f1a8d0d5d2cfe4d7b446
+FREESWITCH_DEPENDENCIES += host-autoconf-archive
+define FREESWITCH_NEEDS_MEMMOVE_M4
+ ln -sfv \
+ $(HOST_DIR)/usr/share/autoconf-archive/ax_func_memmove.m4 \
+ $(@D)/libs/spandsp/m4/ax_func_memmove.m4
+endef
+FREESWITCH_POST_PATCH_HOOKS += FREESWITCH_NEEDS_MEMMOVE_M4
+
+# autoreconf now is necessary to avoid broken autoreconf after configure
+# we also patch configure.ac twice
+define FREESWITCH_BOOTSTRAP
+ cd $(@D) && $(TARGET_MAKE_ENV) ./rebootstrap.sh
+endef
+FREESWITCH_POST_PATCH_HOOKS += FREESWITCH_BOOTSTRAP
+
+# 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_POST_PATCH_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 \
+ --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_CONF_OPTS += --enable-zrtp
+else
+FREESWITCH_CONF_OPTS += --disable-zrtp
+endif
+
+$(eval $(autotools-package))
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 02/28] package/freeswitch: enable optional modules
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 01/28] " Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 03/28] package/freeswitch: add optional dependency to libuuid Bernd Kuhls
` (25 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 | 76 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index ba3f2e9..f4846c9 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -86,4 +86,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))
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 03/28] package/freeswitch: add optional dependency to libuuid
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 01/28] " Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 02/28] package/freeswitch: enable optional modules Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 04/28] package/freeswitch: add optional dependency to libedit Bernd Kuhls
` (24 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/Config.in | 4 ++++
package/freeswitch/freeswitch.mk | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
index b52d469..a641008 100644
--- a/package/freeswitch/Config.in
+++ b/package/freeswitch/Config.in
@@ -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
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index f4846c9..2c98c6c 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -162,4 +162,8 @@ endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
+FREESWITCH_DEPENDENCIES += util-linux
+endif
+
$(eval $(autotools-package))
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 04/28] package/freeswitch: add optional dependency to libedit
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (2 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 03/28] package/freeswitch: add optional dependency to libuuid Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 05/28] package/freeswitch: enable mod_enum, add optional dependency to libldns Bernd Kuhls
` (23 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 2c98c6c..ec1eb95 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -71,7 +71,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 \
@@ -162,6 +161,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 05/28] package/freeswitch: enable mod_enum, add optional dependency to libldns
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (3 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 04/28] package/freeswitch: add optional dependency to libedit Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 06/28] package/freeswitch: add optional dependency to libpng Bernd Kuhls
` (22 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 ec1eb95..ce2c2ca 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -168,6 +168,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 06/28] package/freeswitch: add optional dependency to libpng
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (4 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 05/28] package/freeswitch: enable mod_enum, add optional dependency to libldns Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 07/28] package/freeswitch: add optional dependency to unixodbc Bernd Kuhls
` (21 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 ce2c2ca..83b2626 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -173,6 +173,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 07/28] package/freeswitch: add optional dependency to unixodbc
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (5 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 06/28] package/freeswitch: add optional dependency to libpng Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 08/28] package/freeswitch: add optional dependency to freetype Bernd Kuhls
` (20 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 83b2626..9e12f33 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -71,7 +71,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 \
@@ -178,6 +177,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 08/28] package/freeswitch: add optional dependency to freetype
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (6 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 07/28] package/freeswitch: add optional dependency to unixodbc Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 09/28] package/freeswitch: enable mod_yaml, add optional dependency to libyaml Bernd Kuhls
` (19 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 9e12f33..6bc9b3a 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -160,6 +160,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 09/28] package/freeswitch: enable mod_yaml, add optional dependency to libyaml
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (7 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 08/28] package/freeswitch: add optional dependency to freetype Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 10/28] package/freeswitch: enable mod_lua, add optional dependency to lua Bernd Kuhls
` (18 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 6bc9b3a..5a8d32f 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -181,6 +181,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 10/28] package/freeswitch: enable mod_lua, add optional dependency to lua
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (8 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 09/28] package/freeswitch: enable mod_yaml, add optional dependency to libyaml Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 11/28] package/freeswitch: enable mod_fsv, add optional dependencies to libvpx & libyuv Bernd Kuhls
` (17 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 5a8d32f..a280aa6 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -186,6 +186,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 11/28] package/freeswitch: enable mod_fsv, add optional dependencies to libvpx & libyuv
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (9 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 10/28] package/freeswitch: enable mod_lua, add optional dependency to lua Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 12/28] package/freeswitch: enable mod_av, add optional dependencies to ffmpeg, " Bernd Kuhls
` (16 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 a280aa6..dc96785 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -186,6 +186,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 12/28] package/freeswitch: enable mod_av, add optional dependencies to ffmpeg, libvpx & libyuv
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (10 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 11/28] package/freeswitch: enable mod_fsv, add optional dependencies to libvpx & libyuv Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 13/28] package/freeswitch: enable mod_vpx, add optional dependency to libvpx Bernd Kuhls
` (15 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 UTC (permalink / raw)
To: buildroot
mod_av delivers native support for these video codecs:
codec,H263 Video,mod_av
codec,H263+ Video,mod_av
codec,H264 Video,mod_av
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 dc96785..82cd84b 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -160,6 +160,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 13/28] package/freeswitch: enable mod_vpx, add optional dependency to libvpx
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (11 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 12/28] package/freeswitch: enable mod_av, add optional dependencies to ffmpeg, " Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 14/28] package/freeswitch: enable mod_bv, add optional dependency to libbroadvoice Bernd Kuhls
` (14 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 UTC (permalink / raw)
To: buildroot
mod_vpx delivers native support for these video codecs:
codec,VP8 Video,mod_vpx
codec,VP9 Video,mod_vpx
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 82cd84b..6191fad 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -191,6 +191,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 14/28] package/freeswitch: enable mod_bv, add optional dependency to libbroadvoice
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (12 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 13/28] package/freeswitch: enable mod_vpx, add optional dependency to libvpx Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 15/28] package/freeswitch: enable mod_codec2, add optional dependency to libcodec2 Bernd Kuhls
` (13 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 6191fad..55ac8f9 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -169,6 +169,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 15/28] package/freeswitch: enable mod_codec2, add optional dependency to libcodec2
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (13 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 14/28] package/freeswitch: enable mod_bv, add optional dependency to libbroadvoice Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 16/28] package/freeswitch: add optional dependency to libg7221 Bernd Kuhls
` (12 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 55ac8f9..fd262e2 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -174,6 +174,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 16/28] package/freeswitch: add optional dependency to libg7221
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (14 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 15/28] package/freeswitch: enable mod_codec2, add optional dependency to libcodec2 Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 17/28] package/freeswitch: enable mod_ilbc, add optional dependency to libilbc Bernd Kuhls
` (11 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 fd262e2..7505136 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -186,6 +186,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 17/28] package/freeswitch: enable mod_ilbc, add optional dependency to libilbc
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (15 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 16/28] package/freeswitch: add optional dependency to libg7221 Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 18/28] package/freeswitch: enable mod_isac Bernd Kuhls
` (10 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 7505136..0b88bed 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -190,6 +190,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 18/28] package/freeswitch: enable mod_isac
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (16 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 17/28] package/freeswitch: enable mod_ilbc, add optional dependency to libilbc Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 19/28] package/freeswitch: enable mod_opus, add optional dependency to opus Bernd Kuhls
` (9 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 0b88bed..70f1b3d 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -160,6 +160,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 19/28] package/freeswitch: enable mod_opus, add optional dependency to opus
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (17 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 18/28] package/freeswitch: enable mod_isac Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 20/28] package/freeswitch: enable mod_portaudio, add optional dependency to portaudio Bernd Kuhls
` (8 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 70f1b3d..49eb74c 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_OPUS),y)
+FREESWITCH_DEPENDENCIES += opus
+FREESWITCH_ENABLED_MODULES += codecs/mod_opus
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 20/28] package/freeswitch: enable mod_portaudio, add optional dependency to portaudio
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (18 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 19/28] package/freeswitch: enable mod_opus, add optional dependency to opus Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 21/28] package/freeswitch: enable mod_silk, add optional dependency to libsilk Bernd Kuhls
` (7 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 49eb74c..6a8da08 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -236,6 +236,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 21/28] package/freeswitch: enable mod_silk, add optional dependency to libsilk
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (19 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 20/28] package/freeswitch: enable mod_portaudio, add optional dependency to portaudio Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 22/28] package/freeswitch: enable mod_sndfile, add optional dependency to libsndfile Bernd Kuhls
` (6 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 6a8da08..f549341 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_LIBSILK),y)
+FREESWITCH_DEPENDENCIES += libsilk
+FREESWITCH_ENABLED_MODULES += codecs/mod_silk
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 22/28] package/freeswitch: enable mod_sndfile, add optional dependency to libsndfile
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (20 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 21/28] package/freeswitch: enable mod_silk, add optional dependency to libsilk Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 23/28] package/freeswitch: enable mod_alsa, add optional dependency to alsa-lib Bernd Kuhls
` (5 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 f549341..f008248 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -246,6 +246,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 23/28] package/freeswitch: enable mod_alsa, add optional dependency to alsa-lib
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (21 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 22/28] package/freeswitch: enable mod_sndfile, add optional dependency to libsndfile Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 24/28] package/freeswitch: enable mod_soundtouch, add optional dependency to libsoundtouch Bernd Kuhls
` (4 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 f008248..b097794 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -166,6 +166,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 24/28] package/freeswitch: enable mod_soundtouch, add optional dependency to libsoundtouch
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (22 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 23/28] package/freeswitch: enable mod_alsa, add optional dependency to alsa-lib Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 25/28] package/freeswitch: enable mod_xml_rpc Bernd Kuhls
` (3 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 b097794..d58b891 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -256,6 +256,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 25/28] package/freeswitch: enable mod_xml_rpc
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (23 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 24/28] package/freeswitch: enable mod_soundtouch, add optional dependency to libsoundtouch Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 26/28] package/freeswitch: enable mod_imagick, add optional dependencies to imagemagick, libvpx & libyuv Bernd Kuhls
` (2 subsequent siblings)
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 d58b891..134dbec 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -166,6 +166,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 26/28] package/freeswitch: enable mod_imagick, add optional dependencies to imagemagick, libvpx & libyuv
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (24 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 25/28] package/freeswitch: enable mod_xml_rpc Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 27/28] package/freeswitch: enable mod_memcache, add optional dependency to libmemcached Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 28/28] package/freeswitch: add optional dependency to xz Bernd Kuhls
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 134dbec..3404fb2 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -184,6 +184,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
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 27/28] package/freeswitch: enable mod_memcache, add optional dependency to libmemcached
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (25 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 26/28] package/freeswitch: enable mod_imagick, add optional dependencies to imagemagick, libvpx & libyuv Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 28/28] package/freeswitch: add optional dependency to xz Bernd Kuhls
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 3404fb2..7178590 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -220,6 +220,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.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 28/28] package/freeswitch: add optional dependency to xz
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
` (26 preceding siblings ...)
2016-02-20 22:23 ` [Buildroot] [PATCH v8 27/28] package/freeswitch: enable mod_memcache, add optional dependency to libmemcached Bernd Kuhls
@ 2016-02-20 22:23 ` Bernd Kuhls
27 siblings, 0 replies; 30+ messages in thread
From: Bernd Kuhls @ 2016-02-20 22:23 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 7178590..69b0d6c 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -288,4 +288,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))
--
2.7.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [Buildroot] [PATCH v8 01/28] package/freeswitch: new package
2016-02-20 22:23 ` [Buildroot] [PATCH v8 01/28] " Bernd Kuhls
@ 2016-02-26 23:33 ` Romain Naour
0 siblings, 0 replies; 30+ messages in thread
From: Romain Naour @ 2016-02-26 23:33 UTC (permalink / raw)
To: buildroot
Hi Bernd,
Le 20/02/2016 23:23, Bernd Kuhls a ?crit :
> 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.
I looked at the build system and freeswitch bundle several external libraries
and some of them are already packaged in Buildroot.
Can you try to add optional/mandatory dependencies on theses packages:
BR2_PACKAGE_LIBSRTP
BR2_PACKAGE_APR
BR2_PACKAGE_APR_UTIL
BR2_PACKAGE_SOFIA_SIP
BR2_PACKAGE_TIFF
I'm not sure that the freeswitch build system will allow you to do that :-/
At least explain why we can't use them.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
[snip]
> diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
> new file mode 100644
> index 0000000..b52d469
> --- /dev/null
> +++ b/package/freeswitch/Config.in
> @@ -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
> diff --git a/package/freeswitch/freeswitch.hash b/package/freeswitch/freeswitch.hash
> new file mode 100644
> index 0000000..ebee17f
> --- /dev/null
> +++ b/package/freeswitch/freeswitch.hash
> @@ -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
> diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
> new file mode 100644
> index 0000000..ba3f2e9
> --- /dev/null
> +++ b/package/freeswitch/freeswitch.mk
> @@ -0,0 +1,89 @@
> +################################################################################
> +#
> +# freeswitch
> +#
> +################################################################################
> +
> +FREESWITCH_VERSION = 1.6.6
> +FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
> +FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
> +FREESWITCH_LICENSE = MPL v1.1
> +FREESWITCH_LICENSE_FILES = COPYING
> +
> +# required dependencies
> +FREESWITCH_DEPENDENCIES = \
> + host-autoconf host-automake host-libtool host-pkgconf jpeg \
> + libcurl openssl pcre speex sqlite zlib
> +
> +# needed after
> +# https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/c74237ad3cbd1974ae70f1a8d0d5d2cfe4d7b446
> +FREESWITCH_DEPENDENCIES += host-autoconf-archive
> +define FREESWITCH_NEEDS_MEMMOVE_M4
> + ln -sfv \
> + $(HOST_DIR)/usr/share/autoconf-archive/ax_func_memmove.m4 \
> + $(@D)/libs/spandsp/m4/ax_func_memmove.m4
> +endef
> +FREESWITCH_POST_PATCH_HOOKS += FREESWITCH_NEEDS_MEMMOVE_M4
> +
> +# autoreconf now is necessary to avoid broken autoreconf after configure
> +# we also patch configure.ac twice
> +define FREESWITCH_BOOTSTRAP
> + cd $(@D) && $(TARGET_MAKE_ENV) ./rebootstrap.sh
> +endef
> +FREESWITCH_POST_PATCH_HOOKS += FREESWITCH_BOOTSTRAP
Can you use PRE_CONFIGURE_HOOKS instead ?
We need to restart autoreconf when make freeswitch-reconfigure is used
> +
> +# 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_POST_PATCH_HOOKS += FREESWITCH_RESET_MODULES
Same here, use PRE_CONFIGURE_HOOKS in order to reset the module list.
> +
> +# 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 \
> + --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_CONF_OPTS += --enable-zrtp
> +else
> +FREESWITCH_CONF_OPTS += --disable-zrtp
> +endif
It would be better to have an zrtp Buildroot package with an
BR2_PACKAGE_LIBZRTP_ARCH_SUPPORTS symbol.
I noticed at the end of the build that modcheck.sh look at the host path:
/usr/lib/freeswitch/mod which shouldn't exist. Since this script is not useful
except to produces warnings, we can either disable it or fix the $1 argument
with $(TARGET_DIR)/usr/lib/freeswitch/mod ?
Freeswitch seems very difficult to package if we don't want to use bundled
libraries...
Best regards,
Romain
> +
> +$(eval $(autotools-package))
>
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2016-02-26 23:33 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20 22:23 [Buildroot] [PATCH v8 00/28] package/freeswitch: new package Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 01/28] " Bernd Kuhls
2016-02-26 23:33 ` Romain Naour
2016-02-20 22:23 ` [Buildroot] [PATCH v8 02/28] package/freeswitch: enable optional modules Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 03/28] package/freeswitch: add optional dependency to libuuid Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 04/28] package/freeswitch: add optional dependency to libedit Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 05/28] package/freeswitch: enable mod_enum, add optional dependency to libldns Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 06/28] package/freeswitch: add optional dependency to libpng Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 07/28] package/freeswitch: add optional dependency to unixodbc Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 08/28] package/freeswitch: add optional dependency to freetype Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 09/28] package/freeswitch: enable mod_yaml, add optional dependency to libyaml Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 10/28] package/freeswitch: enable mod_lua, add optional dependency to lua Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 11/28] package/freeswitch: enable mod_fsv, add optional dependencies to libvpx & libyuv Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 12/28] package/freeswitch: enable mod_av, add optional dependencies to ffmpeg, " Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 13/28] package/freeswitch: enable mod_vpx, add optional dependency to libvpx Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 14/28] package/freeswitch: enable mod_bv, add optional dependency to libbroadvoice Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 15/28] package/freeswitch: enable mod_codec2, add optional dependency to libcodec2 Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 16/28] package/freeswitch: add optional dependency to libg7221 Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 17/28] package/freeswitch: enable mod_ilbc, add optional dependency to libilbc Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 18/28] package/freeswitch: enable mod_isac Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 19/28] package/freeswitch: enable mod_opus, add optional dependency to opus Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 20/28] package/freeswitch: enable mod_portaudio, add optional dependency to portaudio Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 21/28] package/freeswitch: enable mod_silk, add optional dependency to libsilk Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 22/28] package/freeswitch: enable mod_sndfile, add optional dependency to libsndfile Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 23/28] package/freeswitch: enable mod_alsa, add optional dependency to alsa-lib Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 24/28] package/freeswitch: enable mod_soundtouch, add optional dependency to libsoundtouch Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 25/28] package/freeswitch: enable mod_xml_rpc Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 26/28] package/freeswitch: enable mod_imagick, add optional dependencies to imagemagick, libvpx & libyuv Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 27/28] package/freeswitch: enable mod_memcache, add optional dependency to libmemcached Bernd Kuhls
2016-02-20 22:23 ` [Buildroot] [PATCH v8 28/28] package/freeswitch: add optional dependency to xz Bernd Kuhls
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox