FS#64990 - [wine-gecko] Support for global install location
Attached to Project:
Community Packages
Opened by Maciej Stanczew (stanczew) - Tuesday, 31 December 2019, 00:01 GMT
Last edited by Daniel Bermond (Bermond) - Monday, 02 August 2021, 20:53 GMT
Opened by Maciej Stanczew (stanczew) - Tuesday, 31 December 2019, 00:01 GMT
Last edited by Daniel Bermond (Bermond) - Monday, 02 August 2021, 20:53 GMT
|
Details
Analogous request for wine-mono:
Support for global install location was added with Wine Gecko 2.47.1 and Wine 5.0-rc1: https://www.winehq.org/announce/5.0-rc1 Using global install saves almost 200 MB of disk space when using just one Wine prefix: * .msi installer: 98 MB for wine-gecko package + 296 MB per Wine prefix * global install: 197 MB for wine-gecko package + 0 MB per Wine prefix |
This task depends upon
Closed by Daniel Bermond (Bermond)
Monday, 02 August 2021, 20:53 GMT
Reason for closing: Implemented
Additional comments about closing: wine-gecko 2.47.2-2
Monday, 02 August 2021, 20:53 GMT
Reason for closing: Implemented
Additional comments about closing: wine-gecko 2.47.2-2
Can you please test if it works for you? Please test with both 32-bit and 64-bit wine prefixes, as the gecko engine has separated installations for each architecture.
https://bugs.winehq.org/show_bug.cgi?id=50759
Because of this it's a bit more complicated to verify if Gecko is installed properly.
I tested 32- and 64-bit prefixes, with Wine and Staging (both 6.14-1). After creating a prefix I ran "wine iexplore", as suggested in the bug report.
In all cases results were as expected: with wine-gecko 2.47.2-2 installed the winehq.org page loaded inside iexplore, while with wine-gecko uninstalled I got a prompt to download it -- however the downloadable wine-gecko was 32-bit regardless if prefix was 32- or 64-bit.
I wasn't sure how to test 64-bit wine-gecko, so I installed Wine 6.1, which does check Gecko on prefix creation. With wine-gecko uninstalled I got two prompts to download it, one for 32-bit and one for 64-bit Gecko. With wine-gecko 2.47.2-2 installed there were no prompts, so the shared installation got picked up successfully.
Edit: "winecfg iexplore" -> "wine iexplore"
For testing on a 64-bit wine prefix, run 'wine64 iexplore' and check if the 'iexplore.exe' process is loading libraries from '/usr/share/wine/gecko/wine-gecko-2.47.2-x86_64/'.
Works fine for me on both 32-bit and 64-bit wine prefixes: each wine architecture loads the gecko engine from the corresponding directory under '/usr/share/wine/gecko/', the web sites are displayed successfully and no gecko files are installed under the wine prefix.
Without wine-gecko package installed I got a download prompt, and then iexplore (and wineserver) used files under <prefix>/drive_c/system32/gecko/2.47.2/wine_gecko, as shown by lsof.
With wine-gecko 2.47.2-2 installed the winehq.org website loaded immediately without download prompt, and lsof showed Gecko DLLs under /usr/share/wine/gecko/wine-gecko-2.47.2-x86_64 were being used.
wine-gecko 2.47.2-2 is now on the [community] official repository. Closing.