wine: match bundled mono with the version expected by stable
Expected versions of Mono and Gecko are hardwired into the Wine source code:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/appwiz.cpl/addons.c
If these exact versions are not found by the initialization process
(e.g. wineboot), the process will fail. This failure takes several
minutes on headless systems (e.g. Travis CI):
https://travis-ci.org/vszakats/harbour-core/builds/296594856#L2117-L2122
Matching addon versions for current wine 2.0.3 can be looked up here:
https://source.winehq.org/git/wine.git/blob/refs/tags/wine-2.0.3:/dlls/appwiz.cpl/addons.c
Regression from: 15952a9c93
* Also extend comment to make sure that the hardwired addon versions are
matched with the bundled (Mono and Gecko) resources.
* Also bump OpenSSL to its latest revision
Closes #20232.
Signed-off-by: Viktor Szakats <vszakats@users.noreply.github.com>
This commit is contained in:
parent
452c5080a5
commit
93f9c158d1
1 changed files with 27 additions and 11 deletions
|
@ -1,11 +1,13 @@
|
||||||
# NOTE: When updating Wine, please check Wine-Gecko and Wine-Mono for updates
|
# NOTE: When updating Wine, please make sure to match Wine-Gecko and Wine-Mono
|
||||||
# too:
|
# versions:
|
||||||
# - https://wiki.winehq.org/Gecko
|
# - https://wiki.winehq.org/Gecko
|
||||||
# - https://wiki.winehq.org/Mono
|
# - https://wiki.winehq.org/Mono
|
||||||
|
# with `GECKO_VERSION` and `MONO_VERSION`, as in:
|
||||||
|
# https://source.winehq.org/git/wine.git/blob/refs/tags/wine-2.0.3:/dlls/appwiz.cpl/addons.c
|
||||||
class Wine < Formula
|
class Wine < Formula
|
||||||
desc "Run Windows applications without a copy of Microsoft Windows"
|
desc "Run Windows applications without a copy of Microsoft Windows"
|
||||||
homepage "https://www.winehq.org/"
|
homepage "https://www.winehq.org/"
|
||||||
head "https://source.winehq.org/git/wine.git"
|
revision 1
|
||||||
|
|
||||||
stable do
|
stable do
|
||||||
url "https://dl.winehq.org/wine/source/2.0/wine-2.0.3.tar.xz"
|
url "https://dl.winehq.org/wine/source/2.0/wine-2.0.3.tar.xz"
|
||||||
|
@ -25,6 +27,11 @@ class Wine < Formula
|
||||||
url "https://bugs.winehq.org/attachment.cgi?id=55968"
|
url "https://bugs.winehq.org/attachment.cgi?id=55968"
|
||||||
sha256 "1b5086798ce6dc959b3cbb8f343ee236ae06c7910e4bbae7d9fde3f162f03a79"
|
sha256 "1b5086798ce6dc959b3cbb8f343ee236ae06c7910e4bbae7d9fde3f162f03a79"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
resource "mono" do
|
||||||
|
url "https://dl.winehq.org/wine/wine-mono/4.6.4/wine-mono-4.6.4.msi", :using => :nounzip
|
||||||
|
sha256 "91b7d58177b9a9355edf007dab94535471aebdddae12734ceb4a219d2ecc4152"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
|
@ -44,6 +51,20 @@ class Wine < Formula
|
||||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/74c2566/wine/2.14.patch"
|
url "https://raw.githubusercontent.com/Homebrew/formula-patches/74c2566/wine/2.14.patch"
|
||||||
sha256 "6907471d18996ada60cc0cbc8462a1698e90720c0882846dfbfb163e5d3899b8"
|
sha256 "6907471d18996ada60cc0cbc8462a1698e90720c0882846dfbfb163e5d3899b8"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
resource "mono" do
|
||||||
|
url "https://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi", :using => :nounzip
|
||||||
|
sha256 "2c8d5db7f833c3413b2519991f5af1f433d59a927564ec6f38a3f1f8b2c629aa"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
head do
|
||||||
|
url "https://source.winehq.org/git/wine.git"
|
||||||
|
|
||||||
|
resource "mono" do
|
||||||
|
url "https://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi", :using => :nounzip
|
||||||
|
sha256 "2c8d5db7f833c3413b2519991f5af1f433d59a927564ec6f38a3f1f8b2c629aa"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if MacOS.version >= :el_capitan
|
if MacOS.version >= :el_capitan
|
||||||
|
@ -68,15 +89,10 @@ class Wine < Formula
|
||||||
sha256 "c565ea25e50ea953937d4ab01299e4306da4a556946327d253ea9b28357e4a7d"
|
sha256 "c565ea25e50ea953937d4ab01299e4306da4a556946327d253ea9b28357e4a7d"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "mono" do
|
|
||||||
url "https://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi", :using => :nounzip
|
|
||||||
sha256 "2c8d5db7f833c3413b2519991f5af1f433d59a927564ec6f38a3f1f8b2c629aa"
|
|
||||||
end
|
|
||||||
|
|
||||||
resource "openssl" do
|
resource "openssl" do
|
||||||
url "https://www.openssl.org/source/openssl-1.0.2l.tar.gz"
|
url "https://www.openssl.org/source/openssl-1.0.2m.tar.gz"
|
||||||
mirror "https://dl.bintray.com/homebrew/mirror/openssl-1.0.2l.tar.gz"
|
mirror "https://dl.bintray.com/homebrew/mirror/openssl-1.0.2m.tar.gz"
|
||||||
sha256 "ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c"
|
sha256 "8c6ff15ec6b319b50788f42c7abc2890c08ba5a1cdcd3810eb9092deada37b0f"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "libtool" do
|
resource "libtool" do
|
||||||
|
|
Loading…
Reference in a new issue