Commit graph

850 commits

Author SHA1 Message Date
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
Gerald Pfeifer
09941af480 Update to Wine 5.7. This includes the following changes:
- Wine Mono engine updated to 5.0.0, with upstream WPF support.
 - More progress on the WineD3D Vulkan backend.
 - Beginnings of a USB device driver.
 - Support for building with Clang in MSVC mode.
 - Builtin modules no longer depend on libwine.
 - Support for configuring Windows version from the command line.
 - Various bug fixes.
2020-04-25 09:11:35 +00:00
Gerald Pfeifer
ee033d7dec The Wine Staging patchset is now available for Wine 5.6 (which is enabled
by the STAGING option).
2020-04-12 10:05:03 +00:00
Gerald Pfeifer
f6e1c4c7af Update to Wine 5.6. This includes the following changes:
- Still more Media Foundation work.
 - Improvements to Active Directory LDAP support.
 - A few more modules converted to PE.
 - Improvements to gdb proxy mode.
 - Various bug fixes.

My fix for a build problem on some versions of FreeBSD in
files/patch-dlls-dbghelp has been accepted upstream, so remove here.

The Wine Staging patch set is lagging once again; we'll add support
once it's available.
2020-04-10 21:18:13 +00:00
Gerald Pfeifer
aba374ae62 Explicitly configure --without-unwind so that the presence of the
devel/libunwind port does not pull in an implicit dependency that
is not tracked properly.

Reported by:	Andy Mender <andymenderunix@gmail.com>
PR:		245172
2020-04-02 18:54:51 +00:00
Gerald Pfeifer
45592f6658 The Wine Staging patchset for Wine 5.5 (off by default) brought one
additional file we missed due to the accidental early commit as part
of revision r529780.  Address that.
2020-03-31 19:01:48 +00:00
Gerald Pfeifer
b12fc0eb0b According to pkg-fallout 11.3-RELEASE-p7 runs into problems building
dlls/dbghelp/module.c after upstream changes in the last two weeks due
to a specific combination of macros related to ELF being (not) defined:

  module.c: In function 'image_locate_build_id_target':
  module.c:643:32: error: 'NT_GNU_BUILD_ID' undeclared (first use in this function)
    643 |                 if (note[2] == NT_GNU_BUILD_ID)
        |                                ^~~~~~~~~~~~~~~

Add a patch that I created and provided upstream where it was tentatively
ack-ed already.

Reported by:	pkg-fallout
2020-03-29 09:22:41 +00:00
Gerald Pfeifer
ff23f7665e Update to Wine 5.5. This includes the following changes:
- Builtin libraries use the new UCRTBase C runtime.
 - Compatibility mode used when reporting Windows version.
 - Better support for debug information in PE files.
 - Support for linguistic case mappings.
 - More attributes supported in WebServices.
 - Various bug fixes.
2020-03-27 22:41:05 +00:00
Lorenzo Salvadore
d0b70da635 emulators/wine-devel: Change tested variable for master port detection
It has been observed that the target config-recursive for
emulators/i386-wine-devel can cause bsd.port.mk to be included twice when
run in i386 jails. This seems to be due to the fact that config recursive
ignores PKGNAMEPREFIX definiton, which is used in emulators/wine-devel to
test whether bsd.port.[pre.|post.]mk needs to be included or bsd.port.mk
has already been included by i386-wine-devel. We change the testing
variable to WINE_SLAVE_BUILD, defined in i386-wine-devel/Makefile.i386.

Approved by:	gerald (maintainer, mentor)
Differential Revision:	https://reviews.freebsd.org/D24167
2020-03-25 22:04:16 +00:00
Gerald Pfeifer
f343487992 Update to Wine 5.4. This includes the following changes:
- Unicode data updated to Unicode version 13.
 - Builtin programs use the new UCRTBase C runtime.
 - More correct support for Internationalized Domain Names.
 - Support for painting rounded rectangles in Direct2D.
 - Text drawing in D3DX9.
 - Various bug fixes.

