-
Notifications
You must be signed in to change notification settings - Fork 270
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
update wscript to work with gtk3 geany builds #216
Conversation
Thanks for the PR, this is something I wanted to work on as well but so far didn't get to it. What exactly do you mean by "number of plugins don't seem to keep their wscript_configure's up-to-date"? check_cfg_cached for gtk is used by individual plugins if they require a newer version of GTK than the whole G-P defines as minimum requirement. Since we now depend on GTK 2.24 and there won't be any newer version of GTK2 ever than this, those checks are just obsolete. A few remarks: I don't like the regexp to parse the autotools build scripts. This mixes two build systems, not sure if this is a good idea. Additionally, I would like to have a clear indicator what GTK versions are supported in each plugin's wscript_configure. Better explicit than implicit. If you don't want to work on this, it might cause some work, just tell me, I can do this. No problem. About the two build systems problem: at some point I was very impressed and fan of Waf and just added it for playing around and as an alternative to the slow autotools. |
Just that while the build/*.m4 scripts tend to have various checks at configure time, a lot of the wscript_configure files are missing these checks.
Do you mean a different way of checking:
I don't really like it either - I guess my thinking was that if authors aren't maintaining wscript_configures it would be better to have a slightly magical system than no system.
I think Waf is pretty cool too - it would be nice if there was a way to have both without redundant maintenance though. I don't mind working on this -- the one drawback is that I don't have access to a windows machine for testing atm. |
If you have examples, tell us and then we can work on improving the
Right now, I don't know a better way for this check, so it is ok for me.
I see. Still I personally would prefer to have the wscript_configures
Don't worry about the Windows part. Some of us have a working Windows |
@pik do you still want to work on this? |
@eht16 |
I guess we can close this. We will drop Waf support soon after 1.26 and so it probably isn't worth to spend more time into this. |
This will be obsolete with removing waf right after 1.26. |
Small update to wscript to look-up which version of gtk geany was built with before configuring when using ./waf configure.
Also number of plugins don't seem to keep their wscript_configure's up-to-date, I cheated a bit by adding a function to regex it out of their .m4 build scripts. That said I'm not sure what the original logic behind having two separate build systems was or if you are still keen on maintaining it.
On a side note
check_cfg_cached
for gtk probably doesn't really need to be in there either probably, since geany libs and cflags would cover it.