Commit graph

675 commits

Author SHA1 Message Date
Sebastian Kemper
aaee4b431e freeswitch-stable: Clean up the Makefile
- Fix alphabetical sorting.
- Move some of the blocks around, e.g. move everything together that
  adds to $(CONFIGURE_ARGS), move Download define upward to the other
  defines etc.
- Replace some strings with variables, e.g. $(FIND) and $(FPIC).
- Be consistent and prefix our own variables with "FS_STABLE_".
- Remove the dev package and use Build/InstallDev instead.
- All in all this change is purely cosmetic.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 12:08:49 +02:00
Jiri Slachta
75aa42abb1 Merge pull request #161 from micmac1/master
freeswitch-stable: Fix perl-esl deps
2017-06-29 09:09:27 +02:00
Sebastian Kemper
438fd05db7 freeswitch-stable: Fix perl-esl deps
Like mod-perl it also needs Perl with threads support.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-28 09:18:23 +02:00
Jo-Philipp Wich
6421bb89b8 Merge pull request #160 from micmac1/master
freeswitch-stable: New PR
2017-06-27 22:21:03 +02:00
Sebastian Kemper
639072e26e freeswitch-stable: cleanup Python setup
- Rename PYTHON_PKG_DIR to PYTHON_SITE_DIR, otherwise it's confusing.
- Remove the 'sed' hacks; handle the Python setup like the Perl setup is
  already done.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-27 22:14:46 +02:00
Sebastian Kemper
fb6cc32a6a freeswitch-stable: Remove some needless variable escaping
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-27 22:07:34 +02:00
Sebastian Kemper
4938176da1 freeswitch-stable: Fix mod_pocketsphinx build
- The builds currently fail with "undefined reference" errors. Fix that
  by turning off Pulseaudio support. Also turn of Jack support in case
  that gets detected in the future.
- aarch64 fails because this arch isn't recognized by the pocketsphinx
  build system. Fix that by running autoreconf in the pocketsphinx build
  dirs.
- Fix CFLAGS while we're here.
- Add dep on libsamplerate to mod_pocketsphinx. If it gets detected it
  will be linked against, there is no switch to prevent that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-27 18:27:47 +02:00
