Opened 2 years ago

Last modified 2 days ago

#64681 accepted update

wine: Update to version 9.x

Reported by: syurin-nagatuki Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mohd-akram (Mohamed Akram)
Port: wine, wine-devel, wine-crossover

Description

Please add wine7.0 stable version. The stable version of wine7.0 has been released. I think the new version is a very important version that allows you to run the x86_64 API on arm hosts. Please update the port.

Change History (24)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: wine removed
Owner: set to ryandesign
Status: newassigned
Type: defectupdate

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Port: wine-devel wine-crossover added
Status: assignedaccepted
Summary: Please add wine7.0 stable version.wine: Update to 7

I have had work in progress for some time on restructuring and updating the 3 wine ports (wine, wine-devel, wine-crossover) to enable the use of wine32on64 but I am not ready to commit it yet.

comment:3 Changed 2 years ago by kencu (Ken)

There are some standalone current wine versions available thst you can install until it is available from macports, btw.

They do not conflict with anything in macports.

https://github.com/Gcenx/macOS_Wine_builds/releases

comment:4 in reply to:  2 ; Changed 2 years ago by Gcenx

Replying to ryandesign:

I have had work in progress for some time on restructuring and updating the 3 wine ports (wine, wine-devel, wine-crossover) to enable the use of wine32on64 but I am not ready to commit it yet.

I really wouldn’t waste the effort on rebasing 32on64 onto upstream wine when there CX22 in a couple of months that will be based on wine-7.0. Upstream won’t accept the bug reports for wine-stable/devel when additional patches are applied.

Replying to kencu:

There are some standalone current wine versions available thst you can install until it is available from macports, btw.

They do not conflict with anything in macports.

https://github.com/Gcenx/macOS_Wine_builds/releases

I’ll just assume most are not subscribed to wine-devel mailing list but the packages provided there are officially sanctioned my Winehq meaning any bug reports are valid. Gijs and myself have been rather busy but the plan is to eventually push them directly to Winehq for download.

Though it would be nice if upstream completes enough of the WoW64 for macOS to function without 32Bit libraries before we’re done.

comment:5 in reply to:  4 ; Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to Gcenx:

Replying to ryandesign:

I have had work in progress for some time on restructuring and updating the 3 wine ports (wine, wine-devel, wine-crossover) to enable the use of wine32on64 but I am not ready to commit it yet.

I really wouldn’t waste the effort on rebasing 32on64 onto upstream wine when there CX22 in a couple of months that will be based on wine-7.0.

To clarify, I am not rebasing 32on64 onto wine. I am restructuring the wine, wine-devel, and wine-crossover ports to resolve several outstanding issues, one of which is to allow the wine-crossover port to be able to use 32on64.

Upstream won’t accept the bug reports for wine-stable/devel when additional patches are applied.

Like many MacPorts ports, wine and wine-devel already apply patches for various reasons. It should present no difficulties for upstream to accept bug reports from us if the bugs are unrelated to what is being patched.

comment:6 Changed 2 years ago by kencu (Ken)

I wish that Gcenx might become a meaningful part of the wine infrastructure on MacPorts.

He has skills, interest, and demonstrated knowledge of this. He is motivated, available, and successful in this.

He is the defacto maintainer of the wine builds for macOS.

He has been making wine available to everyone on macOS, using Macports to build it.

Version 1, edited 2 years ago by kencu (Ken) (previous) (next) (diff)

comment:7 in reply to:  5 Changed 2 years ago by Gcenx

Apologies for the tardy response I don’t check the “wine” related issues here much.

Replying to ryandesign:

To clarify, I am not rebasing 32on64 onto wine. I am restructuring the wine, wine-devel, and wine-crossover ports to resolve several outstanding issues, one of which is to allow the wine-crossover port to be able to use 32on64.

That makes sense considering there very outdated for the current upstream wine structure. I’d still holdout on bumping wine-crossover until CX22 that’s now based on wine-7.6 meaning the structure matches upstream.

Replying to ryandesign:

Like many MacPorts ports, wine and wine-devel already apply patches for various reasons. It should present no difficulties for upstream to accept bug reports from us if the bugs are unrelated to what is being patched.

This depends on the who/what/when/why of the patches. Patches that tweak things for Macports infrastructure may make sense in some cases.

Applying reverts for major breakages like bug 52354 makes sense when applied for 10.13 and below, but will require a note that explains this so this can be included in the bug report.

Replying to kencu:

Gijs and myself are the actual Winehq macOS package maintainers not simply de facto anymore, that’s why brew agreed to provide the packages we’re providing on GitHub. We’re awaiting the winemac.drv regression (bug 52354) to be resolved before moving forward with pushing packages directly to Winehq.



The Winehq wine minimums requires are macOS 10.8 with the MacOSX10.10.SDK (mingw is required), once bug 52354 gets resolved I’ll ask to have it fast tracked into the next stable bump.

