On Mon, 21 Jul 2008 13:04:53 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Sat, 19 Jul 2008 14:54:50 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
But I'm wondering if the default path of this support library is a good choice: /usr/local/share/geany/plugins/geanylua/libgeanylua.so
IMO this violates the FHS, binary files (.so) should not go into data dir ($prefix/share). Instead, I think something like $prefix/lib/geany/geanylua/libgeany.so would fit better or directly in Geany's libdir, $prefix/lib/geany/ which would make installation/uninstallation easier as not another directory has to been added/removed.
Yes, I think this would be better.
Maybe all plugins should go in $prefix/lib/geany/plugins in case sometime we want to make a shared library for Geany for plugins to link to - currently it would be assumed to be a plugin.
Even if this would be the case (libgeany.so), I think it would be still fine to have them all in $prefix/lib/geany. Unless we would end up with an empty $prefix/lib/geany and $prefix/lib/geany/plugin_foo*.so files. Nothing bad in general but one more directory level to take care of.
Regards, Enrico