From 97309a5e7113bf58a6cb12782e5c236b928fa99a Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 7 Dec 2009 06:06:18 +0000 Subject: [PATCH] move sounds out to their own packages as they do not change revisions with freeswitch git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15809 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- debian/changelog | 6 ++ debian/control | 90 ------------------- debian/rules | 2 +- .../debian/buildsounds.sh | 15 ++++ .../debian/changelog | 5 ++ .../debian/control | 61 +++++++++++++ .../debian/copyright | 1 + .../debian/files | 6 ++ ...eeswitch-sounds-en-us-callie-16000.install | 0 ...eeswitch-sounds-en-us-callie-32000.install | 0 ...eeswitch-sounds-en-us-callie-48000.install | 0 ...reeswitch-sounds-en-us-callie-8000.install | 0 .../debian/rules | 39 ++++++++ .../debian/buildsounds.sh | 12 +++ .../freeswitch-sounds-music/debian/changelog | 11 +++ .../freeswitch-sounds-music/debian/control | 61 +++++++++++++ .../freeswitch-sounds-music/debian/copyright | 13 +++ .../freeswitch-sounds-music/debian/files | 6 ++ .../freeswitch-sounds-music-16000.install | 2 + .../freeswitch-sounds-music-32000.install | 2 + .../freeswitch-sounds-music-48000.install | 2 + .../freeswitch-sounds-music-8000.install | 0 .../freeswitch-sounds-music/debian/rules | 39 ++++++++ .../debian/buildsounds.sh | 15 ++++ .../debian/changelog | 20 +++++ .../debian/control | 61 +++++++++++++ .../debian/copyright | 1 + .../debian/files | 6 ++ ...reeswitch-sounds-ru-ru-elena-16000.install | 1 + ...reeswitch-sounds-ru-ru-elena-32000.install | 1 + ...reeswitch-sounds-ru-ru-elena-48000.install | 1 + ...freeswitch-sounds-ru-ru-elena-8000.install | 0 .../debian/rules | 39 ++++++++ debian/sounds/getsounds.sh | 30 +++++++ 34 files changed, 457 insertions(+), 91 deletions(-) create mode 100644 debian/sounds/freeswitch-sounds-en-us-callie/debian/buildsounds.sh create mode 100644 debian/sounds/freeswitch-sounds-en-us-callie/debian/changelog create mode 100644 debian/sounds/freeswitch-sounds-en-us-callie/debian/control create mode 100644 debian/sounds/freeswitch-sounds-en-us-callie/debian/copyright create mode 100644 debian/sounds/freeswitch-sounds-en-us-callie/debian/files rename debian/{ => sounds/freeswitch-sounds-en-us-callie/debian}/freeswitch-sounds-en-us-callie-16000.install (100%) rename debian/{ => sounds/freeswitch-sounds-en-us-callie/debian}/freeswitch-sounds-en-us-callie-32000.install (100%) rename debian/{ => sounds/freeswitch-sounds-en-us-callie/debian}/freeswitch-sounds-en-us-callie-48000.install (100%) rename debian/{ => sounds/freeswitch-sounds-en-us-callie/debian}/freeswitch-sounds-en-us-callie-8000.install (100%) create mode 100644 debian/sounds/freeswitch-sounds-en-us-callie/debian/rules create mode 100644 debian/sounds/freeswitch-sounds-music/debian/buildsounds.sh create mode 100644 debian/sounds/freeswitch-sounds-music/debian/changelog create mode 100644 debian/sounds/freeswitch-sounds-music/debian/control create mode 100644 debian/sounds/freeswitch-sounds-music/debian/copyright create mode 100644 debian/sounds/freeswitch-sounds-music/debian/files create mode 100644 debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-16000.install create mode 100644 debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-32000.install create mode 100644 debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-48000.install rename debian/{ => sounds/freeswitch-sounds-music/debian}/freeswitch-sounds-music-8000.install (100%) create mode 100644 debian/sounds/freeswitch-sounds-music/debian/rules create mode 100644 debian/sounds/freeswitch-sounds-ru-RU-elena/debian/buildsounds.sh create mode 100644 debian/sounds/freeswitch-sounds-ru-RU-elena/debian/changelog create mode 100644 debian/sounds/freeswitch-sounds-ru-RU-elena/debian/control create mode 100644 debian/sounds/freeswitch-sounds-ru-RU-elena/debian/copyright create mode 100644 debian/sounds/freeswitch-sounds-ru-RU-elena/debian/files rename debian/{ => sounds/freeswitch-sounds-ru-RU-elena/debian}/freeswitch-sounds-ru-ru-elena-16000.install (97%) rename debian/{ => sounds/freeswitch-sounds-ru-RU-elena/debian}/freeswitch-sounds-ru-ru-elena-32000.install (97%) rename debian/{ => sounds/freeswitch-sounds-ru-RU-elena/debian}/freeswitch-sounds-ru-ru-elena-48000.install (97%) rename debian/{ => sounds/freeswitch-sounds-ru-RU-elena/debian}/freeswitch-sounds-ru-ru-elena-8000.install (100%) create mode 100644 debian/sounds/freeswitch-sounds-ru-RU-elena/debian/rules create mode 100644 debian/sounds/getsounds.sh diff --git a/debian/changelog b/debian/changelog index 68753ec928..aba6447717 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +freeswitch (1.0.4-1ubuntu1) karmic; urgency=low + + * upgrade: Pulling out the sounds into separate source files for easier management. + + -- William King Sun, 15 Nov 2009 16:38:13 -0800 + freeswitch (1.0.4-1) unstable; urgency=low * new diff --git a/debian/control b/debian/control index 9fd5af61af..1e5d61dc09 100644 --- a/debian/control +++ b/debian/control @@ -110,56 +110,6 @@ Description: English language files for the FreeSWITCH(TM) or a media server to host IVR applications using simple scripts or XML to control the callflow. -Package: freeswitch-sounds-en-us-callie-8000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: English language files for the FreeSWITCH(TM) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - -Package: freeswitch-sounds-music-8000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: Music on hold files for the FreeSWITCH(TM) (8000) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - -Package: freeswitch-sounds-en-us-callie-16000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: English language files for the FreeSWITCH(TM) (16000) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - -Package: freeswitch-sounds-en-us-callie-32000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: English language files for the FreeSWITCH(TM) (32000) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - -Package: freeswitch-sounds-en-us-callie-48000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: English language files for the FreeSWITCH(TM) (48000) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - Package: freeswitch-lang-de Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch @@ -221,43 +171,3 @@ Description: Russian language files for the FreeSWITCH(TM) a soft-switch. It can be used as a simple switching engine, a media gateway or a media server to host IVR applications using simple scripts or XML to control the callflow. - -Package: freeswitch-sounds-ru-ru-elena-8000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: Russian language files for the FreeSWITCH(TM) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - -Package: freeswitch-sounds-ru-ru-elena-16000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: Russian language files for the FreeSWITCH(TM) (16000) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - -Package: freeswitch-sounds-ru-ru-elena-32000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: Russian language files for the FreeSWITCH(TM) (32000) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. - -Package: freeswitch-sounds-ru-ru-elena-48000 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch -Description: Russian language files for the FreeSWITCH(TM) (48000) - FreeSWITCH is an open source telephony platform designed to facilitate the - creation of voice and chat driven products scaling from a soft-phone up to - a soft-switch. It can be used as a simple switching engine, a media gateway - or a media server to host IVR applications using simple scripts or XML to - control the callflow. diff --git a/debian/rules b/debian/rules index d84f521fc0..4d67e0b237 100755 --- a/debian/rules +++ b/debian/rules @@ -106,7 +106,7 @@ install: build dh_clean -k dh_installdirs -A --sourcedir=debian/tmp - $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install cd-sounds-install cd-sounds-ru-install moh-install + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install # Build architecture-independent files here. diff --git a/debian/sounds/freeswitch-sounds-en-us-callie/debian/buildsounds.sh b/debian/sounds/freeswitch-sounds-en-us-callie/debian/buildsounds.sh new file mode 100644 index 0000000000..06099e6c5e --- /dev/null +++ b/debian/sounds/freeswitch-sounds-en-us-callie/debian/buildsounds.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +sounds_location=$1 +for rate in 32000 16000 8000 +do + for i in ascii base256 conference currency digits ivr misc phonetic-ascii time voicemail zrtp + do + mkdir -p $sounds_location/$i/$rate + for f in `find $sounds_location/$i/48000 -name \*.wav` + do + echo "generating" $sounds_location/$i/$rate/`basename $f` + sox $f -r $rate $sounds_location/$i/$rate/`basename $f` + done + done +done diff --git a/debian/sounds/freeswitch-sounds-en-us-callie/debian/changelog b/debian/sounds/freeswitch-sounds-en-us-callie/debian/changelog new file mode 100644 index 0000000000..adb1dfc517 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-en-us-callie/debian/changelog @@ -0,0 +1,5 @@ +freeswitch-sounds-en-us-callie (1.0.12-0ubuntu1) jaunty; urgency=low + + * Initial: This is the initial working build of the en-us-callie sounds + + -- William King Sun, 20 Sep 2009 06:56:46 -0700 diff --git a/debian/sounds/freeswitch-sounds-en-us-callie/debian/control b/debian/sounds/freeswitch-sounds-en-us-callie/debian/control new file mode 100644 index 0000000000..1af616adb8 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-en-us-callie/debian/control @@ -0,0 +1,61 @@ +Source: freeswitch-sounds-en-us-callie +Maintainer: Freeswitch Debian Team +Section: net +Priority: extra +Build-Depends: debhelper (>= 5), fakeroot, sox +Standards-Version: 3.7.3 + +Package: freeswitch-sounds-en-us-callie-8000 +Architecture: all +Conflicts: freeswitch-sounds-en-us-callie +Description: English language sounds for the FreeSWITCH(TM) (8000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-en-us-callie-16000 +Architecture: all +Conflicts: freeswitch-sounds-en-us-callie +Description: English language sounds for the FreeSWITCH(TM) (16000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-en-us-callie-32000 +Architecture: all +Conflicts: freeswitch-sounds-en-us-callie +Description: English language sounds for FreeSWITCH(TM) (32000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-en-us-callie-48000 +Architecture: all +Description: English language sounds for the FreeSWITCH(TM) (48000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-en-us-callie +Architecture: all +Depends: sox, freeswitch-sounds-en-us-callie-48000 +Conflicts: freeswitch-sounds-en-us-callie-omega, freeswitch-sounds-en-us-callie-8000, freeswitch-sounds-en-us-callie-16000, freeswitch-sounds-en-us-callie-32000 +Description: English language files for FreeSWITCH(TM) + This package generates the 8k, 16k, and 32k from the installed 48k + sounds. You can select which ones you want. + +Package: freeswitch-sounds-en-us-callie-omega +Architecture: all +Depends: freeswitch-sounds-en-us-callie-48000, freeswitch-sounds-en-us-callie-32000, freeswitch-sounds-en-us-callie-16000, freeswitch-sounds-en-us-callie-8000 +Conflicts: freeswitch-sounds-en-us-callie +Description: English language files for FreeSWITCH(TM) + This package depends on the pregenerated 8khz, 16khz, 32khz, and 48khz sounds + which are downloaded from binary data files. diff --git a/debian/sounds/freeswitch-sounds-en-us-callie/debian/copyright b/debian/sounds/freeswitch-sounds-en-us-callie/debian/copyright new file mode 100644 index 0000000000..0d313323ce --- /dev/null +++ b/debian/sounds/freeswitch-sounds-en-us-callie/debian/copyright @@ -0,0 +1 @@ +These files are licensed under the terms of the creative commons Attribution 3.0 license: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/debian/sounds/freeswitch-sounds-en-us-callie/debian/files b/debian/sounds/freeswitch-sounds-en-us-callie/debian/files new file mode 100644 index 0000000000..3da0b654c4 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-en-us-callie/debian/files @@ -0,0 +1,6 @@ +freeswitch-sounds-en-us-callie-8000_1.0.12-0ubuntu1_all.deb net extra +freeswitch-sounds-en-us-callie-16000_1.0.12-0ubuntu1_all.deb net extra +freeswitch-sounds-en-us-callie-32000_1.0.12-0ubuntu1_all.deb net extra +freeswitch-sounds-en-us-callie-48000_1.0.12-0ubuntu1_all.deb net extra +freeswitch-sounds-en-us-callie_1.0.12-0ubuntu1_all.deb net extra +freeswitch-sounds-en-us-callie-omega_1.0.12-0ubuntu1_all.deb net extra diff --git a/debian/freeswitch-sounds-en-us-callie-16000.install b/debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-16000.install similarity index 100% rename from debian/freeswitch-sounds-en-us-callie-16000.install rename to debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-16000.install diff --git a/debian/freeswitch-sounds-en-us-callie-32000.install b/debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-32000.install similarity index 100% rename from debian/freeswitch-sounds-en-us-callie-32000.install rename to debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-32000.install diff --git a/debian/freeswitch-sounds-en-us-callie-48000.install b/debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-48000.install similarity index 100% rename from debian/freeswitch-sounds-en-us-callie-48000.install rename to debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-48000.install diff --git a/debian/freeswitch-sounds-en-us-callie-8000.install b/debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-8000.install similarity index 100% rename from debian/freeswitch-sounds-en-us-callie-8000.install rename to debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-8000.install diff --git a/debian/sounds/freeswitch-sounds-en-us-callie/debian/rules b/debian/sounds/freeswitch-sounds-en-us-callie/debian/rules new file mode 100644 index 0000000000..a5b4f9ba15 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-en-us-callie/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. + export DH_VERBOSE=1 +export DH_OPTIONS +export DH_COMPAT=4 +export DEB_DH_INSTALL_SOURCEDIR=debian/tmp + + +build: + dh_testdir + mkdir -p debian/tmp/opt/freeswitch/sounds + cp -a en debian/tmp/opt/freeswitch/sounds/ + ./debian/buildsounds.sh debian/tmp/opt/freeswitch/sounds/en/us/callie +clean: + dh_testdir + dh_testroot + dh_clean -k + rm -f build-stamp + rm -Rf debian/tmp + +install: + dh_testdir + dh_testroot + dh_installdirs -A --sourcedir=debian/tmp + dh_install --sourcedir=debian/tmp + +# Build architecture-independent files here. +binary-indep: build install + dh_compress + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-indep binary install diff --git a/debian/sounds/freeswitch-sounds-music/debian/buildsounds.sh b/debian/sounds/freeswitch-sounds-music/debian/buildsounds.sh new file mode 100644 index 0000000000..5cdf9dc384 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/buildsounds.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +sounds_location=$1 +for rate in 32000 16000 8000 +do + mkdir -p $sounds_location/$rate + for f in `find $sounds_location/48000 -name \*.wav` + do + echo "generating" $sounds_location/$rate/`basename $f` + sox $f -r $rate $sounds_location/$rate/`basename $f` + done +done diff --git a/debian/sounds/freeswitch-sounds-music/debian/changelog b/debian/sounds/freeswitch-sounds-music/debian/changelog new file mode 100644 index 0000000000..5f18ff3277 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/changelog @@ -0,0 +1,11 @@ +freeswitch-sounds-music (1.0.8-0ubuntu3) jaunty; urgency=low + + * Fixed: empty binary files for some packages + + -- William King Thu, 24 Sep 2009 15:54:17 -0700 + +freeswitch-sounds-music (1.0.8-0ubuntu2) jaunty; urgency=low + + * Initial: This is the initial working build of the music on hold + + -- William King Sun, 20 Sep 2009 08:28:48 -0700 diff --git a/debian/sounds/freeswitch-sounds-music/debian/control b/debian/sounds/freeswitch-sounds-music/debian/control new file mode 100644 index 0000000000..d03c2aa64e --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/control @@ -0,0 +1,61 @@ +Source: freeswitch-sounds-music +Maintainer: Freeswitch Debian Team +Section: net +Priority: extra +Build-Depends: debhelper (>= 5), fakeroot, sox +Standards-Version: 3.7.3 + +Package: freeswitch-sounds-music-8000 +Architecture: all +Conflicts: freeswitch-sounds-music +Description: music for FreeSWITCH(TM) (8000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-music-16000 +Architecture: all +Conflicts: freeswitch-sounds-music +Description: music for FreeSWITCH(TM) (16000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-music-32000 +Architecture: all +Conflicts: freeswitch-sounds-music +Description: music for FreeSWITCH(TM) (32000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-music-48000 +Architecture: all +Description: music for FreeSWITCH(TM) (48000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-music +Architecture: all +Depends: sox, freeswitch-sounds-music-48000 +Conflicts: freeswitch-sounds-music-omega, freeswitch-sounds-music-8000, freeswitch-sounds-music-16000, freeswitch-sounds-music-32000 +Description: Music for FreeSWITCH(TM) + This package generates the 8k, 16k, and 32k from the installed 48k + sounds. You can select which ones you want. + +Package: freeswitch-sounds-music-omega +Architecture: all +Depends: freeswitch-sounds-music-48000, freeswitch-sounds-music-32000, freeswitch-sounds-music-16000, freeswitch-sounds-music-8000 +Conflicts: freeswitch-sounds-music +Description: Music for FreeSWITCH(TM) + This package depends on the pregenerated 8khz, 16khz, 32khz, and 48khz sounds + which are downloaded from binary data files. diff --git a/debian/sounds/freeswitch-sounds-music/debian/copyright b/debian/sounds/freeswitch-sounds-music/debian/copyright new file mode 100644 index 0000000000..b213deb31c --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/copyright @@ -0,0 +1,13 @@ +MUSOPEN + +Musopen is an online music library of copyright free music (public domain music). +We want to give the world access to music, without the legal hassles so common today. +There is a great deal of music that has expired copyrights, but almost no recordings +of this music is in the public domain. We aim to record or obtain recordings that +have no copyrights so that our visitors may listen, re-use, or in any way enjoy music. + +Put simply, our mission is to set music free. + +Musopen is a U.S. registered 501(c)(3) tax-deductible nonprofit charity. + +http://www.musopen.com diff --git a/debian/sounds/freeswitch-sounds-music/debian/files b/debian/sounds/freeswitch-sounds-music/debian/files new file mode 100644 index 0000000000..9251f8dd29 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/files @@ -0,0 +1,6 @@ +freeswitch-sounds-music-8000_1.0.8-0ubuntu3_all.deb net extra +freeswitch-sounds-music-16000_1.0.8-0ubuntu3_all.deb net extra +freeswitch-sounds-music-32000_1.0.8-0ubuntu3_all.deb net extra +freeswitch-sounds-music-48000_1.0.8-0ubuntu3_all.deb net extra +freeswitch-sounds-music_1.0.8-0ubuntu3_all.deb net extra +freeswitch-sounds-music-omega_1.0.8-0ubuntu3_all.deb net extra diff --git a/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-16000.install b/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-16000.install new file mode 100644 index 0000000000..3e65722dd4 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-16000.install @@ -0,0 +1,2 @@ +opt/freeswitch/sounds/music/16000/* + diff --git a/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-32000.install b/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-32000.install new file mode 100644 index 0000000000..042fe8bb7d --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-32000.install @@ -0,0 +1,2 @@ +opt/freeswitch/sounds/music/32000/* + diff --git a/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-48000.install b/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-48000.install new file mode 100644 index 0000000000..5aa199911f --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-48000.install @@ -0,0 +1,2 @@ +opt/freeswitch/sounds/music/48000/* + diff --git a/debian/freeswitch-sounds-music-8000.install b/debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-8000.install similarity index 100% rename from debian/freeswitch-sounds-music-8000.install rename to debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-8000.install diff --git a/debian/sounds/freeswitch-sounds-music/debian/rules b/debian/sounds/freeswitch-sounds-music/debian/rules new file mode 100644 index 0000000000..83a56bb72d --- /dev/null +++ b/debian/sounds/freeswitch-sounds-music/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. + export DH_VERBOSE=1 +export DH_OPTIONS +export DH_COMPAT=4 +export DEB_DH_INSTALL_SOURCEDIR=debian/tmp + + +build: + dh_testdir + mkdir -p debian/tmp/opt/freeswitch/sounds + cp -a music debian/tmp/opt/freeswitch/sounds/ + ./debian/buildsounds.sh debian/tmp/opt/freeswitch/sounds/music +clean: + dh_testdir + dh_testroot + dh_clean -k + rm -f build-stamp + rm -Rf debian/tmp + +install: + dh_testdir + dh_testroot + dh_installdirs -A --sourcedir=debian/tmp + dh_install --sourcedir=debian/tmp + +# Build architecture-independent files here. +binary-indep: build install + dh_compress + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-indep binary install diff --git a/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/buildsounds.sh b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/buildsounds.sh new file mode 100644 index 0000000000..06099e6c5e --- /dev/null +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/buildsounds.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +sounds_location=$1 +for rate in 32000 16000 8000 +do + for i in ascii base256 conference currency digits ivr misc phonetic-ascii time voicemail zrtp + do + mkdir -p $sounds_location/$i/$rate + for f in `find $sounds_location/$i/48000 -name \*.wav` + do + echo "generating" $sounds_location/$i/$rate/`basename $f` + sox $f -r $rate $sounds_location/$i/$rate/`basename $f` + done + done +done diff --git a/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/changelog b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/changelog new file mode 100644 index 0000000000..b7de59226e --- /dev/null +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/changelog @@ -0,0 +1,20 @@ +freeswitch-sounds-ru-ru-elena (1.0.12-0ubuntu3) jaunty; urgency=low + + * Fixed: Empty binary package bug caused by the second ru folder being + capitalized. The sounds are in ru/RU/elena/* + + -- William King Sun, 20 Sep 2009 08:21:58 -0700 + +freeswitch-sounds-ru-ru-elena (1.0.12-0ubuntu2) jaunty; urgency=low + + * Fixed: Fixed a copy/paste bug in the rules file which was trying to + copy the en directory when it should have been copying the ru + directory. + + -- William King Sun, 20 Sep 2009 07:59:20 -0700 + +freeswitch-sounds-ru-ru-elena (1.0.12-0ubuntu1) jaunty; urgency=low + + * Initial: This is the initial working build of the ru-ru-elena sounds + + -- William King Sun, 20 Sep 2009 06:56:46 -0700 diff --git a/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/control b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/control new file mode 100644 index 0000000000..c3181ef60a --- /dev/null +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/control @@ -0,0 +1,61 @@ +Source: freeswitch-sounds-ru-ru-elena +Maintainer: Freeswitch Debian Team +Section: net +Priority: extra +Build-Depends: debhelper (>= 5), fakeroot, sox +Standards-Version: 3.7.3 + +Package: freeswitch-sounds-ru-ru-elena-8000 +Architecture: all +Conflicts: freeswitch-sounds-ru-ru-elena +Description: English language sounds for the FreeSWITCH(TM) (8000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-ru-ru-elena-16000 +Architecture: all +Conflicts: freeswitch-sounds-ru-ru-elena +Description: English language sounds for the FreeSWITCH(TM) (16000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-ru-ru-elena-32000 +Architecture: all +Conflicts: freeswitch-sounds-ru-ru-elena +Description: English language sounds for FreeSWITCH(TM) (32000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-ru-ru-elena-48000 +Architecture: all +Description: English language sounds for the FreeSWITCH(TM) (48000) + FreeSWITCH is an open source telephony platform designed to facilitate the + creation of voice and chat driven products scaling from a soft-phone up to + a soft-switch. It can be used as a simple switching engine, a media gateway + or a media server to host IVR applications using simple scripts or XML to + control the callflow. + +Package: freeswitch-sounds-ru-ru-elena +Architecture: all +Depends: sox, freeswitch-sounds-ru-ru-elena-48000 +Conflicts: freeswitch-sounds-ru-ru-elena-omega, freeswitch-sounds-ru-ru-elena-8000, freeswitch-sounds-ru-ru-elena-16000, freeswitch-sounds-ru-ru-elena-32000 +Description: English language files for FreeSWITCH(TM) + This package generates the 8k, 16k, and 32k from the installed 48k + sounds. You can select which ones you want. + +Package: freeswitch-sounds-ru-ru-elena-omega +Architecture: all +Depends: freeswitch-sounds-ru-ru-elena-48000, freeswitch-sounds-ru-ru-elena-32000, freeswitch-sounds-ru-ru-elena-16000, freeswitch-sounds-ru-ru-elena-8000 +Conflicts: freeswitch-sounds-ru-ru-elena +Description: English language files for FreeSWITCH(TM) + This package depends on the pregenerated 8khz, 16khz, 32khz, and 48khz sounds + which are downloaded from binary data files. diff --git a/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/copyright b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/copyright new file mode 100644 index 0000000000..0d313323ce --- /dev/null +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/copyright @@ -0,0 +1 @@ +These files are licensed under the terms of the creative commons Attribution 3.0 license: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/files b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/files new file mode 100644 index 0000000000..f4b6f0c92d --- /dev/null +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/files @@ -0,0 +1,6 @@ +freeswitch-sounds-ru-ru-elena-8000_1.0.12-0ubuntu3_all.deb net extra +freeswitch-sounds-ru-ru-elena-16000_1.0.12-0ubuntu3_all.deb net extra +freeswitch-sounds-ru-ru-elena-32000_1.0.12-0ubuntu3_all.deb net extra +freeswitch-sounds-ru-ru-elena-48000_1.0.12-0ubuntu3_all.deb net extra +freeswitch-sounds-ru-ru-elena_1.0.12-0ubuntu3_all.deb net extra +freeswitch-sounds-ru-ru-elena-omega_1.0.12-0ubuntu3_all.deb net extra diff --git a/debian/freeswitch-sounds-ru-ru-elena-16000.install b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-16000.install similarity index 97% rename from debian/freeswitch-sounds-ru-ru-elena-16000.install rename to debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-16000.install index 9b47a3f75d..0fe9230724 100644 --- a/debian/freeswitch-sounds-ru-ru-elena-16000.install +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-16000.install @@ -1 +1,2 @@ opt/freeswitch/sounds/ru/RU/elena/*/16000/* + diff --git a/debian/freeswitch-sounds-ru-ru-elena-32000.install b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-32000.install similarity index 97% rename from debian/freeswitch-sounds-ru-ru-elena-32000.install rename to debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-32000.install index 05cc14cbcf..d3579dfe63 100644 --- a/debian/freeswitch-sounds-ru-ru-elena-32000.install +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-32000.install @@ -1 +1,2 @@ opt/freeswitch/sounds/ru/RU/elena/*/32000/* + diff --git a/debian/freeswitch-sounds-ru-ru-elena-48000.install b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-48000.install similarity index 97% rename from debian/freeswitch-sounds-ru-ru-elena-48000.install rename to debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-48000.install index ed2b04c579..c565c5a4a1 100644 --- a/debian/freeswitch-sounds-ru-ru-elena-48000.install +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-48000.install @@ -1 +1,2 @@ opt/freeswitch/sounds/ru/RU/elena/*/48000/* + diff --git a/debian/freeswitch-sounds-ru-ru-elena-8000.install b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-8000.install similarity index 100% rename from debian/freeswitch-sounds-ru-ru-elena-8000.install rename to debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-8000.install diff --git a/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/rules b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/rules new file mode 100644 index 0000000000..678bdf1e68 --- /dev/null +++ b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. + export DH_VERBOSE=1 +export DH_OPTIONS +export DH_COMPAT=4 +export DEB_DH_INSTALL_SOURCEDIR=debian/tmp + + +build: + dh_testdir + mkdir -p debian/tmp/opt/freeswitch/sounds + cp -a ru debian/tmp/opt/freeswitch/sounds/ + ./debian/buildsounds.sh debian/tmp/opt/freeswitch/sounds/ru/RU/elena +clean: + dh_testdir + dh_testroot + dh_clean -k + rm -f build-stamp + rm -Rf debian/tmp + +install: + dh_testdir + dh_testroot + dh_installdirs -A --sourcedir=debian/tmp + dh_install --sourcedir=debian/tmp + +# Build architecture-independent files here. +binary-indep: build install + dh_compress + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-indep binary install diff --git a/debian/sounds/getsounds.sh b/debian/sounds/getsounds.sh new file mode 100644 index 0000000000..bf59a02772 --- /dev/null +++ b/debian/sounds/getsounds.sh @@ -0,0 +1,30 @@ +#!/bin/bash +sounds_en_us_callie="freeswitch-sounds-en-us-callie-48000-1.0.12.tar.gz" +sounds_music="freeswitch-sounds-music-48000-1.0.8.tar.gz" +sounds_ru_RU_elena="freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz" + +cd freeswitch-sounds-music +if [ ! -f $sounds_music ] + then + wget http://files.freeswitch.org/$sounds_music +fi +tar zxvf $sounds_music +cd .. + + +cd freeswitch-sounds-en-us-callie +if [ ! -f $sounds_en_us_callie ] + then + wget http://files.freeswitch.org/$sounds_en_us_callie +fi +tar zxvf $sounds_en_us_callie +cd .. + + +cd freeswitch-sounds-ru-RU-elena +if [ ! -f $sounds_ru_RU_elena ] + then + wget http://files.freeswitch.org/$sounds_ru_RU_elena +fi +tar zxvf $sounds_ru_RU_elena +cd .. \ No newline at end of file