Last edited 22 months ago by Gcenx (previous) (diff)

comment:8 Changed 22 months ago by Gcenx

I doubt it will go anywhere but I’ve opened a PR with more macports like updates for wine and wine-devel Portfiles bringing them more inline with the the new Winehq macOS packages.

comment:9 Changed 7 weeks ago by raimue (Rainer Müller)

Summary: wine: Update to 7wine: Update to version 9.x

The current stable version of wine would be 9.0 as of now, while development is at version 9.5.

Last edited 7 weeks ago by raimue (Rainer Müller) (previous) (diff)

comment:10 Changed 7 weeks ago by raimue (Rainer Müller)

For those landing here in the search of an update of wine in MacPorts, I found this external ports tree with updated wine versions: https://github.com/Gcenx/macports-wine

comment:11 Changed 7 weeks ago by kencu (Ken)

It’s been many years since wine was updated on macports — so many years that hardly anyone uses it:

https://ports.macports.org/port/wine/stats/

Gcenx came along some years ago, and uses macports strong build system to build the current wine offerings distributed by homebrew and by upstream wine.

The wine-stable offering from brew lists a bit over 110,000 installs this year.

He has tried to offer these updates to macports but essentially has always been blocked in so doing, so he just set up his own repo and does it there instead.

comment:12 Changed 3 weeks ago by Gcenx

Upstream wine will soon officially require macos Catalina (10.15.4) and later this matches CrossOver-24.

I’ve split macports-wine into two branches, main for macOS Catalina 10.15.4 and later, Legacy for macOS Snow Leopard (10.6.8) to macOS Mojave

macOS Mojave requires MacOSX10.13.sdk as macports-base doesn’t support using macOS_SDK_headers_for_macOS_10.14.pkg see https://developer.apple.com/documentation/xcode-release-notes/xcode-10-release-notes


The main branch is my primary focus and does override more ports than the legacy branch, main also overrides gstreamer1-* ports and some related ports to improve media foundation support in wine that does however conflict with macports-ports. I’ve started to consider ether using an isolated custom gstreamer port just for wine or simply make use of GStreamer.framework but how that’s currently handled is far from macports like.

I guess it’s possible to recreate Cerbero packing stage to GStreamer.framework and copy everything into place but that’ll be a lot of effort for something that’ll only live in my overlay anyway.

Last edited 3 weeks ago by Gcenx (previous) (diff)

comment:13 in reply to:  12 ; Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Replying to Gcenx:

Upstream wine will soon officially require macos Catalina (10.15.4)

Do you know why?

comment:14 in reply to:  13 Changed 3 weeks ago by Gcenx

Replying to ryandesign:

Replying to Gcenx:

Upstream wine will soon officially require macos Catalina (10.15.4)

Do you know why?

Dropping legacy macOS versions means being able to take advantage of modern objective-C features, being able to use ARC and the Winehq macOS buildbot is also running macOS Catalina (using brew). Theres additional features to be added to msync and the macOS version of NTSync that will require newer versions on macOS.

The reason for 10.15.4 is (what I’m pushing for) as 10.15.0 to 10.15.3 requires an entitlement to use i386_ldt.

Thats just some of the reasons for this change, it’s not like macports has platform data to show there’s x amount of macOS 10.x users running wine. I can reference the official Winehq packages that only support macOS Catalina and the amount of downloads this year alone.

comment:15 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

I was just trying to ascertain if this is one of those "requirements" that's really more about compiler version, like in so many other projects, which wouldn't apply in MacPorts since we have newer compilers on older systems.

What Winehq uses for their buildbot, for example, is irrelevant to us.

ARC—automatic reference counting—was introduced in Mac OS X 10.7, as I recall.

I'm not sure to what extent using modern Objective-C features requires only a newer compiler or also support from OS libraries.

I suppose it has been so many years since I last looked into wine that I have essentially no idea about anything wine-related anymore you should just take these ports over. I haven't maintained them well these past years.

comment:16 Changed 12 days ago by szhorvat (Szabolcs Horvát)

Wine themselves recommend installing with Homebrew, which has Wine 9.0: https://wiki.winehq.org/MacOS

Unfortunately MacPorts users can't use this options, since (I'm told) the two systems don't play well together.

For this reason it would be very useful to update Wine within MacPorts.

comment:17 in reply to:  15 ; Changed 9 days ago by Gcenx

Replying to ryandesign:

I was just trying to ascertain if this is one of those "requirements" that's really more about compiler version, like in so many other projects, which wouldn't apply in MacPorts since we have newer compilers on older systems.

Thats not usually the case for wine at least.

Replying to ryandesign:

What Winehq uses for their buildbot, for example, is irrelevant to us.

It does matter as that’s the lowest version that upstream tests against on a regular basis as there’s no usable data from macports buildbots for modern wine.

Replying to ryandesign:

ARC—automatic reference counting—was introduced in Mac OS X 10.7, as I recall.

True.

