Skip to content

Commit

Permalink
Wine (x86/x64): update to 9.13
Browse files Browse the repository at this point in the history
upstream issue https://bugs.winehq.org/show_bug.cgi?id=56751 resolved in 9.13

also adds patch to fix "try_map_free_area mmap() error, can not malloc memory" errors on less than 48bit virtual address space kernels
  • Loading branch information
theofficialgman committed Jul 22, 2024
1 parent 1457945 commit 793a6e1
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 16 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-9.3 (WOW64 mode enabled).
Run x86 and x64 Windows apps with a box64-emulated version x86/x64 wine-9.13 (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
12 changes: 6 additions & 6 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=9.3
version=9.13

# https://github.com/raspberrypi/bookworm-feedback/issues/107
PAGE_SIZE="$(getconf PAGE_SIZE)"
Expand Down Expand Up @@ -78,14 +78,14 @@ 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 9.0.0 for Wine 9.2
#according to https://wiki.winehq.org/Mono#Versions, use Mono 9.2.0 for Wine 9.12
#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-9.0.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/9.0.0/wine-mono-9.0.0-x86.tar.xz' || exit 1
status "Extracting: /tmp/wine-mono-9.0.0-x86.tar.xz"
sudo tar -xvf "/tmp/wine-mono-9.0.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" | less_tar
wget -O "/tmp/wine-mono-9.2.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/9.2.0/wine-mono-9.2.0-x86.tar.xz' || exit 1
status "Extracting: /tmp/wine-mono-9.2.0-x86.tar.xz"
sudo tar -xvf "/tmp/wine-mono-9.2.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" | less_tar
[ ${PIPESTATUS[0]} != 0 ] && error 'Failed to extract wine-mono!'
rm -f "/tmp/wine-mono-9.0.0-x86.tar.xz"
rm -f "/tmp/wine-mono-9.2.0-x86.tar.xz"
status_green Done

#download Gecko to universal location (to be installed automatically in all wine prefixes)
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=9.3
version=9.13

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-9.3.
Run x86 Windows apps with a box86-emulated version of x86 wine-9.13.
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
13 changes: 7 additions & 6 deletions apps/Wine (x86)/install-32
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=9.3
version=9.13

if grep -q ARMv6 /proc/cpuinfo ;then
error "Wine is not compatible with the Raspberry Pi Zero or other ARMv6 boards."
Expand Down Expand Up @@ -191,13 +191,14 @@ 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 9.0.0 for Wine 9.2
#according to https://wiki.winehq.org/Mono#Versions, use Mono 9.2.0 for Wine 9.12
#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-9.0.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/9.0.0/wine-mono-9.0.0-x86.tar.xz' || exit 1
status "Extracting: /tmp/wine-mono-9.0.0-x86.tar.xz"
sudo tar -xvf "/tmp/wine-mono-9.0.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" | less_tar
wget -O "/tmp/wine-mono-9.2.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/9.2.0/wine-mono-9.2.0-x86.tar.xz' || exit 1
status "Extracting: /tmp/wine-mono-9.2.0-x86.tar.xz"
sudo tar -xvf "/tmp/wine-mono-9.2.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" | less_tar
[ ${PIPESTATUS[0]} != 0 ] && error 'Failed to extract wine-mono!'
rm -f "/tmp/wine-mono-9.0.0-x86.tar.xz"
rm -f "/tmp/wine-mono-9.2.0-x86.tar.xz"
status_green Done

#download Gecko to universal location (to be installed automatically in all wine prefixes)
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=9.3
version=9.13

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

0 comments on commit 793a6e1

Please sign in to comment.