Sebastian Kemper
40ab309b0e freeswitch-stable: Refresh patch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-26 23:52:45 +02:00
Jiri Slachta
c2adf8eb16 Merge pull request #159 from micmac1/master
freeswitch-stable: New PR
2017-06-26 14:02:03 +02:00
Sebastian Kemper
740b5320b1 freeswitch-stable/-sounds: Use HASH instead of MD5SUM
All checksums are already SHA256, so move from MD5SUM to HASH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-25 15:30:45 +02:00
Sebastian Kemper
42c0cabdbe freeswitch-stable: add Perl support
- add mod_perl and perl-esl.
- some patching is required to make this work.
- for the modules to find libperl, an rpath is needed, which currently
  doesn't work because of an rstrip.sh/patchelf issue. Patch sent to
  OpenWrt/LEDE devs (https://patchwork.ozlabs.org/patch/780008/)
- fix some more copts issues that became apparent with Perl enabled.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 22:25:36 +02:00
Sebastian Kemper
6a4b022ec1 freeswitch-stable: add more modules
- add b64, clearmode, cv (broken), dahdi_codec, dialplan_directory,
  event_test, event_zmq, pocketsphinx, posix_timer, random, vmd and yuv.
- some of the new modules require extra sources, so add a download
  routine for those so we can verify the checksums and prevent FreeSWITCH
  build system to download them on its own.
- add two patches to fix some issues with the new modules.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 22:04:47 +02:00
Sebastian Kemper
4aecbd082d freeswitch-stable: Misc fixes
- compile fix for mod_av added, without it the build errors out
  (warnings turned to errors). It's still labelled @BROKEN, but once
  OpenWrt's ffmpeg maintainers add libavresample to libffmpeg-full
  (PR #4490) it should work.
- disable Erlang detection if mod_erlang_event is not selected (build
  dep on Erlang unfortunately has to stay)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 21:10:04 +02:00
Sebastian Kemper
8c7cc53485 freeswitch-stable: Change Python setup
- make the use of Python conditional and drop the build dep.
- change Python LDFLAGS to the ones suggested by host python-config.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 20:54:10 +02:00
Sebastian Kemper
e6edd95bf1 freeswitch-stable: group all misc packages together
- Pull more packages into the misc group (timezones etc.)
- Change Misc generator to not force the misc handle onto packages
- Add possibility to Misc generator to tag packages as arch agnostic

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 20:31:23 +02:00
Sebastian Kemper
e43d7fef7b freeswitch-stable: use variables for paths
Use variables for frequently used paths instead of writing them out.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 20:20:42 +02:00
Jo-Philipp Wich
4dc31755a6 Merge pull request #158 from micmac1/PR
New PR for freeswitch-stable
2017-06-14 23:04:54 +02:00
Sebastian Kemper
549db43a36 freeswitch-stable: version bump
Bump to 1.6.18

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-14 23:00:03 +02:00
Sebastian Kemper
ceff7f10c9 freeswitch-stable: package cleanups
- removed xmlrpc-c todo; I compiled with external version in staging
  dir, it didn't make a difference (didn't seem to be used)
- removed swig calls as per suggestion from upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-14 22:57:53 +02:00
Jiri Slachta
f297dff388 Merge pull request #157 from micmac1/PR
freeswitch-stable: new PR
2017-06-11 15:49:51 +02:00
Sebastian Kemper
d442371a44 freeswitch-stable: move examples location
Moved location of example packages from /usr/share/freeswitch/conf to
/usr/share/freeswitch/examples. It makes more sense and is also the
place where the module configuration snippets go.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:51:09 +02:00
Sebastian Kemper
eea358cfed freeswitch-stable: add symbol to allow inclusion of module examples
Some modules include example content, e.g. xml snippets, in their source
directory. Added a symbol that causes these to be included in the
packages.

Disabled by default.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:48:31 +02:00
Sebastian Kemper
6a4a965b1f freeswitch-stable: added misc package builder
- meant for packages where one only needs to copy files from one
  directory to another
- added three new packages using the new builder (dev, fonts, images)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:42:08 +02:00
Sebastian Kemper
0430373885 freeswitch-stable: whitespace fix for hotplug builder
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:36:31 +02:00
Sebastian Kemper
fc0af6f29d freeswitch-stable: move mod_python feature
Moved mod_python specialty from install/dir routine to mod builder

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:31:43 +02:00
Sebastian Kemper
4d36442e22 freeswitch-stable: SWIG updates
- fixed swig location in all Makefiles in libs/esl and src/mod/languages
- forced a reswig for mod_lua as well, like it is already done for
  mod_python
- added patch for mod_lua to properly do the reswig (patch sent
  upstream, too)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:24:59 +02:00
Sebastian Kemper
12f09836f7 freeswitch-stable: improve install/dir define
- if source dir exists install the destination dir as it might not exist
  yet
- if source dir does not exist do nothing (not even error out)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:16:06 +02:00
Sebastian Kemper
a7e10e99e5 freeswitch-stable: add ARCH depends for ZRTP and iSAC
ZRTP and iSAC only support certain arches. Updated the depends to
reflect that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:13:11 +02:00
Jiri Slachta
a6b42ea220 Merge pull request #85 from robho/install_echo_script
yate-mod-extmodule: Include and install script echo.sh
2017-06-09 10:35:06 +02:00
Jiri Slachta
f87833c641 Merge pull request #151 from jpap/spandsp-disable-fixed-point
spandsp: disable fixed point implementation
2017-06-09 10:32:59 +02:00
Jiri Slachta
3cec9c9bcb Merge pull request #152 from jpap/updated-g72x-codec-version
asterisk-g72x: update to 1.4
2017-06-08 11:10:28 +02:00
John Papandriopoulos
b57051c35d spandsp: disable fixed point implementation
On a Netgear R7000 (ARMv7) without floating point, using SpanDSP with
fixed point to send/receive fax on Asterisk resulted in repeated
failure and intermittent performance.  Disabling fixed point fixed
these issues; the software floating point implementation was fine for
real-time use.

Now on a Netgear R7800 (ARMv7) with hardware floating point, the
autoconf auto-detect will say no floating point is available, and
again enables the poor performing fixed point implementation.  Ouch!
2017-06-07 23:11:03 -07:00
John Papandriopoulos
5c23df1603 asterisk-g72x: update to 1.4 2017-06-07 23:07:53 -07:00
Jiri Slachta
6252899cf9 Merge pull request #155 from micmac1/PR
freeswitch-stable: Fix mod_unimrcp build failure
2017-06-08 07:46:23 +02:00
Sebastian Kemper
6aa76a284c freeswitch-stable: Fix mod_unimrcp build failure
- mod_unimrcp picked up external apr/apr-util if found in the target
  directory, which caused the build to fail (undefined references). Fixed
  by adding the FreeSWITCH apr/apr-util lib dirs to the front of LDFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-03 18:30:35 +02:00
Jo-Philipp Wich
9c8937228a Merge pull request #154 from micmac1/PR
PR for freeswitch-stable
2017-06-02 23:25:41 +02:00
Sebastian Kemper
8e0aed4754 freeswitch-stable: Fix mod_erlang_event build
- added a patch for erlang.m4 so mod_erlang_event finds the right lib to
  link to

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-02 22:31:27 +02:00
Sebastian Kemper
c63725e867 freeswitch-stable: Fix mod_python build
- added sed scripts in order for mod_python to find the right lib to
  link to
- fixed some whitespaces

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-02 22:14:10 +02:00
Jo-Philipp Wich
9c27a3be61 Merge pull request #149 from micmac1/PR
PR for freeswitch-stable
2017-06-02 11:36:04 +02:00
Sebastian Kemper
2912f88259 freeswitch-stable: dependency cleanups
- removed $FS_STABLE_DEPS_BASE and $FS_STABLE_DEPS because they aren't
  needed to setup dependencies
- changed dependency setups of modules, utils and python-esl so that
  their dependencies don't leak to the main package
- fixed dep of mod-hiredis

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-05-24 22:11:36 +02:00
Sebastian Kemper
760c224389 freeswitch-stable: Python fixes
- removed python-setuptools build dep as it's not needed
- moved the Python autotools variables to CONFIGURE_VARS
- fixed host swig location
- changed from manually erasing files to force a reswig to calling the
  swigclean make targets provided by upstream instead

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-05-24 21:58:09 +02:00
Jiri Slachta
3cce8976b1 Merge pull request #148 from micmac1/PR
Pull request for 5 commits
2017-05-24 14:05:59 +02:00
Sebastian Kemper
af2f504cf6 freeswitch-stable: Fixes and housekeeping
- reworded some bools in Config.in
- removed some notes in Makefile which seemed a bit out of touch
- forced parallel build off again, as some module combinations won't
  allow it
- fixed modules.conf editing sed script to not uncomment lines
  accidentally
- removed wrong dep on db47 for mod_db

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-05-21 01:13:56 +02:00
Sebastian Kemper
3fd8b51929 freeswitch-stable: Add some modules
- added 30+ modules

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-05-21 01:08:51 +02:00
Sebastian Kemper
e667732dc1 freeswitch-stable: Add fs_ivrd utility
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-05-21 00:53:26 +02:00
Sebastian Kemper
581fe484d5 freeswitch-stable: Add Python support
- added mod_python as well as python-esl

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-05-21 00:50:42 +02:00
Sebastian Kemper
3822ad7e59 freeswitch-stable: Add options to include more libs
- added symbols to Config.in to enable additional libs
- libs are: freetype, libpng, libyuv (internal), libvpx (internal)
- they're not enabled by default

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-05-21 00:31:28 +02:00
Jiri Slachta
4aac26a247 asterisk-13.x: add pjproject module, update patches
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-05-16 09:44:24 +02:00
Mazi Lo
b2ad28f114 Merge branch 'master' of https://github.com/openwrt/telephony 2017-05-14 13:40:48 -04:00
Habibie
16a9cf8cd0 1. Updated to git HEAD 7a46fd67cd2833f07d583288b8d2dc084733fc91 (v1.9.0)
2. Updated patched files.
3. Fixed detection of perl and python3 in configure.ac file

Signed-off-by: Mazi Lo <openwrt.mazilo@xoxy.net>
2017-05-14 13:34:11 -04:00