pkg2appimage icon indicating copy to clipboard operation
pkg2appimage copied to clipboard

Create wine.yml

Open jonathan-dove opened this issue 4 years ago • 6 comments

A pkg2appimage recipe for wine that can run 32 and 63 bit windows programs on 64bit machines/

jonathan-dove avatar Apr 14 '20 14:04 jonathan-dove

Thanks @jonathan-dove. Are you sure that this really works? Last time I checked, quite some hacks were needed to get WINE running properly. Please see https://github.com/AppImage/AppImageKit/wiki/Bundling-Windows-applications and https://github.com/sudo-give-me-coffee/wine32-deploy.

probonopd avatar Apr 19 '20 09:04 probonopd

It does work. I’m currently still testing it on different distros and found a flaw with it that causes it not to work in Centos7 so I’m currently working that out.

jonathan-dove avatar Apr 21 '20 02:04 jonathan-dove

Thanks @jonathan-dove.

WINE is a complex beast, much more difficult than most "normal" applications.

Specifically, does it work for 32-bit Windows applications on 64-bit Linux (without 32-bit compat libraries being installed on the system)? This is something the AppImages I have linked above can handle.

probonopd avatar Apr 23 '20 17:04 probonopd

Thanks @jonathan-dove for this wine recipe !

I execute the following code (on Debian Stretch) : wget https://github.com/AppImage/pkg2appimage/releases/download/continuous/pkg2appimage-continuous-x86_64.AppImage chmod +x pkg2appimage-continuous-x86_64.AppImage wget https://raw.githubusercontent.com/AppImage/pkg2appimage/573f412d8f7402c0cc55074b6d61da64f67fc7af/recipes/wine.yml ./pkg2appimage-continuous-x86_64.AppImage wine.yml

But I get the following error : [...] ++ find . -name '*.so' -or -name '*.so.*' -or -type f -executable -exec strings '{}' ';' ++ sed s/GLIBC_//g ++ sort --version-sort ++ uniq ++ tail -n 1 + GLIBC_NEEDED=2.3 + VERSION_EXPANDED=.glibc2.3 + set +x appimagetool, continuous build (commit 7392c48), build 2120 built on 2020-03-10 18:42:43 UTC Error: no such file or directory: ./Wine.AppDir/

Do you have an idea what's going on ?

alexdevos avatar May 03 '20 14:05 alexdevos

Hi,

I have tried on Debian stretch too and it's not working, when I run it I get :

`/tmp/.mount_1Wine-JguNcg/AppRun: line 9: wine: command not found

/tmp/.mount_1Wine-JguNcg/AppRun: line 10: exec: wine: not found ` Would it be possible to upload a working appimage, i have been looking for something like this for ages.

Thank you

thenoobtester avatar Jun 25 '21 14:06 thenoobtester

@probonopd I think that wine now works without hacks required for glibc, I've made a fork from mmtrt, updated the sources to jammy from focal in the appimagebuilder recipe, and the /usr/bin/wine: No such file or directory is fixed in fresh linux mint installs, without libc6-i386. Here are some tests I've made, it worked in bionic, jammy and focal. Here is a proof of concept release: https://github.com/ruanformigoni/wine/releases/tag/continuous-staging. I think it may be wow64 in action.

ruanformigoni avatar Oct 27 '22 04:10 ruanformigoni