wine: gecko 2.47.1 -> 2.47.2
Wine uses gecko 2.47.2 since wine commit 70567d9f2d32fa3f052609051e9913344f24c42a, which is wine versions 6.0 up through current (6.9) Add a test verifying that the "Can't find Gecko" error message does not appear. A positive test of HTML rendering would be better (eg: would be robust against changes in the error message string), but this test is easy to set up & much better than nothing.
This commit is contained in:
parent
a9eecaff54
commit
e83531aa22
|
@ -25,9 +25,12 @@ let
|
||||||
machine.wait_for_unit("multi-user.target")
|
machine.wait_for_unit("multi-user.target")
|
||||||
${concatMapStrings (exe: ''
|
${concatMapStrings (exe: ''
|
||||||
greeting = machine.succeed(
|
greeting = machine.succeed(
|
||||||
'wine ${exe}'
|
"bash -c 'wine ${exe} 2> >(tee wine-stderr >&2)'"
|
||||||
)
|
)
|
||||||
assert 'Hello, world!' in greeting
|
assert 'Hello, world!' in greeting
|
||||||
|
machine.fail(
|
||||||
|
"fgrep 'Could not find Wine Gecko. HTML rendering will be disabled.' wine-stderr"
|
||||||
|
)
|
||||||
'') exes}
|
'') exes}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,14 +19,14 @@ in rec {
|
||||||
|
|
||||||
## see http://wiki.winehq.org/Gecko
|
## see http://wiki.winehq.org/Gecko
|
||||||
gecko32 = fetchurl rec {
|
gecko32 = fetchurl rec {
|
||||||
version = "2.47.1";
|
version = "2.47.2";
|
||||||
url = "https://dl.winehq.org/wine/wine-gecko/${version}/wine-gecko-${version}-x86.msi";
|
url = "https://dl.winehq.org/wine/wine-gecko/${version}/wine-gecko-${version}-x86.msi";
|
||||||
sha256 = "0ld03pjm65xkpgqkvfsmk6h9krjsqbgxw4b8rvl2fj20j8l0w2zh";
|
sha256 = "07d6nrk2g0614kvwdjym1wq21d2bwy3pscwikk80qhnd6rrww875";
|
||||||
};
|
};
|
||||||
gecko64 = fetchurl rec {
|
gecko64 = fetchurl rec {
|
||||||
version = "2.47.1";
|
version = "2.47.2";
|
||||||
url = "https://dl.winehq.org/wine/wine-gecko/${version}/wine-gecko-${version}-x86_64.msi";
|
url = "https://dl.winehq.org/wine/wine-gecko/${version}/wine-gecko-${version}-x86_64.msi";
|
||||||
sha256 = "0jj7azmpy07319238g52a8m4nkdwj9g010i355ykxnl8m5wjwcb9";
|
sha256 = "0iffhvdawc499nbn4k99k33cr7g8sdfcvq8k3z1g6gw24h87d5h5";
|
||||||
};
|
};
|
||||||
|
|
||||||
## see http://wiki.winehq.org/Mono
|
## see http://wiki.winehq.org/Mono
|
||||||
|
|
Loading…
Reference in a new issue