Commit Graph

540 Commits

Author SHA1 Message Date
Anthony Minessale 08a69fecbc this is not ready 2015-07-14 11:07:06 -05:00
William King f7f5c7587f FS-7820
C level unit testing and micro benchmarking framework, including one
example unit test.
2015-07-10 12:04:04 -07:00
Michael Jerris ea807b484f FS-7681: install switch_image.h 2015-06-18 14:35:33 -04:00
Michael Jerris 4ad0aa91a4 FS-7655: attempt to make libvpx and libyuv optional (none of the video features will work without them) The following modules require these libraries to be installed still: mod_av mod_cv mod_fsv mod_mp4v2 mod_openh264 mod_vpx mod_imagick mod_vpx mod_yuv mod_png mod_vlc 2015-06-16 18:24:35 -05:00
Ken Rice 02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Michael Jerris b827542c8d FS-7500: fix vpx include paths 2015-05-28 12:47:32 -05:00
Brian West 9c459f881e FS-7494: default avatar and mute images for video MCU 2015-05-28 12:47:26 -05:00
Michael Jerris 00214a5e2b FS-7507: install config files to the right directory 2015-05-28 12:47:22 -05:00
Michael Jerris 857a61318e FS-7507: Add global vars fonts_dir, images_dir, data_dir, localstate_dir
change configure detection to do FHS layout if you specify a prefix, unless --disable-fhs is passed to configure
moved includes to be under /usr/include/freeswitch dir in fhs layout
install font files into fonts_dir
2015-05-28 12:47:21 -05:00
Anthony Minessale c07513ea55 FS-7506: make freetype optional 2015-05-28 12:47:15 -05:00
Mike Jerris 086cf1c279 FS-7500: expand libpng detection to try to find a good png >= 1.6.16, fall back to older verison in weezy, and add support for building without libpng 2015-05-28 12:47:05 -05:00
Anthony Minessale 521a97935e FS-7500: check in png code and put it in the core to mature 2015-05-28 12:47:00 -05:00
Anthony Minessale 0697db4fb4 FS-7506 FS-7513: set banner with video_banner_text variable set before calling in, NEEDS DOCS params are parsable inside a {} string 2015-05-28 12:46:59 -05:00
Anthony Minessale 7b323f0b17 FS-7501: add vidderbuffer 2015-05-28 12:46:52 -05:00
William King 4fc94e3907 FS-7500 S-7513: Few build fixes 2015-05-28 12:46:43 -05:00
Seven Du ea2f00b3d9 FS-7500: refactor to use switch_core_video
added switch_core_codec_encode_video and switch_core_codec_decode video and add separate video implementations
the switch_core_video code depends on libvpx, wraped into the switch_ namespace like switch_apr, need to figure out how to find the correct libvpx lib in autotools
2015-05-28 12:46:42 -05:00
Michael Jerris f4e68221de FS-7245: don't rebuild core on mod_foo-clean targets 2015-02-06 18:37:59 -05:00
Michael Jerris 62a2e10e41 remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways 2014-11-19 16:06:42 -05:00
Michael Jerris a17be38e07 add reconf target 2014-11-05 09:44:04 -05:00
Michael Jerris acd8d74316 cleanup conditions 2014-10-03 12:48:43 -04:00
Michael Jerris d17f14efbd make sure to pass along appropriate configure flags to sub-configure's when cross compiling 2014-10-02 19:25:50 -04:00
Travis Cross a0e19e1c7f Use system portaudio library
This removes our in-tree version of portaudio-19 and migrates
mod_portaudio and mod_portaudio_stream to use the system version of
the library.  Our detection of the system library relies on
pkg-config.
2014-07-17 21:15:53 +00:00
Ken Rice 8d11e8abb1 git.freeswitch.org is DEAD... Long Live git via http://stash.freeswitch.org 2014-07-15 17:34:16 -05:00
Michael Jerris e9633a8b60 FS-6609: use config.status to reconf srtp so it doesn't loose the settings from the initial configure 2014-06-19 13:16:57 -04:00
Travis Cross c856023188 Fix missing $ for escaping shell variables for make 2014-05-09 17:27:37 +00:00
Michael Jerris e49feac7a3 don't re-build tone2wav and fs_encode on every build 2014-05-08 17:35:23 -04:00
Travis Cross 3c0e40ea7e Remove bashism from our Makefile hack
This makes portable the fix from commit
28ee7736d9.
2014-05-08 21:26:03 +00:00
Travis Cross 71368da78e Indent block 2014-05-08 21:21:12 +00:00
Travis Cross 9f2745ad7a Fix whitespace 2014-05-08 21:19:44 +00:00
Michael Jerris 28ee7736d9 put APR_LIBS back in LIBADD and LDFLAGS, but add some magic to .DEFAULT to ignore -l targets 2014-05-08 17:13:31 -04:00
Michael Jerris 31069f33a2 generate the modules list vars from modules.conf into a file instead of on the fly every time 2014-05-08 15:59:49 -04:00
Michael Jerris 2508ae98bf don't use -l libs from apr-config as dependencies in the Makefile 2014-05-08 15:59:49 -04:00
Travis Cross ae5d876682 Fix openssl build variable name
FS-6475 --resolve
2014-05-08 13:05:39 +00:00
Brian West a0589394f6 FS-6475 --resolve 2014-05-07 09:59:58 -05:00
Michael Jerris d6fe10979d remove opezap from tree, it has been replaced by freetdm 2014-05-06 11:05:54 -04:00
Michael Jerris f809d406eb add quickie targets for fr sounds 2014-05-05 19:22:52 -04:00
Michael Jerris 5e90a5a958 FS-6430: fix running of print_git_revision from builddir not in src tree 2014-04-04 12:00:06 -04:00
Michael Jerris ab5ebd30ed FS-6430: try to fix print_git_revision when running from builddir not inside src root 2014-04-04 11:09:47 -04:00
Michael Jerris 1681b04129 FS-6406: --resolve add a way to specify build compiler for cross compile 2014-03-26 17:15:24 -04:00
Anthony Minessale 487128950d Use the system version of APR / APR-util if possible
Autodetect whether the system libapr / libaprutil has our
necessary modifications and use it if it does.
2014-03-24 12:54:50 +00:00
Travis Cross cde20f6fe6 Require sqlite as a system dependency
This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-24 12:54:49 +00:00
James Le Cuirot 8574988c3a Completely unbundle libedit
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Travis Cross 1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Travis Cross 4268763341 Build a static libfreeswitch.a
We don't currently have a use-case for this, but we'd been
distributing this file in packaging as part of libfreeswitch-dev.
2014-03-20 15:58:14 +00:00
James Le Cuirot b283db6319 Completely unbundle speex
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:25 +00:00
James Le Cuirot e85f06ee2f Completely unbundle pcre
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:23 +00:00
Michael Jerris 6e50408b0e build spandsp core elements as a conv lib so we can use didfferent cflags to include the right config.h when building those files 2014-03-18 10:35:23 -04:00
Michael Jerris 3341fcb142 get build banner to come up in a different way, avoiding the duplicate targets 2014-03-18 08:42:03 -04:00
Michael Jerris 05ced3b8c0 fix libcurl linking when using system libcurl 2014-03-17 19:05:55 -04:00
Michael Jerris b324e2633a use AM_SILENT_RULES where available and remove our hacks for quiet builds as they don't work very well and cause other build problems 2014-03-17 14:33:55 -04:00
Michael Jerris 1c5e61447b move libs/stfu into the core, as it is not really a lib 2014-03-17 09:44:14 -04:00
Michael Jerris f43e3251f9 FS-6293: srcdir builds, don't touch src/include/switch.h in builddir, it creates an empty one that is included before the real one 2014-03-15 22:37:46 -04:00
Michael Jerris 048ce8d1f3 FS-6293: srcdir builds, most of the built in mods work now 2014-03-14 23:13:34 -04:00
Michael Jerris dc267d43a8 FS-6293: more srcdir build fixes, core builds now 2014-03-14 19:55:23 -04:00
Michael Jerris cff179b2f7 FS-6293: more srcdir build fixes 2014-03-14 19:52:35 -04:00
Michael Jerris 7de76b3031 FS-6293: more srcdir build fixes 2014-03-14 19:47:05 -04:00
Michael Jerris 4216e3e056 remove DYNAMIC_LIB_EXTEN because we use libtool to figure this all out now 2014-03-14 18:04:07 -04:00
Michael Jerris 4a7e3ebc31 BNPH-353: avoid adding linker flags as make targets 2014-03-10 23:19:03 -04:00
Anthony Minessale 32cce8027e Add hashtable code from openzap/freetdm to FS core 2014-03-09 00:37:17 +05:00
Michael Jerris d4b4ef8d7f support newer automake without warnings 2014-03-07 19:09:16 -05:00
Michael Jerris 7143904e52 FS-5822: --resolve 2014-02-24 17:39:46 -05:00
Anthony Minessale a900eadf5b FS-5937 --resolve 2014-02-24 14:56:49 -06:00
Anthony Minessale 74f9ed5d0b improve make -j detection to tolerate FS build being launched from within another make file 2014-02-20 18:47:34 -06:00
Anthony Minessale c514e4efd5 Fix make -j 2014-02-19 16:58:28 -06:00
Anthony Minessale ab56c276a0 move speex codec into the core since it already has speex anyway 2014-02-15 02:40:02 +05:00
Travis Cross 32e3505cdc Install switch_curl.h to includes/
FS-6163 --resolve

