geany-0.19 fails to build if you do:
Making all in po
make: Entering directory `/var/tmp/rip/geany-0.19/po'
make: *** No rule to make target `en.gmo', needed by `all-yes'. Stop.
This is not a bug.
"en" is no valid translation for Geany and so it can't be build. LINGUAS can only hold valid, existing translations.
It's still wrong to make the package fail when an invalid language is set in LINGUAS. The build system should just silently ignore the invalid value (like older geany releases already did).
Please reopen this bug and reconsider this bug for fixing.
I still think breaking the build is not strictly wrong, maybe just as not as convenient as it could be.
I noticed that I actually implemented the requested behaviour already for the Waf build system where it was quite easy.
If anyone wants to fix this as well for the autotools based build system, patches are welcome. To have a look start at configure.ac:238.
I can confirm this bug on Slackware 13.1.
I have set LINGUAS to "nl_NL.utf8" system-wide to make the entire system speak Dutch.
Unsetting this variable will make geany compile correctly, but it still won't show up in Dutch.
Seems to be a bug in the makefile in the po folder.
Btw: geany -V output:
geany 0.19 (built on Jul 14 2010 with GTK 2.18.9, GLib 2.22.5)
Fixed in [768659b89fc8bc6727f5bce7605d417edc859f4a].
Note however that now LINGUAS has to be specified so it will be in Make's environment, so simply specifying LINGUAS=lang ./configure and then running make like in the initial report won't select "lang" anymore, one has to set it on the make call like LINGUAS=lang make or something to the same end. This however should follow other build system's behavior.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.