Commit Graph

892 Commits

Author SHA1 Message Date
Baptiste Daroussin de47ffe65c Remove dependency on libhal it is going to be removed from the ports tree 2021-02-08 09:48:18 +00:00
Gerald Pfeifer c1d569260f Update to Wine 6.1, the first development snapshot after the Wine 6.0
release and first step towards Wine 7.0.

This includes the following changes:
 - Arabic text shaping.
 - More WinRT support in WIDL.
 - VKD3D version 1.2 is used for Direct3D 12.
 - Various bug fixes.

Two files have propagated from the Staging patchset to mainline.
2021-02-02 23:15:26 +00:00
Gerald Pfeifer 2095170254 Forward port r560399 | gerald | 2021-01-05 from emulators/wine:
Remove the GCC option. which has been the default all along, and simply
  use GCC.

  This avoids troubles for users disabling the option and then encountering
  failures without knowing how to go about that. (And there is not much one
  can even do given upstream focuses on GCC.)

PR:		242202
2021-01-14 22:58:34 +00:00
Gerald Pfeifer 163feb0a88 Update to Wine 6.0 RC6, which brings few code changes outside of tests
and fixes ten bugs.
2021-01-12 18:11:15 +00:00
Gerald Pfeifer 5ba7b97da6 www.winehq.org now defaults to https; adjust all URLs. 2021-01-10 12:06:29 +00:00
Gerald Pfeifer 3175d98a2b Update to Wine 6.0 RC5, which addresses another 21 bug reports. 2021-01-04 19:06:16 +00:00
Gerald Pfeifer 4b04575c4f Update to Wine 6.0 RC4, which brings yet more fixes and resolves 29 bugs
reports.
2020-12-31 01:05:37 +00:00
Gerald Pfeifer c977e0b05e Update to Wine 6.0 RC3, which brings further bug fixes.
The Wine Staging patchset does not appear to follow the RC phase and
criteria and brings a bunch of new files.
2020-12-22 16:26:29 +00:00
Gerald Pfeifer 19e5632e3a Wine no longer features configuring --with-glu (or --without-glu), so
remove that from the settings the X11 options implies.

This only was a warning and did not affect the generated code/package.
2020-12-20 17:22:07 +00:00
Gerald Pfeifer 3bc39e8a76 Update to Wine 6.0 RC2, which brings bug fixes only since we're in code
freeze.

Wine Staging now uses the same version designation as Wine itself after
a report of mine, so revert special casing STAGING_DISTFILES; similarly
my two patches files/extrapatch-dlls-ntdll-unix-file.c and
files/extrapatch-staging-server-fd.c are now upstream, so remove them.
2020-12-14 09:28:07 +00:00
Gerald Pfeifer 209ea29134 Remove the dependency on sysutils/prelink which the emulators/wine
port has never had to begin with from all I can tell.

This brings this wine-devel port and the wine port closer in sync,
and prelink is broken on -CURRENT among others.

PR:		251686
2020-12-10 21:03:29 +00:00
Gerald Pfeifer 8d6f21698f Adjust the download of the Staging patchset to the Wine 6.0 RC1 release
and hence re-enable it. [1]

Temporarily include a patch of mine to address a build breakage with
that patchset, files/extrapatch-staging-server-fd.c.

Update the description for the STAGING option and explicitly label it
as unsupported.

PR:		251606 [1]
2020-12-07 10:03:02 +00:00
Gerald Pfeifer 10d9d82bdd Update to Wine 6.0 RC1, the first milestone of the forthcoming Wine 6.0
release series.

This includes the following changes:
 - WindowsCodecs and QCap libraries converted to PE.
 - Faster font initialization at process start.
 - Support for named pipes with empty names.
 - Various bug fixes.
2020-12-05 01:00:18 +00:00
Gerald Pfeifer da8a4634f8 Update wine-gecko-devel from 2.47.1 to 2.47.2. Adjust wine-devel
accordingly.
2020-12-03 20:42:20 +00:00
Gerald Pfeifer d032349420 Wine is now able to use mingw-w64 to build components. When mingw-w64
is installed on FreeBSD, users might inadvertedly use that when we have
not set up things properly yet (and it probably should be an option to
choose, at least initially). For example, mingw-w64 produces .dll files
instead of the current .dll.so files, breaking pkg-plist.

