I've made a Zero Install feed of Geany 0.12, which is available at this URL : http://konstelacioj.info/0install/feeds/geany.xml (you can also download the archive from there).
I've compiled Geany the standard way, in a local folder, then compressed it into a tar.bz2 archive. But when I run it the messages are untranslated (except for the parts coming from GTK, such as "Open", "Save", etc). I can't see from where it comes, since in other Zero Install apps with exactly the same structure in the cache, like Inkscape, the messages are translated as usual.
Sinc I don't know if it comes from Zero Install or Geany I've posted into both mailing-lists.
Any idea?
Thanks,
MilkaJinka
On Wed, 12 Dec 2007 18:18:45 +0100, MilkaJinka fullofdaylight@no-log.org wrote:
I've made a Zero Install feed of Geany 0.12, which is available at this URL : http://konstelacioj.info/0install/feeds/geany.xml (you can also download the archive from there).
Cool. one little thing: could you use the new icon for the feed? It is already included in the 0.12 sources.
I've compiled Geany the standard way, in a local folder, then compressed it into a tar.bz2 archive. But when I run it the messages are untranslated (except for the parts coming from GTK, such as "Open", "Save", etc). I can't see from where it comes, since in other Zero Install apps with exactly the same structure in the cache, like Inkscape, the messages are translated as usual.
In Geany, most paths are hardcoded with full pathname of the install prefix at configure time. That means, if you configure Geany normally, the compiled binary will look for language files at /usr/local/share/locale/... But if you package the installed files and then an user installs them via zeroinstall, this path is (probably) not correct anymore. So, Geany won't find the language files. And this happens not only to the language file but also for filetype definition files(in /usr/local/share/geany) and other stuff. The solution is to add binary relocation support to Geany which I'll do now(read: the next days). This is what Inkscape already does and therefore it works.
Regards, Enrico
Hello,
Thanks for the answer!
I'll make a package with the correct icon, and will add any new release in the feed.
MilkaJinka
Le mercredi 12 décembre 2007 à 19:06 +0100, Enrico Tröger a écrit :
On Wed, 12 Dec 2007 18:18:45 +0100, MilkaJinka fullofdaylight@no-log.org wrote:
I've made a Zero Install feed of Geany 0.12, which is available at this URL : http://konstelacioj.info/0install/feeds/geany.xml (you can also download the archive from there).
Cool. one little thing: could you use the new icon for the feed? It is already included in the 0.12 sources.
I've compiled Geany the standard way, in a local folder, then compressed it into a tar.bz2 archive. But when I run it the messages are untranslated (except for the parts coming from GTK, such as "Open", "Save", etc). I can't see from where it comes, since in other Zero Install apps with exactly the same structure in the cache, like Inkscape, the messages are translated as usual.
In Geany, most paths are hardcoded with full pathname of the install prefix at configure time. That means, if you configure Geany normally, the compiled binary will look for language files at /usr/local/share/locale/... But if you package the installed files and then an user installs them via zeroinstall, this path is (probably) not correct anymore. So, Geany won't find the language files. And this happens not only to the language file but also for filetype definition files(in /usr/local/share/geany) and other stuff. The solution is to add binary relocation support to Geany which I'll do now(read: the next days). This is what Inkscape already does and therefore it works.
Regards, Enrico
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
On Wed, 12 Dec 2007 19:06:47 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
I've compiled Geany the standard way, in a local folder, then compressed it into a tar.bz2 archive. But when I run it the messages are untranslated (except for the parts coming from GTK, such as "Open", "Save", etc). I can't see from where it comes, since in other Zero Install apps with exactly the same structure in the cache, like Inkscape, the messages are translated as usual.
In Geany, most paths are hardcoded with full pathname of the install prefix at configure time. That means, if you configure Geany normally, the compiled binary will look for language files at /usr/local/share/locale/... But if you package the installed files and then an user installs them via zeroinstall, this path is (probably) not correct anymore. So, Geany won't find the language files. And this happens not only to the language file but also for filetype definition files(in /usr/local/share/geany) and other stuff. The solution is to add binary relocation support to Geany which I'll do now(read: the next days). This is what Inkscape already does and
Ok, it was easier than assumed ;-). I just added the code to SVN. You can try to use the current SVN version for testing and specify "--enable-binreloc" to ./configure. Then it should work as expected.
It would be cool if you could a geany-svn feed for public testing.
Regards, Enrico
I had indeed just downloaded the nightly archive in order to make it available through Zero Install, but now I think I'll get the code directly from the SVN to test the fix.
MilkaJinka
Le mercredi 12 décembre 2007 à 21:07 +0100, Enrico Tröger a écrit :
Ok, it was easier than assumed ;-). I just added the code to SVN. You can try to use the current SVN version for testing and specify "--enable-binreloc" to ./configure. Then it should work as expected.
It would be cool if you could a geany-svn feed for public testing.
Regards, Enrico
It works! To test it, just run: $ 0launch http://konstelacioj.info/0install/feeds/geany.xml
and choose the stability "Developer" into the interface's preferences. I've updated the icon too. Happy testing!
MilkaJinka
Le mercredi 12 décembre 2007 à 21:17 +0100, MilkaJinka a écrit :
I had indeed just downloaded the nightly archive in order to make it available through Zero Install, but now I think I'll get the code directly from the SVN to test the fix.
MilkaJinka
Le mercredi 12 décembre 2007 à 21:07 +0100, Enrico Tröger a écrit :
Ok, it was easier than assumed ;-). I just added the code to SVN. You can try to use the current SVN version for testing and specify "--enable-binreloc" to ./configure. Then it should work as expected.
It would be cool if you could a geany-svn feed for public testing.
Regards, Enrico
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
On Wed, 12 Dec 2007 23:33:11 +0100, MilkaJinka fullofdaylight@no-log.org wrote:
It works! To test it, just run: $ 0launch http://konstelacioj.info/0install/feeds/geany.xml
Great. I added it to the Releases page on the website.
Regards, Enrico