[Pkg-kde-talk] Re: [OT] How to package debian binary with translations.

Alejandro Exojo suy@kurly.org
Thu, 24 Feb 2005 23:09:36 +0100


El Martes, 22 de Febrero de 2005 21:07, Gary Cramblitt escribi=C3=B3:
> Sorry for the off-topic post, but no help forthcoming from kalyxo-devel a=
nd
> it would be a shame to waste all the translator's hard work.

Hi Gary. I'm CC'ing to a list where some Debian guys talk about packaging=20
KDE. ;-)

> Can someone point me in the right direction please.
>
> How do I build a debian package for my app (kttsd) so that it installs
> translations? =C2=A0I can build a source tarball with all the .po files, =
and
> when I run debuild, it makes the .mo files, but the .deb file does not
> contain them.

I've never built a multibinary package, but AFAIK, yes. Take a look at the=
=20
manual page of dh_install.

> Do I need to list all the .mo files in my .install file?
>
> Should I make separate .deb files for each translated handbook?

No. But if there is a lot of platform independent data (e.g., files=20
in /usr/share), you can consider splitting the package in foo and foo-data=
=20
(or foo-common). This way, foo can be 'architecture: any', and foo-data=20
'architecture: all', and a bit of space can be saved.

Best regards.

> How is this normally done for debian KDE binary packages?
>
> (My current packaging files are in kdeaccessibility/kttsd/debian.)
>
> Thanks

=2D-=20
Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2
http://darkshines.net/ - Jabber ID: suy@bulmalug.net