-
Notifications
You must be signed in to change notification settings - Fork 0
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 gtk #1
Update gtk #1
Conversation
@v1993 I applied your PR into this branch already. Are you sure we can use MXE plugins during the build within the makefiles? Since the use-case of this plugin is to build via: So, how do you want to call the meson plugin in the makefiles? Eg. within the src/atk.mk file (as an example). |
@v1993 If collaboration makes it easier, you can chat with me via Telegram: https://t.me/melroyvandenberg if you want |
Well, if you take a look at wrapper script, it becomes apparent that it just calls It's been a while since I did that, but the idea is as follows:
|
@Danger89 FYI - I'm currently working on this. I've managed to make glib build use meson wrapper. Are you still interested in this project? |
Yes. I'm definitely still interested in this project. I really want to upgrade MXE to the latest GTK version. Thank you for helping me out here!! Edit: I also added the gobject introspection project to a new |
I'm trying to build atk for
Do you have any idea what could the issue be? |
Well, I can remember I had the same crash in the past as well also during linking of atk. But no, I don't know why or how this happens. Could this be a bug in |
This doesn't seem like missing library (that shouldn't segfault, at least). Before my last commit, patched binutils 2.36.1 was used, so I've updated to binutils 2.37 in hopes that would solve the issue. It indeed seems like a bug in binutils to me. I'll try and see if this happens with older (e.g. standard GCC 5.5.0) GCC as well. Also, there doesn't seem to be a single thing called "gobject-introspection"? I'm currently looking into it. |
And it happen with GCC 5.5.0 too. I'm not sure how to progress further with this error. |
Actually, looking at log, I think I see what the issue is:
It calls gobject-introspection scanner on host, which likely calls host |
Yes, essentially confirmed that to be the case. Passing Now, before adding gobject-introspection into build, we need to figure out how to make its tools work with MXE build (since wine is not an option, this might get tricky). |
Looking at https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/344, they probably require wine here:
As such, I propose passing |
Note: I'm currently trying try make gtk3 itself compile! Version 3.24.30 has a bug (it tries to include |
That sounds great! Hopefully everything compiles without any errrors. Note: I was also updating already some C++ bindings, since my GTK app is actually written in C++ :). |
|
We're compiling for windows. There's no wayland on windows. |
uh yeah.. that's is right... uh... what is my name again? |
Please try making shared build with my latest commit. Static builds are broken due to issues in libraries (they need patches), but dynamic ones might already work. |
Let me try.. |
Owow.
|
Should be fixed now. |
This is strange, manually executing Also it's strange it says it needs to look for "a fallback subproject for the dependency fribidi". Are we missing a explicit dependency? |
ah never mind. :) Let me try again. |
Git clone fails because MXE injects library that prevents build scripts from using network (by design). I've fixed this now. |
ow nooo.
|
And indeed. I'm missing the Edit: I do not think we need to call this command during a cross-compile.. |
We probably need to exclude that installation step somehow, since it's updating some icons for example program. I'll look into it. |
yeah indeed, this only make sense if you are actually native building GTK at the very least. |
@v1993 Hi! I hope you're doing well. Any change if you can finish the work (regarding libsoup)? So we can create the PR to the official MXE project? @mabrand Due to the latest harfbuzz update in the upstream, gtk will not build anymore. And the latest gtk3 release is also not building (read my comment above). It should all be fixed in the latest upcoming GTK3 release. I do not like to create path files for that now, since I fixed that already upstream in GTK3. @matthiasclasen I really hope GTK3 will create a new release, so we just can successfully cross-buld again (in the current latest releases that is broken). |
Preparing for new GTK3 release of gtk-3-24 branch. Currently testing using: |
@v1993 Hi :) You want to take a last look at libsoup? I expect gtk3 release this week, so I expect to create a MXE PR anytime soon now 👍🏽 |
Sorry, I'm quite busy with other stuff right now. If something crops up - feel free to ping me, I'll try to answer, but don't expect me to be able to contribute anything major for now. |
OK Sure no problem. GTK just released the new GTK version (v3.24.32) where various upstream build issues are solved. I think it's a big milestone for all of us. 🥳 At least your effort has not been wasted. |
|
PR Created: mxe#2788 |
1f7567e
to
e1e5712
Compare
Signed-off-by: Melroy van den Berg <[email protected]>
Signed-off-by: Melroy van den Berg <[email protected]>
This was a concept pr. This branch is merged upstream. Closing now. @v1993 again thanks for your time. Hopefully we will speak again some day. |
Updating the whole GTK3 & Gtkmm3 stack. Including all dependencies. Static & shared builds.
Must:
glib-compile-schemas
Out-of-scope: