fastrizwaan / flatpak-wine

wine using flatpak (build with runtime freedesktop sdk 22.08), provides wine to Centos like distros (https://flatpak.org/setup/)
93 stars 4 forks source link

Doesn't work #11

Closed K0-RR closed 2 years ago

K0-RR commented 2 years ago
nacia@rosa2021 ~ $ flatpak run org.winehq.flatpak-wine71 --version
/app/bin/flatpak-wine.sh: line 61: /app/bin/wine: No such file or directory
nacia@rosa2021 ~ $ flatpak run org.winehq.flatpak-wine71 regedit
/app/bin/flatpak-wine.sh: line 30: /app/bin/wine: No such file or directory
nacia@rosa2021 ~ $ flatpak run org.winehq.flatpak-wine71 winecfg
/app/bin/winecfg: line 46: /app/bin/wine: No such file or directory
nacia@rosa2021 ~ $ flatpak run org.winehq.flatpak-wine71 explorer
launching explorer++
/app/bin/flatpak-wine.sh: line 41: /app/bin/wine: No such file or directory
fastrizwaan commented 2 years ago
rizvan@debian:~$ flatpak run org.winehq.flatpak-wine71 --version
wine-7.1

OK, you need to install i386 platform.

#Install flathub repo and dependencies for flatpak-wine
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak -y --user install flathub                              \
        org.freedesktop.Platform/x86_64/21.08                  \
        org.freedesktop.Platform.Compat.i386/x86_64/21.08      \
        org.freedesktop.Platform.GL32.default/x86_64/21.08     \
        org.freedesktop.Platform.GL.default/x86_64/21.08       \
        org.freedesktop.Platform.VAAPI.Intel.i386/x86_64/21.08 \
        org.freedesktop.Platform.VAAPI.Intel/x86_64/21.08      \
        org.freedesktop.Platform.ffmpeg_full.i386/x86_64/21.08 \
        org.freedesktop.Platform.ffmpeg-full/x86_64/21.08       
okias commented 2 years ago

shouldn't have the flatpak itself tell us it needs these deps?

fastrizwaan commented 2 years ago

ok, will try to add dependencies to wine wrapper /app/bin/flatpak-wine.sh

fastrizwaan commented 2 years ago

just install wine from flathub which installs all i386 dependencies. It's a bug in flatpak that it can't handle i386 dependencies for flatpak bundles. you may uninstall org.winehq.Wine after all the dependencies are installed.

flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user -y install flathub org.winehq.Wine/x86_64/stable-21.08