Skip to content
These are the mingw-get package description files for the MSYS1-based SDK.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mingw32-7z
mingw32-curl
mingw32-git
mingw32-gnupg
mingw32-ntldd
mingw32-openssl
mingw32-pcre
mingw32-unzip
mingw32-winpty
msys-asciidoc
msys-core
msys-docbook
msys-getopt
msys-grep
msys-gzip
msys-libffi
msys-libxml2
msys-libxslt
msys-lndir
msys-openssh
msys-openssl
msys-pcre
msys-python
msys-xmlto
.gitattributes
.gitignore
README.md
config.template
find-deps.sh
git-win-sdk-package-list.xml.lzma
install-local.sh
mingw32-7z.xml.lzma
mingw32-curl.xml.lzma
mingw32-git.xml.lzma
mingw32-gnupg.xml.lzma
mingw32-ntldd.xml.lzma
mingw32-openssl.xml.lzma
mingw32-pcre.xml.lzma
mingw32-unzip.xml.lzma
mingw32-winpty.xml.lzma
msys-asciidoc.xml.lzma
msys-core.xml.lzma
msys-docbook.xml.lzma
msys-getopt.xml.lzma
msys-grep.xml.lzma
msys-gzip.xml.lzma
msys-libffi.xml.lzma
msys-libxml2.xml.lzma
msys-libxslt.xml.lzma
msys-lndir.xml.lzma
msys-openssh.xml.lzma
msys-openssl.xml.lzma
msys-pcre.xml.lzma
msys-python.xml.lzma
msys-xmlto.xml.lzma
pre-commit.template

README.md

Introduction

These are the MinGW / MSYS packages for the Git for Windows SDK.

Git configuration

LZMA (de-)compression

For convenience, the *.xml.lzma files are supposed to be (de-)compressed on-the-fly when checked out / in. To make this work you have to add the following diff and smudge / clean filters to your Git config file:

[diff "lzma"]
	textconv = lzma -d -c -qq | cat
[filter "lzma"]
	clean = lzma -z
	smudge = lzma -d
	required

If you let the SDK installer clone the packages repository this is already done for you. Otherwise you may want to use the config.template file.

Updating the issue date

Install the pre-commit hook from pre-commit.template to get the issue date for package files automatically updated if you commit changes to such files.

Getting involved

Creating mingw-get packages

If you want to create a new package for use with mingw-get the following steps are necessary:

  • Create an mgwport / msysport "build recipe" file that downloads the source code, applies optional patches, builds the binaries, and packages them to archives. Just like MSYS started out as a fork of Cygwin, mgwport is a fork of the Cygwin Port project's cygport tool and thus uses (almost) the same syntax. However, as there seems to be very little documentation about either syntax available and mgwport / cygport are heavily inspired by Gentoo's Portage, the best resource I could possibly find is the Gentoo Development Guide's section about Ebuild Writing, in particular the Variables article. (See the mgwport file for mingw32-openssl as an example.)
  • If you need help with the actual build flags to use for a particular package good places to look at are (in no particular order):
  • Actually build the packages using the mgwport tool. Use the Git Development Environment shortcut for building *.mgwport files and the Git Development Environment (MSYS Mode) shortcut for building *.msysport files.
  • Create an xml catalogue / package description file which lists meta-information and dependencies. This is the hardest part as there seems to be no documentation of the format available at all (and cygport does not have this type of file). So probably the best thing you can do is to derive the syntax from the existing catalogue files. (See the catalogue file for mingw32-openssl as an example.)
  • Add the package catalogue's file name to the master package catalogue file.
  • Upload the package archives to the web server location that is listed as download-host uri in its catalogue file. (Contact one of the project owners to get your package hosted as part of our Bintray organization.)
  • Create a pull request for the new catalogue file and updated master catalogue file.

Getting in contact

We now have a mailing list for developers.

You can’t perform that action at this time.