Replying to ryandesign:

I'm not sure to what extent using modern Objective-C features requires only a newer compiler or also support from OS libraries.

Usually it more falls on macOS as when I was testing on legacy versions of macOS I was using macports latest compiler.

Replying to ryandesign:

I suppose it has been so many years since I last looked into wine that I have essentially no idea about anything wine-related anymore you should just take these ports over. I haven't maintained them well these past years.

I’ll get everything in place nicely before making some related PRs then.


Replying to szhorvat:

Wine themselves recommend installing with Homebrew, which has Wine 9.0: https://wiki.winehq.org/MacOS

Yes I recommend installing via brews cask system, the actual packages are currently hosted at https://github.com/Gcenx/macOS_Wine_builds. You will need to install the latest gstreamer pkg release.

Replying to szhorvat:

Unfortunately MacPorts users can't use this options, since (I'm told) the two systems don't play well together.

Thats definitely not something I’d recommend an average user attempt.

Replying to szhorvat:

For this reason it would be very useful to update Wine within MacPorts.

Honestly updating them will be a nightmare as someone will complain about there macOS version being dropped. I can realistically support 10.15.4 and later. The only thing I can offer below 10.15 is being locked to an older version of wine where 6.0.4 will be the oldest.

comment:18 in reply to:  16 Changed 8 days ago by kencu (Ken)

Replying to szhorvat:

Wine themselves recommend installing with Homebrew, which has Wine 9.0: https://wiki.winehq.org/MacOS

Interesting perhaps to recognize in the background that those packages for wine that are being distributed as installable "casks" by homebrew are in fact being made with MacPorts :>

comment:19 in reply to:  17 Changed 8 days ago by kencu (Ken)

Replying to Gcenx:

Honestly updating them will be a nightmare as someone will complain about there macOS version being dropped. I can realistically support 10.15.4 and later. The only thing I can offer below 10.15 is being locked to an older version of wine where 6.0.4 will be the oldest.

OK. It is time for this kind of crippling hold-back of progress to support ancient hobby systems to stop.

Move wine and all it's dependencies up to current versions, and if that breaks the dinosaurs along the way, so be it.

I of course have been a proponent of keeping these older systems going, but never at the expense of progress for current systems. I have worked over the years to help keep the compilers and toolchains on older systems current so they won't need special considerations to build. I invented "legacysupport" and worked to bring it up to speed for the same reason -- so that people would not need to even be aware of the older system.

But there was never an intention to hold back or artificially cripple progress on newer systems to support these dinos.

Move wine along. MacPorts is too good of a build system for it to be dumped into the dustbin because support for ancient systems couldn't be maintained reliably.

comment:20 in reply to:  17 Changed 7 days ago by ryandesign (Ryan Carsten Schmidt)

Replying to Gcenx:

Honestly updating them will be a nightmare as someone will complain about there macOS version being dropped. I can realistically support 10.15.4 and later. The only thing I can offer below 10.15 is being locked to an older version of wine where 6.0.4 will be the oldest.

I agree with Ken: don't worry about that. The wine 4.0.4 in MacPorts today cannot install on the six most recent macOS versions. Getting a wine that works on recent macOS is important; supporting old systems isn't. I haven't been deliberately holding the wine ports back for support of old systems; rather, I had to essentially rewrite the entire portfile to support Crossover's custom build of clang that did whatever they were doing to support wine32on64, and I never quite completed that work. Then it got buried somewhere in my git stash and my inexperience with git made me unable to locate it anymore. Meanwhile, you updated your fork of the wine ports in another way that is evidently working well for you so let's just go with that.

comment:21 Changed 6 days ago by Gcenx

I've opened some PRs for some of the ground work

However the current macports insistence on +x11 for everything even for modern systems needs to be revised, all upstream projects more or less get feedback from brew thats like always building for macports +quartz

Like gstreamer1 Ports are currently still +x11 this will mean loosing access to applemedia plugins that wine expects to have access too, I've love to fallback to simply using GStreamer.framework like I currently do to avoid this problem but I don't know a nice way to unpack the pkg to drop into ${prefix}/Library/Frameworks

comment:22 Changed 6 days ago by kencu (Ken)

It is time to have the official "quartz" discussion I guess.

A bunch of things that people want in gnome cannot build quartz, and only exist as x11 variants, however.

This is not the location for that chat, There is a sorta ticket about it that not many follow. Probably best to open it up to the dev mailing list and let the feathers fly there.

comment:23 Changed 6 days ago by Gcenx

For right now I’m going to build against the current macports-ports gstreamer1 +x11, if that ends up causing issues then I’ll need to investigate ether unpacking the gstreamer pkg installers so GStreamer.framework can be used or figure out how to make Cerbero work within a Portfile to make gstreamer.framework.

comment:24 Changed 2 days ago by mohd-akram (Mohamed Akram)

Cc: mohd-akram added
Note: See TracTickets for help on using tickets.