Hi; On 19 June 2015 at 09:19, Nicola Fontana <ntd@xxxxxxxxx> wrote: > Il Fri, 19 Jun 2015 00:24:31 +0100 Emmanuele Bassi <ebassi@xxxxxxxxx> scrisse: > >> as Daniel pointed out, >> cross-compiling the introspection data is currently not possible > > Hi Emmanuele, > > with the current code base it is not possible but I managed to > crossbuild gobject-introspection months ago with only few > adjustments: > > 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. 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. 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 > My main problem is I am on that code only when I need it, i.e. > a fistful of times per year. I cannot be of much help here. > >> So, let's try and get to something actionable. Can somebody try and >> set up a CI for GTK that either cross-compiles GTK or compiles it >> natively? > > 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. Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list