wine64Packages: 8.17 -> 8.20

https://www.winehq.org/announce/8.18
https://www.winehq.org/announce/8.19
https://www.winehq.org/announce/8.20

+29 -15
+1
pkgs/applications/emulators/wine/base.nix
··· 109 109 # uses property syntax in one place. The first patch is necessary only with older 110 110 # versions of Wine. The second is needed on all versions of Wine. 111 111 (lib.optional (lib.versionOlder version "8.12") ./darwin-metal-compat-pre8.12.patch) 112 + (lib.optional (lib.versionOlder version "8.18") ./darwin-metal-compat-pre8.19.patch) 112 113 ./darwin-metal-compat.patch 113 114 # Wine requires `qos.h`, which is not included by default on the 10.12 SDK in nixpkgs. 114 115 ./darwin-qos.patch
+12
pkgs/applications/emulators/wine/darwin-metal-compat-pre8.18.patch
··· 1 + diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m 2 + --- a/dlls/winemac.drv/cocoa_display.m 3 + +++ b/dlls/winemac.drv/cocoa_display.m 4 + @@ -354,7 +354,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp 5 + 6 + device = [CGDirectDisplayCopyCurrentMetalDevice(display_id) autorelease]; 7 + if (device && [device respondsToSelector:@selector(registryID)]) 8 + - ret = macdrv_get_gpu_info_from_registry_id(gpu, device.registryID); 9 + + ret = macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]); 10 + 11 + done: 12 + [pool release];
+7 -6
pkgs/applications/emulators/wine/darwin-metal-compat.patch
··· 1 1 diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m 2 + index fbbe16efcbf..2db375ff3d5 100644 2 3 --- a/dlls/winemac.drv/cocoa_display.m 3 4 +++ b/dlls/winemac.drv/cocoa_display.m 4 - @@ -354,7 +354,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp 5 + @@ -387,7 +387,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp 5 6 6 7 device = [CGDirectDisplayCopyCurrentMetalDevice(display_id) autorelease]; 7 8 if (device && [device respondsToSelector:@selector(registryID)]) 8 - - ret = macdrv_get_gpu_info_from_registry_id(gpu, device.registryID); 9 - + ret = macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]); 10 - 11 - done: 12 - [pool release]; 9 + - return macdrv_get_gpu_info_from_registry_id(gpu, device.registryID); 10 + + return macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]); 11 + else 12 + return -1; 13 + }
+9 -9
pkgs/applications/emulators/wine/sources.nix
··· 69 69 70 70 unstable = fetchurl rec { 71 71 # NOTE: Don't forget to change the hash for staging as well. 72 - version = "8.17"; 72 + version = "8.20"; 73 73 url = "https://dl.winehq.org/wine/source/8.x/wine-${version}.tar.xz"; 74 - hash = "sha256-8BeFvTFix05l3rE6oK3XEeN8SERUcZvt0OjCsaNGm34="; 74 + hash = "sha256-SNa3a9ZDBaICBX+8GdkiwfSWJfbRqYJZJ8ChhXJzmYI="; 75 75 inherit (stable) patches; 76 76 77 77 ## see http://wiki.winehq.org/Gecko ··· 88 88 89 89 ## see http://wiki.winehq.org/Mono 90 90 mono = fetchurl rec { 91 - version = "8.0.0"; 91 + version = "8.1.0"; 92 92 url = "https://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}-x86.msi"; 93 - hash = "sha256-dbP0XcodyJhX/p6TLaeHEPZMxtSe8asMcjoXcIW0cRs="; 93 + hash = "sha256-DtPsUzrvebLzEhVZMc97EIAAmsDFtMK8/rZ4rJSOCBA="; 94 94 }; 95 95 96 96 updateScript = writeShellScript "update-wine-unstable" '' ··· 116 116 117 117 staging = fetchFromGitHub rec { 118 118 # https://github.com/wine-staging/wine-staging/releases 119 - version = "8.17.1"; 120 - hash = "sha256-h36NDFYsI0y8TG41IH10IdF4QEuBkBewQ3knZ9iwDpg="; 119 + version = "8.20"; 120 + hash = "sha256-CiWTXjUR1+GY+MO7djHfVUH71zSo3lpH9IaqS5zCeJ8="; 121 121 owner = "wine-staging"; 122 122 repo = "wine-staging"; 123 123 rev = "v${version}"; ··· 127 127 128 128 wayland = fetchFromGitLab { 129 129 # https://gitlab.collabora.com/alf/wine/-/tree/wayland 130 - version = "8.0"; 131 - hash = "sha256-whRnm21UyKZ4AQufNmctzivISVobnCeidmpYz65vlyk="; 130 + version = "8.2"; 131 + hash = "sha256-Eb2SFBIeQQ3cVZkUQcwNT5mcYe0ShFxBdMc3BlqkwTo="; 132 132 domain = "gitlab.collabora.com"; 133 133 owner = "alf"; 134 134 repo = "wine"; 135 - rev = "2f80bd757739f2dd8da41abceae6b87d2c568152"; 135 + rev = "b2547ddf9e08cafce98cf7734d5c4ec926ef3536"; 136 136 137 137 inherit (unstable) gecko32 gecko64; 138 138