Commit Graph

336 Commits

Author SHA1 Message Date
Travis Cross a8019d803c Make version output more human-friendly
Our main version string is designed for release engineering purposes:
it matches file name conventions used for versioned tarballs and the
versions sort lexicographically while containing all pertinent
information.

With this commit we add in parentheses a more human-friendly rendering
of the version string: we spell out the meaning of each field and
render the datetime in RFC 822 notation.
2012-07-20 07:43:26 +00:00
Travis Cross 034d4153c4
Improve SWITCH_VERSION_REVISION generation
The revision was no longer picking up the last git commit.  Instead,
it was showing the last release.  This commit appends the last git
commit hash to the last release if a git repository is available.
Further, it checks whether there are uncommitted changes in the git
repository and adds an unclean tag to the version if this is the case.

Note that currently this will append the git commit hash even on a
tagged release if built directly from a git repository.  Perhaps this
isn't such a bad thing, but if it turns out not to be desired, I have
an idea on how to squelch this without making unwarranted assumptions
about the remote layout of someone's local repository.
2012-06-11 17:19:25 +00:00
Stefan Knoblich 93129e32d3 FreeSWITCH: FS-4276 - Use a POSIX compatible set of regexes to filter -arch flags in PYTHON_CFLAGS.
POSIX sed doesn't support grouping, so split the regex in two.

Reference-URL: http://jira.freeswitch.org/browse/FS-4276
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-06-02 00:12:34 +02:00
Stefan Knoblich ba4a210ced FreeSWITCH: Fix copy&paste error in last commit
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-06-01 00:24:43 +02:00
Stefan Knoblich 5165e4071e FreeSWITCH: Remove -arch i386/x86_64 from PYTHON_CFLAGS
Speculative fix for a mod_python build issue on OSX, which is
caused by '-arch i386 -arch x86_64' in the final PYTHON_CFLAGS.

Filter both flags and hope OSX's universal binary toolchain is smart enough
to choose a sane default.

Reported-by: neilp9 in #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-05-31 23:59:45 +02:00
Ken Rice 24f6c4056b missed a spot removing mod_fax 2012-05-31 11:25:28 -05:00
Ken Rice 1ecb6be009 release FreeSWITCH 1.2-rc2 2012-05-08 11:04:01 -05:00
Ken Rice a1177a7994 release FreeSWITCH 1.2-rc1 2012-05-08 00:02:56 -05:00
Travis Cross ffc8e81b76 check for missing unixodbc-dev during configure
Previously if --enable-core-odbc-support was set but unixodbc-dev was
not available, we would fail during make rather during configure.
2012-04-23 17:21:25 +00:00
Ken Rice b544f60b38 add checks during configure for zlib and libjpeg, abort configure with error if not found 2012-04-09 21:41:19 -05:00
Travis Cross 393b63b7bd integrate in-tree libzrtp into the build system
Thanks to Ken Rice for working with me late into the night to get this
done.
2012-04-05 04:10:55 +00:00
Ken Rice 08d8a1a79b bump FS version to 1.1.beta1 2012-03-24 04:52:58 +00:00
Jeff Lenk 883de14f30 FS-3776 --resolve FreeBSD changes for spandsp 2011-12-21 19:43:01 -06:00
Marc Olivier Chouinard 023818bcc6 FS-302 Error in initial patch.. default scripts folder was missing the s at the end 2011-12-17 01:37:19 -05:00
Marc Olivier Chouinard 7ae3f5b7d5 FS-302 --resolve 2011-12-15 22:54:19 -05:00
Anthony Minessale d91f67d0e3 Add T31 modem support to mod_spandsp - similar to iaxmodem only wired into FS. Also merge configs into single spandsp.conf.xml --see in tree example-- 2011-12-06 17:51:36 -06:00
Michael Jerris 64f04023a1 FS-2936: don't allow using system libcurl on systems that strip out Curl_setopt, we use it 2011-11-30 12:21:08 -05:00
Michael Jerris 36f0a5b870 FS-2936: don't allow using system libcurl on systems that strip out Curl_setopt, we use it 2011-11-30 12:03:53 -05:00
Anthony Minessale a7238d0b9d FS-2936 stage 4 these too 2011-11-29 15:38:52 -06:00
Michael Jerris 74ed2cef01 step 1 of curl linked in core 2011-11-29 14:35:28 -05:00
Stefan Knoblich cdabd56410 FreeSWITCH: Remove -lrt from PLATFORM_CORE_LIBS on darwin.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-17 08:23:21 +01:00
Stefan Knoblich 7267bfbc9d FreeSWITCH: Remove -lcrypt from PLATFORM_CORE_LIBS on dawrin.
crypt() is in libc on OS X, no external lib needed.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-17 01:06:18 +01:00
Stefan Knoblich 041e3bf00c FreeSWITCH: No libdl on FreeBSD (dl{sym,open,close} in libc), drop it from PLATFORM_CORE_LIBS
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-07 18:27:58 +01:00
Stefan Knoblich a48da3b46c FS-3638: Rework platform library/linker flags handling and libfreeswitch _LDFLAGS/_LIBS to fix applications
This fixes the linking order problems reported in FS-3638.