Thanks-to: Davide Colombo <davec82@gmail.com>
2014-01-31 12:03:29 +00:00
Michael Jerris a9bfeaeb9a fix dependency 2014-01-29 17:19:00 -05:00
Michael Jerris 04fba22378 add missing dep 2014-01-29 12:50:50 -05:00
Anthony Minessale f2c8e246fd add spandsp-reconf to make 2014-01-27 06:12:27 +05:00
Anthony Minessale 8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
Travis Cross 396ccaff51 Prevent -lfoo lib flags from becoming dependencies
Previously we were including the output of `apr-1-config/apu-1-config
--libs` into CORE_LIBS.  This seemed sensible as CORE_LIBS is added in
the right places to various _LDADD and _LIBADD variables.  However we
also use the value of CORE_LIBS as dependencies in the makefile.
Astonishingly this doesn't seem to cause any issues on most
platforms (or we would have noticed sooner), but it does break things
on Mac.

Thanks-to: Seven Du <dujinfang@gmail.com>

FS-5956 --resolve
2014-01-08 21:13:01 +00:00
Anthony Minessale 75bf4625ff add lua-reconf 2013-12-10 03:33:22 +05:00
Ken Rice 3fe701d241 fix recursive build error 2013-11-20 14:56:01 -06:00
Travis Cross bf4440d0c3 Handle APR / apr-util build settings properly
After being configured, APR and apr-util provide config scripts that
enumerate the libraries and compiler and linker options needed to
build code relying on APR/apr-util.  This patch causes us to more
fully include the output of these scripts in our build process.

