Use on-the-fly LZMA (de-)compression for *.xml.lzma files

This way we can serve the compressed package description files directly
from the Git repository via GitHub's web interface but still edit the
plain text XML files in the working tree.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
install-local: Make configurable and limit depth-search

Only look for mgwport packages in the direct subfolders, otherwise
we also install the packages in the mgwport folder dist twice.

Use command line arguments to specify the source paths.

Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
Merge pull request #1 from t-b/enhance-install-local

Make configurable and limit depth-search
mingw32-git: Use the same prefixes at compile time as at install time

Git tracks changes to path prefixes (see TRACK_PREFIX in its Makefile)
and re-compiles several files at install time if a tracked prefix has
changed since compile time. Avoid this by setting all tracked prefixes at
compile time to their exact install time values. The only tracked prefix
that we did not set is "bindir", so set it to the value as specified in
src_install.mgwpart inside the mgwinstall() function.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-git: Set the correct sysconfdir (for "git config --system")

sysconfdir is not one of the prefixes tracked by Git's Makefile so we can
freely change it at compile time and not care about install time.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-git: Install a default system-wide gitconfig

This has http.sslCAInfo set as required by cURL if built with OpenSSL
instead of WinSSL support.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-git: Do not use make_etc_defaults yet as postinstall is unimplemented

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-curl: Update to version 7.31.0 that includes the winssl patch

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-curl: Switch to OpenSSL and install ca-bundle.crt

The winssl version has trouble when trying to clone from an internal
network machine when the proxy access is unavailable due to checking for
certificate revocation.

This now is in line with msysgit, see

    https://github.com/msysgit/msysgit/commit/3a9151cddd239aab12436ec42b042720c1340f33

Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-git: Fix the default http.sslCAInfo path

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
readme: Note that cloning via the installer will automatically set the filters

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-git: Use mingw-get post-install actions defined as Lua in the XML

Use the Lua-based post-install actions as provided by mingw-get instead of
the shell-based approach that mgwport is supposed to provide (but that does
not work yet).

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
readme: Update the diff filter configuration to work with any commits

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Add the mingw32-winpty package

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
readme: Add an introduction linking to mingwGitDevEnv

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Revert "mingw32-git: Set the correct sysconfdir (for "git config --system")"

This reverts commit bd5dcc5. Do not set sysconfdir manually at all to
avoid an absolute path being hard-coded into the git executable. Instead,
let git figure out the relative location at runtime.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-git: Get rid of the last hard-coded compile-time path

Use the DESTDIR approach for installing to get rid of all references to
the compile-time install path and the fragile prefix variable stuff.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
mingw32-git: Set USE_DESTDIR in a separate line like in the tcl/tk mgwport

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Add the msys-core package

This is a plain conversion of msysrlsbld.ini which comes as part of
msysCORE-1.0.18-1-msys-1.0.18-src.tar.lzma with the only exception that
the debug files are neither built nor packaged.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
msys-core: Apply patches from the msysgit project

These are the patches from

    https://github.com/msysgit/msysgit/tree/msys/src/rt/patches

with minor modifications so that they still apply. Note that

    0010-quote-paths-for-non-msys-programs-that-contain-wildc.patch

has been deleted as it has been applied upstream and

    0012-bash-Don-t-load-user32.dll-for-every-shell-process.patch

was removed because it patches bash, not the msys runtime.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>