This also brings a set of new changes with the Staging Patchset,
so maybe worth a try enabling the STAGING option if something is
not working.
2020-03-14 12:54:57 +00:00
Lorenzo Salvadore
88cc445eec emulators/i386-wine-devel: Use standard ports infrastructure for ARCH
Until now i386-wine-devel defined its own ARCH variable and manually
included Makefile.i386 for i386 systems and Makefile.inc for amd64
systems. This commit makes use of the standard ARCH variable and renames
Makefile.inc to Makefile.amd64 so that the proper Makefile.${ARCH} is
automatically included.
This requires conditional inclusion of bsd.ports.pre.mk and
bsd.ports.post.mk by emulators/wine-devel [1], master port for
i386-wine-devel: those files must be included only if they have not
already been included by i386-wine-devel.

Approved by:	gerald (mentor, maintainer [1])
2020-03-11 19:49:34 +00:00
Gerald Pfeifer
fe8c2c28b1 Enhance my hack to catch (more of the) false negatives of
Mk/Scripts/check-stagedir.sh in the presence of options to
also handle %%DATADIR%% in pkg-plist.

This would have caught what I fixed with r525543 | gerald | 2020-02-08.

PR:		220950
2020-03-11 18:51:07 +00:00
Gerald Pfeifer
1d480f3a5b Re-apply the main part of r527613 | gerald | 2020-03-02 that covers the
update to Wine 5.3:

  Update to Wine 5.3.  This includes the following changes:
   - More work towards Ucrtbase runtime support.
   - Full support for Unicode normalization.
   - Improvements in Shell Folders handling.
   - Various bug fixes.
2020-03-05 08:58:47 +00:00
Antoine Brodin
7b9f2c7cf1 Revert 527613 and unbreak INDEX 2020-03-02 09:53:29 +00:00
Gerald Pfeifer
2cd371c134 Update to Wine 5.3. This includes the following changes:
- More work towards Ucrtbase runtime support.
 - Full support for Unicode normalization.
 - Improvements in Shell Folders handling.
 - Various bug fixes.

Also allow for this port to be used as master port for i386-wine-devel,
which means we need to avoid duplicate inclusions of bsd.port.pre.mk and
bsd.port.post.mk. [1]

Submitted by:	salvadore [1]
2020-03-02 07:34:18 +00:00
Gerald Pfeifer
30fde5da21 Add a description for the STAGING option that we've been missing.
Reported by:	salvadore
PR:		244480, 244485
2020-02-28 10:43:16 +00:00
Lorenzo Salvadore
2d0f198e08 Migrate the STAGING option to use option helpers
This is the right thing to do in general and prepares for forthcoming
changes to emulators/i386-wine-devel.

Approved by:	gerald (mentor)
2020-02-25 12:12:07 +00:00
Gerald Pfeifer
567255e444 Update to Wine 5.2. This includes the following changes:
- More compatible codepage mapping tables. [A]
 - Support for using the null display driver as a real driver.
 - Better UTF-8 support in the Resource and Message Compilers.
 - Fixes for using ucrtbase as C runtime.
 - Various bug fixes.

It also brings a significant number of changes to the packaging list,
notably due to [A].

Finally remove wine-staging and i386-wine-staging as conflicts since
those do not exist any longer. [1]

Submitted by:	salvadore [1]
2020-02-20 22:46:09 +00:00
Gerald Pfeifer
6044e309e5 $DATADIR/winebus.inf is now provided by Wine itself, no longer just by
the Wine Staging patchset (which is contingent on the STAGING option).

We did not detect this due to the way Mk/Scripts/check-stagedir.sh has
false negatives in the presence of %%OPTION%%s in pkg-plist. [1]