FS-5574 --resolve
2013-11-08 19:24:21 +00:00
Michael Jerris 58e7db0c6d FS-5763: --resolve add configure check for lzma and newer readhat/sl tinfo stuff 2013-09-07 12:21:33 -07:00
Anthony Minessale f53bde459b add new file 2013-08-05 23:49:59 +05:00
Anthony Minessale dabb85c3f6 wip 2013-03-31 21:27:22 -05:00
Anthony Minessale 9cc550ee18 build sdp lib inline w/ core 2013-03-31 21:27:22 -05:00
Anthony Minessale fd4ce8f2da fix some core/srtp build deps 2013-03-31 21:27:20 -05:00
Anthony Minessale 6939394530 isolate sdp parser code to the switch_core_media.c 2013-03-31 21:27:17 -05:00
Anthony Minessale eb81042a6f wip 2013-03-31 21:27:14 -05:00
Anthony Minessale 592993ecda baseline 2013-03-31 21:27:13 -05:00
Eliot Gable 3d0c245f80 Revert "Initial draft of message dispatcher system; untested, experimental. Do not enable unless you know what you are doing." Pushing into branch.
This reverts commit c6b3a686f6.
2013-02-18 14:24:10 +00:00
Eliot Gable c6b3a686f6 Initial draft of message dispatcher system; untested, experimental. Do not enable unless you know what you are doing. 2013-02-17 23:40:10 +00:00
Travis Cross e5a1b54e9e Adjust build for libzrtp changes
libzrtp now builds from its root directory rather from projects/gnu.
2013-02-11 16:42:10 +00:00
Michael Jerris 79bba25ca2 this will go back in in a more sane way soon enough 2013-01-30 15:26:13 -05:00
Anthony Minessale d1ecaa53d9 FS-5040 --resolve 2013-01-21 18:48:17 -06:00
Anthony Minessale 0e5af05d6a FS-5039 somewhat of a temporary fix unless it works for everyone 2013-01-21 17:16:44 -06:00
Michael Jerris a85f9aa581 add build pieces for sofia sdp lib in core 2013-01-14 12:08:55 -05:00
Anthony Minessale b086af58ea remove warnings on newer automake 2012-12-19 14:20:38 -06:00
Michael Jerris e60a9dd306 fix sqlite reconf 2012-12-04 10:10:49 -06:00
Michael Jerris a59a319e0d fix full build again 2012-11-29 15:21:09 -05:00
Anthony Minessale 7e03199529 fix build again 2012-11-29 10:47:16 -06:00
Anthony Minessale 03531329d3 bring back 'make sure' it will git clean and fully reset and build latest git and wipe out any uncomitted changes, you can pass CONFIGURE_ARGS=--foo from the make command line to pass the flags to the reconfigure 2012-11-29 10:44:27 -06:00
Anthony Minessale bce107b5fc FS-4883 --resolve I can add this but if it leads to issues in the loaded code we may not have resoures to investigate 2012-11-29 09:00:03 -06:00
Anthony Minessale bc4e396d19 FS-4770 2012-10-29 09:52:01 -05:00
Anthony Minessale 7f46c7e290 fix build dependancy regression to reduce rebuilds 2012-10-23 18:15:03 -04:00
Anthony Minessale 5f469ad2bd FS-4753 --resolve this should properly detect it everywhere 2012-10-23 13:14:51 -04:00
Eliot Gable 5cb354dddc Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql. 2012-10-08 20:33:57 +00:00
Anthony Minessale c7283aaa1a force core rebuild when apr and other core libs change 2012-09-27 13:38:02 -05:00