Skip to content

Commit

Permalink
Wine (x86/x64): update to 8.19
Browse files Browse the repository at this point in the history
also update wine-mono to 8.1.0 to match 8.19 requirements
  • Loading branch information
theofficialgman committed Nov 4, 2023
1 parent 68221d5 commit 33b533e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apps/Wine (x64)/description
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Run x86 and x64 Windows apps with a box64-emulated version x86/x64 wine-8.18 (WOW64 mode enabled).
Run x86 and x64 Windows apps with a box64-emulated version x86/x64 wine-8.19 (WOW64 mode enabled).
To run: wine path/to/file.exe
To configure wine: go to 'Wine configuration' in main menu or type in terminal: wine winecfg
Not all Windows applications will work under Wine. It's a good idea to check online if your program can run, or if something can be tweaked to make it work.
Expand Down
10 changes: 5 additions & 5 deletions apps/Wine (x64)/install-64
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#note to maintainer, if you change the below version make sure to update it in the uninstall script as well
version=8.18
version=8.19

# https://github.com/raspberrypi/bookworm-feedback/issues/107
PAGE_SIZE="$(getconf PAGE_SIZE)"
Expand Down Expand Up @@ -63,12 +63,12 @@ sudo mv /tmp/winetricks /opt/wine-${version}/bin/winetricks || error "Failed to
sudo chmod +x /opt/wine-${version}/bin/winetricks

#download Mono to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Mono#Versions, use Mono 8.0.0 for Wine 8.11
#according to https://wiki.winehq.org/Mono#Versions, use Mono 8.1.0 for Wine 8.11
#wine mono pacakge is called -x86 but contains both x86 and x86_64 binaries
sudo mkdir -p /opt/wine-${version}/share/wine/mono
wget -O "/tmp/wine-mono-8.0.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/8.0.0/wine-mono-8.0.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-8.0.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1
rm -f "/tmp/wine-mono-8.0.0-x86.tar.xz"
wget -O "/tmp/wine-mono-8.1.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/8.1.0/wine-mono-8.1.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-8.1.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1
rm -f "/tmp/wine-mono-8.1.0-x86.tar.xz"

#download Gecko to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Gecko, use Gecko 2.47.4 for Wine 8.11
Expand Down
2 changes: 1 addition & 1 deletion apps/Wine (x64)/uninstall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version=8.18
version=8.19

pkill -9 wine
command -v wineserver >/dev/null && wineserver -k
Expand Down
2 changes: 1 addition & 1 deletion apps/Wine (x86)/description
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Run x86 Windows apps with a box86-emulated version of x86 wine-8.18.
Run x86 Windows apps with a box86-emulated version of x86 wine-8.19.
To run: wine path/to/file.exe
To configure wine: go to 'Wine configuration' in main menu or type in terminal: wine winecfg
Not all Windows applications will work under Wine. It's a good idea to check online if your program can run, or if something can be tweaked to make it work.
Expand Down
8 changes: 4 additions & 4 deletions apps/Wine (x86)/install-32
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ fi
#Past this point, the pi is running a Wine-compatible kernel.

#note to maintainer, if you change the below version make sure to update it in the uninstall script as well
version=8.18
version=8.19

#install box86
"${DIRECTORY}/manage" install-if-not-installed Box86 || error "Box86 failed to install somehow!"
Expand Down Expand Up @@ -170,10 +170,10 @@ sudo mv /tmp/winetricks /opt/wine-${version}/bin/winetricks || error "Failed to
sudo chmod +x /opt/wine-${version}/bin/winetricks

#download Mono to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Mono#Versions, use Mono 8.0.0 for Wine 8.11
#according to https://wiki.winehq.org/Mono#Versions, use Mono 8.1.0 for Wine 8.11
sudo mkdir -p /opt/wine-${version}/share/wine/mono
wget -O "/tmp/wine-mono-8.0.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/8.0.0/wine-mono-8.0.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-8.0.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1
wget -O "/tmp/wine-mono-8.1.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/8.1.0/wine-mono-8.1.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-8.1.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1

#download Gecko to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Gecko, use Gecko 2.47.4 for Wine 8.11
Expand Down
2 changes: 1 addition & 1 deletion apps/Wine (x86)/uninstall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version=8.18
version=8.19

pkill -9 wine
command -v wineserver >/dev/null && wineserver -k
Expand Down

0 comments on commit 33b533e

Please sign in to comment.