new2dir: grab .pot file
January 21, 2013 —
BarryK
'new2dir' is a script that we use when installing after having compiled from source, usually:
# new2dir make install
Reference:
http://puppylinux.com/development/createpet.htm
I have modified the script so that it searches for a <projectname>.pot file in the source. If found, it is copied to the target directory, in location usr/share/doc/nls/<projectname>.
This is convenient, as a subsequent "dir2pet" will then have the .pot file in the PET, the main one, not the "_NLS" PET. MoManager will discover it and offer it for translation.
Seems like a good idea, anyway.
Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/a9854b5a95
Comments
Re .pot filesUsername: BarryK
Note that '3builddistro' in Woof finds all .pot files in packages and moves them to usr/share/doc/nls, in the devx sfs. Thus, they do not contribute to the size of Puppy. Also, MoManager requires the devx sfs to be loaded.
Tags: woof