Dear Devs,
I currently use stow[1] to build and install packages which aren't present in the (x)Ubuntu repositories.
I build all my packages in /usr/local/stow/<package>-<revision>/ and stow symlinks all executables and libraries to /usr/local/<bin|lib|(etc)>/.
Version control is a breeze this way and I can switch versions/revisions within seconds!
Here's my problem:
Geanyprj always looks for the real location of geany's libdir. The --prefix= and --libdir= configure flags are completely ignored by the configure script. This behaviour will cause geanyprj to be installed in a specific version of geany and when updating geany, the plugin gets 'lost' in the previous version's lib dir.
My request:
--libdir= should not be overridden by the configure script and geanyprj (and maybe other plugins?) should install themselves into ${libdir}/geany
Is this a correct observation, or is this autotools noob completely wrong in this pursuit? ;)
Happy holidays and may 2009 be as great for Geany as 2008 has been ;)
Harold.
On Mon, 22 Dec 2008 10:44:54 +0100, Harold Aling geany@sait.nl wrote:
Hey Harold,
My request:
--libdir= should not be overridden by the configure script and geanyprj (and maybe other plugins?) should install themselves into ${libdir}/geany
See http://git.geany.org/?p=geany-plugins;a=blob;f=spellcheck/configure.in#l50 (geanyprj has the same three lines). And it affects also most/all other external plugins.
AFAIR, the problem is that when accepting the --libdir command line option, there is no way to set libdir to a sane default value if the command line option is not passed. Well, there most probably there *is* a such a way but when I wrote the configure.in for the spellcheck plugin I didn't know how to do this and after we got waf for the plugins, I lost interest, especially since autotools are not my best friends. I guess Yura others felt similar when they copied these three lines to their plugins :).
So, to make a long story short, patches are welcome.
Regards, Enrico
On Sun, 28 Dec 2008 11:52:46 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
See http://git.geany.org/?p=geany-plugins;a=blob;f=spellcheck/configure.in#l50 (geanyprj has the same three lines). And it affects also most/all other external plugins.
AFAIR, the problem is that when accepting the --libdir command line option, there is no way to set libdir to a sane default value if the command line option is not passed. Well, there most probably there *is* a such a way but when I wrote the configure.in for the spellcheck plugin I didn't know how to do this and after we got waf for the plugins, I lost interest, especially since autotools are not my best friends. I guess Yura others felt similar when they copied these three lines to their plugins :).
So, to make a long story short, patches are welcome.
I second this ;)
Cheers, Frank