[gaio at linux.it: Re: Bugs 553399 and 512590...]

Marco Gaiarin gaio at linux.it
Sun May 15 22:25:24 UTC 2011


Sorry, very very old but still 've no receive answer on this email...

Thanks.

----- Forwarded message from Marco Gaiarin <gaio at linux.it> -----
Date: Tue, 15 Feb 2011 14:43:00 +0100
From: Marco Gaiarin <gaio at linux.it>
To: Simon Richter <sjr at debian.org>
Cc: Marco Gaiarin <gaio at linux.it>, pkg-voip-maintainers at lists.alioth.debian.org
Subject: Re: Bugs 553399 and 512590...
Organization: Casa Gaiarin
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5

Mandi! Simon Richter
  In chel di` si favelave...

> >  + changed copyright (i've to translate in English?)

> Yes and no.
> The original copyright statement of the author is what is authoritative. If
> there is no English translation available, then there ought to be a short
> summary, but with a disclaimer that the translation is not authoritative.

The copyright (extracted from a README) end with:

 Creative Commons: 'Attribuzione - Condividi allo stesso modo' 2.5 Italia (CC-SA-BY-2.5 Italy)
 http://creativecommons.org/licenses/by-sa/2.5/it/

so seems to me that is sufficient clear in ''any language'', reporting
the CC short id (CC-SA-BY-2.5 Italy) and the link to full licence.


> >  + watch not touched, but have to be (i don't know how).
> Yes, this one is tricky.

I can simply remove it?


> If there are four separate archives from upstream, you can either build
> four source packages, or build a "meta" source package that includes all
> the archives as subtrees. That is, however, a difficult thing to do, and
> I've only done it once in my career. :)
> If there is also a file containing all versions, then it is certainly
> preferrable to have just a single source package.

No, 4 source archive. I've just found that, after the ''core voices'',
the author have started to record also the 'extra' set of voices. ;)
Ouch! More packages! ;-)


> For binary packages, I think it is generally a good idea to have at least a
> package with high quality sources (WAV), and optionally prepacked ones for
> systems that have little space or computing power. Asterisk can

Sure. I've looked at other languiages voice pacakages, and seems to me
that all have GSM voices within, so i supposed this was the ''default''
format (provided that, as i've just sayed, the old italian package
contains only GSM voices).
Seems to me better, indeed, to package as default WAV voices, and then
other format as an options.


>  - It builds as a "native" package, that is, when building a source
>    package, both the original sources and the Debian specific changes end
>    in the same tarball. To build a regular package, you need a symlink from
>    "asterisk-prompt-it-gsm_1.4.15-mm20090405.orig.tar.gz" to the original
>    archive in the directory above the source tree, and the version number
>    needs a packaging version suffix. Also, the layout of the packed and
>    unpacked trees need to match, and due to the way dpkg-source handles
>    unpacking, this means that everything below "it/" needs to be moved to
>    the toplevel (dpkg-source generally thinks that if the first path
>    component is the same across all files, then it should be removed).

The original tarball, apart a different name that a symlink cure well,
have no ''rootpath'', eg:

 eraldo:/usr/src/asterisk-1.6# tar tvvzf asterisk-core-sounds-it-wav-1.4.15-mm20090405.tar.gz
 drwxr-xr-x marco/marco       0 2009-04-05 19:26 ./
 drwxr-xr-x marco/marco       0 2009-04-05 19:26 ./it/
 -rw-r--r-- marco/marco    9078 2009-04-05 19:26 ./it/auth-thankyou.wav
 -rw-r--r-- marco/marco   25146 2009-04-05 19:26 ./it/spy-mobile.wav
 -rw-r--r-- marco/marco   12368 2009-04-05 19:26 ./it/spy-local.wav
 [...]

i simply need to repackage them?


>  - The "debhelper compatibility version" is really low; version 4 has been
>    deprecated a long time ago; just raising the number in debian/compat to
>    7 has helped get rid of all those warnings.

Easy to cure. ;)


> Now the interesting question: would you be interested in taking care of the
> package?

''take care'' seems too much... i'm not a DD!
But clearly i can fix these packages, and then provide some effort to
support them...


Now i've a question. Simply package does not work. ;)
Navigating the IVR menù lead to errors and IVR stop working. Googling
around lead me to:

	http://www.sfs.it/voip/elastix-audio-in-italiano.html

eg, some files have to be linked between dirs because are the same. The
link above simpy suggest:

	cd /var/lib/asterisk/sounds/it/
	find /var/lib/asterisk/sounds/it/ -maxdepth 1 -name "hours.*" -exec ln -s {} digits/ \;
	find /var/lib/asterisk/sounds/it/ -maxdepth 1 -name "minutes.*" -exec ln -s {} digits/ \;
	find /var/lib/asterisk/sounds/it/letters/ -maxdepth 1 -name "e.*" -exec ln -s {} ../digits/ \;

Ahem, how can i do this on a package buld script? It is better to use
postinst script or link files at build level?


Also, i've not very clear how to solve the package puzzle... if i've
understood well:

1) define an empty package asterisk-prompt-it that simply depends on
 asterisk-prompt-it-wav and suggest, eg asterisk-prompt-it-gsm and
 asterisk-prompt-it-alaw

2) if good, how can i do that? ;)


Many thanks.

PS: why english/default voices packages names are asterisk-sounds-main
 and asterisk-sounds-extra, while localized sounds/voices package names
 are asterisk-prompt-* ?!

-- 
Marco ``Gaio'' Gaiarin	 | LUG Pordenone    (http://www.pordenone.linux.it)
P.zza S. Tommaso, 20	 | Lilliput BBS      (http://bbs.lilliput.linux.it)
Cimpello di Fiume Veneto | Azione Cattolica - Concordia-Pordenone
33080 Pordenone (Italia) |           (http://www.ac.concordia-pordenone.it)
Tel.   +39-0434-56-1305  | http://www.gaiarin.it/             gaio at linux.it

----- End forwarded message -----

-- 
Marco ``Gaio'' Gaiarin	 | LUG Pordenone    (http://www.pordenone.linux.it)
P.zza S. Tommaso, 20	 | Lilliput BBS      (http://bbs.lilliput.linux.it)
Cimpello di Fiume Veneto | Azione Cattolica - Concordia-Pordenone
33080 Pordenone (Italia) |           (http://www.ac.concordia-pordenone.it)
Tel.   +39-0434-56-1305  | http://www.gaiarin.it/             gaio at linux.it



More information about the Pkg-voip-maintainers mailing list