GNOME Bugzilla – Bug 694433
Add support to build introspection files for Visual Studio builds
Last modified: 2016-06-22 03:18:28 UTC
Hi, Since we are able to build and use GObject-Introspection (g-i) on Windows with at least the Visual C++ builds, I thought it might be a good idea to add ability to build the introspection files for GDK-Pixbuf. Since it is already possible to build the GLib introspection files without a BASH-like shell (such as MSYS) during the build of g-i, I have came up with a Windows .bat script to do the job for the Visual Studio builds of GDK-Pixbuf. I will enclose my patches in two parts...
Created attachment 237166 [details] [review] Windows .bat for building the introspection files The first patchset is to provide a Windows .bat along with a Python script to: -Read the autotools files to create the filelist of the sources/headers that giscanner will consume during the build process of the introspection files -Run giscanner with the necessary flags to build the .gir file for GDK-Pixbuf -Compile the .gir file into the .typelib file for GDK-Pixbuf.
Created attachment 237411 [details] [review] Integrate the utility projects in the main Visual Studio solutions The second patchset is to integrate the utility projects to build the introspection files into the main Visual Studio solutions. With blessings, thank you!
Wouldn't it be possible to ship this utility in gobject-introspection itself?
Hi, Closing this bug as introspection for the package is now done in an improved method, which actually has Bastien's suggestions incorporated. With blessings, thank you!