Commit 0c468372 authored by Vitaly Lipatov's avatar Vitaly Lipatov

just import winetricks-20190310.tar with rpmgs script

parent d5350ca7
......@@ -28,34 +28,108 @@ The ```winetricks``` package should be used if it is available and up to date. T
Note: packaged Debian / Ubuntu winetricks versions are typically outdated, so a manual installation is recommended.
If the package is unavailable, outdated, or the latest version is desired, a manual installation of winetricks can be done. E.g.:
If the package is unavailable, outdated, or the latest version is desired, a manual installation of winetricks can be done.
It is _highly_ recommended to uninstall any previously installed version of winetricks first.
**_If you don't uninstall a previously installed, packaged version of winetricks... Well then you get to pick up the pieces!_**
E.g. for Debian / Ubuntu:
```
sudo apt-get purge winetricks
```
Then, for Ubuntu, use a shell script to download the current winetricks script(s).
E.g.:
```
sudo -- sh -c '
cat > /usr/local/bin/update_winetricks.sh <<_EOF_SCRIPT
# Create and switch to a temporary directory writeable by current user. See:
# https://www.tldp.org/LDP/abs/html/subshells.html
cd "$(mktemp -d)"
# Use a BASH "here document" to create an updater shell script file.
# See:
# https://www.tldp.org/LDP/abs/html/here-docs.html
# > outputs stdout to a file, overwriting any pre-existing file
# << takes input, directly from the script itself, till the second '_EOF_SCRIPT' marker, as stdin
# the cat command hooks these 2 streams up (stdin and stdout)
###### create update_winetricks START ########
cat > update_winetricks <<_EOF_SCRIPT
#!/bin/sh
cd "${HOME}" # change to a path writeable by current user
# Create and switch to a temporary directory writeable by current user. See:
# https://www.tldp.org/LDP/abs/html/subshells.html
cd "$(mktemp -d)"
# Download the latest winetricks script (master="latest version") from Github.
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
# Mark the winetricks script (we've just downloaded) as executable. See:
# https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x9543.htm
chmod +x winetricks
sudo mv winetricks /usr/local/bin
# Move the winetricks script to a location which will be in the standard user PATH. See:
# https://www.tldp.org/LDP/abs/html/internalvariables.html
sudo mv winetricks /usr/bin
# Download the latest winetricks BASH completion script (master="latest version") from Github.
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion
# Move the winetricks BASH completion script to a standard location for BASH completion modules. See:
# https://www.tldp.org/LDP/abs/html/tabexpansion.html
sudo mv winetricks.bash-completion /usr/share/bash-completion/completions/winetricks
_EOF_SCRIPT
###### create update_winetricks FINISH ########
# Mark the update_winetricks script (we've just written out) as executable. See:
# https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x9543.htm
chmod +x update_winetricks
# We must escalate privileges to root, as regular Linux users do not have write access to '/usr/bin'.
sudo mv update_winetricks /usr/bin/
```
See the manpages for the individual functions, if you are not clear how they are being used, e.g.
```
man mktemp
man mv
man wget
man sudo
...
```
An alternative updater script implementation, using **su** in place of **sudo**, is also possible:
```
cd "$(mktemp -d)"
cat > update_winetricks <<_EOF_SCRIPT
#!/bin/sh
cd "$(mktemp -d)"
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion
chmod +x winetricks
su root sh -c 'mv winetricks /usr/bin ; mv winetricks.bash-completion /usr/share/bash-completion/completions/winetricks'
_EOF_SCRIPT
chmod +x /usr/local/bin/update_winetricks.sh
'
chmod +x update_winetricks
su root sh -c 'mv update_winetricks /usr/bin/'
```
To use ```curl``` instead of ```wget```: subsitute all ```wget``` calls with ```curl -O```, in the winetricks update script.
Note: the path ```/usr/local/bin``` must be in your ```PATH``` (env variable) for this to work.
# Updating
This winetricks update scripts can easily automated, via (where available) a systemd timer unit...
Using the traditional Unix crontab...
```
sudo -- sh -c '
cat > /etc/systemd/system/winetricks_update.timer <<_EOF_TIMER
sudo ln "/usr/bin/update_winetricks" "/etc/cron.weekly/update_winetricks"
```
Note: ensure you have a cron utility installed and enabled, on systems utilizing **systemd** by default.
The update script can be automated, to run on a set schedule, via (where available) **systemd** units.
E.g. to create a scheduled winetricks updater **systemd** **timer** unit, and an associated **systemd** **service** unit:
```
cd "$(mktemp -d)"
cat > winetricks_update.timer <<_EOF_TIMER_UNIT
[Unit]
Description=Run winetricks update script weekly (Saturday)
......@@ -65,29 +139,30 @@ Persistent=true
[Install]
WantedBy=timers.target
_EOF_TIMER
_EOF_TIMER_UNIT
sudo cat > /etc/systemd/system/winetricks_update.service <<_EOF_SERVICE
cat > winetricks_update.service <<_EOF_SERVICE_UNIT
[Unit]
Description=Run winetricks update script
After=network.target
[Service]
ExecStart=/usr/local/bin/update_winetricks.sh
ExecStart=/usr/bin/update_winetricks
Type=oneshot
_EOF_SERVICE
'
_EOF_SERVICE_UNIT
sudo mv winetricks_update.timer winetricks_update.service /etc/systemd/system/
```
See:
* [freedesktop.org: systemd service unit](https://www.freedesktop.org/software/systemd/man/systemd.service.html)
* [freedesktop.org: systemd timer unit](https://www.freedesktop.org/software/systemd/man/systemd.timer.html)
To start and enable the winetricks update timer:
```
sudo systemctl daemon-reload
sudo systemctl enable winetricks_update.timer
sudo systemctl start winetricks_update.timer
```
Or using the more tradional Unix crontab...
```
sudo cp "/usr/local/bin/update_winetricks.sh" "/etc/cron.weekly/"
```
The core winetricks script can also be updated by simply doing:
```
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
===== apps =====
3m_library 3M Cloud Library (3M Company, 2015) [downloadable]
7zip 7-Zip 16.02 (Igor Pavlov, 2016) [downloadable]
......@@ -78,6 +78,7 @@ binkw32 RAD Game Tools binkw32.dll (RAD Game Tools, Inc., 2000)
cabinet Microsoft cabinet.dll (Microsoft, 2002) [downloadable]
cinepak Cinepak Codec (Radius, 1995) [downloadable]
cmd MS cmd.exe (Microsoft, 2004) [downloadable]
cnc_ddraw Reimplentation of ddraw for CnC games (CnCNet, 2018) [downloadable]
comctl32ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6 (Microsoft, 2012) [downloadable]
comctl32 MS common controls 5.80 (Microsoft, 2001) [downloadable]
comdlg32ocx Common Dialog ActiveX Control for VB6 (Microsoft, 2012) [downloadable]
......@@ -156,6 +157,7 @@ dxdiagn DirectX Diagnostic Library (Microsoft, 2011) [downloada
dxdiag DirectX Diagnostic Tool (Microsoft, 2010) [downloadable]
dxsdk_jun2010 MS DirectX SDK, June 2010 (developers only) (Microsoft, 2010) [downloadable]
dxsdk_nov2006 MS DirectX SDK, November 2006 (developers only) (Microsoft, 2006) [downloadable]
dxvk100 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (1.0) (Philip Rebohle, 2018) [downloadable]
dxvk54 Vulkan-based D3D11 implementation for Linux / Wine (0.54) (Philip Rebohle, 2018) [downloadable]
dxvk60 Vulkan-based D3D11 implementation for Linux / Wine (0.60) (Philip Rebohle, 2018) [downloadable]
dxvk61 Vulkan-based D3D11 implementation for Linux / Wine (0.61) (Philip Rebohle, 2018) [downloadable]
......@@ -172,10 +174,17 @@ dxvk90 Vulkan-based D3D10/D3D11 implementation for Linux / Win
dxvk91 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.91) (Philip Rebohle, 2018) [downloadable]
dxvk92 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.92) (Philip Rebohle, 2018) [downloadable]
dxvk93 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.93) (Philip Rebohle, 2018) [downloadable]
dxvk94 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.94) (Philip Rebohle, 2018) [downloadable]
dxvk95 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.95) (Philip Rebohle, 2018) [downloadable]
dxvk96 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.96) (Philip Rebohle, 2018) [downloadable]
dxvk Vulkan-based D3D10/D3D11 implementation for Linux / Wine (latest) (Philip Rebohle, 2018) [downloadable]
esent MS Extensible Storage Engine (Microsoft, 2011) [downloadable]
faudio FAudio (xaudio reimplemntation, with xna support) builds for win32 (Kron4ek, 2019) [downloadable]
ffdshow ffdshow video codecs (doom9 folks, 2010) [downloadable]
flash Flash Player 29 (Adobe, 2018) [downloadable]
galliumnine02 Gallium Nine Standalone (v0.2) (Gallium Nine Team, 2019) [downloadable]
galliumnine03 Gallium Nine Standalone (v0.3) (Gallium Nine Team, 2019) [downloadable]
galliumnine Gallium Nine Standalone (latest) (Gallium Nine Team, 2019) [downloadable]
gdiplus MS GDI+ (Microsoft, 2011) [downloadable]
gdiplus_winxp MS GDI+ (Microsoft, 2004)
gfw MS Games For Windows Live (xlive.dll) (Microsoft, 2008) [downloadable]
......@@ -220,10 +229,10 @@ pdh MS pdh.dll (Performance Data Helper) (Microsoft, 2011)
physx PhysX (Nvidia, 2014) [downloadable]
pngfilt pngfilt.dll (from winxp) (Microsoft, 2004) [downloadable]
python26 Python interpreter 2.6.2 (Python Software Foundaton, 2009) [downloadable]
qasf qasf.dll (from Directx 9 user redistributable) (Microsoft, 2010) [downloadable]
qasf qasf.dll (Microsoft, 2011) [downloadable]
qdvd qdvd.dll (Microsoft, 2011) [downloadable]
qedit qedit.dll (Microsoft, 2011) [downloadable]
quartz quartz.dll (from Directx 9 user redistributable) (Microsoft, 2010) [downloadable]
quartz quartz.dll (Microsoft, 2011) [downloadable]
quicktime72 Apple QuickTime 7.2 (Apple, 2010) [downloadable]
quicktime76 Apple QuickTime 7.6 (Apple, 2010) [downloadable]
riched20 MS RichEdit Control 2.0 (riched20.dll) (Microsoft, 2004) [downloadable]
......@@ -265,7 +274,8 @@ wmp10 Windows Media Player 10 (Microsoft, 2006) [downloadable
wmp9 Windows Media Player 9 (Microsoft, 2003) [downloadable]
wmv9vcm MS Windows Media Video 9 Video Compression Manager (Microsoft, 2013) [downloadable]
wsh57 MS Windows Script Host 5.7 (Microsoft, 2007) [downloadable]
xact MS XACT Engine (Microsoft, 2010) [downloadable]
xact MS XACT Engine (32-bit only) (Microsoft, 2010) [downloadable]
xact_x64 MS XACT Engine (64-bit only) (Microsoft, 2010) [downloadable]
xinput Microsoft XInput (Xbox controller support) (Microsoft, 2010) [downloadable]
xmllite MS xmllite dll (Microsoft, 2011) [downloadable]
xna31 MS XNA Framework Redistributable 3.1 (Microsoft, 2009) [downloadable]
......@@ -448,6 +458,8 @@ hosts Add empty C:\windows\system32\drivers\etc\{hosts,servic
isolate_home Remove wineprefix links to /home/austin
macdriver=mac Enable the Mac native Quartz driver (default)
macdriver=x11 Disable the Mac native Quartz driver, use X11 instead
mimeassoc=off Disable exporting MIME-type file associations to the native desktop
mimeassoc=on Enable exporting MIME-type file associations to the native desktop (default)
multisampling=disabled Disable Direct3D multisampling
multisampling=enabled Enable Direct3D multisampling
mwo=disable Set DirectInput MouseWarpOverride to disable
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
3m_library 3M Cloud Library (3M Company, 2015) [downloadable]
7zip 7-Zip 16.02 (Igor Pavlov, 2016) [downloadable]
abiword AbiWord 2.8.6 (AbiSource, 2010) [downloadable]
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
3dmark03 3D Mark 03 (Futuremark, 2003)
3dmark05 3D Mark 05 (Futuremark, 2005) [downloadable]
3dmark06 3D Mark 06 (Futuremark, 2006)
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
adobeair Adobe AIR (Adobe, 2018) [downloadable]
allcodecs All codecs (dirac, ffdshow, icodecs, cinepak, l3codecx, xvid) except wmp (various, 1995-2009) [downloadable]
amstream MS amstream.dll (Microsoft, 2011) [downloadable]
......@@ -9,6 +9,7 @@ binkw32 RAD Game Tools binkw32.dll (RAD Game Tools, Inc., 2000)
cabinet Microsoft cabinet.dll (Microsoft, 2002) [downloadable]
cinepak Cinepak Codec (Radius, 1995) [downloadable]
cmd MS cmd.exe (Microsoft, 2004) [downloadable]
cnc_ddraw Reimplentation of ddraw for CnC games (CnCNet, 2018) [downloadable]
comctl32ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6 (Microsoft, 2012) [downloadable]
comctl32 MS common controls 5.80 (Microsoft, 2001) [downloadable]
comdlg32ocx Common Dialog ActiveX Control for VB6 (Microsoft, 2012) [downloadable]
......@@ -87,6 +88,7 @@ dxdiagn DirectX Diagnostic Library (Microsoft, 2011) [downloada
dxdiag DirectX Diagnostic Tool (Microsoft, 2010) [downloadable]
dxsdk_jun2010 MS DirectX SDK, June 2010 (developers only) (Microsoft, 2010) [downloadable]
dxsdk_nov2006 MS DirectX SDK, November 2006 (developers only) (Microsoft, 2006) [downloadable]
dxvk100 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (1.0) (Philip Rebohle, 2018) [downloadable]
dxvk54 Vulkan-based D3D11 implementation for Linux / Wine (0.54) (Philip Rebohle, 2018) [downloadable]
dxvk60 Vulkan-based D3D11 implementation for Linux / Wine (0.60) (Philip Rebohle, 2018) [downloadable]
dxvk61 Vulkan-based D3D11 implementation for Linux / Wine (0.61) (Philip Rebohle, 2018) [downloadable]
......@@ -103,10 +105,17 @@ dxvk90 Vulkan-based D3D10/D3D11 implementation for Linux / Win
dxvk91 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.91) (Philip Rebohle, 2018) [downloadable]
dxvk92 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.92) (Philip Rebohle, 2018) [downloadable]
dxvk93 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.93) (Philip Rebohle, 2018) [downloadable]
dxvk94 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.94) (Philip Rebohle, 2018) [downloadable]
dxvk95 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.95) (Philip Rebohle, 2018) [downloadable]
dxvk96 Vulkan-based D3D10/D3D11 implementation for Linux / Wine (0.96) (Philip Rebohle, 2018) [downloadable]
dxvk Vulkan-based D3D10/D3D11 implementation for Linux / Wine (latest) (Philip Rebohle, 2018) [downloadable]
esent MS Extensible Storage Engine (Microsoft, 2011) [downloadable]
faudio FAudio (xaudio reimplemntation, with xna support) builds for win32 (Kron4ek, 2019) [downloadable]
ffdshow ffdshow video codecs (doom9 folks, 2010) [downloadable]
flash Flash Player 29 (Adobe, 2018) [downloadable]
galliumnine02 Gallium Nine Standalone (v0.2) (Gallium Nine Team, 2019) [downloadable]
galliumnine03 Gallium Nine Standalone (v0.3) (Gallium Nine Team, 2019) [downloadable]
galliumnine Gallium Nine Standalone (latest) (Gallium Nine Team, 2019) [downloadable]
gdiplus MS GDI+ (Microsoft, 2011) [downloadable]
gdiplus_winxp MS GDI+ (Microsoft, 2004)
gfw MS Games For Windows Live (xlive.dll) (Microsoft, 2008) [downloadable]
......@@ -151,10 +160,10 @@ pdh MS pdh.dll (Performance Data Helper) (Microsoft, 2011)
physx PhysX (Nvidia, 2014) [downloadable]
pngfilt pngfilt.dll (from winxp) (Microsoft, 2004) [downloadable]
python26 Python interpreter 2.6.2 (Python Software Foundaton, 2009) [downloadable]
qasf qasf.dll (from Directx 9 user redistributable) (Microsoft, 2010) [downloadable]
qasf qasf.dll (Microsoft, 2011) [downloadable]
qdvd qdvd.dll (Microsoft, 2011) [downloadable]
qedit qedit.dll (Microsoft, 2011) [downloadable]
quartz quartz.dll (from Directx 9 user redistributable) (Microsoft, 2010) [downloadable]
quartz quartz.dll (Microsoft, 2011) [downloadable]
quicktime72 Apple QuickTime 7.2 (Apple, 2010) [downloadable]
quicktime76 Apple QuickTime 7.6 (Apple, 2010) [downloadable]
riched20 MS RichEdit Control 2.0 (riched20.dll) (Microsoft, 2004) [downloadable]
......@@ -196,7 +205,8 @@ wmp10 Windows Media Player 10 (Microsoft, 2006) [downloadable
wmp9 Windows Media Player 9 (Microsoft, 2003) [downloadable]
wmv9vcm MS Windows Media Video 9 Video Compression Manager (Microsoft, 2013) [downloadable]
wsh57 MS Windows Script Host 5.7 (Microsoft, 2007) [downloadable]
xact MS XACT Engine (Microsoft, 2010) [downloadable]
xact MS XACT Engine (32-bit only) (Microsoft, 2010) [downloadable]
xact_x64 MS XACT Engine (64-bit only) (Microsoft, 2010) [downloadable]
xinput Microsoft XInput (Xbox controller support) (Microsoft, 2010) [downloadable]
xmllite MS xmllite dll (Microsoft, 2011) [downloadable]
xna31 MS XNA Framework Redistributable 3.1 (Microsoft, 2009) [downloadable]
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
3dmark05
3dmark2000
3dmark2001
......@@ -35,6 +35,7 @@ civ5_demo_steam
cjkfonts
cmake
cmd
cnc_ddraw
colorprofile
comctl32
comctl32ocx
......@@ -127,6 +128,7 @@ dxdiagn_feb2010
dxsdk_jun2010
dxsdk_nov2006
dxvk
dxvk100
dxvk54
dxvk60
dxvk61
......@@ -143,16 +145,23 @@ dxvk90
dxvk91
dxvk92
dxvk93
dxvk94
dxvk95
dxvk96
emu8086
esent
eufonts
ev3
eve
faudio
ffdshow
fifa11_demo
firefox
flash
fontxplorer
galliumnine
galliumnine02
galliumnine03
gdiplus
georgia
gfw
......@@ -315,6 +324,7 @@ wog
wormsreloaded_demo_steam
wsh57
xact
xact_x64
xinput
xmllite
xna31
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
acreedbro Assassin's Creed Brotherhood (Ubisoft, 2011)
algodoo_demo Algodoo Demo (Algoryx, 2009) [downloadable]
alienswarm_steam Alien Swarm (Steam) (Valve, 2010) [downloadable]
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
3dmark03
3dmark06
amnesia_tdd_demo
......
Using winetricks 20181203 - sha256sum: 2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18 with wine-3.19-116-gb78de971f6 and WINEARCH=win32
Using winetricks 20190310 - sha256sum: cf44b3cbf4134adb9f9dd7eec0d50b45d34ae65c5432d72edc24bcd1841888ba with wine-3.21-243-g0cc6233e20 and WINEARCH=win32
alldlls=builtin Override most common DLLs to builtin
alldlls=default Remove all DLL overrides
ao=disabled Disable AlwaysOffscreen (default)
......@@ -34,6 +34,8 @@ hosts Add empty C:\windows\system32\drivers\etc\{hosts,servic
isolate_home Remove wineprefix links to /home/austin
macdriver=mac Enable the Mac native Quartz driver (default)
macdriver=x11 Disable the Mac native Quartz driver, use X11 instead
mimeassoc=off Disable exporting MIME-type file associations to the native desktop
mimeassoc=on Enable exporting MIME-type file associations to the native desktop (default)
multisampling=disabled Disable Direct3D multisampling
multisampling=enabled Enable Direct3D multisampling
mwo=disable Set DirectInput MouseWarpOverride to disable
......
.\" -*- nroff -*-
.TH WINETRICKS 1 "December 2018" "Winetricks 20181203" "Wine Package Manager"
.TH WINETRICKS 1 "March 2019" "Winetricks 20190310" "Wine Package Manager"
.SH NAME
winetricks \- manage virtual Windows environments using Wine
.SH SYNOPSIS
......@@ -59,10 +59,6 @@ Don't ask any questions, just install automatically
Retry hard when caching scratched discs
.TP
.B
\-\-showbroken
Even show verbs that are currently broken in Wine
.TP
.B
\-v, \-\-verbose
Echo all commands as they are executed
.TP
......
......@@ -2,7 +2,7 @@
<!-- Copyright 2017 Daniel Rusek <mail@asciiwolf.com> -->
<component type="desktop">
<id>winetricks.desktop</id>
<project_license>GPL-2.1</project_license>
<project_license>LGPL-2.1+</project_license>
<metadata_license>CC0-1.0</metadata_license>
<name>Winetricks</name>
<summary>Work around problems and install applications under Wine</summary>
......
......@@ -22,13 +22,13 @@
##### Define Global constants / variables #####
WINETRICKS_PATH="$(command -v winetricks)"
# https://pkgstore.datahub.io/core/country-list/data_csv/data/d7c9d7cfb42cb69f4422dec222dbbaa8/data_csv.csv
COUNTRY_CODES="AF AX AL DZ AS AD AO AI AQ AG AR AM AW AU AT AZ BS BH BD BB BY BE BZ BJ BM BT BA BW BV BR IO BN BG BF BI \
KH CM CA CV KY CF TD CL CN CX CC CO KM CG CK CR CI HR CU CW CY CZ DK DJ DM DO EC EG SV GQ ER EE ET FK FO FJ FI FR \
GF PF TF GA GM GE DE GH GI GR GL GD GP GU GT GG GN GW GY HT HM VA HN HK HU IS IN ID IQ IE IM IL IT JM JP JE JO KZ KE KI KW KG \
LA LV LB LS LR LY LI LT LU MO MG MW MY MV ML MT MH MQ MR MU YT MX MC MN ME MS MA MZ MM NA NR NP NL NC NZ NI NE NG NU NF MP NO \
OM PK PW PA PG PY PE PH PN PL PT PR QA RE RO RU RW BL KN LC MF PM VC WS SM ST SA SN RS SC SL SG SX SK SI SB SO ZA GS SS ES LK \
SD SR SJ SZ SE CH SY TJ TH TL TG TK TO TT TN TR TM TC TV UG UA AE GB US UM UY UZ VU VN WF EH YE ZM ZW"
COUNTRY_CODE_URL="https://pkgstore.datahub.io/core/country-list/data_csv/data/d7c9d7cfb42cb69f4422dec222dbbaa8/data_csv.csv"
INVERTIBLE_OPTS="isolate opt"
TERMINATING_OPTS="help update version"
TERMINATING_LIST_COMMAND="list"
......@@ -251,32 +251,6 @@ _scrape_all_categories_and_verbs()
##### Define general BASH helper functions #####
# _store_country_codes()
# (> COUNTRY_CODE_URL)
# (< COUNTRY_CODES)
#
# Download a string of 2 ASCII uppercase character Global Country Codes.
# Only update global variable COUNTRY_CODES, if the list download is successful...
# Otherwise fallback to the local copy of the Country Codes list.
#
_fetch_country_codes()
{
local country_codes
# Use some aggressive timeouts here... We can fallback to a local copy of these codes.
# shellcheck disable=SC2016
country_codes="$(wget -t 3 -T 10 -O - -q "${COUNTRY_CODE_URL}" 2>/dev/null | ${AWK} -F ',' \
'{
if ($2 ~ "^[[:upper:]][[:upper:]]") {
printf("%s%s", not_first ? " " : "", substr($2,1,2))
not_first=1;
}
}' 2>/dev/null
)"
[[ -z "${country_codes}" ]] || COUNTRY_CODES="${country_codes}"
}
# _list_remove_items()
# 1-N< search-term1 [... search-termN]
# < stdin (list)
......@@ -801,7 +775,6 @@ _winetricks()
[[ -z "${AWK}" ]] && return 1
# Setup various Global variables (when this script is initially source'd)...
_fetch_country_codes
CATEGORIES_VERBS_LIST="$(_scrape_all_categories_and_verbs)"
RAW_OPTIONS="$(_scrape_options)"
COMMANDS="$(_scrape_commands)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment