Commit Graph

186 Commits

Author SHA1 Message Date
Travis Cross 3c4ef16c4c Build mod_shout on Debian
...at least until mod_vlc stabilizes.
2014-01-17 09:58:39 +00:00
Travis Cross 2e88503602 Ignore src/mod/legacy in debian builds
FS-6110 --resolve
2014-01-14 22:55:28 +00:00
Travis Cross 1b382ea0f2 Refactor check in debian bootstrap 2014-01-14 22:34:46 +00:00
Travis Cross e6ec1478ef Fix dependency of freeswitch-all-dbg
Previously we were trying to rely on freeswitch-all providing
freeswitch, but that doesn't seem to work as expected.
2014-01-04 19:57:25 +00:00
Travis Cross 8d1c1a5bb9 Treat freeswitch-{sounds,music} as virtual packages only
Previously we were creating freeswitch-music, freeswitch-sounds,
freeswitch-sounds-en, and freeswitch-sounds-en-us metapackages and
also providing those names as virtual packages from the
freeswitch-{sounds,music} source packages.  This is unnecessarily
confusing and meant that freeswitch-all wasn't depending on any sounds
in actuality as it was also providing freeswitch-sounds.
2013-12-18 19:51:12 +00:00
Travis Cross 763bc8cfde Fix freeswitch-all module provides/replaces/conflicts
We were generating freeswitch-mod-mod-* rather than freeswitch-mod-*.
2013-12-18 18:54:35 +00:00
Travis Cross 8099af6564 Cleanup whitespace in debian/ 2013-12-10 03:53:17 +00:00
Travis Cross f148aa9c3b Improve upgrade path to freeswitch-all
That is to say, declare all appropriate Provides/Conflicts/Replaces
for freeswitch-all and freeswitch-all-dbg by enumerating the binary
packages that we're going to produce during the build.

Conflicts is more appropriate than Breaks here as both packages will
continue to provide the same files on an ongoing basis and we would
like to force the removal of the other package.
2013-12-08 15:13:14 +00:00
Travis Cross 7a77d2f3fe Generate modules_.conf earlier in bootstrap 2013-11-20 01:27:43 +00:00
Travis Cross 9268f24031 Refactor generation of debian/modules_.conf 2013-11-20 01:27:43 +00:00
Travis Cross 75481f6398 Refactor out file merge function 2013-11-19 21:20:10 +00:00
Travis Cross 0af078b6a9 Avoid building mod_java on sid for now
We're getting dependency errors that seem to be an upstream issue.
2013-11-09 01:12:43 +00:00
Travis Cross 8ea0bc73a9 Limit version of packages we replace 2013-10-18 20:15:53 +00:00
Travis Cross 37648ced3e Add freeswitch-all debian package
This package bundles all modules and extras into a single DEB.  This
can have some advantages in terms of convenience and speed of apt
operations.
2013-10-18 19:52:16 +00:00
Travis Cross b35869da62 debian: Handle mod_managed .dll more idiomatically 2013-07-26 21:56:07 +00:00
Travis Cross d0a9574fa9 debian: Include the .dll file for mod_managed
Note that we don't actually support building mod_managed at this time
for Debian.

FS-5317 --resolve

Thanks-to: Artur Kraev <ravenox@gmail.com>
2013-07-26 21:47:31 +00:00
Travis Cross fa174ec3d8 Fix spacing 2013-07-03 16:07:41 +00:00
Travis Cross 9ae26ff50d Have modules depend on a particular version of libfreeswitch1
At this point we never want someone running a module against a
different version of FS than the module was built for.  It's also
conceivable that you could want to use the modules with libfreeswitch1
even if you weren't running FS itself.
2013-06-03 06:14:02 +00:00
Travis Cross 0a50536aa8 Add generic mechanism for building non-DFSG packages 2013-05-28 23:52:41 +00:00
Travis Cross aa7c4d1f75 debian: Update -meta-all to grab all packages
We now build unimrcp, portaudio, portaudio-stream, skypopen, b64, and
dahdi-codec, so they should be included in meta-all.  Also refactor a
bit so we install all lang and mod_say packages as well.
2013-05-28 07:29:31 +00:00
Travis Cross 4448d6b743 debian: wheezy is the new stable
And jessie is the new testing.

The king is dead, long live the king!
2013-05-25 19:05:35 +00:00
Travis Cross b755c8347b Add mod_say_pl to debian build 2013-05-21 02:33:56 +00:00
Travis Cross 7845e3244f Add mod_translate to debian packaging 2013-04-23 10:29:31 +00:00
Travis Cross f3dd5849b5 Fix debian lang-* recommends on sounds-*
Thanks to Richard Neese for pointing out the erroneous results.
2013-04-09 15:38:09 +00:00
Travis Cross a3786d528f Add mod_sndfile to debian freeswitch-meta-default
FS-5109 --resolve
2013-02-27 05:48:19 +00:00
Travis Cross 8ae24a7dfb Build portaudio modules for Debian sid and wheezy
These build as of FS-4265 being fixed.
2013-02-10 08:46:26 +00:00
Travis Cross 79a5709362 Add debian support for installing languages
Languages are installed at /usr/share/freeswitch/lang so that they can
be referred to by the user's configuration in /etc/freeswitch.  As a
Debian package user isn't going to have access to `make vm-sync` these
files need to be readily available somewhere.
2013-02-10 08:28:51 +00:00
Travis Cross 42372e1914 Add mod_flite to debian meta packages 2013-02-10 02:49:55 +00:00
William King 703b2102c5 Adding debian core pg support 2012-12-07 12:17:19 -08:00
Travis Cross 443a8db1a5 Build mod_flite Debian package
FS-4263 --resolve
2012-11-12 19:58:30 +00:00
Travis Cross a5acfa218c Help mod_h323 build on wheezy
libopenh323-dev is in squeeze and sid, but it doesn't look like it's
going to make it into wheezy at this point.

H323Plus claims to be a drop-in replacement, but this should probably
be tested thoroughly.

Note that mod_h323 is still in the avoid_mods list pending testing to
verify that it builds cleanly on each target.

Thanks-to: Steven Ayre <steveayre@gmail.com>