Clean up libfreeswitch dependency handling:

        PLATFORM_CORE_LDFLAGS - Non-library linker flags, specific to this platform
        PLATFORM_CORE_LIBS    - Library flags/libraries need to build libfreeswitch on this platform

Drop LDADD dependencies from tone2wav and fs_encode, except for libfreeswitch.la, which will
"automagically" pull in all other libraries, now that we fixed libfreeswitch.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-04 21:04:29 +01:00
Travis Cross 50328a6634 fix getlib support for bz2 and support xz
This fixes the build as flite is now bundled as a tar.bz2 archive.
2011-10-30 09:54:17 +00:00
Travis Cross 82f77413e9 Revert "speed up configure"
This reverts commit 324110bfa2.
2011-09-23 16:54:41 +00:00
Travis Cross 324110bfa2 speed up configure
...at least until registration opens for next year's ClueCon.
2011-09-23 16:34:29 +00:00
Stefan Knoblich 836804707a Make top-level configure python checks python 3 ready
print <value> syntax does not work in python 3.
Add round braces to call it like any other function.

Tested with python-2.4 and 3.1.

NOTE: Only fixes the configure check, mod_python does NOT build with
      python 3.x!

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-19 15:47:06 +02:00
Michal Bielicki - cypromis cb1cb69ee4 let gcc have part in the great solaris building world 2011-09-14 14:59:02 +02:00
Anthony Minessale 910f5364a4 add threaded-system-exec param and fsctl (set it to false to use fork) 2011-09-12 14:25:01 -05:00
Mathieu Rene d90bac3888 The format string for size_t is always %zu, don't #error when not able to find it 2011-07-15 11:42:48 -04:00
Anthony Minessale 25c725c292 last commit for --enable-timerfd-wrapper (autoheadache) 2011-06-30 18:30:24 -05:00
Anthony Minessale ffeb7ba740 fix typo in autoconf 2011-06-30 18:16:05 -05:00
Anthony Minessale d28b2391fc missed these on timerfd commit 2011-06-30 16:24:41 -05:00
Michael Jerris 1d18b58b4d add define 2011-05-13 19:26:01 -04:00
Anthony Minessale acf3090adf FS-2936 plan B for curl stuff 2011-05-13 13:17:54 -05:00
Anthony Minessale 29bf9157ef clean up core curl patch 2011-05-11 14:42:52 -05:00
Anthony Minessale 7064487df2 FS-2936 please test on windows 2011-05-11 10:07:00 -05:00
Anthony Minessale a8b87ffe05 add option to disable srtp with --disble-srtp 2011-05-02 11:34:13 -05:00
Marc Olivier Chouinard eb8ff5a06b autoconf: Comment out the forced -Wunused-but-set-variable since not all module could be tested. List of module I couldn't compile is in the comment. Please all the different module maintainer check your module for this. Thanks 2011-04-22 23:09:40 -04:00
Marc Olivier Chouinard f952719e89 autoconf: Added the -Wunused-but-set-variable to the default compile to help avoid commiting more unused variable but set value. Please report if you do have problem with it. 2011-04-22 21:45:42 -04:00
Michael Jerris 294b077977 FS-3182: fix mod_dingaling/iksemel/gnutls link error when using newer autotools 2011-03-25 12:17:25 -05:00
Anthony Minessale 7fe291f1f9 FS-3110 --comment-only phase 3.4 nevermind use getlibs 2011-03-24 17:23:08 -05:00
Anthony Minessale e566b270b8 FS-3110 --comment-only phase 3.2 nevermind use getlibs 2011-03-24 17:13:50 -05:00
Anthony Minessale eec9d939a8 FS-3110 --comment-only phase 1 to replace udns with ldns in mod_enum may need to rerun bootstrap 2011-03-24 16:27:08 -05:00
Anthony Minessale 10174ea6d5 add timerfd support to the core for now you must enable it in switch.conf.xml with the param enable-softtimer-timerfd=true later if it proves to work well we can make it on by default, please test if you have a new kernel that supports this option kernel >= 2.6.25 and libc >= 2.8 2011-03-21 20:49:39 -05:00
Stefan Knoblich 78472897cd Do not escape ${libdir} in --with-pkgconfigdir option's AS_HELP_STRING
description parameter (not needed and ends up in output).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-02-19 23:38:04 +01:00
Stefan Knoblich f20ba4d1f6 Add --with-pkglibdir option to set the installation directory of freeswitch.pc.
Default behaviour is unchanged.