So for now explicitly disable the use of mingw-w64. In a next step,
once mingw-w64 is available, we probably should make this an option.

PR:		237213
Reported by:	Damjan Jovanovic <damjan.jov@gmail.com>
MFH:		2020Q4 (blanket: build issue)
2020-11-29 11:31:30 +00:00
Gerald Pfeifer 36806790d6 The Wine Staging patchset for Wine 5.22 is now available.
(This surprisingly reverts a few additions in terms of installed files
that did not appear in mainline, either.)
2020-11-25 02:24:37 +00:00
Gerald Pfeifer c9af3880ed Update to Wine 5.22. This includes the following changes:
- C runtime libraries converted to PE.
 - Use fontconfig cache for faster startup.
 - Video playback improvements.
 - 3DES cipher support.
 - Various bug fixes.
2020-11-21 01:58:19 +00:00
Gerald Pfeifer 8c03aa8bb1 Remove files/patch-dlls_kernel32_Makefile.in which should be a noop
based on an exchanged I've had with upstream.

Firstly, commits 55ba3648379d90642f174e74809b84130d6d1ddc and
e0138c4a6a7a87f1d25badd43e05490e706bc666 should obviate it need.

Secondly, and more importantly, winegcc passes that flag already
since

  commit e59395208d527d1bffb2725efc85fb798aee7610
  Author: Alexandre Julliard <julliard@winehq.org>
  Date:   Mon Mar 28 15:47:19 2016 +0900

  makefiles: Reduce the maximum page size for modules that have a base address.

  It avoid bumping into the next allocated base address on 64-bit.
2020-11-19 20:34:20 +00:00
Gerald Pfeifer 658e5248dd Update to Wine 5.21. This includes the following changes:
- GDI32 library converted to PE.
 - More fixes for windowless RichEdit.
 - A number of timezone updates.
 - Various bug fixes.

files/extrapatch-server-file.c that I added to work around upstream
breakage with the Wine Staging patchset is not necessary any longer,
nor is half of files/extrapatch-dlls-ntdll-unix-file.c.
2020-11-12 13:31:01 +00:00
Gerald Pfeifer d1488091c7 Unbreak the (non-default) STAGING option. This requires two local patches
on top of the Wine Staging patchset that address upstream regressions.

It also brings a fair number of STAGING-specific additions to the set of
Wine libraries.
2020-11-01 14:15:44 +00:00
Gerald Pfeifer a4300892f0 The Wine Staging patchset for Wine 5.20 is now available. It still does
not build, but proceeds further based on my report, so update the BROKEN
note while I am working on the next fix (ETA: this coming week).
2020-10-25 09:28:22 +00:00
Gerald Pfeifer 6f2d4942a1 Update to Wine 5.20. This includes the following changes:
- More work on the DSS cryptographic provider.
 - A number of fixes for windowless RichEdit.
 - Support for FLS callbacks.
 - Window resizing in the new console host.
 - Various bug fixes.
2020-10-24 11:41:34 +00:00
Gerald Pfeifer be9ea4d1eb Add the distinfo information for the Staging patchset for Wine 5.19.
This is still broken (and marked as such), but I have got a step
towards fixing upstream now and proposed further ones, and in case
someone wants to tinker themselves...
2020-10-20 15:35:27 +00:00
Gerald Pfeifer 57879ba2e2 Update to Wine 5.19.
This includes the following changes from Wine 5.18 which we had to skip
since it failed to build on FreeBSD:
 - USER32 library converted to PE.
 - Console no longer requires the curses library.
 - Support for display modes with various orientations.
 - A number of syntax fixes in the WIDL compiler.
 - Vulkan shader compilation using the new vkd3d-shader library.
 - Non-recursive makefiles.

Plus the following changes from version 5.19 itself:
 - Wine Mono engine updated to 5.1.1, with WPF text formatting support.
 - KERNEL32 library converted to PE.
 - DSS cryptographic provider.
 - Windowing support in the new console host.
 - A number of exception handling fixes.
 - Various bug fixes.

Our local patch files/patch-tools-makedep became obsolete by those
changes that first broke version 5.18 and now appear fixed in 5.19.

files/patch-dlls_kernel32_Makefile.in needs some adjustments due to
changed context, but retains the core tweak we've been carrying.
2020-10-11 10:16:32 +00:00
Gerald Pfeifer 69f502e4e9 Add an option SDL that uses SDL 2, a cross-platform multimedia development
API which can be useful particularly when it comes to supporting games.
This is off by default for now in alignment with the status quo.

Submitted by:	Alex S <iwtcex@gmail.com>
PR:		249869
2020-10-05 11:51:43 +00:00
Gerald Pfeifer 428a88415d No longer hack tools/wineapploader.in to account for wine64 vs wine.
Since upstream commit
https://source.winehq.org/git/wine.git/commitdiff/57f9c33c08782399d6729bc58b68d73812560638
this hasn't been necessary any longer and it did actually break things
afterwards by replacing wine64 with wine6464.

PR:		249868
Submitted by:	Alex S <iwtcex@gmail.com>
2020-09-26 14:28:31 +00:00
Gerald Pfeifer 763b182e2d Update to Wine 5.17. This includes the following changes:
- ADVAPI32 library converted to PE.
 - Beginnings of an NDIS network driver.
 - Still more restructuration of the console support.
 - Various bug fixes.

The Wine Staging patchset for this release is broken on FreeBSD and/or
with GCC 9, so mark this option as broken:

