On Tue, 27 Jan 2009 17:33:19 +0000, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Mon, 26 Jan 2009 21:25:43 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
(currently the geanylua plugin installs documentation in $prefix/share/doc/geany/ which is even worse, plugins should not install anything into Geany's doc or datadir)
So, my suggestion would be to make a recommendation for plugin authors to install documentation files into $prefix/share/doc/geany-plugins/${pluginname}
I think this is best for any plugins hosted in the geany-plugins project.
Ok, at least one agrees with me :). Yura's suggestion: $prefix/share/doc/geany/plugins/${pluginname}
is somewhat the counterpart to the intention of this discussion as I wanted to get rid of polluting Geany's docdir by external stuff. IMO, nothing should install anything into another package's docdir and instead should use something unique. The problem is that the global docdir is already crowded on most systems, so adding an own docdir for each plugin would probably make things only worse thus my suggestion to use a $prefix/share/doc/geany-plugins/ "container" to collect there the docs of the different plugins (of the geany-plugins project) in a sub directory for each plugin, as shown in my first mail.
Anyway, as the subject says RFC, this is a discussion and if you all still want to put plugin doc files in Geany's docdir, hmm, ok.
Any plugins outside of it or any plugins that want to be independent should IMO call their plugin geany-some-plugin (unix-name), installing to $prefix/share/doc/geany-some-plugin. Alternatively geanysomeplugin, but the hyphen-separated one seems to fit better with distro package names IME.
Yes, exactly.
Probably the same should be true for any plugin data files (without the doc subdirectory).
Yes.
Regards, Enrico