Commit graph

690 commits

Author SHA1 Message Date
Sebastian Kemper
afb2de7e2e net/asterisk-g72x: bump to 1.4.1
Version bump. This release was upstream-tested against bcg729 1.0.2.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:29:26 +02:00
Sebastian Kemper
535515658a libs/pjproject: prevent linking against opus
When opus is found in staging area it will be linked against, adding a
dep that is not in the Makefile. So explicity disable opus.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:25:49 +02:00
Sebastian Kemper
ac3551f723 libs/bcg729: bump to 1.0.2
Also remove the static binary from InstallDev as it's not used.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:24:58 +02:00
Jiri Slachta
1dc4faadaf Merge pull request #169 from micmac1/master
freeswitch-stable: new PR
2017-07-19 23:28:38 +02:00
Sebastian Kemper
41beae13e8 freeswitch-stable: remove BROKEN from mod_av
libffmpeg-full now includes libavresample. Make mod_av available
accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-18 22:09:18 +02:00
Sebastian Kemper
becb9d05e2 freeswitch-stable: disable mod_v8 heap snapshot by default
mod_v8 sporadically failed to build due to a segmentation fault when
generating the heap snapshot. This patch adds a switch to FreeSWITCH to
disable the snapshot and a symbol to toggle it.

Default is to not use a heap snapshot.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-16 22:05:56 +02:00
Sebastian Kemper
98232d46cb freeswitch-stable: update COPTS fixes
- Replace main COPTS fixes patch with the updated version sent upstream.
- For the above to work we need to update DEFAULT_VARS in modmake.rules
  (new patch)
- mod_pocketsphinx and mod_radius_cdr updated, no more extra COPTS fixes
  required there.
- Now zeromq gets to use fortify headers and fails (warning about GCC
  extension turns into error), so make it drop '-pedantic'.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-16 21:57:07 +02:00
Sebastian Kemper
eebb961147 freeswitch-stable: version bump
- Update to 1.6.19.
- Refresh patches.
- Fix mod_png dep.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-16 21:52:58 +02:00
Jiri Slachta
d67fb86016 Merge pull request #166 from micmac1/master
freeswitch-stable: Fix python-host.mk include
2017-07-09 20:00:50 +02:00
Sebastian Kemper
f851582d14 freeswitch-stable: Fix python-host.mk include
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 18:09:44 +02:00
Jiri Slachta
802b77d515 Merge pull request #165 from micmac1/master
freeswitch-stable: New PR
2017-07-09 14:36:07 +02:00
Sebastian Kemper
6a2be25433 freeswitch-stable: Add PKG_CONFIG_DEPENDS
Force a rebuild of freeswitch-stable on symbol change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:22:43 +02:00
Sebastian Kemper
6401e13452 freeswitch-stable: Add more modules
- Add mod_portaudio, mod_portaudio_stream, mod_radius_cdr and mod_v8.
- mod_v8 takes some time to build and it's quite large, so only build it
  for x86_64. Users can force it on via a symbol for targets arm, i386
  and mipsel as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:15:39 +02:00
Sebastian Kemper
e0651d98e5 freeswitch-stable: Enable extra symbols for x86_64 target
There is no space constraint on x86_64, so enable the extra symbols for
a complete feature set.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:03:17 +02:00
Sebastian Kemper
4cfbc9c933 freeswitch-stable: Fixes for modules and libs
- Add missed dependency on libyuv to libvpx.
- Get rid of gratuitous @ in Config.in.
- Clean up Perl and Python deps.
- Fix installation paths for the ESL packages.
- Don't set ac_cv_lib_perl_perl_alloc=yes, it's not needed.
- Get rid of the build dep on erlang. Have the modules (erlang_event and
  kazoo) depend on erlang instead; they both require epmd at runtime.
- Force spandsp and pocketsphinx to use fixed point math when soft float
  support is enabled for the target device.
- Make libvpx use OpenWrt/LEDE flags, otherwhise it comes up with
  optimized flags on its own.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:02:09 +02:00
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