[Pkg-voip-commits] r10486 - /asterisk-core-sounds/trunk/debian/

sharky at alioth.debian.org sharky at alioth.debian.org
Tue Jun 17 13:47:05 UTC 2014


Author: sharky
Date: Tue Jun 17 13:47:05 2014
New Revision: 10486

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10486
Log:
start packaging asterisk-core-sounds 1.4.25

Added:
    asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-g722.install
    asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-gsm.install
    asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-wav.install
    asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.docs
    asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.postinst
    asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.prerm
Modified:
    asterisk-core-sounds/trunk/debian/changelog
    asterisk-core-sounds/trunk/debian/control
    asterisk-core-sounds/trunk/debian/mkcontrol
    asterisk-core-sounds/trunk/debian/rules

Added: asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-g722.install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-g722.install?rev=10486&op=file
==============================================================================
--- asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-g722.install	(added)
+++ asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-g722.install	Tue Jun 17 13:47:05 2014
@@ -0,0 +1 @@
+it-g722/* usr/share/asterisk/sounds/it_IT_m_Carlo

Added: asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-gsm.install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-gsm.install?rev=10486&op=file
==============================================================================
--- asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-gsm.install	(added)
+++ asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-gsm.install	Tue Jun 17 13:47:05 2014
@@ -0,0 +1 @@
+it-gsm/* usr/share/asterisk/sounds/it_IT_m_Carlo

Added: asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-wav.install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-wav.install?rev=10486&op=file
==============================================================================
--- asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-wav.install	(added)
+++ asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it-wav.install	Tue Jun 17 13:47:05 2014
@@ -0,0 +1 @@
+it-wav/* usr/share/asterisk/sounds/it_IT_m_Carlo

Added: asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.docs
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.docs?rev=10486&op=file
==============================================================================
--- asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.docs	(added)
+++ asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.docs	Tue Jun 17 13:47:05 2014
@@ -0,0 +1 @@
+it-gsm/core-sounds-it.txt

Added: asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.postinst?rev=10486&op=file
==============================================================================
--- asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.postinst	(added)
+++ asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.postinst	Tue Jun 17 13:47:05 2014
@@ -0,0 +1,40 @@
+#! /bin/sh
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+
+case "$1" in
+    configure)
+	update-alternatives --install \
+	    /usr/share/asterisk/sounds/it asterisk-prompt-it \
+	    /usr/share/asterisk/sounds/it_IT_m_Carlo 50
+	update-alternatives --install \
+	    /usr/share/asterisk/sounds/it_IT asterisk-prompt-it-it \
+	    /usr/share/asterisk/sounds/it_IT_m_Carlo 50
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.prerm
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.prerm?rev=10486&op=file
==============================================================================
--- asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.prerm	(added)
+++ asterisk-core-sounds/trunk/debian/asterisk-core-sounds-it.prerm	Tue Jun 17 13:47:05 2014
@@ -0,0 +1,8 @@
+#! /bin/sh -e
+
+if [ "$1" = "remove" ]; then
+    update-alternatives --remove asterisk-prompt-it    /usr/share/asterisk/sounds/it_IT_m_Carlo
+    update-alternatives --remove asterisk-prompt-it-it /usr/share/asterisk/sounds/it_IT_m_Carlo
+fi
+
+#DEBHELPER#

Modified: asterisk-core-sounds/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/changelog?rev=10486&op=diff
==============================================================================
--- asterisk-core-sounds/trunk/debian/changelog	(original)
+++ asterisk-core-sounds/trunk/debian/changelog	Tue Jun 17 13:47:05 2014
@@ -1,12 +1,14 @@
-asterisk-core-sounds (1.4.22-2) UNRELEASED; urgency=low
+asterisk-core-sounds (1.4.25-1) UNRELEASED; urgency=low
 
+  * New upstream release.
+  * Add packages for Italian sounds.
   * Fix typo in French package description: "Canadian", not "Canadaian".
   * Add Jeremy Lainé to uploaders.
   * Update Standards-Version: 3.9.5.
   * Use debhelper (>= 9).
   * Add Vcs-Svn and Vcs-Browser to debian/control.
 
- -- Jeremy Lainé <jeremy.laine at m4x.org>  Tue, 17 Jun 2014 14:24:32 +0200
+ -- Jeremy Lainé <jeremy.laine at m4x.org>  Tue, 17 Jun 2014 15:42:17 +0200
 
 asterisk-core-sounds (1.4.22-1) unstable; urgency=low
 

Modified: asterisk-core-sounds/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/control?rev=10486&op=diff
==============================================================================
--- asterisk-core-sounds/trunk/debian/control	(original)
+++ asterisk-core-sounds/trunk/debian/control	Tue Jun 17 13:47:05 2014
@@ -186,6 +186,63 @@
  This package contains the core part of that collection in French
  (Canadian, by June Wallack) in WAV format (8Khz, mono).
 
+Package: asterisk-core-sounds-it
+Architecture: all
+Depends: ${misc:Depends}, asterisk-core-sounds-it-gsm | asterisk-core-sounds-it-g722 | asterisk-core-sounds-it-wav
+Enhances: asterisk
+Provides: asterisk-prompt-it, asterisk-prompt-it-it
+Description: asterisk PBX sound files - Italian
+ Asterisk is an Open Source PBX and telephony toolkit. It is, in a
+ sense, middleware between Internet and telephony channels on the
+ bottom, and Internet and telephony applications at the top.
+ .
+ Asterisk includes a set of standard sound files in various formats.
+ The core part of that collection in Italian, by voice actor Carlo
+ Flora, is contained in various encodings in packages
+ asterisk-core-sounds-it-*; this package registers these through the
+ alternatives system to provide the default "it" and "it_IT" (Italian)
+ sounds.
+
+Package: asterisk-core-sounds-it-gsm
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: asterisk-core-sounds-it
+Description: asterisk PBX sound files - it-it/gsm
+ Asterisk is an Open Source PBX and telephony toolkit. It is, in a
+ sense, middleware between Internet and telephony channels on the
+ bottom, and Internet and telephony applications at the top.
+ .
+ Asterisk includes a set of standard sound files in various formats.
+ This package contains the core part of that collection in Italian (by
+ Carlo Flora) in raw gsm-fr format (Compressed. Takes relatively little
+ space. playable with sox).
+
+Package: asterisk-core-sounds-it-g722
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: asterisk-core-sounds-it
+Description: asterisk PBX sound files - it-it/g722
+ Asterisk is an Open Source PBX and telephony toolkit. It is, in a
+ sense, middleware between Internet and telephony channels on the
+ bottom, and Internet and telephony applications at the top.
+ .
+ Asterisk includes a set of standard sound files in various formats.
+ This package contains the core part of that collection in Italian (by
+ Carlo Flora) in raw G.722 format (mildly compressed wide-band codec).
+
+Package: asterisk-core-sounds-it-wav
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: asterisk-core-sounds-it
+Description: asterisk PBX sound files - it-it/wav
+ Asterisk is an Open Source PBX and telephony toolkit. It is, in a
+ sense, middleware between Internet and telephony channels on the
+ bottom, and Internet and telephony applications at the top.
+ .
+ Asterisk includes a set of standard sound files in various formats.
+ This package contains the core part of that collection in Italian (by
+ Carlo Flora) in WAV format (8Khz, mono).
+
 Package: asterisk-core-sounds-ru
 Architecture: all
 Depends: ${misc:Depends}, asterisk-core-sounds-ru-gsm | asterisk-core-sounds-ru-g722 | asterisk-core-sounds-ru-wav

Modified: asterisk-core-sounds/trunk/debian/mkcontrol
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/mkcontrol?rev=10486&op=diff
==============================================================================
--- asterisk-core-sounds/trunk/debian/mkcontrol	(original)
+++ asterisk-core-sounds/trunk/debian/mkcontrol	Tue Jun 17 13:47:05 2014
@@ -25,15 +25,23 @@
 		dirname => 'es_MX_f_Allison',
  	},
 	fr => {
-       		lang_full => 'fr-ca',
+		lang_full => 'fr-ca',
 		artist => 'voice actress June Wallack',
 		desc_base => '"fr" (French) and "fr_CA" (Canadian French)',
 		desc => 'French (Canadian, by June Wallack)',
 		name => 'Canadian French',
 		dirname => 'fr_CA_f_June',
 	},
+	it => {
+		lang_full => 'it-it',
+		artist => 'voice actor Carlo Flora',
+		desc_base => '"it" and "it_IT" (Italian)',
+		desc => 'Italian (by Carlo Flora)',
+		name => 'Italian',
+		dirname => 'it_IT_m_Carlo',
+	},
 	ru => {
-       		lang_full => 'ru-ru',
+		lang_full => 'ru-ru',
 		artist => 'Maxim Topal',
 		desc_base => '"ru" and "ru_RU" (Russian)',
 		desc => 'Russian (provided by Maxim Topal)',

Modified: asterisk-core-sounds/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-core-sounds/trunk/debian/rules?rev=10486&op=diff
==============================================================================
--- asterisk-core-sounds/trunk/debian/rules	(original)
+++ asterisk-core-sounds/trunk/debian/rules	Tue Jun 17 13:47:05 2014
@@ -3,7 +3,7 @@
 BASE_URL=http://downloads.asterisk.org/pub/telephony/sounds/releases/
 PACKAGE=$(shell sed -e '2,$$d' -e 's/ .*//' debian/changelog)
 VERSION=$(shell sed -e '2,$$d' -e 's/^[^(]*(\([^-]*\)-.*)*)*/\1/' debian/changelog)
-LANGS=en es fr ru
+LANGS=en es fr it ru
 FORMATS=gsm g722 wav
 TMPDIR=tmp
 # or . if you prefer
@@ -40,6 +40,7 @@
 	dh_installchangelogs -pasterisk-core-sounds-en en-gsm/CHANGES-asterisk-core-en-$(VERSION)
 	dh_installchangelogs -pasterisk-core-sounds-es es-gsm/CHANGES-asterisk-core-es-$(VERSION)
 	dh_installchangelogs -pasterisk-core-sounds-fr fr-gsm/CHANGES-asterisk-core-fr-$(VERSION)
+	dh_installchangelogs -pasterisk-core-sounds-it it-gsm/CHANGES-asterisk-core-it-$(VERSION)
 	dh_installchangelogs -pasterisk-core-sounds-ru ru-gsm/CHANGES-asterisk-core-ru-$(VERSION)
 	dh_installchangelogs
 




More information about the Pkg-voip-commits mailing list