In this page we're going to gather as much information as we can on the effort of making the Gtk+ Windows building, packaging and developing more pleasant.

Goals

These goals are ordered by priority:

Tasks

Task

Status

People working on it

Comments

Add support for WiX assemblies to buildows

Try to get WiX working with Wine and Mono/Win32

Research

jdahlin

Fixed, #11411, #11414. Pending #11479

launchpad.net branch ||

Make buildows work with standard jhbuild

Pending

asabil

Cross compiling GLib for WinCE

Research

PhilipVanHoof

http://cegcc.sourceforge.net/

Tools

Packaging

Bug triaging

External Links

Blog posts

Bugs

Buildows additional information

Buildows first runs jhbuild on the provided modules and later runs wixer.wixit on the baked elements for the wixets dir

The jhbuild version that buildows is based on has been lightly patched. The mofified files are (probably) just jhbuild/config.py, jhbuild/modtypes/tarball.py and jhbuild/modtypes/autotools.py (grep -Ri bundle * can help finding the modified files).

These modification are used to get the desired layout for the built files (using $DESTDIR/$PREFIX/), as a sort of make install replacement (done tweaking the $DESTDIR var), and are inserted in the do_install method of those files (tarball.py and autotools.py). The change in config.py just adds a new destdir var.

Current versions of jhbuild seem to be using makeinstallargs and that could be used to pass the desired $DESTDIR (see jhbuild/modtypes/autotools.py). It would be needed to find the way to add that makeinstallargs for the 'baked' elements.

Cracktastic Ideas

Perhaps a new module type called installer could be created. Hooks could then be added before and after make, where http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/215418 code like this calculates the new files. When jhbuild evaluates the installer (which may depend on multiple modules) it gets passed the instace of this file monitor, and is able to look at all the new files, and the location they were installed to. This information could then be sufficient to transform into the wix/nsis format for listing the files included in the installer. This would make the process for creating unified installers the same as the process for creating installers for single packakes

GTK+/Win32 (last edited 2008-02-28 17:42:03 by AlbertoRuiz)