Windows: Downgrade to Gtk 3.24.1

This commit is contained in:
Philipp Hörist 2019-01-07 20:49:37 +01:00
parent b2cc2147c3
commit 60b3a1d02e
1 changed files with 13 additions and 6 deletions

View File

@ -69,13 +69,20 @@ function create_root {
build_pacman --noconfirm -S base build_pacman --noconfirm -S base
} }
function install_deps { function download_install_dep () {
# Downgrade GLIB, resolver is broken on Windows 7 curl -o "${BUILD_ROOT}"/mingw-w64-"${ARCH}"-"$1"-any.pkg.tar.xz \
curl -o "${BUILD_ROOT}"/mingw-w64-"${ARCH}"-glib2-2.56.2-1-any.pkg.tar.xz \ http://repo.msys2.org/mingw/"${ARCH}"/mingw-w64-"${ARCH}"-"$1"-any.pkg.tar.xz
https://gajim.org/downloads/snap/win/build/mingw-w64-"${ARCH}"-glib2-2.56.2-1-any.pkg.tar.xz build_pacman --noconfirm -U "${BUILD_ROOT}"/mingw-w64-"${ARCH}"-"$1"-any.pkg.tar.xz
build_pacman --noconfirm -U "${BUILD_ROOT}"/mingw-w64-"${ARCH}"-glib2-2.56.2-1-any.pkg.tar.xz }
build_pacman --noconfirm -S mingw-w64-"${ARCH}"-gtk3 mingw-w64-"${ARCH}"-"${PYTHON_ID}" \ function install_deps {
# Downgrade GLIB, resolver is broken on Windows 7
download_install_dep glib2-2.56.2-1
# Downgrade Gtk, Gtk 24.2 has broken keyboard layout change
download_install_dep gtk3-3.24.1-1
build_pacman --noconfirm -S mingw-w64-"${ARCH}"-"${PYTHON_ID}" \
mingw-w64-"${ARCH}"-"${PYTHON_ID}"-gobject \ mingw-w64-"${ARCH}"-"${PYTHON_ID}"-gobject \
mingw-w64-"${ARCH}"-"${PYTHON_ID}"-pip \ mingw-w64-"${ARCH}"-"${PYTHON_ID}"-pip \
mingw-w64-"${ARCH}"-adwaita-icon-theme \ mingw-w64-"${ARCH}"-adwaita-icon-theme \