First of all, many thanks to Donn for quick fixes for bug reported at
Debian BTS and nice co-ordination!
Here are some more suggestion to improve FP:
1. Can we have NEWS or Changelog file? I have seen that README
contains some older changelog for versions upto 0.3.6...
2. We are also putting .mo files in different way, currently it is
installing in following location..
-rw-r--r-- root/root 15465 2009-07-07 17:25
./usr/share/pyshared/fontypythonmodules/locale/fr/LC_MESSAGES/all.mo
-rw-r--r-- root/root 34055 2009-07-07 17:25
./usr/share/pyshared/fontypythonmodules/locale/it/LC_MESSAGES/all.mo
-rw-r--r-- root/root 34188 2009-07-23 22:07
./usr/share/pyshared/fontypythonmodules/locale/de/LC_MESSAGES/all.mo
However, correct and standard way is to put locale as:
/usr/share/locale/de/LC_MESSEGES/fontypython.mo and so on..
3. I have seen .po files in source. Its fine. I can remove it from
Debian package as it is not needed in binary..
Many thanks again and happy hacking.
PS: I am uploading package with #3 fix + 0.4.1 version. Take your time
for #1 and #2 :)
--
Cheers,
Kartik Mistry | 0xD1028C8D | IRC: kart_
Debian GNU/Linux Developer
Blogs: {ftbfs, kartikm}.wordpress.com
> 2. We are also putting .mo files in different way
> However, correct and standard way is to put locale as:
> /usr/share/locale/de/LC_MESSEGES/fontypython.mo and so on..
Err... I find setup.py (distutils) to be a badly documented beast to work with,
but I will have a go. Can you confirm if the /use/share/locale path is cross-
distro (same on fedora, Gentoo, Ubuntu, etc. etc.)?
> 3. I have seen .po files in source. Its fine. I can remove it from
> Debian package as it is not needed in binary..
Ah, thanks -- I will make a note and try to exclude them next round.
Best,
\d
> > 2. We are also putting .mo files in different way
> > However, correct and standard way is to put locale as:
> > /usr/share/locale/de/LC_MESSEGES/fontypython.mo and so on..
> Err... I find setup.py (distutils) to be a badly documented beast to work with,
> but I will have a go. Can you confirm if the /use/share/locale path is cross-
> distro (same on fedora, Gentoo, Ubuntu, etc. etc.)?
In my setup.pys, I add the following line:
[('share/locale/'+lang+'/LC_MESSAGES/', ['locale/'+lang
+'/LC_MESSAGES/program_name.mo'] ) for lang in listdir('locale')],
to the data_files argument of the setup() call.
Bye
Pietro