-
Notifications
You must be signed in to change notification settings - Fork 272
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
Extend mingw support #374
Extend mingw support #374
Conversation
On Windows we cannot use generated absolute paths based on the installation prefix, so use relative paths instead.
@@ -64,3 +64,20 @@ AC_DEFUN([GP_COMMIT_PLUGIN_STATUS], | |||
test "$m4_tolower(AS_TR_SH(enable_$1))" = yes) | |||
GP_STATUS_PLUGIN_ADD([$1], [$m4_tolower(AS_TR_SH(enable_$1))]) | |||
]) | |||
|
|||
dnl GEANY_CHECK_MINGW |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing rename :)
Couldn't we simply use |
I don't think so, at least prefix= would not be enough, examples:
I'v just noticed |
Could be
But why have it different depending on the platform? Even if we used to, should we carry that on or couldn't we rely on it being UNIX-style, so on Windows it could be enough to use something like |
prefix=./ is a nice idea. However we need to set prefix to this, I tried to AC_SUBST prefix in configure.ac, not sure whether this will work. Though this will cause new problems because About PKGLIBDIR: you are right. But currently my main focus is to get it all running at all. We are only two weeks from the release date and we don't have a working Geany, G-P, GTK bundle nor any installers yet. As usual, nobody started working on this stuff in time, including me :(. Though I'm optimistic we've manage the release: the bundle scripts (for Geany and G-P) are pretty much ready, the installers hopefully need only small adjustments. Currently it is mostly Autotools which eat my time :(. |
I'm afraid using any relative directory will create mass confusion and problems, and that Autotools will refuse it anyway. I guess the "right" solution is
Yeah… that's the reason why I didn't merge the "remove Waf" for Geany yet, because I didn't actually get anything on the way for me to have a working Autotools Windows setup, and that I didn't feel like you guys were happy enough with it to just never use it again. So I'd rather have Waf one more cycle than not being able to make the release… although it's also a bad idea as with this way of thinking it won't go forward. So well, both are bad :] |
About Waf dropping: I'm working on this Windows+MSYS2+Autotools stuff since a few days quite hard and so I'm willing to get it working until the release, otherwise I could waste my time with more fun :). Another topic: can I push further changes to this topic into this already merged branch or should I better create a new branch (the branch just got merged too early)? |
Yeah not surprising. Adgain I guess the "right" solution is
Heh, I'm all for a working AT in the next release, I just know I'm not willing to spend the time needed for that myself right now :)
Yeah unfortunately that happens :( And while I do like the idea, I also know I'm reluctant to mess with build stuff under Windows because I fear it. I think (and hope) I made clear I liked the idea but wouldn't really be of much help… anyway, I could still kick me off and give it a try, maybe it just works (for the Geany part).
You can, I just thing we won't ever be able to re-open it (which is mostly cosmetic somehow). You could also open a new PR for the same branch. And don't forget to add the "WIP" label so no one gets confused :) |
|
Add support for compiling G-P using MSYS2/MINGW.
The MINGW check is copied shameless from Geany :).
The path fixups are those which we had for ages in the Waf
build system but never in Autotools.
With those changes, G-P actually start working on Windows.