Today I managed to get mingw-git compiled under msys2.
So if some of you might want to have a try too, here is what I did:
- Grab and extract
http://sourceforge.net/projects/msys2/files/Base/i686/msys2-base-i686-20140216.tar.xz/download
- Clone
https://github.com/Alexpux/MSYS2-packages,
https://github.com/Alexpux/MINGW-packages and
https://github.com/sschuberth/git.git into a subfolder of the extracted
msys2 folder
- Start msys2_shell.bat, wait, close it, start and close it again
- Start mingw32_shell.bat
- Do some pacman magic (thanks to alexpu for the hints):
###
pacman -Sy
pacman -Su —ignoregroup base
pacman -Su
pacman -S base-devel
###
- Install other packages (that list is from what I remember, the exact
list of installed packages are attached)
###
pacman -S gcc mingw-w64-i686-gcc asciidoc xmlto perl python openssh
###
- Compile and install curl and zlib for mingw
cd MINGW-packages/mingw*curl && makepkg-mingw && pacman -U *tar.xz
cd MINGW-packages/mingw*zlib && makepkg-mingw && pacman -U *tar.xz
- Adapt your HOME path in /etc/passwd
- Change to /git
- patch -p1 <../git-msys2.patch
- touch ../THIS_IS_MSYSGIT
- make all doc
- cd t
- export PATH=/mingw32/bin:/usr/local/bin:/usr/bin:/bin (not sure here!?)
- prove -j 8 t[0-9]*.sh | tee ../../testlog
My git patch was done to get it compiled nothing more fancy ;)
The tests execution does halt at t7610-mergetool.sh.
I was not able to clone a remote repository with that git so there still
stuff to do.
Msys2 feels quite usable, especially
- pacman is much nicer than mingw-get
- man <cmd> works
- mintty is the default terminal emulator
- nearly all packages we need are already there
Have phun
Thomas