Building a Windows Mercurial installer under Linux
Matt Mackall
mpm at selenic.com
Thu Feb 26 02:52:08 CST 2009
Just as an experiment, working from
http://www.selenic.com/mercurial/wiki/index.cgi/BuildingWindowsInstaller
I made the attached shell script, which
- sets up a completely pristine workspace for Wine
- downloads all the components needed for building hg into it
- unpacks and installs them (mostly hands-free)
- grabs a tarball of latest copy of hg
- switches into Wine
- builds hg's extensions
- uses hg to properly pull its own history
- runs py2exe (missing some DLLs)
- runs innosetup (can't find all components yet, have to comment out
icon line)
..but I've successfully built an installer exe.
Needs:
- basic Wine install
- wget
- unzip
With a little work, this might be completely automated, and might also
be able to run the test suite. It's already enough to get a basic
sandbox for testing hg under Windows. It also serves as more precise
documentation of what it actually takes to do a Windows build.
--
http://selenic.com : development and support for Mercurial and Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build
Type: application/x-shellscript
Size: 1337 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090226/54521771/attachment.bin
More information about the Mercurial-devel
mailing list