Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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
Task Type Feature Request
Category Packages: Multilib
Status Closed
Assigned To Felix Yan (felixonmars)
Daniel Bermond (Bermond)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 13
Private No


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:
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
Comment by Maciej Stanczew (stanczew) - Tuesday, 31 December 2019, 00:12 GMT
Same story for wine-gecko:  FS#64990 
Using shared install location for wine-mono saves 180 MB with a single Wine prefix, and 346 MB per every prefix beyond that.
Comment by (soredake) - Monday, 30 March 2020, 17:31 GMT
Any progress on this?
Comment by mirh (mirh) - Sunday, 19 April 2020, 02:15 GMT
There's already this in the AUR, it shouldn't be hard

Btw, friendly reminder to the maintainer(s), that next time perhaps first wait for wine to bump MONO_VERSION before updating the package
It kind of negates the whole point of the thing otherwise.
Comment by Emil (xexaxo) - Sunday, 27 September 2020, 21:52 GMT
Is there anything we can help with, to move this forward?

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.
Comment by Filipe Laíns (FFY00) - Saturday, 24 October 2020, 16:55 GMT
I am really sorry for the delay, I have pushed wine-mono 5.1.0-2 to [community-staging]. Please test and confirm if it works for you.
Comment by Maciej Stanczew (stanczew) - Sunday, 25 October 2020, 18:27 GMT
Where can the package be found? I don't see it on any mirror, and on the package search list only version in [community] shows up. I only see the PKGBUILD changes in svntogit.
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.
Comment by Maciej Stanczew (stanczew) - Friday, 20 November 2020, 21:12 GMT
Took me some time to re-check, but I now see the package on mirrors.
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.
Comment by Emil (xexaxo) - Saturday, 28 November 2020, 13:33 GMT
Seconded - shipping the .MSI is wasteful and the package works with older wine (note last 3 wine versions require 5.1.1).
Comment by Daniel Bermond (Bermond) - Saturday, 31 July 2021, 15:37 GMT
Version 6.3.0 is now on the [community-testing] repository without the .msi file. Can you please test if it works for you?
Comment by Maciej Stanczew (stanczew) - Saturday, 31 July 2021, 16:48 GMT
I can confirm 6.3.0-1 is detected correctly by both wine and wine-staging 6.14-1.
Comment by Emil (xexaxo) - Saturday, 31 July 2021, 18:15 GMT
wine-mono 6.3.0-1 works just fine with wine 6.14-1. If we can get the same for wine-gecko that would be amazing
Comment by Daniel Bermond (Bermond) - Saturday, 31 July 2021, 20:08 GMT
Thank you for the confirmations. Version 6.3.0-1 is now on the [community] repository.

Thanks to everyone who participated.