New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use the plugin with geany+gtk3? #199
Comments
Note that when I'm trying to build the plugins (with waf or autogen) I get the error
While I have geany 1.25 running and installed. |
You probably also have the Geany version from your distribution installed, and it's probably found before your custom build. If you want a custom build, you probably should just uninstall the distribution's packages. Then, re-run the geany-plugins's configure script and it should work fine (assuming you do have an appropriate Geany version installed). And just as with Geany, you need to build the plugins against GTK3, so it's perfectly normal that the plugins from your distribution's package won't work with your custom GTK3 Geany, unless they were themselves build for GTK3 (which is unlikely). Finally, note that while we want to reach the point where all plugins work with GTK3, it's not yet the case, so some plugins that are available with GTK2 won't be with GTK3. We hope to port those as soon as possible, but it has to be done. |
Thanks for the clear explanation: it worked. Here what I did:
And I got those error when starting geany:
|
Try building the plugins with Autotools instead of Waf, just like you built Geany itself. Apparently Waf can't build GTK3 plugins yet (yes, it's a bug/missing feature). |
Indeed :) This what I did :
and most of the plugins loaded!! Here's the list of the loading errors:
|
Yes, as said previously, those plugins are not yet compatible with GTK3, so they are not built (and I guess you have them because you didn't remove explicitly the previous GTK2 ones). |
Thanks for the info.
|
Well, actually some of them should already be (my ones). So this actually really might be a bug or need for enhancement ;) |
I don't think there even is a flag for building geany-plugins with gtk+-3.0, or am I missing something? |
@pik no, geany-plugins doesn't have a specific flag, because it has to match what the Geany version it is built against used. So geany-plugins will just use the same thing as Geany used. |
@b4n I just looked at it - the gtk version is hard-coded https://github.com/geany/geany-plugins/blob/master/wscript#L83 |
@pik oh, you're talking about Waf. Yes, apparently Waf cannot currently build geany-plguins for GTK3. But the commands you quoted used Autotools, not Waf ;) |
waf is history for our project as well as most plugins are supporting Gtk3 where possible. Closing the bugreport. Please reopen a new one in case of a particular plugin. |
I've built geany with gtk3 with
And then installed the plugins via
and yet I don't see those in the plugin manager.
Is there something else I should do ?
The text was updated successfully, but these errors were encountered: