The Requirements section of the devhelp plugin page under http://plugins.geany.org lists the following items: - GTK >= 2.16 - libwebkitgtk >= 1.1.18 - libdevhelp 1.0 >= 2.30.1 or libdevhelp 2.0 >= 2.32.0
Looking at the makefile I see this requirements: ``` [gtk+-2.0 >= ${GTK_VERSION} webkit-1.0 >= ${WEBKIT_VERSION} libwnck-1.0 >= ${LIBWNCK_VERSION} gconf-2.0 >= ${GCONF_VERSION} gthread-2.0 zlib]) ``` On my Ubuntu machine only ```libwebkit``` and ```libwnck``` were missing. Not sure if the list on the plugin page should be extended.
Because Devhelp project broke backwards compatibility with their library, as GNOME-related projects often do, and then it stopped being packaged for common distros, I had to embed the source directly into the devhelp plugin's source tree. I believe what you're seeing there is the dependencies that libdevhelp itself had/has, just now they're listed explicitly instead of transiently. Effectively it's the same thing.
If you want to fix up the build system, I would accept a patch. It's been a while since I've looked at this plugin.
@codebrainz: Oh no, I will not touch the build system :smile:
Also I do not assume that there is something wrong with the dependencies. The question from my side is if e.g. ```libwnck``` should be listed as a requirement on the plugin page. I did not need to install ```gthread``` or ```zlib```, I guess that they are very common and so should always be there. If there are distros/OSes on which they are also not commonly installed then they should maybe also be listed.
@codebrainz: if you think this can stay as it is then I would not mind closing the issue.
Because Devhelp project broke backwards compatibility with their library, as GNOME-related projects often do, and then it stopped being packaged for common distros, I had to embed the source directly into the devhelp plugin's source tree. I believe what you're seeing there is the dependencies that libdevhelp itself had/has, just now they're listed explicitly instead of transitively. Effectively it's the same thing.
If you want to fix up the build system, I would accept a patch. It's been a while since I've looked at this plugin.
Hello, I'm interested in getting this plugin working again. libdevhelp is at version 3.0 and webkit is now webkit2gtk-4.0. In addition to Gtk3, what are the other ways to make the plugin work again?
Making it work for GTK3 is the minimum requirement, GTK2 is not supported by Geany any more, which presumably means upgrading the libdevhelp version (and hopefully to a system library, not embedded source) and adapting to any API changes that entails. And same for webkit2gtk-4.0 (noting that the markdown plugin has already been upgraded to use that).
Best to just make a PR, don't forget to handle new dependencies in CI or it won't build (markdown does not build on CI, which may be the webkit2 4.0 version not being installed).
Making it work for GTK3 is the minimum requirement, GTK2 is not supported by Geany any more, which presumably means upgrading the libdevhelp version (and hopefully to a system library, not embedded source) and adapting to any API changes that entails. And same for webkit2gtk-4.0 (noting that the markdown plugin has already been upgraded to use that).
Best to just make a PR, don't forget to handle new dependencies in CI or it won't build (markdown does not build on CI, which may be the webkit2 4.0 version not being installed).
Right. I'm already getting error messages while compiling. I will continue to correct each of them.
Elextr. I need to find the old devhelp documentation to understand how to port the classes to the new api. Do you know where I can get this documentation?
No idea, I would just google, but I presume you have already done that.
Yes, I already searched on google and didn't find it.
[any help?](https://gitlab.gnome.org/GNOME/devhelp/-/blob/main/docs/reference/api-breaks...)
Or maybe something else in the repo if you dredge back to olde tags.
Because Devhelp project broke backwards compatibility with their library, as GNOME-related projects often do, and then it stopped being packaged for common distros, I had to embed the source directly into the devhelp plugin's source tree. I believe what you're seeing there is the dependencies that libdevhelp itself had/has, just now they're listed explicitly instead of transitively. Effectively it's the same thing.
If you want to fix up the build system, I would accept a patch. It's been a while since I've looked at this plugin.
Hello codebrainz, how are you?
I saw that the devhelp-plugin is no longer in the geany-plugin repository, but I was working on it and managed to port it to the new version of the devhelp and webkit library. There's little gtk left to port, but it's functional. Could you take a look?
github-comments@lists.geany.org