PR:		220950 [1]
2020-02-08 10:20:16 +00:00
Gerald Pfeifer
6c552da49b Wine 5.1 is the first snapshot after the Wine 5.0 release, indicating that
development for Wine 6 has started.  This brings the following changes:
 - Better reporting of error location in JScript and VBScript.
 - Support for relocatable installation of the Winelib tools.
 - Ellipse drawing in Direct2D.
 - OLE monikers improvements.
 - Various bug fixes.

Two files (.h/.idl) moved out of the staging patchset with this snapshot.
2020-02-04 13:29:13 +00:00
Gerald Pfeifer
0f8ca6f5ea Fix the subdirectory of the ibiblio.org mirror sites - now at 5.0.
(We did not notice since by default the SF download infrastructure is
used in case.)
2020-02-01 00:31:01 +00:00
Gerald Pfeifer
3ea12708d7 Update to Wine 5.0 RC6, which is scheduled to be the last release
candidate and brings another twenty-some fixes.
2020-01-21 06:38:12 +00:00
Gerald Pfeifer
b18c424297 Update to Wine 5.0 RC5 which fixes another nineteen bugs during the
release stabilization process.

Surprisingly still file additions, though only include files, both
for the default configuration and with the Staging patchset.
2020-01-15 09:00:38 +00:00
Gerald Pfeifer
3f2c3c19f4 Update to Wine 5.0 RC4 which closes another fifteen bug reports in
this release phase.
2020-01-12 05:24:01 +00:00
Gerald Pfeifer
f51d6226b7 Update to Wine 5.0 RC3 which fixes some four dozen bugs on top of RC2. 2020-01-08 03:38:15 +00:00
Gerald Pfeifer
23ee142529 Update to Wine 5.0 RC2 which fixes three dozen or so bugs. 2020-01-04 11:21:01 +00:00
Gerald Pfeifer
7a3ec14c55 Make sure we employ USES=xorg only when X11/Xorg are actually used,
much as we have had this for USE_XORG and USE_GL for a while.

Without this building with option X11 off actually fails now due to
increased checks in the FreeBSD ports infrastructure.

PR:		242996
Reported by:	Patrick McMunn <doctorwhoguy@gmail.com>
2020-01-02 06:01:57 +00:00
Gerald Pfeifer
804d205082 Update to Wine 5.0 RC1, the first release candidate of the upcoming
Wine 5.0 release series.  This includes the following changes:
 - Gecko update, with support for running from a global location.
 - Unicode data updated to Unicode version 12.1.
 - Initial version of the MSADO (ActiveX Data Objects) library.
 - Update installation support in the WUSA (Windows Update Standalone)
   tool.
 - More progress on the kernel32/kernelbase restructuring.
 - Support for signing with ECDSA keys.
 - Various bug fixes.

In tandem update wine-gecko-devel from 2.47 to 2.47.1 - a minor update,
though URL and filename change from wine_devel to wine-devel, which is
in line with wine-mono-devel, for example, but easy to miss.  (Due to
revision r520775 this is only a one-liner now, though.)
2019-12-26 07:28:45 +00:00
Gerald Pfeifer
4a1150f720 Update to Wine 4.21. This includes the following changes:
- HTTP proxy configuration through DHCP.
 - Parameter block support in D3DX9.
 - A few more dlls converted to PE.
 - Various bug fixes.
2019-12-04 02:32:46 +00:00
Gerald Pfeifer
f37d5d5de1 Update to Wine 4.20. This includes the following changes:
- New version of the Mono engine with an FNA update. [1]
 - Code persistence in VBScript and JScript.
 - Vulkan spec updates.
 - Various bug fixes.

And further merges (and two files) coming over from Wine Staging.

Update wine-mono-devel to the upstream release 4.9.4. [1]

Approved by:	dbn (blanket) [1]
2019-11-24 04:25:00 +00:00
Gerald Pfeifer
e529a80753 Update to Wine 4.19. This includes the following changes:
- A number of additional VBScript features.
 - More stateblock support in WineD3D.
 - Some fixes for ARM64 support (which we do not have on FreeBSD).
 - Various bug fixes.

And some bits have moved from STAGING into the main tree; yeah!
2019-11-03 09:23:38 +00:00
Gerald Pfeifer
16f3fb7358 Update to Wine 4.18. This includes the following changes:
- Many new VBScript functions.
 - A number of cleanups and improvements in Quartz.
 - Fixes for several test failures.
 - Various bug fixes.

Both the standard installation and the Staging patchset have gained new
libraries.
2019-10-21 11:48:57 +00:00
Gerald Pfeifer
e897ec8f2e Update to Wine 4.17. This includes the following changes:
- New version of the Mono engine with upstream fixes.
 - Support for DXTn compressed textures.
 - Initial version of the Windows Script runtime library.
 - Support for XRandR device change notifications.
 - Support for generating RSA keys.
 - Various bug fixes.

Update wine-mono-devel to the upstream release 4.9.3. [1]

Approved by:	dbn (blanket) [1]
2019-09-30 14:02:44 +00:00
Gerald Pfeifer
e4b767e5ad Update to Wine 4.16. This includes the following changes:
- More reliable mouse grabbing in games.
 - Better cross-compilation support in WineGCC.
 - Improved compatibility with Windows debuggers.
 - Various bug fixes.
2019-09-16 03:26:50 +00:00
Gerald Pfeifer
36657dd37f Update to Wine 4.15. This includes the following changes:
- Initial implementation of the HTTP service.
 - RichEdit control optimizations.
 - Various bug fixes.

lib/wine/wuauserv.exe.so (and Co) have moved from the Staging patchset,
off by default, to upstream.

A variation of files/patch-dlls_iphlpapi_ipstats.c has been merged
upstream after my submission, so drop this local patch.
2019-09-02 12:48:11 +00:00
Gerald Pfeifer
53f84896e7 Update to Wine 4.14. This includes the following changes:
- New version of the Mono engine (4.9.2) with upstream updates.
 - Various bug fixes.
2019-08-18 07:36:03 +00:00
Mathieu Arnold
79698c8457 Convert to UCL & cleanup pkg-message (categories e-g) 2019-08-13 16:03:11 +00:00
Gerald Pfeifer
ca7b4ef52d Add a note how to work around Wine issuing an error message of
i386_set_ldt: Invalid argument
    Did you reconfigure your kernel with "options USER_LDT"?

PR:		224264
Submitted by:	rozhuk.im@gmail.com
Reviewed by:	arrowd
MFH:		2019Q3 (documentation to address crash)
2019-08-10 17:48:18 +00:00
Gerald Pfeifer
e74be249f3 Update to Wine 4.13. This includes the following changes:
- Support for Passport HTTP redirects.
 - A bunch of header updates.
 - Various bug fixes.

And some new stuff coming in via the optional Staging patchset.
2019-08-04 00:00:52 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Gerald Pfeifer
8cdf44a35e Fix packaging list (pkg-plist) when the MPG123 option is set.
PR:		239202
Submitted by:	avos
MFH:		2019Q3 (packing list with non-default option)
2019-07-16 05:40:35 +00:00
Gerald Pfeifer
0609a709b8 Fix the dependency on the wine-mono-devel port which was updated, but
this dependency missed in terms of code, even if mentioned in the log,
in revision 504944 | gerald | 2019-06-23.

PR:		239170
Submitted by:	chadf@triularity.org
2019-07-15 04:41:30 +00:00
Gerald Pfeifer
c78d7e2a52 Update to Wine 4.12.1 which is a quick bug fix release on top of the
regular 4.12 release that includes fixes for broken 64-bit prefix
initialization.

It also addresses a build failure for Wine Staging (the STAGING
option set in this port). [1]

PR:		239159 [1]
Reported by:	John Hein <jcfyecrayz@liamekaens.com> [1]
2019-07-13 04:40:44 +00:00