Il Fri, 19 Jun 2015 10:04:43 +0100 Emmanuele Bassi <ebassi@xxxxxxxxx> scrisse: > > https://bugzilla.gnome.org/show_bug.cgi?id=658126#c25 > > > > I also have an installer with Lua bindings (based on gi) that > > seems to work, at least on wine. The approach is far from straight > > but I was honestly expecting much more feedback though. > > Sadly, it's a niche of a niche. > > Since you have commits on a GitHub branch, care to attach them to > Bugzilla, so at least they don't get lost and somebody can review > them? That would already help. Ok, done. > Using Wine to cross-compile is not a huge stretch; > https://bugzilla.gnome.org/show_bug.cgi?id=696773 is a bug about using > qemu to cross-compile on ARM. I guess we could find a way to make it > easier to spawn an environment that builds the introspection data, and > solve both issues. Yes, I gathered from Bugzilla all the info I found before starting, also because I did not want to start in the first place. In the bug I attached a patch to use an external launcher via enviornmental variables, similar to what done for ARM with qemu. The tricky part is to get a wine wrapper that is *not* interactive... something not obvious but possible: https://github.com/ntd/aur-fedora-mingw/blob/master/afm-mingw-w64-gobject-introspection/winewrapper If relevant I can attach to the bug report that wrapper too. > There are other issues about portability, though, especially related > to per-platform constants and functions; the introspection scanner > will currently drop re-defined symbols — see bug: > https://bugzilla.gnome.org/show_bug.cgi?id=696935 Cross-building from Linux makes use of / as directory separator, so I did not meet that problem. In my first (failed) attempt to build everything for the host I had directory separator problems though, as witnessed by some of the patches I submitted. > > AFAIK Fedora already has something similar for their fedora-mingw > > port. Are you aware of that or am I missing something? > > I'm well aware of the Fedora packages — I use them myself when I need > to test cross-compilation of other projects. What I'm asking is > creating a CI environment with them that picks up changes from the Git > repository and builds GTK with the Windows backend enabled. Ah ok, I assumed Fedora was already owning such build system. Ciao. -- Nicola _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list