Windows Installer Build Scripts
We use msys2 for creating the Windows installer and development on Windows.
This is an adaptation of QuodLibet's own installer <https://github.com/quodlibet/quodlibet/tree/master/win_installer> which is Copyright 2016 Christoph Reiter.
For developing on Windows you have two choices.
- Just use an existing gPodder installation plus a git checkout:
- Clone the git repo with some git client
- Download and install the latest installer build: https://github.com/gpodder/gpodder/releases
- Go to the git checkout and run
- Use proper msys2 environment
Setting Up the MSYS2 Environment
- Download msys2 64-bit from https://msys2.github.io/
- Follow instructions on https://msys2.github.io/
pacman -S gitto install git
git clone https://github.com/gpodder/gpodder.git
cd gpodder/tools/win_installerto end up where this README exists.
./bootstrap.shto install all the needed dependencies.
- Now go to the application source code
- To run gPodder execute
If you want to use py.test directly you have to unset the MSYSTEM env var:
MSYSTEM= py.test tests/test_util.py
Creating an Installer
./build.sh [git-tag] and both the installer and the portable
installer should appear in this directory.
You can pass a git tag
./build.sh release-3.8.0 to build a specific tag or
pass nothing to build master. Note that it will clone from this repository and
not from github so any commits present locally will be cloned as well.
Updating an Existing Installer
We directly follow msys2 upstream so building the installer two weeks later might result in newer versions of dependencies being used. To reduce the risk of stable release breakage you can use an existing installer and just install a newer gPodder version into it and then repack it.
./rebuild.sh gpodder-3.10.2-installer.exe [git-tag]