[Libvir] gettext i18n support for libvirt

Daniel P. Berrange berrange at redhat.com
Thu Sep 21 14:31:05 UTC 2006


On Thu, Sep 21, 2006 at 03:20:23AM -0400, Daniel Veillard wrote:
> On Wed, Sep 20, 2006 at 09:27:13PM +0100, Daniel P. Berrange wrote:
> > 
> > Hmm, yes it should - I didn't notice we kept the .spec in CVS - I thought it
> > was only in Fedora CVS.
> 
>   Yeah I have strange habits sometimes, but it's more informations relative
> to the project which can be useful. Also allow rpmbuild -ta if you just get
> the tarball.

I also updated the .spec to include the compiled .po files, and added
a BuildRequires on gettext, etc. Also fixed the URL to refer to libvirt.org
(with the 't')

> > They're currently setup to use the same catalog since it makes the build
> > system integration a hell of alot easier - the generic Makefiles installed
> > by gettext all assume a single .pot file. The virsh strings are about 50%
> > of the total translatable text, and the compiled .gmo file is 24 kb so we'd
> > only be saving about 12 KB of memory splitting them out. This is pretty
> > much just line-noise compared to 400 KB which libvirt.so comes in at.
> 
>   okay it doesn't really make sense, fine, just commit when you're ready,
> I will try to push a new release soonish !

Ok its commited now. I did a test compile & re-build of the RPM & it looks
like it worked correctly.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list