FS-4567 --resolve
2012-10-31 15:17:40 +00:00
Travis Cross b8e3c1d524 debian: Add meta-sorbet and meta-all 2012-09-23 11:03:55 +00:00
Travis Cross 91a8356d4d debian: Add isac and vp8 to meta-codecs 2012-09-23 11:03:48 +00:00
Travis Cross df04ec4b12 debian: Enable mod_soundtouch 2012-09-23 07:49:28 +00:00
Travis Cross 2a665f4094 debian: Enable mod_html5 2012-09-23 07:49:28 +00:00
Travis Cross 0b0a916fde debian: Enable mod_sonar 2012-09-23 07:49:28 +00:00
Travis Cross 6f056ef767 debian: Enable mod_oreka 2012-09-23 07:49:27 +00:00
Travis Cross da5b0b3887 debian: Remove config for mod_fax 2012-09-23 07:49:27 +00:00
Travis Cross 1dd2e0f6b0 Avoid new modules in debian except mod_vp8 2012-09-20 06:48:38 +00:00
Travis Cross ad2da59a6d debian: don't build mod_managed
It's broken too many of my recent builds.  We can add it back in when
things stabilize or perhaps after we get it to swig with a recent
version of swig that we can make part of the clean bootstrap/build
process.
2012-06-02 03:07:12 +00:00
Travis Cross 4d8cdb3276 debian: don't depend on non-free codecs for meta-vanilla 2012-05-29 18:42:35 +00:00
Travis Cross 40a98d4b49 debian: disable modules that break the build 2012-05-28 18:21:35 +00:00
Travis Cross 139485855d debian: don't try to build non-dfsg modules 2012-05-28 18:20:43 +00:00
Travis Cross 219831edf3 debian: pull in mod_spandsp with other codecs 2012-05-27 06:34:52 +00:00
Travis Cross 890a89b6e3 debian: suggest rather than depend on problematic codecs 2012-05-27 06:17:58 +00:00
Travis Cross 7b5a9193aa debian: remove support for building sounds and music
The various sounds and music have their own source packages now as
they have their own conventions and version numbers which fortunately
update less frequently than FreeSWITCH itself.
2012-05-24 17:27:23 +00:00
Travis Cross 117582adca debian: match empty as well as unset section variable 2012-05-13 20:54:32 +00:00
Travis Cross a7151174e2 debian: support per-module section headers 2012-05-12 20:52:58 +00:00
Travis Cross fb749c611f debian: enable mod_portaudio and mod_portaudio_stream 2012-05-12 18:23:34 +00:00
Travis Cross d113dbd27a debian: enable mod_yaml 2012-05-12 18:23:34 +00:00
Travis Cross df19f49fd8 debian: enable mod_ladspa 2012-05-12 18:23:33 +00:00
Travis Cross ee653e5861 debian: use libjpeg62-dev rather than libjpeg8-dev
Some modules such as mod_h323 pull in libjpeg62-dev which creates a
dependency conflict if we try to use libjpeg8-dev for the core.
2012-05-12 18:23:32 +00:00
Travis Cross e44bdd11f4 debian: enable mod_managed except on squeeze
mod_managed needs mono 2.8 or greater, and squeeze has only mono 2.6.
2012-05-12 18:23:32 +00:00
Travis Cross 3eec3d79be debian: enable mod_java 2012-05-12 18:23:32 +00:00
Travis Cross 3e2194873d debian: enable mod_snmp 2012-05-12 18:22:13 +00:00
Travis Cross 31703ab6a4 debian: add support for per-distribution build-depends 2012-05-12 04:54:35 +00:00
Travis Cross 417c3c29fc debian: clean up after bootstrapping 2012-05-11 06:14:57 +00:00
Travis Cross 921de9446f debian: don't package the SWF slim player
We're not including the source code or build tools for the version of
the player we're distributing, so it fails The Debian Free Software
Guidelines (DFSG).
2012-05-10 18:55:48 +00:00
Travis Cross 9b265bdf8b debian: freeswitch depends on libfreeswitch1 2012-05-10 18:47:02 +00:00
Travis Cross 62190e5836 debian: libfreeswitch1 shouldn't build-depend on perl:Depends 2012-05-10 18:26:00 +00:00
Travis Cross adf313d0c3 debian: override warnings about closing an ITP bug 2012-05-10 18:26:00 +00:00
Travis Cross cc36ff4800 debian: override gpl/openssl warning on freeswitch package 2012-05-10 18:26:00 +00:00
Travis Cross 76330ec918 debian: update package name for lintian override 2012-05-09 23:20:37 +00:00
Travis Cross 9c6a3d76d3 debian: rename libfreeswitch-dev package appropriately 2012-05-09 23:15:02 +00:00
Travis Cross 4e4b0d45e2 debian: reduce edit distance between control-modules and .gen 2012-05-09 23:15:02 +00:00
Travis Cross d64c72e88d debian: don't distribute .la files with modules
Debian wants rid of .la files, and these module .la files shouldn't be
necessary on a Debian system.
2012-05-09 23:15:02 +00:00
Travis Cross a9977a7cac debian: separate out libfreeswitch1 2012-05-09 23:15:02 +00:00
Travis Cross 13498d59f0 debian: spidermonkey doesn't build correctly on wheezy either 2012-05-09 17:13:49 +00:00
Travis Cross 1edf94b5d9 debian: add progress output to bootstrap 2012-05-08 14:43:26 +00:00
Travis Cross c5b6166538 debian: fix use of bash arrays and display excludes/includes 2012-05-08 14:34:47 +00:00
Travis Cross 8ca2ed72b8 ci/debian: synchronize codename flag 2012-05-08 13:58:44 +00:00
Travis Cross 5c18656a91 debian: build different sets of modules based on the debian codename 2012-05-07 23:32:09 +00:00
Travis Cross 0553518f67 ci/debian: accept the codename for which we are packaging 2012-05-07 22:52:48 +00:00
Travis Cross e2c850b797 debian: ignore final possible-gpl-code-linked-with-openssl warning 2012-05-07 16:17:11 +00:00
Travis Cross 6c5abe4616 debian: add wildcard to lintian override 2012-05-06 23:29:31 +00:00
Travis Cross c7426963b7 debian: overrides some irrelevant lintian warnings 2012-05-06 23:26:37 +00:00
Travis Cross 34afc6cb2e debian: fix last empty-binary-package lintian warning 2012-05-06 22:33:46 +00:00
Travis Cross 9a543ec9db debian: put freeswitch-doc into the doc section 2012-05-06 19:26:52 +00:00
Travis Cross 2439bfe905 debian: mark debug packages as priority extra
It's required by lintian.
2012-05-06 19:09:23 +00:00
Travis Cross f1290a7bb1 debian: properly label metapackages 2012-05-06 18:34:12 +00:00
Travis Cross 883dd296e7 debian: set possible dependencies for mod_shout and disable the module 2012-05-06 11:27:00 +00:00
Travis Cross df0861610f debian: disable mod_mongo as it's causing CI problems 2012-05-06 10:23:37 +00:00
Travis Cross 087bafe476 debian: correct new issue raised by lintian on source package 2012-05-06 07:28:10 +00:00
Travis Cross 621ec4ae1a debian: fix issues raised by lintian on source package 2012-05-06 07:14:22 +00:00
Travis Cross 75da872259 debian: stylistic harmony 2012-05-05 20:28:46 +00:00
Travis Cross 4ce0f57a8b debian: add new and vastly improved packaging for Debian
We now break out each module and component of FreeSWITCH into a
separate individually-installable package.  For each package with
executables or modules, we also build a package that includes the
stripped debugging symbols so that users can be helpful when they
discover bugs in FreeSWITCH.

As of this commit, we successfully build 263 distinct binary packages
starting from a clean minimal image on both Debian Sid and Debian
Squeeze.

To keep this manageable, we include a program that generates the
various Debian packaging files from a consolidated description of the
modules and their metadata.  The program can even generate this
configuration file by walking the FreeSWITCH source tree.

To provide a smooth user experience, we provide meta-packages that
install sensible sets of modules and other components.

All files are installed into the traditional and customary Linux
directories that you would expect in accordance with the Filesystem
Hierarchy Standard (FHS).

This commit also adds support for running FreeSWITCH as a forked
systemd service in Debian.

For more information about the technical details of the source
packaging, how to build the binary packages from source, and how you
can contribute, please read debian/README.source.

To learn about how this packaging affects you as a user and how to use
the finished Debian packages, read debian/README.Debian.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-05-05 11:54:05 +00:00