--- festival-it-2.0+debian0.orig/debian/festvox-itapc16k.docs
+++ festival-it-2.0+debian0/debian/festvox-itapc16k.docs
@@ -0,0 +1 @@
+festival/lib/voices/italian/pc_diphone/group/pc_diphone.group-README
--- festival-it-2.0+debian0.orig/debian/watch
+++ festival-it-2.0+debian0/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts="filenamemangle=s/Italian-FESTIVAL-v/festival-it/,dversionmangle=s/.debian.//" \
+http://sf.net/it-festival/Italian-FESTIVAL-v(.*)\.zip
--- festival-it-2.0+debian0.orig/debian/compat
+++ festival-it-2.0+debian0/debian/compat
@@ -0,0 +1 @@
+7
--- festival-it-2.0+debian0.orig/debian/README.source
+++ festival-it-2.0+debian0/debian/README.source
@@ -0,0 +1,18 @@
+festival-it
+-----------
+
+The source was downloaded from http://www2.pd.istc.cnr.it/FESTIVAL/home/download-FESTIVAL.htm
+and repackaged:
+
+mkdir festival-it-2.0+debian0.orig
+cd festival-it-2.0+debian0.orig
+wget http://www.pd.istc.cnr.it/festival/ifd/italian_scm.tar.gz
+wget http://www.pd.istc.cnr.it/festival/ifd/festlex_IFD.tar.gz
+wget http://www.pd.istc.cnr.it/festival/ifd/festvox_lp_diphone.tar.gz
+wget http://www.pd.istc.cnr.it/festival/ifd/festvox_pc_diphone.tar.gz
+tar -xzf italian_scm.tar.gz && rm italian_scm.tar.gz
+tar -xzf festlex_IFD.tar.gz && rm festlex_IFD.tar.gz
+tar -xzf festvox_lp_diphone.tar.gz && rm festvox_lp_diphone.tar.gz
+tar -xzf festvox_pc_diphone.tar.gz && rm festvox_pc_diphone.tar.gz
+cd ../
+GZIP=--best tar -czf festival-it_2.0+debian0.orig.tar.gz festival-it-2.0+debian0.orig
--- festival-it-2.0+debian0.orig/debian/README.Debian
+++ festival-it-2.0+debian0/debian/README.Debian
@@ -0,0 +1,28 @@
+README for the Italian voices of Festival
+=========================================
+
+Encoding of accented letters
+----------------------------
+
+The italian database uses the Latin1 encoding for accented characters.
+If input text encoded in UTF8 fails like this:
+
+  $ echo caffè | festival --language italian --tts
+  11:49 <riccardo> LTS_Ruleset italian_downcase: no rule matches:
+  11:49 <riccardo> LTS_Ruleset: # c a f f *here* \uffff \uffff #
+
+then you need to recode the input.  Just put recode in the pipe:
+
+  echo caffè | recode utf8..lat1 | festival --language italian --tts
+
+You can query the wanted encoding using this LISP code:
+
+  For the Italian female voice:
+  (or (cadr (assoc 'coding (cadr (voice.description 'lp_diphone)))) 'ISO-8859-1)
+
+  For the Italian male voice:
+  (or (cadr (assoc 'coding (cadr (voice.description 'pc_diphone)))) 'ISO-8859-1)
+
+  For whatever is the current voice:
+  (or (cadr (assoc 'coding (cadr (voice.description current-voice)))) 'ISO-8859-1)
+
--- festival-it-2.0+debian0.orig/debian/festvox-italp16k.docs
+++ festival-it-2.0+debian0/debian/festvox-italp16k.docs
@@ -0,0 +1 @@
+festival/lib/voices/italian/lp_diphone/group/lp_diphone.group-README
--- festival-it-2.0+debian0.orig/debian/festvox-italp16k.dirs
+++ festival-it-2.0+debian0/debian/festvox-italp16k.dirs
@@ -0,0 +1 @@
+usr/share/festival/voices/italian/lp_diphone
--- festival-it-2.0+debian0.orig/debian/copyright
+++ festival-it-2.0+debian0/debian/copyright
@@ -0,0 +1,74 @@
+This package was debianzied by Riccardo Vestrini in Feb 2005
+This package was re-debianized by Giuseppe Iuculano <giuseppe@iuculano.it> on
+Sat, 6 Jul 2008 22:00:00 +0200.
+
+It was downloaded from http://www.pd.istc.cnr.it/TTS/ItalianFESTIVAL
+
+Copyright: (C) 2008 IFM Development Team
+
+The Italian FESTIVAL Modules (IFM)
+is Copyright by the IFM Development Team
+at "ISTC-SPFD CNR" and at "ITC-Irst".
+
+ISTC-SPFD CNR
+  Istituto di Scienze e Tecnologie della Cognizione
+  Sezione di Padova "Fonetica e Dialettologia"
+  Consiglio Nazionale delle Ricerche
+  Via G. Anghinoni, 10 - 35121 Padova
+  tel (+39) 049 8274418 - fax (+39) 049 8274416
+  e-mail: segreteria@pd.istc.cnr.it
+
+ITC-irst
+  Istituto Trentino di Cultura
+  Centro per la ricerca scientifica e tecnologica
+  Via Santa Croce 77 - 38100 Trento ITALIA
+  tel (+39) 0461-210111 - fax (+39) 0461-980436
+  e-mail: info@itc.it
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+A copy of the GNU license can be retrieved in
+/usr/share/common-licenses/GPL
+
+Authors: Piero COSI, ISTC-SPFD CNR, (cosi@pd.istc.cnr.it)
+         Carlo DRIOLI
+         Graziano TISATO
+         Roberto GRETTER, ITC-irst (SSI/MPA), (gretter@itc.it)
+         Fabio TESSER
+
+Questions regarding IFM should be directed to the
+IFM Development Team at the following addresses:
+
+ISTC-SPFD CNR
+Istituto di Scienze e Tecnologie della Cognizione
+Sezione di Padova "Fonetica e Dialettologia"
+Consiglio Nazionale delle Ricerche
+Via G. Anghinoni, 10
+35121 Padova
+tel (+39) 049 8274418
+fax (+39) 049 8274416
+e-mail:segreteria@pd.istc.cnr.it
+
+c/o Piero COSI
+cosi@pd.istc.cnr.it
+
+
+ITC-irst
+Istituto Trentino di Cultura
+Centro per la ricerca scientifica e tecnologica
+Via Santa Croce 77
+38100 Trento ITALIA
+tel (+39) 0461-210111
+fax (+39) 0461-980436
+e-mail: info@itc.it
+
+c/o Roberto GRETTER
+SSI/MPA
+Via Sommarive, 18
+38050 Trento (Povo)- Italy
+gretter@itc.it
+
+The Debian packaging is © 2008, Giuseppe Iuculano <giuseppe@iuculano.it> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- festival-it-2.0+debian0.orig/debian/changelog
+++ festival-it-2.0+debian0/debian/changelog
@@ -0,0 +1,95 @@
+festival-it (2.0+debian0-3.4.201403230730) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Sun, 23 Mar 2014 07:30:09 +0100
+
+festival-it (2.0+debian0-3) unstable; urgency=low
+
+  * [e3cbe46] debian/patches/01_libdir_to_datadir.patch: Use datadir
+    also in italian_mbrola.scm. Thanks to Giulio Paci.
+  * [aa786b0] debian/control: demoted festvox-itapc16k and festvox-
+    italp16k in Recommends to avoid circular dependency, added
+    ${misc:Depends} in Depends. (Closes: #528098)
+  * [f615e26] debian/control: Removed festvox-itapc16k and festvox-
+    italp16k from Suggests
+
+ -- Giuseppe Iuculano <giuseppe@iuculano.it>  Mon, 11 May 2009 14:17:30 +0200
+
+festival-it (2.0+debian0-2) unstable; urgency=low
+
+  * [8d6f49e] Switch to quilt
+  * [c154d4f] Updated to standards version 3.8.1
+    + [01c4fc1] debian/control: Added Homepage, DM-Upload-Allowed, and Vcs
+      control fields
+    + [4f0e738] Added watch file
+  * [9db5b5f] debian/patches/02_fix_error_on_empty_string.patch: Fix
+    error when trying to speak empty or blank strings, thanks to Niko
+    Tyni (Closes: #375538)
+  * [4dce2fa] Bump to debhelper 7 compatibility levels
+    + [790c256] debian/control: Build-Depends on debhelper (>= 7)
+    + [15c0df2] debian/rules: dh_clean -k is deprecated, use dh_prep
+  * [5d3b2b0] debian/control: Provides festival-italian and festival-
+    voice
+
+ -- Giuseppe Iuculano <giuseppe@iuculano.it>  Sun, 22 Mar 2009 16:17:05 +0100
+
+festival-it (2.0+debian0-1) unstable; urgency=low
+
+  * New upstream release, redone debian packaging from scratch
+    (Closes: #449143)
+  * debian/rules: Switch to debhelper, removed cdbs from Build-Depends
+  * debian/copyright: Removed Mbrola exception, now it is released under GPL
+    (Not yet packaged in Debian)
+  * Removed languages.scm.patch from festlex-ifd.docs, now it is included in
+    festival package
+  * Increase debhelper level to 5
+  * debian/README.debian: Removed workaround for bug #335845 section
+  * Added README.source
+  * Updated to standards version 3.8.0
+  * Move debhelper from Build-Depends-Indep to Build-Depends
+  * Set me as maintainer
+  * Switch to dpatch, removed patchutils from Build-Depends, and merging
+    libdir_to_datadir.patch (report_encoding.patch removed, this is in
+    upstream)
+
+ -- Giuseppe Iuculano <giuseppe@iuculano.it>  Mon, 07 Jul 2008 10:17:43 +0200
+
+festival-it (1.0-12) unstable; urgency=low
+
+  * New patch to add the wanted input encoding to the voice definition, so
+    that tools that use the Italian voices can query the preferred encoding
+    and send data in the right way.  Closes: #375851.
+  * Added information on how to retrieve the input encoding to README.Debian
+
+ -- Enrico Zini <enrico@debian.org>  Sat,  1 Jul 2006 13:07:56 +0100
+
+festival-it (1.0-11) unstable; urgency=low
+
+  * Fixed typo in package description, thanks to Simon Waters.
+    Closes: #363408.
+
+ -- Enrico Zini <enrico@debian.org>  Wed, 19 Apr 2006 11:55:52 +0100
+
+festival-it (1.0-10) unstable; urgency=low
+
+  [ Riccardo Vestrini ]
+  * Removed build-depends on build-essential. Closes: #339107
+  * Deleted debian/control.in.
+
+  [ Enrico Zini ]
+  * Updated README.Debian to explain better how to patch festival while
+    #335845 is open, and how to recode the input to latin1.
+
+ -- Enrico Zini <enrico@debian.org>  Tue, 15 Nov 2005 11:54:18 +0100
+
+festival-it (1.0-9) unstable; urgency=low
+
+  * Riccardo Vestrini <riccardov@sssup.it>:
+    + First upload to Debian Archives. Closes: #329613 
+
+ -- Debian Italian Maintainers Task Force <pkg-italian-maintainers@lists.alioth.debian.org>  Thu, 27 Oct 2005 18:35:03 +0200
+
+Local variables:
+mode: debian-changelog
+End:
--- festival-it-2.0+debian0.orig/debian/festlex-ifd.dirs
+++ festival-it-2.0+debian0/debian/festlex-ifd.dirs
@@ -0,0 +1,2 @@
+usr/share/festival/dicts/ifd
+usr/share/festival/italian_scm
--- festival-it-2.0+debian0.orig/debian/festvox-itapc16k.install
+++ festival-it-2.0+debian0/debian/festvox-itapc16k.install
@@ -0,0 +1,2 @@
+festival/lib/voices/italian/pc_diphone/festvox usr/share/festival/voices/italian/pc_diphone
+festival/lib/voices/italian/pc_diphone/group/pc_diphone.group usr/share/festival/voices/italian/pc_diphone/group
--- festival-it-2.0+debian0.orig/debian/control
+++ festival-it-2.0+debian0/debian/control
@@ -0,0 +1,55 @@
+Source: festival-it
+Section: sound
+Priority: optional
+Maintainer: Giuseppe Iuculano <giuseppe@iuculano.it>
+Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
+Homepage: http://www2.pd.istc.cnr.it/TTS/ItalianFESTIVAL
+Vcs-Git: git://git.debian.org/git/users/derevko-guest/festival-it.git
+Vcs-Browser: http://git.debian.org/?p=users/derevko-guest/festival-it.git
+DM-Upload-Allowed: yes
+
+Package: festlex-ifd
+Architecture: all
+Depends: ${misc:Depends}, festival (>= 1.4.3-9)
+Conflicts: festival-italian (<= 1.0-6)
+Replaces: festival-italian (<= 1.0-6)
+Provides: festival-italian
+Recommends: festvox-itapc16k, festvox-italp16k
+Description: Italian support for Festival
+ Italian Festival is a set of modules for the Festival
+ text-to-speech system which allow it to synthesize speech
+ in Italian.
+ .
+ This package includes a dictionary that permits festival
+ pronounce Italian text.
+ It also features modules for textual/linguistic analysis and
+ prosodic analysis.
+
+Package: festvox-itapc16k
+Architecture: all
+Depends: ${misc:Depends}, festlex-ifd
+Conflicts: festvox-itapc11k (<= 1.0-6)
+Replaces: festvox-itapc11k (<= 1.0-6)
+Provides: festival-voice
+Description: Italian male speaker for Festival
+ This package provides a Italian male voice using a Residual
+ excited LPC diphone synthesis method.  
+ The lexicon is provided by a set of letter to sound rules 
+ producing pronunciation accents and syllabification.  
+ The durations, intonation and prosodic phrasing are minimal
+ but are acceptable for simple examples. 
+
+Package: festvox-italp16k
+Architecture: all
+Depends: ${misc:Depends}, festlex-ifd
+Conflicts: festvox-italp11k (<= 1.0-6)
+Replaces: festvox-italp11k (<= 1.0-6)
+Provides: festival-voice
+Description: Italian female speaker for Festival
+ This package provides a Italian female voice using a Residual
+ excited LPC diphone synthesis method.  
+ The lexicon is provided by a set of letter to sound rules 
+ producing pronunciation accents and syllabification.  
+ The durations, intonation and prosodic phrasing are minimal
+ but are acceptable for simple examples. 
--- festival-it-2.0+debian0.orig/debian/festvox-itapc16k.dirs
+++ festival-it-2.0+debian0/debian/festvox-itapc16k.dirs
@@ -0,0 +1 @@
+usr/share/festival/voices/italian/pc_diphone
--- festival-it-2.0+debian0.orig/debian/festlex-ifd.install
+++ festival-it-2.0+debian0/debian/festlex-ifd.install
@@ -0,0 +1,3 @@
+festival/lib/dicts/ifd/lex.out usr/share/festival/dicts/ifd
+festival/lib/italian_scm/* usr/share/festival/italian_scm
+festival/lib/italian_require.scm usr/share/festival
--- festival-it-2.0+debian0.orig/debian/rules
+++ festival-it-2.0+debian0/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+# #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+build: $(QUILT_STAMPFN) build-stamp
+
+build-stamp:  
+	dh_testdir
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep 
+	dh_installdirs
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i -pfestvox-itapc16k -pfestvox-italp16k -pfestlex-ifd
+	dh_installdocs -i
+	dh_install -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- festival-it-2.0+debian0.orig/debian/festlex-ifd.docs
+++ festival-it-2.0+debian0/debian/festlex-ifd.docs
@@ -0,0 +1 @@
+festival/lib/dicts/ifd/lex.out-README
--- festival-it-2.0+debian0.orig/debian/festvox-italp16k.install
+++ festival-it-2.0+debian0/debian/festvox-italp16k.install
@@ -0,0 +1,2 @@
+festival/lib/voices/italian/lp_diphone/festvox usr/share/festival/voices/italian/lp_diphone
+festival/lib/voices/italian/lp_diphone/group/lp_diphone.group usr/share/festival/voices/italian/lp_diphone/group
--- festival-it-2.0+debian0.orig/debian/patches/series
+++ festival-it-2.0+debian0/debian/patches/series
@@ -0,0 +1,2 @@
+01_libdir_to_datadir.patch
+02_fix_error_on_empty_string.patch
--- festival-it-2.0+debian0.orig/debian/patches/01_libdir_to_datadir.patch
+++ festival-it-2.0+debian0/debian/patches/01_libdir_to_datadir.patch
@@ -0,0 +1,26 @@
+Author: Giuseppe Iuculano <giuseppe@iuculano.it>
+Description: fix italian_scm/ and synthesis.scm path
+--- a/festival/lib/italian_require.scm
++++ b/festival/lib/italian_require.scm
+@@ -1,8 +1,8 @@
+ ;; ADD italian_scm to the path
+-(set! lib_scm_dir (path-append libdir "italian_scm/"))
++(set! lib_scm_dir (path-append datadir "italian_scm/"))
+ (set! load-path (cons lib_scm_dir load-path))
+ 
+-(set! synthesis_reset_file (path-append libdir "synthesis.scm"))
++(set! synthesis_reset_file (path-append datadir "synthesis.scm"))
+ 
+ ;; Load any common required files
+ (require 'italian_phoneset)
+--- a/festival/lib/italian_scm/italian_mbrola.scm
++++ b/festival/lib/italian_scm/italian_mbrola.scm
+@@ -63,7 +63,7 @@
+ ;; mbrola database.
+ (if (getenv 'MBROLA_DBS)
+     (defvar mbrola_dbs (getenv 'MBROLA_DBS))
+-    (defvar mbrola_dbs (path-append libdir "voices/italian/italian/"))
++    (defvar mbrola_dbs (path-append datadir "voices/italian/italian/"))
+     )
+ ;; The following is unusefull, 'cause it always
+ ;; returns mbrola_dbs
--- festival-it-2.0+debian0.orig/debian/patches/02_fix_error_on_empty_string.patch
+++ festival-it-2.0+debian0/debian/patches/02_fix_error_on_empty_string.patch
@@ -0,0 +1,14 @@
+Fix error when trying to speak empty or blank strings, thanks to Niko Tyni (Closes: #375538)
+--- a/festival/lib/italian_scm/italian_module.scm
++++ b/festival/lib/italian_scm/italian_module.scm
+@@ -85,8 +85,8 @@
+ ;(print "fase 2")
+ (set! P_gr (utt.relation.first utt 'GrRespiro))
+ (set! S (utt.relation.first utt 'Syllable))
+-(set! I (item.relation.parent P_gr 'Intonation))
+-(item.append_daughter P_gr S)
++(set! I (if P_gr (item.relation.parent P_gr 'Intonation) nil))
++(if P_gr (item.append_daughter P_gr S))
+ (if (item.next P_gr)
+ 		(set! I (item.relation.parent (item.next P_gr) 'Intonation))
+ 		;nel caso che sia l'utimo item non fa nulla (print "fine....")