file.c:237:37: error: 'EXTATTR_NAMESPACE_USER' undeclared (first use in this fun
ction)
  237 |     return extattr_get_fd( filedes, EXTATTR_NAMESPACE_USER, &name[XATTR_
USER_PREFIX_LEN],
file.c:237:67: error: 'XATTR_USER_PREFIX_LEN' undeclared (first use in this func
tion); did you mean 'XATTR_USER_PREFIX'?
  237 |     return extattr_get_fd( filedes, EXTATTR_NAMESPACE_USER, &name[XATTR_
USER_PREFIX_LEN],
2020-09-13 10:25:50 +00:00
Gerald Pfeifer 7fa17f420f Update to Wine 5.16. This includes the following changes:
- Support for x86 AVX registers.
 - Still more restructuration of the console support.
 - Various bug fixes.

Revert an upstream patch (7571fa87df453e404d8b6ca58e2da95340156849)
that breaks the build with GCC 9 for now - files/patch-tools-makedep.

A number of files transitioned from the Staging patchset to the main
codebase, in addition the Staging patchset lost some and gained some.
2020-08-31 08:52:13 +00:00
Gerald Pfeifer 5fa644fa13 Update to Wine 5.15. This includes the following changes:
- Initial implementation of the XACT Engine libraries.
 - Beginnings of a math library in MSVCRT based on Musl.
 - Still more restructuration of the console support.
 - Direct Input performance improvements.
 - Exception handling fixes on x86-64.
 - Various bug fixes.

lib/wine/libx3daudio1_7.def "disappeared" from the Staging patchset,
without migrating to the default case. That's in addition to a number
of the usual dose of packaging changes.
2020-08-20 05:20:50 +00:00
Gerald Pfeifer 1e5ab6312a Update to Wine 5.14. This includes the following changes:
- More restructuration of the console support.
 - Initial version of the Webdings font.
 - Beginnings of PE conversion of the MSVCRT libraries.
 - Various bug fixes.

My patch files/extrapatch-dlls-ntdll-unix-registry.c is now upstream,
so remove it here.
2020-08-03 06:56:02 +00:00
Gerald Pfeifer 08c4e70e5b Reapply revision 542851 that broke the index via an interaction with
emulators/i386-wine-devel and was reverted, now with a tweak to avoid
that breakage:

The Wine Staging patchset for Wine 5.13 is now available and fixed
(compared to the previous one).

It also addresses the build issue for Wine 5.13 that I fixed via
files/patch-dlls-ntdll-unix-registry.c, so we need to make that
patch only apply when the Wine Staging patchset is not used.

PR:             248118 [1]
Submitted by:   vvd@unislabs.com
2020-07-30 12:20:24 +00:00
Antoine Brodin 02c4efd3b5 Revert r542851 and unbreak INDEX 2020-07-22 14:00:59 +00:00
Gerald Pfeifer c3e4e7a1db The Wine Staging patchset for Wine 5.13 is now available and fixed
(compared to the previous one).

It also addresses the build issue for Wine 5.13 that I fixed via
files/patch-dlls-ntdll-unix-registry.c, so we need to make that
patch only apply when the Wine Staging patchset is not used.

PR:		248118
Submitted by:	vvd@unislabs.com
2020-07-22 10:41:53 +00:00
Gerald Pfeifer feacd0a65f Update to Wine 5.13. This includes the following changes:
- Re-mapping of INI files to the registry.
 - System call thunks in NTDLL.
 - Reimplementation of floating point numbers printing.
 - Beginnings of a restructuration of the console support.
 - Various bug fixes.

A build error got in upstream the day this snapshot was created;
temporarily address this via files/patch-dlls-ntdll-unix-registry.c
which I alreadly submitted upstream.

(The Wine Staging patchset isn't yet available. No change on that
front yet - it was marked BROKEN anyway.)
2020-07-18 10:46:38 +00:00
Gerald Pfeifer dd57842caf Rename COMP_DIST, a last remaining reference to Compholio, the previous
name of what is now called Wine Staging, to STAGING_DIST.
2020-07-14 06:53:48 +00:00
Gerald Pfeifer a663d70d21 Mark the STAGING option as broken - I reported this upstream and shared
a strawman patch, so hopefully this will be resolved for the next snapshot:

  https://www.winehq.org/pipermail/wine-devel/2020-July/169366.html
  https://www.winehq.org/pipermail/wine-devel/2020-July/169367.html

(Due to this being broken my original commit did not include the
distinfo entry for the respective download. Make up for that, in
case a fix becomes available.)

Also label the STAGING option as experimental.

PR:		247779
2020-07-06 07:52:48 +00:00
Gerald Pfeifer c82b5b7d22 Update to Wine 5.12. This includes the following changes:
- NTDLL converted to PE format.
 - Support for the WebSocket API.
 - Improved RawInput support.
 - Vulkan spec update.
 - Various bug fixes.
2020-07-04 10:17:45 +00:00
Gerald Pfeifer fb3614bdd2 Really remove files/patch-dlls_ntdll (a temporary build fix) that I
noted, but missed, in r539797.

This patch still applied, leading to duplication of the hunk in
question, which was benign though.
2020-07-02 11:24:58 +00:00
Gerald Pfeifer 236f54e474 Explicitly configure --without-usb. There does not appear to be a way
for the configure test to pass on FreeBSD right now (even with extra
ports available), so this simply makes this explicit and avoids a
warning from configure.
2020-06-29 06:34:51 +00:00
Gerald Pfeifer dad1a12a6c Update to Wine 5.11. This includes the following changes:
- Wine Mono engine 5.1.0 provides WpfGfx library support.
 - More work on the separate Unix library for NTDLL.
 - Beginnings of a NetIO kernel driver implementation.
 - Initial support for the Print Ticket API.
 - Various bug fixes.

Among others my fix from files/patch-dlls_ntdll was accepted upstream,
so remove it here.

Two files have moved from the Staging patchset to the general tree, so
package them across the board.

This snapshot should also fix issues on recent -CURRENT. [1]

PR:		247374 [1]
2020-06-22 06:52:43 +00:00
Gerald Pfeifer 6b50db0a05 Update wine-mono-devel to the upstream release 5.1.0. 2020-06-17 16:21:32 +00:00
Gerald Pfeifer f6f24dddc2 Update to Wine 5.10. This includes the following changes:
- More progress on the WineD3D Vulkan backend.
 - Beginnings of a separate Unix library for NTDLL.
 - Better support for anti-cheat kernel drivers.
 - More glyph substitutions in DirectWrite.
 - Support for DSS private keys.
 - ARM64 exception handling fixes.
 - Various bug fixes.

files/patch-libs-wine-mmap.c has been included upstream, so remove it.

The area that files/patch-dlls_kernel32_Makefile.in touches has changed
upstream; adjust the patch to those changes, maintaining the gist of our
patch all along.

dlls/ntdll has seen significant rework upstream, unfortunately breaking
on i386 with GCC 9 (though apparently not GCC 10); address that with the
new files/patch-dlls_ntdll that I submitted upstream also.
2020-06-09 21:28:01 +00:00
Gerald Pfeifer 937ae88a4e The Wine Staging patchset (which is not enabled by default) gained one
file it installs - take that into account.
2020-05-30 10:19:48 +00:00
Gerald Pfeifer bf61ff8b56 Add a (temporary) patch wine-devel/files/patch-libs-wine-mmap.c to
address an issue that creeped in upstream among the fixes for FreeBSD
that made it into Wine 5.9. [1]

Remove files/patch-tools-winegcc which temporarily reverted the upstream
change that triggered a flurry of breakage and improvements for FreeBSD.

Bump PORTREVISION since both changes are substantial.
2020-05-24 12:37:00 +00:00
Gerald Pfeifer 5efd2c96b4 Update to Wine 5.9. This includes the following changes:
- Major progress on the WineD3D Vulkan backend.
 - Initial support for splitting dlls into PE and Unix parts.
 - Support for generating PDB files when building PE dlls.
 - Timestamp updates in the Kernel User Shared Data.
 - Various bug fixes.

files/patch-dlls-dwrite-opentype.c was a backport from upstream past
the Wine 5.8 snapshot so is included here - remove it.

Keep files/patch-tools-winegcc, which reverts an upstream change in
Wine 5.8 for the time being while we assess the situation.
2020-05-23 09:20:02 +00:00
Gerald Pfeifer 95ddc30d85 Revert 1ccd638b1aa85fb3c43b49d69d279cd509ebdc21 from upstream which
causes problems upon startup while, hopefully, a fix will be created
upstream. (This changes tools/winegcc/winegcc.c)

Backport 23543f20058d1655d3ad552474ce99c01bbd78ea from upstream which
landed after the Wine 5.8 snapshot (and should be included in the next)
and avoid crashes related to fonts.

With these two changes Wine should mostly work again.
2020-05-14 07:40:26 +00:00
Gerald Pfeifer fa0a54bcdd Update to Wine 5.8. This includes the following changes:
- Support for Plug & Play device notifications.
 - Still more progress on the WineD3D Vulkan backend.
 - Initial implementation of a GIF encoder.
 - Vulkan spec update.
 - Various bug fixes.
2020-05-12 07:41:03 +00:00
Gerald Pfeifer d48bda2300 Explicitly configure --without-inotify so that the presence of the
devel/libinotify port does not pull in an implicit dependency that
is not tracked properly.

Reported by:	Andy Mender <andymenderunix@gmail.com>
PR:		245172
MFH:		2020Q2 (blanket: missing dependency)
2020-05-09 10:48:18 +00:00
Gerald Pfeifer f8506c9520 Push USES=pkgconfig to the global level instead just contingent on the
VKD3D option.

This makes a real difference for the GNUTLS option (on by default) and
others.  Accordingly bump PORTREVISION.

Reported by:	Benny Goemans <benny.goemans@belgacom.net>
MFH:		2020Q2 (blanket: missing dependency)
2020-05-06 21:53:25 +00:00
Gerald Pfeifer 3de0ac1c25 The Wine Staging patchset is now available for Wine 5.6 (which is enabled
by the STAGING option).

On the way, remove some trailing whitespace that sneaked into the Makefile.
2020-04-28 18:04:43 +00:00