I’ve been trying to add a plugin-widget but whenever I run the application it doesn’t recognize my custom type.
I was just editing the xml files directly (
glade/mypaint_widgets.xml), so I thought I’d try to use the glade UI, since maybe that does an extra building step?
I found the instructions is
$ glade/run.sh $ glade/run.sh gui/something.glade
If I try the second command (with
gui/mypaint.glade) the terminal hangs for a second and then finishes, but the glade UI doesn’t show up.
If I manually follow the steps in the run script, i.e.
$ export GLADE_CATALOG_SEARCH_PATH=~/linux-projects/mypaint $ export GLADE_MODULE_SEARCH_PATH=~/linux-projects/mypaint/gui
The glade UI still starts, but can’t find the mypaint_widgets catalog. And if I add the export for
XDG_DATA_DIRS as well, the UI doesn’t start again.
I should note that I’m running this from the msys mingw64 shell.
The glade version I am using is
mingw64/mingw-w64-x86_64-glade 3.21.0-1. Since the run script is something made here, and there seems to be some hackery going on with the custom widgets I thought I’d try coming here with this issue.
Maybe the instructions are outdated? Am I missing something? Is there a way to not use the glade UI and do things by hand?