gnucash-on-windows master: Bug 797253 - perl dependency not available in setup-mingw64.ps1, ...

John Ralls jralls at code.gnucash.org
Sat May 25 16:10:48 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/7efabac8 (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/f61aafdd (commit)



commit 7efabac8dcf9af9fbc29a4e544b68a8d0f55bd40
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat May 25 13:04:48 2019 -0700

    Bug 797253 - perl dependency not available in setup-mingw64.ps1,...
    
    causes build error.
    
    Move installing the rest of MinGW and the toolchain to before the
    direct-deps installation.

diff --git a/setup-mingw64.ps1 b/setup-mingw64.ps1
index e61916f..512004d 100644
--- a/setup-mingw64.ps1
+++ b/setup-mingw64.ps1
@@ -217,6 +217,12 @@ $toolchain = "binutils cmake crt-git gcc gcc-libs gdb headers-git libmangle-git
 
 $clang_toolchain = "clang libc++ libc++abi lld libunwind clang-tools-extra compiler-rt"
 
+# Install the system and toolchain:
+$msys_devel = make-pkgnames -prefix "msys/" -items $devel
+bash-command -command "pacman -S $msys_devel --noconfirm --needed"
+$mingw_toolchain = make-pkgnames -prefix $mingw_prefix -items $toolchain
+bash-command -command "pacman -S $mingw_toolchain --noconfirm --needed"
+
 # webkitgtk3 was removed from the pacman database but the package is still available via direct url
 # so we install it from that url directly.
 # Note webkitgtk3 depends on icu. Icu updates require dependent packages to be rebuilt to work with the new version.
@@ -251,12 +257,7 @@ Write-Host @"
 Now we'll install the dependencies. Accept the installation as usual. About half-way through it will stop with a message about fontconfig. Just type "Return" at it and it will resume after a minute or two (be patient!) and complete the installation.
 "@
 
-$msys_devel = make-pkgnames -prefix "msys/" -items $devel
-$mingw_toolchain = make-pkgnames -prefix $mingw_prefix -items $toolchain
 $mingw_deps = make-pkgnames -prefix $mingw_prefix -items $deps
-
-bash-command -command "pacman -S $msys_devel --noconfirm --needed"
-bash-command -command "pacman -S $mingw_toolchain --noconfirm --needed"
 bash-command -command "pacman -S $mingw_deps --noconfirm --needed"
 
 $target_unix = make-unixpath $target_dir



Summary of changes:
 setup-mingw64.ps1 | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)



More information about the gnucash-changes mailing list