Skip to content
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

Build: per plugin version check #208

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

b4n
Copy link
Member

@b4n b4n commented Apr 6, 2015

Introduce a macro for a particular plugin to depend on a Geany version.

The goal would be to replace the global Geany version check in GP with a per-plugin one, allowing to build some bleeding-edge plugins against older Geany if it so pleases the user -- or the other way around, allow plugins to depend on bleeding-edge Geany.

Ideally there would be a similar macro to check for a specific Geany API version, to allow seamless enabling/disabling of plugins depending on some development version of Geany (imagine someone building dev-GP with a slightly out-of-date dev-Geany). But this requires finding out Geany API version, which is currently non-trivial.

For now this PR is mostly a suggestion, and is not so useful without the API version check, as it has a release version granularity, which is not sufficient in all cases.

What do you think? Are the benefits of avoiding build failures with unmatched versions, and allowing building some plugins with older versions of Geany enough to warrant the added complexity of maintaining a per-plugin version check?

@b4n
Copy link
Member Author

b4n commented Apr 6, 2015

OK, I added a macro to get the API version (relatively tricky, but it should work well), and macros to easily make a plugin depend on a specific one.

@b4n b4n mentioned this pull request May 21, 2015
@lpaulsen93 lpaulsen93 added the build system Automake build system issues label Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Automake build system issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants