GNOME Bugzilla – Bug 431833
When running uninstalled, Tomboy should use uninstalled add-ins, not installed add-ins
Last modified: 2010-06-26 14:09:38 UTC
Tomboy looks for plugins in Defines.SYS_PLUGINS_DIR, which is set during ./configure or ./autogen.sh based on the value of prefix. This is annoying when you want to run uninstalled (make run) to test out some code, but you are stuck with using the installed plugins instead of the uninstalled code you are trying to test. This could be fixed by using an environment variable instead of a constant, and updating tomboy.in to set that environment variable differently based on whether you're running installed or uninstalled. But I don't know if that's the best way to fix it.
Created attachment 87663 [details] [review] Use uninstalled plugins I added TOMBOY_PLUGINS_PATH to the shell script but two plugins are deleted then. Do you know why? [DEBUG]: Removing old "ExportToHTML.dll" plugin... [DEBUG]: Removing old "PrintNotes.dll" plugin...
TOMBOY_PLUGINS_PATH overrides the user plugin folder path (~/.tomboy/Plugins). The code is still looking in Defines.SYS_PLUGINS_DIR at runtime. Not sure if this is related to your issue, though.
(In reply to comment #2) > TOMBOY_PLUGINS_PATH overrides the user plugin folder path (~/.tomboy/Plugins). > The code is still looking in Defines.SYS_PLUGINS_DIR at runtime. You are right. It worked for me because I had no installed version, so all of the plugins were read from the user plugin folder.
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
Is this bug still valid?
(In reply to comment #5) > Is this bug still valid? Yes.
(In reply to comment #6) > (In reply to comment #5) > > Is this bug still valid? > > Yes. To elaborate, this is all still valid, because we still load add-ins according to DEFINES.SYS_ADDINS_DIR. I believe the Banshee work-around includes a different approach to the .addins file, and putting all assemblies in a common bin directory.
make run fixed in master