diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2021-09-16 21:54:47 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2021-09-16 21:57:50 +0000 |
commit | a02e3c6686d68350132a88379fc3d99445b9b80d (patch) | |
tree | 8e4f9dd021045358f5cf2ca7d9b68b3bbc44d20a | |
parent | dabb3800ee81d7839b6c2ddae0014027910be679 (diff) | |
download | ports-a02e3c6686d68350132a88379fc3d99445b9b80d.tar.gz ports-a02e3c6686d68350132a88379fc3d99445b9b80d.zip |
emulators/wine-devel: Update to Wine 6.17
This includes the following changes:
- WineCfg program converted to PE.
- Better high-DPI support in builtin applications.
- More preparation work for the GDI syscall interface.
- Improved debugger support in Wow64 mode.
- Various bug fixes.
My patch files/patch-dlls-nsiproxy.sys has been accepted upstream,
so remove it on our end.
Work around FreeBSD calling x86-64 by the name of amd64 and the
Ports Collection using this in a variable ARCH, which interferes
with Wine's variable of the same name and messes things up badly.
I have hope to be able to upstream files/patch-amd64-vs-x86-64. [1]
PR: 257020 [1]
Inspired by: Ivan Rozhuk <rozhuk.im@gmail.com> [1]
-rw-r--r-- | emulators/wine-devel/Makefile | 5 | ||||
-rw-r--r-- | emulators/wine-devel/distinfo | 10 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-amd64-vs-x86-64 | 17 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-dlls-nsiproxy.sys | 31 | ||||
-rw-r--r-- | emulators/wine-devel/pkg-plist | 11 |
5 files changed, 35 insertions, 39 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile index ba5782dbb8fc..7b1f2ea32179 100644 --- a/emulators/wine-devel/Makefile +++ b/emulators/wine-devel/Makefile @@ -1,8 +1,7 @@ # Created by: Gerald Pfeifer <gerald@FreeBSD.org> PORTNAME= wine -DISTVERSION= 6.16 -PORTREVISION= 1 +DISTVERSION= 6.17 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/Source \ @@ -151,7 +150,7 @@ X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ # --libdir is required since Wine defaults to "${PREFIX}/lib64" on amd64. CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib -PLIST_SUB+= WINE32="@comment " WINE64="" WINEARCH="amd64" +PLIST_SUB+= WINE32="@comment " WINE64="" WINEARCH="x86-64" # Wine assumes a WoW64 package is available, which is not the case on # FreeBSD yet. diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo index 5ba8fd470dfb..8a9d16bdf4a5 100644 --- a/emulators/wine-devel/distinfo +++ b/emulators/wine-devel/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1630139136 -SHA256 (wine-6.16.tar.xz) = 695092050d98a129c4d7f3153cb0e4923248bae5f3d920639fa4ab1a73f8fae8 -SIZE (wine-6.16.tar.xz) = 24789520 -SHA256 (v6.16.tar.gz) = 5b5b57b3419192b4b83f22774cade770fb33ffb415e62a7374703e3b5720f836 -SIZE (v6.16.tar.gz) = 9655388 +TIMESTAMP = 1631388772 +SHA256 (wine-6.17.tar.xz) = 9db1f2435d80262c3777317df075855aeea3e6a52cb77c630ec1b2b1fb948f08 +SIZE (wine-6.17.tar.xz) = 24838704 +SHA256 (v6.17.tar.gz) = 5fc7027a772fcc89afb54c9461144c51a5e7fa35cb4ef1f60eead8362704dd82 +SIZE (v6.17.tar.gz) = 9655082 diff --git a/emulators/wine-devel/files/patch-amd64-vs-x86-64 b/emulators/wine-devel/files/patch-amd64-vs-x86-64 new file mode 100644 index 000000000000..d20d34baca1b --- /dev/null +++ b/emulators/wine-devel/files/patch-amd64-vs-x86-64 @@ -0,0 +1,17 @@ +index 59857762edd..ed7a58ed1f9 100644 +--- tools/makedep.c ++++ tools/makedep.c +@@ -4446,6 +4446,13 @@ int main( int argc, char *argv[] ) + if (!man_ext) man_ext = "3w"; + if (arch) + { ++ /* For historic reasons FreeBSD calls x86-64 by the name of amd64 ++ * and features a variable ARCH with that value in the environment ++ * when building ports. This breaks Wine in interesting ways, so ++ * revert to the industry standard name when we enouncter amd64. ++ */ ++ if ( !strcmp(arch,"amd64") ) ++ arch = "x86-64"; + so_dir = strmake( "$(dlldir)/%s-unix", arch ); + pe_dir = strmake( "$(dlldir)/%s-windows", arch ); + } diff --git a/emulators/wine-devel/files/patch-dlls-nsiproxy.sys b/emulators/wine-devel/files/patch-dlls-nsiproxy.sys deleted file mode 100644 index 73c77e1aee35..000000000000 --- a/emulators/wine-devel/files/patch-dlls-nsiproxy.sys +++ /dev/null @@ -1,31 +0,0 @@ -Yet another recent breakage in dlls/nsiproxy.sys, yet another patch -submitted upstream. - -Plus I've adjusted my autobuilders to focus on newer versions of FreeBSD. - - -commit cd10f9b73cdae715e4a1ef32ade50c65a097ebf1 -Author: Gerald Pfeifer <gerald@FreeBSD.org> -Date: Mon Sep 6 17:54:53 2021 +0000 - - nsiproxy: Include sys/param.h from udp.c. - - udp.c features specific code to handle versions of FreeBSD past early - 12.0 snapshots. This is guarded by a check on __FreeBSD_version which - is defined in sys/param.h. Actually including that, like tcp.c already - does, activates that check and adjusted code and unbreaks the build. - ---- UTC ---- dlls/nsiproxy.sys/udp.c -+++ dlls/nsiproxy.sys/udp.c -@@ -22,6 +22,10 @@ - #include <stdarg.h> - #include <stddef.h> - -+#ifdef HAVE_SYS_PARAM_H -+#include <sys/param.h> -+#endif -+ - #ifdef HAVE_SYS_TYPES_H - #include <sys/types.h> - #endif diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist index 17a9cf21fa5d..6521d901e4ac 100644 --- a/emulators/wine-devel/pkg-plist +++ b/emulators/wine-devel/pkg-plist @@ -1234,6 +1234,7 @@ lib/wine/%%WINEARCH%%-unix/api-ms-win-core-processthreads-l1-1-0.dll.so lib/wine/%%WINEARCH%%-unix/api-ms-win-core-processthreads-l1-1-1.dll.so lib/wine/%%WINEARCH%%-unix/api-ms-win-core-processthreads-l1-1-2.dll.so lib/wine/%%WINEARCH%%-unix/api-ms-win-core-processthreads-l1-1-3.dll.so +lib/wine/%%WINEARCH%%-unix/api-ms-win-core-processtopology-l1-1-0.dll.so lib/wine/%%WINEARCH%%-unix/api-ms-win-core-processtopology-obsolete-l1-1-0.dll.so lib/wine/%%WINEARCH%%-unix/api-ms-win-core-profile-l1-1-0.dll.so lib/wine/%%WINEARCH%%-unix/api-ms-win-core-psapi-ansi-l1-1-0.dll.so @@ -1390,6 +1391,7 @@ lib/wine/%%WINEARCH%%-unix/atmlib.dll.so lib/wine/%%WINEARCH%%-unix/attrib.exe.so lib/wine/%%WINEARCH%%-unix/authz.dll.so lib/wine/%%WINEARCH%%-unix/avicap32.dll.so +lib/wine/%%WINEARCH%%-unix/avicap32.so lib/wine/%%WINEARCH%%-unix/avifil32.dll.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/avifile.dll16.so lib/wine/%%WINEARCH%%-unix/avrt.dll.so @@ -1724,8 +1726,12 @@ lib/wine/%%WINEARCH%%-unix/libd3d11.def lib/wine/%%WINEARCH%%-unix/libd3d8.def lib/wine/%%WINEARCH%%-unix/libd3d9.def lib/wine/%%WINEARCH%%-unix/libd3dcompiler.def +lib/wine/%%WINEARCH%%-unix/libd3dcompiler_43.def +lib/wine/%%WINEARCH%%-unix/libd3dcompiler_46.def lib/wine/%%WINEARCH%%-unix/libd3drm.def lib/wine/%%WINEARCH%%-unix/libd3dx10.def +lib/wine/%%WINEARCH%%-unix/libd3dx10_38.def +lib/wine/%%WINEARCH%%-unix/libd3dx10_39.def lib/wine/%%WINEARCH%%-unix/libd3dx10_40.def lib/wine/%%WINEARCH%%-unix/libd3dx10_41.def lib/wine/%%WINEARCH%%-unix/libd3dx10_42.def @@ -1877,6 +1883,7 @@ lib/wine/%%WINEARCH%%-unix/libwbemuuid.a lib/wine/%%WINEARCH%%-unix/libwebservices.def lib/wine/%%WINEARCH%%-unix/libwer.def lib/wine/%%WINEARCH%%-unix/libwevtapi.def +lib/wine/%%WINEARCH%%-unix/libwin32u.def lib/wine/%%WINEARCH%%-unix/libwindowscodecs.a lib/wine/%%WINEARCH%%-unix/libwindowscodecsext.def lib/wine/%%WINEARCH%%-unix/libwine.so.1 @@ -2263,6 +2270,7 @@ lib/wine/%%WINEARCH%%-unix/wimgapi.dll.so %%STAGING%%%%WINE32%%lib/wine/%%WINEARCH%%-unix/win32k.sys.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/win32s16.dll16.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/win32u.dll.so +lib/wine/%%WINEARCH%%-unix/win32u.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/win87em.dll16.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/winaspi.dll16.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/windebug.dll16.so @@ -2296,6 +2304,7 @@ lib/wine/%%WINEARCH%%-unix/wineps.drv.so lib/wine/%%WINEARCH%%-unix/winevulkan.dll.so lib/wine/%%WINEARCH%%-unix/winevulkan.so %%X11%%lib/wine/%%WINEARCH%%-unix/winex11.drv.so +%%X11%%lib/wine/%%WINEARCH%%-unix/winexinput.sys.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/wing.dll16.so lib/wine/%%WINEARCH%%-unix/wing32.dll.so %%WINE32%%lib/wine/%%WINEARCH%%-unix/winhelp.exe16.so @@ -2499,6 +2508,7 @@ lib/wine/%%WINEARCH%%-windows/api-ms-win-core-processthreads-l1-1-0.dll lib/wine/%%WINEARCH%%-windows/api-ms-win-core-processthreads-l1-1-1.dll lib/wine/%%WINEARCH%%-windows/api-ms-win-core-processthreads-l1-1-2.dll lib/wine/%%WINEARCH%%-windows/api-ms-win-core-processthreads-l1-1-3.dll +lib/wine/%%WINEARCH%%-windows/api-ms-win-core-processtopology-l1-1-0.dll lib/wine/%%WINEARCH%%-windows/api-ms-win-core-processtopology-obsolete-l1-1-0.dll lib/wine/%%WINEARCH%%-windows/api-ms-win-core-profile-l1-1-0.dll lib/wine/%%WINEARCH%%-windows/api-ms-win-core-psapi-ansi-l1-1-0.dll @@ -3326,6 +3336,7 @@ lib/wine/%%WINEARCH%%-windows/wineps.drv %%WINE32%%lib/wine/%%WINEARCH%%-windows/winevdm.exe lib/wine/%%WINEARCH%%-windows/winevulkan.dll %%X11%%lib/wine/%%WINEARCH%%-windows/winex11.drv +%%X11%%lib/wine/%%WINEARCH%%-windows/winexinput.sys %%WINE32%%lib/wine/%%WINEARCH%%-windows/wing.dll16 lib/wine/%%WINEARCH%%-windows/wing32.dll %%WINE32%%lib/wine/%%WINEARCH%%-windows/winhelp.exe16 |