After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694433 - Add support to build introspection files for Visual Studio builds
Add support to build introspection files for Visual Studio builds
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Windows
: Normal enhancement
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-22 11:04 UTC by Fan, Chun-wei
Modified: 2016-06-22 03:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Windows .bat for building the introspection files (19.21 KB, patch)
2013-02-22 11:07 UTC, Fan, Chun-wei
none Details | Review
Integrate the utility projects in the main Visual Studio solutions (3.41 KB, patch)
2013-02-26 08:48 UTC, Fan, Chun-wei
none Details | Review

Description Fan, Chun-wei 2013-02-22 11:04:21 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...
Comment 1 Fan, Chun-wei 2013-02-22 11:07:35 UTC
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.
Comment 2 Fan, Chun-wei 2013-02-26 08:48:20 UTC
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!
Comment 3 Bastien Nocera 2014-10-23 14:22:22 UTC
Wouldn't it be possible to ship this utility in gobject-introspection itself?
Comment 4 Fan, Chun-wei 2016-06-22 03:18:28 UTC
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!