FP: Some more suggestion

0 views
Skip to first unread message

Kartik Mistry

unread,
Jul 25, 2009, 2:30:35 AM7/25/09
to fontypython
Hi,

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

Donn

unread,
Jul 25, 2009, 10:19:20 AM7/25/09
to fonty...@googlegroups.com
Hi Kartik,

> 1. Can we have NEWS or Changelog file?
There is a CHANGELOG file in the svn repo. I have just added it to the voodoo
so that next time I make a tarball it will be included.

> 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

Pietro Battiston

unread,
Jul 25, 2009, 11:28:50 AM7/25/09
to fonty...@googlegroups.com
Il giorno sab, 25/07/2009 alle 16.19 +0200, Donn ha scritto:

> > 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

Donn

unread,
Jul 25, 2009, 11:34:44 AM7/25/09
to fonty...@googlegroups.com
On Saturday, 25 July 2009 17:28:50 Pietro Battiston wrote:
> In my setup.pys, I add the following line
Thanks Pietro. I will have a go when I get a chance.
\d
Reply all
Reply to author
Forward
0 new messages