Packagers should use this option to install freeswitch.pc into
the system's main pkg-config directory (e.g. /usr/lib/pkgconfig).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-02-19 23:07:22 +01:00
Mike Jerris 17d5211280 add make targets for mod_com_g729 mod_com_g729-activate mod_com_g729-install mod_com_g729-clean mod_com_g729-uninstall 2011-02-14 13:52:55 -06:00
cypromis 7c74af682e Merge remote branch 'origin/master' 2010-12-18 01:16:03 +01:00
cypromis 2343708a9c Sun Studio does not like __FUNCTION__ and -mt makes better multithreaded code 2010-12-18 01:15:55 +01:00
Michael Jerris b017931c5e add -lresolv when its present so modules don't have to link to it 2010-11-24 17:22:16 -05:00
Michael Jerris dc06a03995 FS-122: add mod_osp Makefile to configure generated Makefiles 2010-09-27 03:39:38 -04:00
Brian West 62b55523c2 Working codec2 support 2010-09-21 12:35:41 -05:00
Michael Jerris 88aa159be2 honor localstate dir to adjust log dir and run dir 2010-08-05 19:21:52 -04:00
Mathieu Parent e704f02196 FSBUILD-285: Fix build with --with-curl 2010-07-25 10:10:06 +02:00
Mathieu Rene a31222acba mod_hash: fix build 2010-07-19 16:13:10 -04:00
Brian West 6117234549 FSCORE-627 2010-07-01 23:15:37 -05:00
Brian West 1ed00b4dbd cluecon 2010-07-01 18:16:08 -05:00
Michael Jerris 493fc64831 optimize configure when using system libcurl 2010-06-08 15:17:55 -04:00
Michael Jerris fa9a59a88b initial checkin of mod_fax/mod_voipcodecs merge into mod_spandsp 2010-05-24 05:38:17 -04:00
Anthony Minessale 892daf1027 cleanup 2010-05-21 17:16:33 -05:00
Anthony Minessale 7b3d3f7ef2 Tea for two (or maybe thirty eight?) 2010-05-21 16:47:21 -05:00
Michael Jerris da195caa67 fix build error due to missing zlib linking when using libtool 2.2 or later 2010-04-26 03:21:41 -04:00
David Yat Sin 8aebc016d0 freetdm:Bug fixes in freetdm queue mode
freetdm:Added freetdm to compile/install list
2010-04-20 17:05:47 -04:00
Michael Jerris 8e76877a26 update makefile and version generation to work with git working copy too 2010-04-02 00:07:02 -04:00
Travis Cross fdf25d97df Revert "Updated the configure script for git builds."
This reverts commit 3c0cb60fa2.

