FS#62351 - [wine-mono] support installing wine-mono to a shared location
Attached to Project:
Community Packages
Opened by Florian Léger (fleger) - Monday, 15 April 2019, 08:44 GMT
Last edited by Daniel Bermond (Bermond) - Saturday, 31 July 2021, 20:09 GMT
Opened by Florian Léger (fleger) - Monday, 15 April 2019, 08:44 GMT
Last edited by Daniel Bermond (Bermond) - Saturday, 31 July 2021, 20:09 GMT
|
Details
Since wine-mono 4.8.1 and wine 4.6, its possible to install
wine-mono in a way that allows the same installation to be
shared between wine prefixes.
This requires wine-mono to be packaged in a different way as explained in the wine-mono 4.8.1 release notes: https://github.com/madewokherd/wine-mono/releases/tag/wine-mono-4.8.1 |
This task depends upon
Closed by Daniel Bermond (Bermond)
Saturday, 31 July 2021, 20:09 GMT
Reason for closing: Implemented
Additional comments about closing: wine-mono 6.3.0-1
Saturday, 31 July 2021, 20:09 GMT
Reason for closing: Implemented
Additional comments about closing: wine-mono 6.3.0-1
FS#64990Using shared install location for wine-mono saves 180 MB with a single Wine prefix, and 346 MB per every prefix beyond that.
https://aur.archlinux.org/packages/wine-mono-bin
Btw, friendly reminder to the maintainer(s), that next time perhaps first wait for wine to bump MONO_VERSION before updating the package
https://github.com/wine-mirror/wine/blob/master/dlls/appwiz.cpl/addons.c#L61
It kind of negates the whole point of the thing otherwise.
Not only are we wasting space, but the user experience is also diminished - annoying pop-ups prompting to install wine-mono, time delay while installing etc.
Also, is there any use case for still including the .msi installer in the package? Wine will prioritize the shared version in /usr/share/wine/mono, so the .msi installer will never be used.
I can confirm that wine-mono 5.1.0-2 works correctly with wine-staging 5.18-1. (To test 5.19 and later, we'd need wine-mono 5.1.1.)
And as mentioned in the previous comment, keeping the .msi file in the package doesn't seem to be needed for anything, as Wine will prioritize the shared version anyway. If for any reason someone wants to install the non-shared version, they can use Wine's automatic built-in downloader. Keeping the .msi file increases package size by over 2x.
Thanks to everyone who participated.