]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
move sounds out to their own packages as they do not change revisions with freeswitch
authorMichael Jerris <mike@jerris.com>
Mon, 7 Dec 2009 06:06:18 +0000 (06:06 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 7 Dec 2009 06:06:18 +0000 (06:06 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15809 d0543943-73ff-0310-b7d9-9358b9ac24b2

34 files changed:
debian/changelog
debian/control
debian/rules
debian/sounds/freeswitch-sounds-en-us-callie/debian/buildsounds.sh [new file with mode: 0644]
debian/sounds/freeswitch-sounds-en-us-callie/debian/changelog [new file with mode: 0644]
debian/sounds/freeswitch-sounds-en-us-callie/debian/control [new file with mode: 0644]
debian/sounds/freeswitch-sounds-en-us-callie/debian/copyright [new file with mode: 0644]
debian/sounds/freeswitch-sounds-en-us-callie/debian/files [new file with mode: 0644]
debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-16000.install [moved from debian/freeswitch-sounds-en-us-callie-16000.install with 100% similarity]
debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-32000.install [moved from debian/freeswitch-sounds-en-us-callie-32000.install with 100% similarity]
debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-48000.install [moved from debian/freeswitch-sounds-en-us-callie-48000.install with 100% similarity]
debian/sounds/freeswitch-sounds-en-us-callie/debian/freeswitch-sounds-en-us-callie-8000.install [moved from debian/freeswitch-sounds-en-us-callie-8000.install with 100% similarity]
debian/sounds/freeswitch-sounds-en-us-callie/debian/rules [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/buildsounds.sh [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/changelog [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/control [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/copyright [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/files [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-16000.install [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-32000.install [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-48000.install [new file with mode: 0644]
debian/sounds/freeswitch-sounds-music/debian/freeswitch-sounds-music-8000.install [moved from debian/freeswitch-sounds-music-8000.install with 100% similarity]
debian/sounds/freeswitch-sounds-music/debian/rules [new file with mode: 0644]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/buildsounds.sh [new file with mode: 0644]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/changelog [new file with mode: 0644]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/control [new file with mode: 0644]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/copyright [new file with mode: 0644]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/files [new file with mode: 0644]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-16000.install [moved from debian/freeswitch-sounds-ru-ru-elena-16000.install with 97% similarity]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-32000.install [moved from debian/freeswitch-sounds-ru-ru-elena-32000.install with 97% similarity]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-48000.install [moved from debian/freeswitch-sounds-ru-ru-elena-48000.install with 97% similarity]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/freeswitch-sounds-ru-ru-elena-8000.install [moved from debian/freeswitch-sounds-ru-ru-elena-8000.install with 100% similarity]
debian/sounds/freeswitch-sounds-ru-RU-elena/debian/rules [new file with mode: 0644]
debian/sounds/getsounds.sh [new file with mode: 0644]

index 68753ec928a9590a0b407bc46d67ceee68857b44..aba64477176e6f70162448ab05083a324ffad222 100644 (file)
@@ -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 <quentusrex@gmail.com>  Sun, 15 Nov 2009 16:38:13 -0800
+
 freeswitch (1.0.4-1) unstable; urgency=low
 
     * new
index 9fd5af61aff36696284b3e34d9a0f9f539a8a0b4..1e5d61dc09323194eef34caa3bfdab83e881b0bf 100644 (file)
@@ -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.
index d84f521fc0442564fee0857fd4d60d35a00f2d94..4d67e0b237659da4a6668de0144ac7cf56865d28 100755 (executable)
@@ -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 (file)
index 0000000..06099e6
--- /dev/null
@@ -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 (file)
index 0000000..adb1dfc
--- /dev/null
@@ -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 <quentusrex@gmail.com>  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 (file)
index 0000000..1af616a
--- /dev/null
@@ -0,0 +1,61 @@
+Source: freeswitch-sounds-en-us-callie
+Maintainer: Freeswitch Debian Team <debian@freeswitch.org>
+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 (file)
index 0000000..0d31332
--- /dev/null
@@ -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 (file)
index 0000000..3da0b65
--- /dev/null
@@ -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/sounds/freeswitch-sounds-en-us-callie/debian/rules b/debian/sounds/freeswitch-sounds-en-us-callie/debian/rules
new file mode 100644 (file)
index 0000000..a5b4f9b
--- /dev/null
@@ -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 (file)
index 0000000..5cdf9dc
--- /dev/null
@@ -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 (file)
index 0000000..5f18ff3
--- /dev/null
@@ -0,0 +1,11 @@
+freeswitch-sounds-music (1.0.8-0ubuntu3) jaunty; urgency=low
+
+  * Fixed: empty binary files for some packages
+
+ -- William King <quentusrex@gmail.com>  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 <quentusrex@gmail.com>  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 (file)
index 0000000..d03c2aa
--- /dev/null
@@ -0,0 +1,61 @@
+Source: freeswitch-sounds-music
+Maintainer: Freeswitch Debian Team <debian@freeswitch.org>
+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 (file)
index 0000000..b213deb
--- /dev/null
@@ -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 (file)
index 0000000..9251f8d
--- /dev/null
@@ -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 (file)
index 0000000..3e65722
--- /dev/null
@@ -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 (file)
index 0000000..042fe8b
--- /dev/null
@@ -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 (file)
index 0000000..5aa1999
--- /dev/null
@@ -0,0 +1,2 @@
+opt/freeswitch/sounds/music/48000/*
+
diff --git a/debian/sounds/freeswitch-sounds-music/debian/rules b/debian/sounds/freeswitch-sounds-music/debian/rules
new file mode 100644 (file)
index 0000000..83a56bb
--- /dev/null
@@ -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 (file)
index 0000000..06099e6
--- /dev/null
@@ -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 (file)
index 0000000..b7de592
--- /dev/null
@@ -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 <quentusrex@gmail.com>  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 <quentusrex@gmail.com>  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 <quentusrex@gmail.com>  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 (file)
index 0000000..c3181ef
--- /dev/null
@@ -0,0 +1,61 @@
+Source: freeswitch-sounds-ru-ru-elena
+Maintainer: Freeswitch Debian Team <debian@freeswitch.org>
+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 (file)
index 0000000..0d31332
--- /dev/null
@@ -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 (file)
index 0000000..f4b6f0c
--- /dev/null
@@ -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/sounds/freeswitch-sounds-ru-RU-elena/debian/rules b/debian/sounds/freeswitch-sounds-ru-RU-elena/debian/rules
new file mode 100644 (file)
index 0000000..678bdf1
--- /dev/null
@@ -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 (file)
index 0000000..bf59a02
--- /dev/null
@@ -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