This went in too early; it belongs with a patch set that handles
builds from both git and svn.
2010-03-30 23:14:37 +00:00
Travis Cross 3c0cb60fa2 Updated the configure script for git builds. 2010-03-30 18:41:15 +00:00
Brian West d109505830 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17076 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 16:11:40 +00:00
Michael Jerris f6fe2667d4 fix openbsd build (FSBUILD-256)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17071 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-22 23:05:20 +00:00
Michael Jerris 99e55ae008 mod_skypiax rename to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 21:57:23 +00:00
Michael Jerris ad4eb5e019 MODENDP-293
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 17:16:52 +00:00
Michael Jerris 54a9eba44d this is a bit more sane
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-30 23:27:40 +00:00
Michael Jerris d47c147cdb dirty hack to try to fix solaris build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-30 23:10:37 +00:00
Brian West cd8912cb46 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 20:40:59 +00:00
Michael Jerris 9b8392bc16 move lua to automake
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-17 06:57:35 +00:00
Michael Jerris 0c1ae13da1 move mod_spidermoney build to automake, fix spidermoneky dependencies (I think this really fixes -j builds), move mod_spidermonkey sub modules all under the same source directory and bundle their build together as one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-17 05:48:36 +00:00
Michael Jerris 31b743d6eb rename ADD_ AM conditionals to HAVE_
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-17 03:11:56 +00:00
Michael Jerris 74fd6fb6f8 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 22:26:00 +00:00
Michael Jerris 452b0bdeaa typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 21:16:36 +00:00
Anthony Minessale d314f25424 update timer calibration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 21:07:39 +00:00
Michael Jerris 8912b80e13 (FSCORE-524)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 17:01:36 +00:00
Michael Jerris ea5c0c2111 attempt to properly check if we can use CPU_SET with sched_setaffinity because some older libc had gnu extensions in the definitions of CPU_SET which we do not allow (FSBUILD-226)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-12 18:31:13 +00:00
Michael Jerris 68b584063f add pkgconfig file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-12 04:43:39 +00:00
Michael Jerris 8b3f71cc48 Makefile.am cleanup (mostly from stkn, THANKS\!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 20:26:14 +00:00
Michael Jerris 40ff9a41af comment for now until we better control what is passed through
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 18:53:05 +00:00
Michael Jerris d1c60899de add soundsdir configure var and sounds_dir global freeswitch var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 16:32:35 +00:00
Michael Jerris 89ae5f4741 add configure vars for htdocs and grammar dirs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 15:47:36 +00:00
Michael Jerris 5ccac21dc3 wip move towards adding directory layout control to configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 14:36:29 +00:00
Michael Jerris c064a2a586 add recordings_dir
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 03:20:42 +00:00
Brian West a19b1e7cbf doh one more
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16089 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 01:55:08 +00:00
Anthony Minessale f80a9bd02a trade some max call count for more accurate timing in full media situations, hint: use 30ms ptime for drastic reduction in resources
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-29 23:21:20 +00:00
Michael Jerris 00b2409164 build integration for libuuid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-22 19:13:48 +00:00
Michael Jerris d2cf7f862a fix --srcdir builds for modules that download libraries mod_flite mod_pocketsphinx mod_celt mod_radius_cdr mod_soundtouch mod_memcache mod_curl mod_xml_ldap mod_shout mod_ldap (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 21:20:02 +00:00
Michael Jerris c4d1333185 fix portaudio build with jack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15911 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 18:12:55 +00:00
Michael Jerris 1911a2626d fix m4/bash hell
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 04:05:27 +00:00
Michael Jerris ae67ecceac fix mod_portaudio linux build with alsa (MODAPP-377)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15899 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 03:20:06 +00:00
Michael Jerris 283a01b272 fix make clean on --srcdir builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 22:31:13 +00:00
Michael Jerris 7803a752c9 add --enable-64 support for os x 10.4 and 10.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15874 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 19:58:16 +00:00
Michael Jerris 49d2fecc48 a slightly more annoying yet more sane way to fix snow cat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 04:19:49 +00:00