[Geany-devel] Merging of Geany Plugins

Chow Loong Jin hyperair at xxxxx
Tue Jun 2 17:59:41 UTC 2009


On Tue, 2009-06-02 at 19:54 +0200, Frank Lanitz wrote:
> I agree. For me autotools are always a huge pain with a high violence
> factor. 
And waf for me. =)

> For now I did a quick'n'dirty shell script as a some kind of proof on
> concept I'm planning to reimplement with Python hopeful today. In fact
> it is possible to do the merging stuff in a nice way:
> 1) To a global file: Put all single po files together into one file
> and run same steps as in make update-po on it
> 2) Putting translations back to each plguin: Just cp po files and also
> run stuff from make update-po on it. 
> I tried it on all plugins and didn't recognised any major issue here. 
> All what is needed is to have some global replacement for POTFILES and
> LINGUAS which could be also generated from each plugins itself. 
In response to this, I'll attach the autogen.sh I have currently. It's a
modified version of addons/autogen.sh, so if you compare both files,
you'll be able to see the parts I've added.

The code I've added into this script generates POTFILES.in,
POTFILES.skip, and LINGUAS, as well as merges translations from all .po
files from all the plugins specified in the SUBDIRS variable, into the
po/ of the toplevel directory.

-- 
Regards,
Chow Loong Jin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autogen.sh
Type: application/x-shellscript
Size: 3403 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090603/95fb8d60/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.geany.org/pipermail/devel/attachments/20090603/95fb8d60/attachment.pgp>


More information about the Devel mailing list