Commit 84cd4fd8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

just import winetricks-20180603.tar with rpmgs script

parents
.gitignore
output/
language: shell
os:
- linux
- osx
sudo: required
dist: trusty
# Note: needed by winetricks-test, which not yet supported in TravisCI
# - cabextract
# - p7zip
# - unrar
# - unzip
# - wine
addons:
apt:
packages:
# for bashate
- python-tz
# for checkbashisms
- devscripts
# Note: if statements cannot go across multiple lines. Combine into one, or move to a shell script!
# Ubuntu notes:
# * ShellCheck is already installed in TravisCI
# * bashate is not available on Trusty and we need to install it manually
# macOS note:
# * Homebrew doesn't provide bashate, they don't package things
# that are on pypi
#
# We use a script that installs bashate by unpacking .deb files built for
# Ubuntu Bionic (18.04) because:
# 1. python-bashate 0.3.1-2 (for Artful) can be installed but
# Artful will not be supported after July 2018
# 2. python-bashate 0.5.1-1 (for Bionic) can't be installed on Trusty
# because it contains "control.tar.xz"
# > dpkg-deb: error: archive '/var/cache/apt/archives/python-bashate_0.5.1-1_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
# > dpkg: error processing archive /var/cache/apt/archives/python-bashate_0.5.1-1_all.deb (--unpack):
# > subprocess dpkg-deb --control returned error exit status 2
# 3. Adding apt-line for newer Ubuntu release breaks dependencies
# e.g. can't install Official Wine package on Ubuntu
# > The following packages have unmet dependencies:
# > winehq-stable : Depends: wine-stable (= 3.0.0~trusty)
# > E: Unable to correct problems, you have held broken packages.
# 4. Ubuntu Bionic is an LTS release and will be supported until April 2023
# This means that we can use version 0.5.1-1 until April 2023
# 5. The installation via the script is quick
# (simply download and unpack files)
#
# If the script fails, install pip and use it to install bashate
before_install:
- time sh ./misc/travis-install-bashate-deb.sh || time sh ./misc/travis-install-bashate-pip.sh
# "brew update" (or auto-update when installing) takes long time
# checkbashisms and shellcheck can be installed without this
# So installing with "HOMEBREW_NO_AUTO_UPDATE=1" considerably reduces
# job time on macOS
# If it fails retry with auto-update
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then time env HOMEBREW_NO_AUTO_UPDATE=1 brew install checkbashisms shellcheck || time brew install checkbashisms shellcheck ; fi
# Note if testing on a branch, you can replace this with your desired command, e.g.,:
# script: time sh ./src/winetricks -q comctl32
# Some tests require a working $DISPLAY, and not just Xvfb. See tests/winetricks-test for the list.
# Either skip those / test manually, or run them on OS X.
# Also note:
# Installing wine on the vms is a pain.
# Linux: currently can't get 1.8.x / 1.9.x installed :/
# OS X: 38 minutes
# shell-checks is quick and works, no display or compiles needed
script:
- time sh ./tests/shell-checks
# Also check for trailing whitespace. Not doing in shell-checks because it depends on a clean tree (uses git diff):
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then time sh ./tests/whitespace-check; fi
# OS X doesn't allow writing to /usr/bin, skip non-PREFIX make install test there
install:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]] ; then time sudo make install ; fi
- time make install PREFIX="$(mktemp -d)"
# Makefile for winetricks - a script for working around common problems in wine
#
# Copyright (C) 2013 Dan Kegel
# Copyright (C) 2015-2016 Austin English
# See also copyright notice in src/winetricks.
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the GNU Lesser
# Public License version 2.1 (or later), as published by the Free
# Software Foundation. Please see the file COPYING for details.
#
# Web Page: http://winetricks.org
#
# Maintainers:
# Austin English <austinenglish!gmail.com>
INSTALL = install
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL) -m 644
SOURCES = Makefile src tests
version=$(shell grep '^WINETRICKS_VERSION' < src/winetricks | sed 's/.*=//')
PREFIX = /usr
all:
@ echo "Nothing to compile. Use: check, clean, cleanup, dist, install"
# Editor backup files etc.
clean:
find . -name "*[#~]" \
-o -name "*.\#*" \
-o -name "*.orig" \
-o -name "*.porig" \
-o -name "*.rej" \
-o -name "*.log" \
-o -name "*.out" \
-o -name "*.verbs" \
| xargs -r rm
rm -rf src/df-* src/measurements src/links.d
# Remove trailing whitespaces
cleanup:
sed --in-place 's,[ \t]\+$$,,' $$(find $(SOURCES) -type f)
dist: clean $(SOURCES)
tar --exclude='*.patch' --exclude=measurements --exclude=.git \
--exclude-backups \
-czvf winetricks-$(version).tar.gz $(SOURCES)
install:
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
$(INSTALL_PROGRAM) src/winetricks $(DESTDIR)$(PREFIX)/bin/winetricks
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man1
$(INSTALL_DATA) src/winetricks.1 $(DESTDIR)$(PREFIX)/share/man/man1/winetricks.1
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/applications
$(INSTALL_DATA) src/winetricks.desktop $(DESTDIR)$(PREFIX)/share/applications/winetricks.desktop
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/metainfo
$(INSTALL_DATA) src/winetricks.appdata.xml $(DESTDIR)$(PREFIX)/share/metainfo/winetricks.appdata.xml
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
$(INSTALL_DATA) src/winetricks.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/winetricks.svg
check:
echo 'This verifies that most DLL verbs, plus flash, install ok.'
echo 'It should take about an hour to run with a fast connection.'
echo 'If you want to test a particular version of wine, do e.g.'
echo 'export WINE=$$HOME/wine-git/wine first.'
echo 'On 64 bit systems, you probably want export WINEARCH=win32.'
echo 'Winetricks does not work completely in non-English locales.'
echo ''
echo 'Current Environment:'
echo 'DISPLAY is currently "$(DISPLAY)".'
echo 'LANG is currently "$(LANG)".'
echo 'WINEARCH is currently "$(WINEARCH)".'
echo 'WINE is currently "$(WINE)".'
echo 'XAUTHORITY is currently "$(XAUTHORITY)".'
echo ''
echo 'If running this as part of debuild, you might need to use'
echo 'debuild --preserve-envvar=LANG --preserve-envvar=WINE --preserve-envvar=WINEARCH --preserve-envvar=DISPLAY --preserve-envvar=XAUTHORITY'
echo 'To suppress tests in debuild, export DEB_BUILD_OPTIONS=nocheck'
echo ''
echo 'FIXME: this should kill stray wine processes before and after, but some leak through, you might need to kill them.'
# Check for checkbashisms/shellcheck issues first:
echo "Running checkbashisms/shellcheck:"
sh ./tests/shell-checks || exit 1
# Check all script dependencies before starting tests:
echo "Checking dependencies.."
sh ./src/linkcheck.sh check-deps || exit 1
sh ./tests/winetricks-test check-deps || exit 1
echo "Running tests"
cd src; if test -z "$(WINEARCH)" ; then export WINEARCH=win32 ; fi ; sh ../tests/winetricks-test quick
check-coverage:
WINETRICKS_ENABLE_KCOV=1 $(MAKE) check
shell-checks:
echo "This runs shell checks only. Currently, these are checkbashisms and shellcheck."
echo "This is relatively fast and doesn't download anything."
sh ./tests/shell-checks || exit 1
test:
echo 'This verifies that most DLL verbs, plus flash and dotnet, install ok.'
echo 'It also makes sure that all URLs in winetricks work, so a fast uncapped internet connection is needed.'
echo 'It should take about an hour to run with a fast connection.'
echo 'If you want to test a particular version of wine, do e.g.'
echo 'export WINE=$$HOME/wine-git/wine first.'
echo 'On 64 bit systems, you probably want export WINEARCH=win32.'
echo 'Winetricks does not work completely in non-English locales.'
echo ''
echo 'Current Environment:'
echo 'DISPLAY is currently "$(DISPLAY)".'
echo 'LANG is currently "$(LANG)".'
echo 'WINEARCH is currently "$(WINEARCH)".'
echo 'WINE is currently "$(WINE)".'
echo 'XAUTHORITY is currently "$(XAUTHORITY)".'
echo ''
echo 'If running this as part of debuild, you might need to use'
echo 'debuild --preserve-envvar=LANG --preserve-envvar=WINE --preserve-envvar=WINEARCH --preserve-envvar=DISPLAY --preserve-envvar=XAUTHORITY'
echo 'To suppress tests in debuild, export DEB_BUILD_OPTIONS=nocheck'
echo ''
echo 'FIXME: this should kill stray wine processes before and after, but some leak through, you might need to kill them.'
# Check for checkbashisms/shellcheck issues first:
echo "Running checkbashisms/shellcheck:"
sh ./tests/shell-checks || exit 1
# Check all script dependencies before starting tests:
echo "Checking dependencies.."
sh ./src/linkcheck.sh check-deps || exit 1
sh ./tests/winetricks-test check-deps || exit 1
echo "Running tests"
rm -rf src/links.d; cd src; sh linkcheck.sh crawl
echo 'And now, the one hour run check.'
if test ! -z "$(XDG_CACHE_HOME)" ; then rm -rf $(XDG_CACHE_HOME)/winetricks ; else rm -rf $(HOME)/.cache/winetricks ; fi
cd src; if test -z "$(WINEARCH)" ; then export WINEARCH=win32 ; fi ; sh ../tests/winetricks-test full
test-coverage:
WINETRICKS_ENABLE_KCOV=1 $(MAKE) test
xvfb-check:
echo "xvfb runs make check, for verbs safe for it"
cd src; if test -z "$(WINEARCH)" ; then export WINEARCH=win32 ; fi ; sh ../tests/winetricks-test xvfb-check
xvfb-check-coverage:
WINETRICKS_ENABLE_KCOV=1 $(MAKE) xfvb-check-coverage
# Winetricks
Homepage of Winetricks, previously hosted at <https://code.google.com/p/winetricks>.
Winetricks is an easy way to work around problems in Wine.
It has a menu of supported games/apps for which it can do all the workarounds automatically. It also allows the installation of missing DLLs and tweaking of various Wine settings.
The latest version can be downloaded here:
https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
Tagged releases are accessible here:
https://github.com/Winetricks/winetricks/releases
# Installing
The ```winetricks``` package should be used if it is available and up to date. The package is available in most distributions:
* Arch: https://www.archlinux.org/packages/community/any/winetricks/
* Debian: https://packages.debian.org/sid/winetricks
* Fedora: https://fedoraproject.org/wiki/Wine#Packages
* Gentoo: https://packages.gentoo.org/packages/app-emulation/winetricks
* Homebrew (OSX): http://brewformulas.org/Winetricks
* MacPorts (OSX): https://www.macports.org/ports.php?by=name&substr=winetricks
* Slackbuilds (Slackware): http://slackbuilds.org/repository/14.2/system/winetricks/?search=winetricks
* Ubuntu: https://packages.ubuntu.com/search?keywords=winetricks Note: Ubuntu LTS versions are years out of date, a manual installation should be done instead.
If the package is unavailable, outdated (e.g., Ubuntu LTSs), or the latest version is desired, a manual installation of winetricks can be done:
```
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo mv winetricks /usr/local/bin
```
curl can be used instead of wget:
```
curl -O https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo mv winetricks /usr/local/bin
```
Note: /usr/local/bin must be in your $PATH for this to work.
Winetricks can be updated by doing:
```
winetricks --self-update
```
# Custom .verb files
New dll/settings/programs can be added to Winetricks by passing a custom .verb (format below)
Example `icecat.verb`:
```
w_metadata icecat apps \
title="GNU Icecat 38.8.0" \
publisher="GNU Foundation" \
year="2016" \
media="download" \
file1="icecat-38.8.0.en-US.win32.zip" \
installed_exe1="${W_PROGRAMS_X86_WIN}/icecat/icecat.exe"
load_icecat()
{
w_download https://ftp.gnu.org/gnu/gnuzilla/38.8.0/${file1} e5f9481e78710c25eb3a271d81aceb19ef44ff6e8599da7d5f7a2da584c01213
w_try_unzip "${W_PROGRAMS_X86_UNIX}" "${W_CACHE}/${W_PACKAGE}/${file1}"
}
```
Note that the file prefix (icecat.verb) and command name (icecat) must match. All metadata fields are optional, only the command name and category are required.
# Tests
The tests need `bashate`, `checkbashisms`, and `shellcheck>=0.4.4` installed.
Makefile supports a few test targets:
* check - runs './tests/winetricks-tests quick' (without first clearing $WINETRICKS_CACHE)
* shell-checks - runs './tests/shell-checks'
* test - runs './tests/winetricks-tests full' (and clears $WINETRICKS_CACHE first)
* xvfb-check - runs './tests/winetricks-tests xvfb-check' (without first clearing $WINETRICKS_CACHE first)
# Support
* Winetricks is maintained by Austin English <austinenglish@gmail.com>.
* If winetricks has helped you out, then please consider donating to the FSF/EFF as a thank you:
* EFF - https://supporters.eff.org/donate/button
* FSF - https://my.fsf.org/donate
* Donations towards electricity bill and developer beer fund can be sent via Bitcoin to 18euSAZztpZ9wcN6xZS3vtNnE1azf8niDk
* I try to actively respond to bugs and pull requests on GitHub:
* Bugs: https://github.com/Winetricks/winetricks/issues/new
* Pull Requests: https://github.com/Winetricks/winetricks/pulls
winetricks (0.0+20150401) UNRELEASED; urgency=low
* Dummy entry. All changes can be found at
https://github.com/Winetricks/winetricks/commits/master
-- Michael Müller <michael@fds-team.de> Wed, 01 Apr 2015 23:27:42 +0200
Source: winetricks
Section: contrib/otherosfs
Priority: optional
Maintainer: Austin English <austinenglish@gmail.com>
Standards-Version: 3.8.1
Build-Depends: debhelper,
devscripts
Package: winetricks
Section: contrib/otherosfs
Architecture: all
Homepage: https://winetricks.org
Depends: binutils,
cabextract,
p7zip,
unzip,
wget
Recommends: zenity | kdebase-bin,
xdg-utils,
policykit-1 | gksu | kde-cli-tools | kdesudo,
sudo,
wine
Description: Simple tool to work around common problems in Wine.
Winetricks has a menu of supported games/apps for which it can do all the
workarounds automatically. It also lets you install missing DLLs or
tweak various Wine settings individually.
It can be used via GUI or command line, whichever you prefer; the
command-line mode is particularly useful as a building block in fancier
wine frontends and in automated regression testing.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: http://winetricks.org
Vcs-Browser: https://github.com/Winetricks/winetricks/
Vcs-Git: git://github.com/winetricks/Winetricks.git
Files: *
Copyright:
2007-2014 Dan Kegel <dank!kegel.com>
2008-2017 Austin English <austinenglish!gmail.com>
2010-2011 Phil Blankenship <phillip.e.blankenship!gmail.com>
2010-2015 Shannon VanWagner <shannon.vanwagner!gmail.com>
2010 Belhorma Bendebiche <amro256!gmail.com>
2010 Eleazar Galano <eg.galano!gmail.com>
2010 Travis Athougies <iammisc!gmail.com>
2010 Andrew Nguyen
2010 Detlef Riekenberg
2010 Maarten Lankhorst
2010 Rico Schüller
2011 Scott Jackson <sjackson2!gmx.com>
2011 Trevor Johnson
2011 Franco Junio
2011 Craig Sanders
2011 Matthew Bauer <mjbauer95>
2011 Giuseppe Dia
2011 Łukasz Wojniłowicz
2011 Matthew Bozarth
2013-2017 Andrey Gusev <andrey.goosev!gmail.com>
2013-2017 Hillwood Yang <hillwood!opensuse.org>
2013,2016 André Hentschel <nerv!dawncrow.de>
License: LGPL-2.1+
Files: src/winetricks.appdata.xml
Copyright:
2017 Daniel Rusek <mail@asciiwolf.com>
License: CC0-1.0
Files: src/winetricks.desktop
Copyright:
2007-2013 Scott Ritchie <scottritchie!ubuntu.com>
License: LGPL-2.1+
Comment:
For copyright confirmation see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708198#24
Files: src/winetricks.svg
Copyright:
2010 Joel Holdsworth <joel!airwebreathe.org.uk>
License: LGPL-2.1+
Comment:
For copyright confirmation see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708198#24
License: LGPL-2.1+
This software is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
On Debian systems, the complete text of the GNU Library General Public
License can be found in /usr/share/common-licenses/LGPL-2.1 file.
License: CC0-1.0
Creative Commons CC0 1.0 Universal
.
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION
ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE
USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND
DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT
OR THE INFORMATION OR WORKS PROVIDED HEREUNDER.
.
Statement of Purpose
.
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work
of authorship and/or a database (each, a "Work").
.
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without
fear of later claims of infringement build upon, modify, incorporate in
other works, reuse and redistribute as freely as possible in any form
whatsoever and for any purposes, including without limitation commercial
purposes. These owners may contribute to the Commons to promote the
ideal of a free culture and the further production of creative, cultural
and scientific works, or to gain reputation or greater distribution for
their Work in part through the use and efforts of others.
.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or
she is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under
its terms, with knowledge of his or her Copyright and Related Rights in
the Work and the meaning and intended legal effect of CC0 on those
rights.
.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
.
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
.
ii. moral rights retained by the original author(s) and/or performer(s);
.
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
.
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
.
v. rights protecting the extraction, dissemination, use and reuse of
data in a Work;
.
vi. database rights (such as those arising under Directive 96/9/EC of
the European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation thereof,
including any amended or successor version of such directive); and
.
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or
future medium and for any number of copies, and (iv) for any purpose
whatsoever, including without limitation commercial, advertising or
promotional purposes (the "Waiver"). Affirmer makes the Waiver for the
benefit of each member of the public at large and to the detriment of
Affirmer's heirs and successors, fully intending that such Waiver shall
not be subject to revocation, rescission, cancellation, termination, or
any other legal or equitable action to disrupt the quiet enjoyment of
the Work by the public as contemplated by Affirmer's express Statement
of Purpose.
.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non
exclusive, irrevocable and unconditional license to exercise Affirmer's
Copyright and Related Rights in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or
future medium and for any number of copies, and (iv) for any purpose
whatsoever, including without limitation commercial, advertising or
promotional purposes (the "License"). The License shall be deemed
effective as of the date CC0 was applied by Affirmer to the Work. Should
any part of the License for any reason be judged legally invalid or
ineffective under applicable law, such partial invalidity or
ineffectiveness shall not invalidate the remainder of the License, and
in such case Affirmer hereby affirms that he or she will not (i)
exercise any of his or her remaining Copyright and Related Rights in the
Work or (ii) assert any associated claims and causes of action with
respect to the Work, in either case contrary to Affirmer's express
Statement of Purpose.
.
4. Limitations and Disclaimers.
.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied, statutory
or otherwise, including without limitation warranties of title,
merchantability, fitness for a particular purpose, non infringement, or
the absence of latent or other defects, accuracy, or the present or
absence of errors, whether or not discoverable, all to the greatest
extent permissible under applicable law.
.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the Work.
.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
#!/usr/bin/make -f
override_dh_auto_test:
# Skip
%:
dh $@
Using winetricks 20180603 - sha256sum: cad4e699f55c297afe5b177d68dccf1ef54e9dd23518a6f6343caa0ab7636615 with wine-3.0 (Debian 3.0-1) 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]
adobe_diged Adobe Digital Editions 1.7 (Adobe, 2011) [downloadable]
adobe_diged4 Adobe Digital Editions 4.5 (Adobe, 2015) [downloadable]
autohotkey AutoHotKey (autohotkey.org, 2010) [downloadable]
busybox BusyBox FRP-2121 (Ron Yorston / Busybox authors, 2015) [downloadable]
cmake CMake 2.8 (Kitware, 2013) [downloadable]
colorprofile Standard RGB color profile (Microsoft, 2005) [downloadable]
controlpad MS ActiveX Control Pad (Microsoft, 1997) [downloadable]
controlspy Control Spy 2.0 (Microsoft, 2005) [downloadable]
emu8086 emu8086 (emu8086.com, 2015) [downloadable]
ev3 Lego Mindstorms EV3 Home Edition (Lego, 2014) [downloadable]
firefox Firefox 51.0 (Mozilla, 2017) [downloadable]
fontxplorer Font Xplorer 1.2.2 (Moon Software, 2001) [downloadable]
foobar2000 foobar2000 v1.3.14 (Peter Pawlowski, 2016)
iceweasel GNU Icecat 31.7.0 (GNU Foundation, 2015) [downloadable]
irfanview Irfanview (Irfan Skiljan, 2016) [downloadable]
kde KDE on Windows (various, 2013) [downloadable]
kindle Amazon Kindle (Amazon, 2017) [downloadable]
kobo Kobo e-book reader (Kobo, 2011) [downloadable]
mingw Minimalist GNU for Windows, including GCC for Windows (GNU, 2013) [downloadable]
mozillabuild Mozilla build environment (Mozilla Foundation, 2015) [downloadable]
mpc Media Player Classic - Home Cinema (doom9 folks, 2014) [downloadable]
mspaint MS Paint (Microsoft, 2010) [downloadable]
mt4 Meta Trader 4 (, 2005) [downloadable]
njcwp_trial NJStar Chinese Word Processor trial (NJStar, 2015) [downloadable]
njjwp_trial NJStar Japanese Word Processor trial (NJStar, 2009) [downloadable]
nook Nook for PC (e-book reader) (Barnes & Noble, 2011) [downloadable]
npp Notepad++ (Don Ho, 2015) [downloadable]
office2003pro Microsoft Office 2003 Professional (Microsoft, 2002)
office2007pro Microsoft Office 2007 Professional (Microsoft, 2006)
office2013pro Microsoft Office 2013 Professional (Microsoft, 2013) [downloadable]
ollydbg110 OllyDbg (ollydbg.de, 2004) [downloadable]
ollydbg200 OllyDbg (ollydbg.de, 2010) [downloadable]
ollydbg201 OllyDbg (ollydbg.de, 2013) [downloadable]
openwatcom Open Watcom C/C++ compiler (can compile win16 code!) (Watcom, 2010) [downloadable]
protectionid Protection ID (CDKiLLER & TippeX, 2016)
psdk2003 MS Platform SDK 2003 (Microsoft, 2003) [downloadable]
psdkwin7 MS Windows 7 SDK (Microsoft, 2009) [downloadable]
psdkwin71 MS Windows 7.1 SDK (Microsoft, 2010) [downloadable]
qq QQ 8.9.1(Chinese chat app) (Tencent, 2017) [downloadable]
qqintl QQ International Instant Messenger 2.11 (Tencent, 2014) [downloadable]
safari Safari (Apple, 2010) [downloadable]
sketchup SketchUp 8 (Google, 2012) [downloadable]
steam Steam (Valve, 2010) [downloadable]
uplay Uplay (Ubisoft, 2013) [downloadable]
utorrent µTorrent 2.2.1 (BitTorrent, 2011)
utorrent3 µTorrent 3.4 (BitTorrent, 2011) [downloadable]
vc2005express MS Visual C++ 2005 Express (Microsoft, 2005) [downloadable]
vc2005expresssp1 MS Visual C++ 2005 Express SP1 (Microsoft, 2007) [downloadable]
vc2005trial MS Visual C++ 2005 Trial (Microsoft, 2005) [downloadable]
vc2008express MS Visual C++ 2008 Express (Microsoft, 2008) [downloadable]
vc2010express MS Visual C++ 2010 Express (Microsoft, 2010) [downloadable]
vlc VLC media player 2.2.1 (VideoLAN, 2015) [downloadable]
winamp Winamp (Radionomy (AOL (Nullsoft)), 2013) [downloadable]
wme9 MS Windows Media Encoder 9 (broken in Wine) (Microsoft, 2002) [downloadable]
Using winetricks 20180603 - sha256sum: cad4e699f55c297afe5b177d68dccf1ef54e9dd23518a6f6343caa0ab7636615 with wine-3.0 (Debian 3.0-1) and WINEARCH=win32
3dmark03 3D Mark 03 (Futuremark, 2003)
3dmark05 3D Mark 05 (Futuremark, 2005) [downloadable]
3dmark06 3D Mark 06 (Futuremark, 2006)
3dmark2000 3DMark2000 (MadOnion.com, 2000) [downloadable]
3dmark2001 3DMark2001 (MadOnion.com, 2001) [downloadable]
stalker_pripyat_bench S.T.A.L.K.E.R.: Call of Pripyat benchmark (GSC Game World, 2009)
unigine_heaven Unigen Heaven 2.1 Benchmark (Unigen, 2010)
wglgears wglgears (Clinton L. Jeffery, 2005) [downloadable]
Using winetricks 20180603 - sha256sum: cad4e699f55c297afe5b177d68dccf1ef54e9dd23518a6f6343caa0ab7636615 with wine-3.0 (Debian 3.0-1) and WINEARCH=win32
3dmark05
3dmark2000
3dmark2001
3m_library
7zip
abiword
adobeair
adobe_diged
adobe_diged4
algodoo_demo
alienswarm_steam
allcodecs
allfonts
amstream
aoe3_demo
art2kmin
atmlib
autohotkey
avifil32
baekmuk
binkw32
bioshock2_steam
bioshock_demo
borderlands_steam
busybox
cabinet
calibri
cambria
candara
cinepak
civ5_demo_steam
cjkfonts
cmake
cmd
cnc3_demo
cnc_tiberian_sun
colorprofile
comctl32
comctl32ocx
comdlg32ocx
consolas
constantia
controlpad
controlspy
corbel
corefonts
crayonphysics_demo
crypt32
d3dcompiler_43
d3drm
d3dx10
d3dx10_43
d3dx11_42
d3dx11_43
d3dx9
d3dx9_24
d3dx9_25
d3dx9_26
d3dx9_27
d3dx9_28
d3dx9_29
d3dx9_30
d3dx9_31
d3dx9_32
d3dx9_33
d3dx9_34
d3dx9_35
d3dx9_36
d3dx9_37
d3dx9_38
d3dx9_39
d3dx9_40
d3dx9_41
d3dx9_42
d3dx9_43
d3dxof
dbghelp
devenum
digitanks_demo
dinput
dinput8
dirac
directmusic
directplay
directx9
dmband
dmcompos
dmime
dmloader
dmscript
dmstyle
dmsynth
dmusic
dmusic32
dotnet11
dotnet11sp1
dotnet20
dotnet20sdk
dotnet20sp1
dotnet20sp2
dotnet30
dotnet30sp1
dotnet35
dotnet35sp1
dotnet40
dotnet45
dotnet452
dotnet46
dotnet461
dotnet462
dotnet_verifier
dpvoice
dragonage2_demo
droid
dsdmo
dsound
dswave
dxdiag
dxdiagn
dxdiagn_feb2010
dxsdk_jun2010
dxsdk_nov2006
emu8086
esent
eufonts
ev3
eve
ffdshow
fifa11_demo
firefox
flash
fontxplorer
gdiplus
gfw
glidewrapper
glut
gmdls
hid
hon
hphbp_demo
iceweasel
icodecs
ie6
ie7
ie8
ie8_kb2936068
ipamona
irfanview
jet40
kde
kindle
kobo
l3codecx
liberation
lucida
masseffect2_demo
maxmagicmarker_demo
mdac27
mdac28
mdx
meiryo
mf
mfc40
mfc42
mfsx_demo
mingw
mozillabuild
mpc
msacm32
msasn1
msctf
msdxmocx
msflxgrd
msftedit
mshflxgd
msls31
msmask
mspaint
mspatcha
msscript
msvcirt
msxml3
msxml4
msxml6
mt4
myth2_demo
nfsshift_demo
njcwp_trial
njjwp_trial
nook
npp
nuget
office2013pro
ogg
ole32
ollydbg110
ollydbg200
ollydbg201
opensymbol
openwatcom
pdh
penpenxmas
physx
pngfilt
pptfonts
psdk2003
psdkwin7
psdkwin71
python26
qdvd
qedit
qq
qqintl
quartz
quicktime72
quicktime76
riched20
riched30
richtx32
ruse_demo_steam
safari
sdl
secondlife
secur32
setupapi
shockwave
sketchup
speechsdk
spore_cc_demo
steam
supermeatboy_steam
tabctl32
tahoma
takao
tmnationsforever
trine_demo_steam
trine_steam
uff
unifont
updspapi
uplay
usp10
utorrent3
vb2run
vb3run
vb4run
vb5run
vb6run
vc2005express
vc2005expresssp1
vc2005trial
vc2008express
vc2010express
vcrun2003
vcrun2005
vcrun2008
vcrun2010
vcrun2012
vcrun2013
vcrun2015
vcrun2017
vcrun6
vcrun6sp6
vjrun20
vlc
vlgothic
vulkanrt
vulkansdk
webio
wenquanyi
wglgears
winamp
windowscodecs
winhttp
wininet
wme9
wmi
wmp10
wmp9
wmv9vcm
wog
wormsreloaded_demo_steam
wsh57
xact
xinput
xmllite
xna31
xna40
xvid
Using winetricks 20180603 - sha256sum: cad4e699f55c297afe5b177d68dccf1ef54e9dd23518a6f6343caa0ab7636615 with wine-3.0 (Debian 3.0-1) 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]
amnesia_tdd_demo Amnesia: The Dark Descent Demo (Frictional Games, 2010)
aoe3_demo Age of Empires III Trial (Microsoft, 2005) [downloadable]
atmosphir Atmosphir (Minor Studios, 2011)
avatar_demo James Camerons Avatar: The Game Demo (Ubisoft, 2009)
beneath_a_steel_sky_gog Beneath a Steel Sky (GOG.com, free) (Virgin Interactive, 1994)
bfbc2 Battlefield Bad Company 2 (EA, 2010)
bioshock2 Bioshock 2 (2K Games, 2010)
bioshock2_steam Bioshock 2 (Steam) (2k, 2010) [downloadable]
bioshock_demo Bioshock Demo (2K Games, 2007) [downloadable]
blobby_volley Blobby Volley (Daniel Skoraszewsky, 2000)
borderlands_steam Borderlands (Steam, non-free) (2K Games, 2009) [downloadable]
bttf101 Back to the Future Episode 1 (Telltale, 2011)
cim_demo Cities In Motion Demo (Paradox Interactive, 2010)
civ4_demo Civilization IV Demo (Firaxis Games, 2005)
civ5_demo_steam Civilization V Demo (Steam) (2K Games, 2010) [downloadable]
cnc3_demo Command & Conquer 3 Demo (EA, 2007) [downloadable]
cnc_redalert3_demo Command & Conquer Red Alert 3 Demo (EA, 2008)
cnc_tiberian_sun Command & Conquer: Tiberian Sun (2010 edition) (EA, 1999) [downloadable]
cod1 Call of Duty (Activision, 2003)
cod4mw_demo Call of Duty 4: Modern Warfare (Activision, 2007)
cod5_waw Call of Duty 5: World at War (Activision, 2008)
cod_demo Call of Duty demo (Activision, 2003)
crayonphysics_demo Crayon Physics Deluxe demo (Kloonigames, 2011) [downloadable]
crysis2 Crysis 2 (EA, 2011)
csi6_demo CSI: Fatal Conspiracy Demo (Ubisoft, 2010)
darknesswithin2_demo Darkness Within 2 Demo (Zoetrope Interactive, 2010)
darkspore Darkspore (EA, 2011)
dcuo DC Universe Online (EA, 2011)
deadspace Dead Space (EA, 2008)
deadspace2 Dead Space 2 (EA, 2011)
demolition_company_demo Demolition Company demo (Giants Software, 2010)
deusex2_demo Deus Ex 2 / Deus Ex: Invisible War Demo (Eidos, 2003)
diablo2 Diablo II (Blizzard, 2000)
digitanks_demo Digitanks Demo (Lunar Workshop, 2011) [downloadable]
dirt2_demo Dirt 2 Demo (Codemasters, 2009)
dragonage Dragon Age: Origins (Bioware / EA, 2009)
dragonage2_demo Dragon Age II demo (EA/Bioware, 2011) [downloadable]
dragonage_ue Dragon Age: Origins - Ultimate Edition (Bioware / EA, 2010)
eve EVE Online Tyrannis (CCP Games, 2017) [downloadable]
fable_tlc Fable: The Lost Chapters (Microsoft, 2005)
fifa11_demo FIFA 11 Demo (EA Sports, 2010) [downloadable]
gta_vc Grand Theft Auto: Vice City (Rockstar, 2003)
hon Heroes of Newerth (S2 Games, 2013) [downloadable]
hordesoforcs2_demo Hordes of Orcs 2 Demo (Freeverse, 2010)
hphbp_demo Harry Potter and the Half-Blood Prince Demo (EA, 2009) [downloadable]
kotor1 Star Wars: Knights of the Old Republic (LucasArts, 2003)
lemonysnicket Lemony Snicket: A Series of Unfortunate Events (Activision, 2004)
lhp_demo LEGO Harry Potter Demo [Years 1-4] (Travellers Tales / WB, 2010)
losthorizon_demo Lost Horizon Demo (Deep Silver, 2010)
lswcs Lego Star Wars Complete Saga (Lucasarts, 2009)
luxor_ar Luxor Amun Rising (MumboJumbo, 2006)
masseffect2 Mass Effect 2 (DRM broken on Wine) (BioWare, 2010)
masseffect2_demo Mass Effect 2 (BioWare, 2010) [downloadable]
maxmagicmarker_demo Max & the Magic Marker Demo (Press Play, 2010) [downloadable]
mdk MDK (3dfx) (Playmates International, 1997)
menofwar Men of War (Aspyr Media, 2009)
mfsx_demo Microsoft Flight Simulator X Demo (Microsoft, 2006) [downloadable]
mfsxde Microsoft Flight Simulator X: Deluxe Edition (Microsoft, 2006)
mise Monkey Island: Special Edition (LucasArts, 2009)
myth2_demo Myth II demo 1.8.0 (Project Magma, 2011) [downloadable]
nfsshift_demo Need for Speed: SHIFT Demo (EA, 2009) [downloadable]
oblivion Elder Scrolls: Oblivion (Bethesda Game Studios, 2006)
penpenxmas Pen-Pen Xmas Olympics (Army of Trolls / Black Cat, 2007) [downloadable]
popfs Prince of Persia: The Forgotten Sands (Ubisoft, 2010)
rct3deluxe RollerCoaster Tycoon 3 Deluxe (DRM broken on Wine) (Atari, 2004)
riseofnations_demo Rise of Nations Trial (Microsoft, 2003)
ruse_demo_steam Ruse Demo (Steam) (Ubisoft, 2010) [downloadable]
sacrifice_gog Sacrifice (GOG.com) (Interplay, 2000)
sammax301_demo Sam & Max 301: The Penal Zone (Telltale Games, 2010)
sammax304_demo Sam & Max 304: Beyond the Alley of the Dolls (Telltale Games, 2010)
secondlife Second Life Viewer (Linden Labs, 2003-2011) [downloadable]
sims3 The Sims 3 (DRM broken on Wine) (EA, 2009)
sims3_gen The Sims 3: Generations (DRM broken on Wine) (EA, 2011)
simsmed The Sims Medieval (DRM broken on Wine) (EA, 2011)
singularity Singularity (Activision, 2010)
splitsecond Split Second (Disney, 2010)
spore Spore (EA, 2008)
spore_cc_demo Spore Creature Creator trial (EA, 2008) [downloadable]
starcraft2_demo Starcraft II Demo (Blizzard, 2010)
supermeatboy_steam Super Meat Boy (Steam, non-free) (Independent, 2010) [downloadable]
the_witcher_2_gog The Witcher 2: Assassins of Kings (Atari, 2011)
theundergarden_demo The UnderGarden Demo (Atari, 2010)
tmnationsforever TrackMania Nations Forever (Nadeo, 2009) [downloadable]
torchlight Torchlight - boxed version (Runic Games, 2009)
trainztcc_2004 Trainz: The Complete Collection: TRS2004 (Paradox Interactive, 2008)
trine_demo_steam Trine Demo (Steam) (Frozenbyte, 2009) [downloadable]
trine_steam Trine (Steam) (Frozenbyte, 2009) [downloadable]
tropico3_demo Tropico 3 Demo (Kalypso Media GmbH, 2009)
twfc Transformers: War for Cybertron (Activision, 2010)
typingofthedead_demo Typing of the Dead Demo (Sega, 1999)
ut3 Unreal Tournament 3 (Midway Games, 2007)
wog World of Goo Demo (2D Boy, 2008) [downloadable]
wormsreloaded_demo_steam Worms Reloaded Demo (Steam) (Team17, 2010) [downloadable]
Using winetricks 20180603 - sha256sum: cad4e699f55c297afe5b177d68dccf1ef54e9dd23518a6f6343caa0ab7636615 with wine-3.0 (Debian 3.0-1) and WINEARCH=win32
3dmark03
3dmark06
amnesia_tdd_demo
atmosphir
avatar_demo
blobby_volley
bttf101
cim_demo
civ4_demo
cnc_redalert3_demo
cod4mw_demo
cod_demo
csi6_demo
darknesswithin2_demo
demolition_company_demo
deusex2_demo
dirt2_demo
foobar2000
gdiplus_winxp
hordesoforcs2_demo
lhp_demo
losthorizon_demo
protectionid
riseofnations_demo
sacrifice_gog
sammax301_demo
sammax304_demo
stalker_pripyat_bench
starcraft2_demo
theundergarden_demo
the_witcher_2_gog
tropico3_demo
typingofthedead_demo
unigine_heaven
utorrent
Using winetricks 20180603 - sha256sum: cad4e699f55c297afe5b177d68dccf1ef54e9dd23518a6f6343caa0ab7636615 with wine-3.0 (Debian 3.0-1) and WINEARCH=win32
alldlls=builtin Override most common DLLs to builtin
alldlls=default Remove all DLL overrides
ao=disabled Disable AlwaysOffscreen (default)
ao=enabled Enable AlwaysOffscreen
autostart_winedbg=disable Prevent winedbg from launching when an unhandled exception occurs
autostart_winedbg=enable Automatically launch winedbg when an unhandled exception occurs (default)
bad Fake verb that always returns false
cfc=disable Disable CheckFloatConstants (default)
cfc=enabled Enable CheckFloatConstants
csmt=off Disable Command Stream Multithreading
csmt=on Enable Command Stream Multithreading (default)
ddr=gdi Set DirectDrawRenderer to gdi
ddr=opengl Set DirectDrawRenderer to opengl
fontfix Check for broken fonts
fontsmooth=bgr Enable subpixel font smoothing for BGR LCDs
fontsmooth=disable Disable font smoothing
fontsmooth=gray Enable subpixel font smoothing
fontsmooth=rgb Enable subpixel font smoothing for RGB LCDs
forcemono Force using Mono instead of .NET (for debugging)
glsl=disabled Disable GLSL shaders, use ARB shaders (faster, but sometimes breaks)
glsl=enabled Enable GLSL shaders (default)
good Fake verb that always returns true
grabfullscreen=n Disable cursor clipping for full-screen windows (default)
grabfullscreen=y Force cursor clipping for full-screen windows (needed by some games)
gsm=0 Set MaxShaderModelGS to 0
gsm=1 Set MaxShaderModelGS to 1
gsm=2 Set MaxShaderModelGS to 2
gsm=3 Set MaxShaderModelGS to 3
heapcheck Enable heap checking with GlobalFlag
hidewineexports=disable Disable hiding Wine exports from applications (wine-staging)
hidewineexports=enable Enable hiding Wine exports from applications (wine-staging)
hosts Add empty C:\windows\system32\driverstc\{hosts,services} files
macdriver=mac Enable the Mac native Quartz driver (default)
macdriver=x11 Disable the Mac native Quartz driver, use X11 instead
multisampling=disabled Disable Direct3D multisampling
multisampling=enabled Enable Direct3D multisampling
mwo=disable Set DirectInput MouseWarpOverride to disable
mwo=enabled Set DirectInput MouseWarpOverride to enabled (default)
mwo=force Set DirectInput MouseWarpOverride to force (needed by some games)
native_mdac Override odbc32, odbccp32 and oledb32
native_oleaut32 Override oleaut32
nocrashdialog Disable crash dialog
npm=repack Set NonPower2Mode to repack
nt40 Set windows version to Windows NT 4.0
orm=backbuffer Set OffscreenRenderingMode=backbuffer
orm=fbo Set OffscreenRenderingMode=fbo (default)
psm=0 Set MaxShaderModelPS to 0
psm=1 Set MaxShaderModelPS to 1
psm=2 Set MaxShaderModelPS to 2
psm=3 Set MaxShaderModelPS to 3
remove_mono Remove builtin wine-mono
rtlm=auto Set RenderTargetLockMode to auto (default)
rtlm=disabled Set RenderTargetLockMode to disabled
rtlm=readdraw Set RenderTargetLockMode to readdraw
rtlm=readtex Set RenderTargetLockMode to readtex
rtlm=texdraw Set RenderTargetLockMode to texdraw
rtlm=textex Set RenderTargetLockMode to textex
sandbox Sandbox the wineprefix - remove links to /home/austin
strictdrawordering=disabled Disable StrictDrawOrdering (default)
strictdrawordering=enabled Enable StrictDrawOrdering
vd=1024x768 Enable virtual desktop, set size to 1024x768
vd=1280x1024 Enable virtual desktop, set size to 1280x1024
vd=1440x900 Enable virtual desktop, set size to 1440x900
vd=640x480 Enable virtual desktop, set size to 640x480
vd=800x600 Enable virtual desktop, set size to 800x600
vd=off Disable virtual desktop
videomemorysize=1024 Tell Wine your video card has 1024MB RAM
videomemorysize=2048 Tell Wine your video card has 2048MB RAM
videomemorysize=512 Tell Wine your video card has 512MB RAM
videomemorysize=default Let Wine detect amount of video card memory
vista Set Windows version to Windows Vista
vsm=0 Set MaxShaderModelVS to 0
vsm=1 Set MaxShaderModelVS to 1
vsm=2 Set MaxShaderModelVS to 2
vsm=3 Set MaxShaderModelVS to 3
win10 Set Windows version to Windows 10
win2k Set Windows version to Windows 2000
win2k3 Set Windows version to Windows 2003
win2k8 Set Windows version to Windows 2008 R2
win31 Set Windows version to Windows 3.1
win7 Set Windows version to Windows 7
win8 Set Windows version to Windows 8
win81 Set Windows version to Windows 8.1
win95 Set Windows version to Windows 95
win98 Set Windows version to Windows 98
windowmanagerdecorated=n Prevent the window manager from decorating windows
windowmanagerdecorated=y Allow the window manager to decorate windows (default)
windowmanagermanaged=n Prevent the window manager from controlling windows
windowmanagermanaged=y Allow the window manager to control windows (default)
winver= Set Windows version to default (win7)
winxp Set Windows version to Windows XP
These files are for development only (i.e., don't package them)
#!/bin/sh
#
# Script to bisect Wine regressions in Winetricks
#
# Usage: git bisect run $0 winetricks_command
#
# Copyright (C) 2017 Austin English
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the GNU Lesser
# Public License version 2.1 (or later), as published by the Free
# Software Foundation. Please see the file COPYING for details.
# This script should be used for bisecting wine regressions that affect winetricks
# For example, if dotnet20 works in wine-2.0, but not wine-2.2, use:
# $ cd $WINE-GIT
# $ git bisect start
# $ git bisect good wine-2.0
# $ git bisect bad wine-2.2
# Note: -q -v are automatically added
# $ git bisect run /path/to/this/script dotnet20
set -x
WINE_GIT="${WINE_GIT:-$HOME/wine-git}"
cd "$WINE_GIT" || exit 125
git clean -fxd || exit 125
./configure --disable-tests || exit 125
if command nproc >/dev/null 2>&1 ; then
make "-j$(nproc)" || exit 125
else
make -j2
fi
"${WINE_GIT}/server/wineserver" -k || true
rm -rf "$HOME/.wine" || exit 125
WINE="${WINE_GIT}/wine" winetricks -q -v "$@"
#!/bin/sh
#
# Copyright (C) 2017 Austin English
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the GNU Lesser
# Public License version 2.1 (or later), as published by the Free
# Software Foundation. Please see the file COPYING for details.
# Note: This script is GNU/Linux (coreutils) specific. It's intended as a one-off,
# and shouldn't be needed for OSX/FreeBSD/Solaris, it should only be used by the maintainer.
#
# Purpose: for every file in $WINETRICKS_CACHE, convert checksum from sha1 to sha256
# Ideally, run some command/script that populates a lot of verbs, e.g., make test
#
# Other criteria:
# One package per commit
# If package has already been converted, should be a no-op
# Echo failing packages to a log file, and ignore, for manual review
set -x
CACHE_DIR="${HOME}/.cache/winetricks"
SRC_DIR="$PWD"
winetricks="${SRC_DIR}/src/winetricks"
if [ ! -f README.md ] ; then
echo "Please run from the top level directory"
exit 1
fi
# Gather list of packages and their checksums
logdir="${SRC_DIR}/sha-convert-logs"
rm -rf "${logdir}"
mkdir -p "${logdir}"
for dir in "${CACHE_DIR}/"* ; do
# Skip LATEST/etc.
if [ ! -d "${dir}" ] ; then
continue
fi
package="$(basename "${dir}")"
case "${package}" in
win2ksp4|win7sp1|xpsp3|winxpsp3) continue ;;
esac
for file in "${dir}"/* ; do
# Convert the package:
echo file="${file}"
echo "dir=$dir, package=$package, file=$file"
sha1_file="$(sha1sum "${file}" | awk '{print $1}')"
sha256_file="$(sha256sum "${file}" | awk '{print $1}')"
echo "sha1: ${sha1_file}"
echo "sha256: ${sha256_file}"
sed -i "s!${sha1_file}!${sha256_file}!" "${winetricks}"
done
# Did it change?
if git diff-index --quiet HEAD -- ; then
echo "no diff detected"
continue
fi
# Test it
wineserver -k || true
rm -rf "$HOME/.wine"
# shellcheck disable=SC2115
rm -rf "${CACHE_DIR}/${package}"
# Not everything is actually quiet, of course..
"${winetricks}" -q -v "${package}"
test_status="$?"
# Commit it (if it worked):
if [ $test_status = 0 ] ; then
git commit -m "${package}: convert to sha256" "${winetricks}"
else
git checkout -f
echo "converting ${package} to sha256 failed" >> "${logdir}/conversion.log"
continue
fi
done
if [ "$(find "${logdir}" -type f | wc -l)" = 0 ] ; then
rm -rf "${logdir}"
else
echo "There were errors, check logs in ${logdir}"
exit 1
fi
This is a list of what files are in the helper verbs (i.e., DirectX / Service Packs)
Checking into git makes it a lost easier to search without having to manually extract
the files just to see if a native one is easily available.
Viewing cabinet: /home/austin/.cache/winetricks.bak/directx9/directx_feb2010_redist.exe
File size | Date Time | Name
-----------+---------------------+-------------
1347354 | 04.02.2010 10:21:18 | Apr2005_d3dx9_25_x64.cab
1078962 | 04.02.2010 10:21:18 | Apr2005_d3dx9_25_x86.cab
1397830 | 04.02.2010 10:21:18 | Apr2006_d3dx9_30_x64.cab
1115221 | 04.02.2010 10:21:18 | Apr2006_d3dx9_30_x86.cab
916430 | 04.02.2010 10:21:18 | Apr2006_MDX1_x86.cab
4162630 | 04.02.2010 10:21:18 | Apr2006_MDX1_x86_Archive.cab
179133 | 04.02.2010 10:21:20 | Apr2006_XACT_x64.cab
133103 | 04.02.2010 10:21:20 | Apr2006_XACT_x86.cab
87101 | 04.02.2010 10:21:20 | Apr2006_xinput_x64.cab
46010 | 04.02.2010 10:21:20 | Apr2006_xinput_x86.cab
1607358 | 04.02.2010 10:21:20 | APR2007_d3dx9_33_x64.cab
1606039 | 04.02.2010 10:21:22 | APR2007_d3dx9_33_x86.cab
698612 | 04.02.2010 10:21:20 | APR2007_d3dx10_33_x64.cab
695865 | 04.02.2010 10:21:20 | APR2007_d3dx10_33_x86.cab
195766 | 04.02.2010 10:21:22 | APR2007_XACT_x64.cab
151225 | 04.02.2010 10:21:22 | APR2007_XACT_x86.cab
96817 | 04.02.2010 10:21:22 | APR2007_xinput_x64.cab
53302 | 04.02.2010 10:21:22 | APR2007_xinput_x86.cab
1350542 | 04.02.2010 10:21:22 | Aug2005_d3dx9_27_x64.cab
1077644 | 04.02.2010 10:21:24 | Aug2005_d3dx9_27_x86.cab
182903 | 04.02.2010 10:21:24 | AUG2006_XACT_x64.cab
137235 | 04.02.2010 10:21:24 | AUG2006_XACT_x86.cab
87142 | 04.02.2010 10:21:24 | AUG2006_xinput_x64.cab
46058 | 04.02.2010 10:21:26 | AUG2006_xinput_x86.cab
1800160 | 04.02.2010 10:21:26 | AUG2007_d3dx9_35_x64.cab
1708152 | 04.02.2010 10:21:26 | AUG2007_d3dx9_35_x86.cab
852286 | 04.02.2010 10:21:26 | AUG2007_d3dx10_35_x64.cab
796867 | 04.02.2010 10:21:26 | AUG2007_d3dx10_35_x86.cab
198096 | 04.02.2010 10:21:26 | AUG2007_XACT_x64.cab
153012 | 04.02.2010 10:21:24 | AUG2007_XACT_x86.cab
1794084 | 04.02.2010 10:21:26 | Aug2008_d3dx9_39_x64.cab
1464672 | 04.02.2010 10:21:26 | Aug2008_d3dx9_39_x86.cab
867612 | 04.02.2010 10:21:26 | Aug2008_d3dx10_39_x64.cab
849167 | 04.02.2010 10:21:26 | Aug2008_d3dx10_39_x86.cab
121772 | 04.02.2010 10:21:26 | Aug2008_XACT_x64.cab
92996 | 04.02.2010 10:21:26 | Aug2008_XACT_x86.cab
271412 | 04.02.2010 10:21:26 | Aug2008_XAudio_x64.cab
271038 | 04.02.2010 10:21:26 | Aug2008_XAudio_x86.cab
919044 | 04.02.2010 10:21:26 | Aug2009_D3DCompiler_42_x64.cab
900598 | 04.02.2010 10:21:28 | Aug2009_D3DCompiler_42_x86.cab
3112111 | 04.02.2010 10:21:28 | Aug2009_d3dcsx_42_x64.cab
3319740 | 04.02.2010 10:21:28 | Aug2009_d3dcsx_42_x86.cab
930116 | 04.02.2010 10:21:30 | Aug2009_d3dx9_42_x64.cab
728456 | 04.02.2010 10:21:30 | Aug2009_d3dx9_42_x86.cab
232635 | 04.02.2010 10:21:28 | Aug2009_d3dx10_42_x64.cab
192131 | 04.02.2010 10:21:28 | Aug2009_d3dx10_42_x86.cab
136301 | 04.02.2010 10:21:30 | Aug2009_d3dx11_42_x64.cab
105044 | 04.02.2010 10:21:30 | Aug2009_d3dx11_42_x86.cab
122408 | 04.02.2010 10:21:30 | Aug2009_XACT_x64.cab
93106 | 04.02.2010 10:21:30 | Aug2009_XACT_x86.cab
273264 | 04.02.2010 10:21:32 | Aug2009_XAudio_x64.cab
272642 | 04.02.2010 10:21:32 | Aug2009_XAudio_x86.cab
1155491 | 04.02.2010 10:21:32 | BDANT.cab
975148 | 04.02.2010 10:21:32 | BDAXP.cab
1357976 | 04.02.2010 10:21:32 | Dec2005_d3dx9_28_x64.cab
1079456 | 04.02.2010 10:21:32 | Dec2005_d3dx9_28_x86.cab
1571154 | 04.02.2010 10:21:32 | DEC2006_d3dx9_32_x64.cab
1574376 | 04.02.2010 10:21:32 | DEC2006_d3dx9_32_x86.cab
212807 | 04.02.2010 10:21:32 | DEC2006_d3dx10_00_x64.cab
191720 | 04.02.2010 10:21:32 | DEC2006_d3dx10_00_x86.cab
192475 | 04.02.2010 10:21:32 | DEC2006_XACT_x64.cab
145599 | 04.02.2010 10:21:32 | DEC2006_XACT_x86.cab
94040 | 04.02.2010 10:21:32 | DSETUP.dll
1691480 | 04.02.2010 10:21:32 | dsetup32.dll
44448 | 04.02.2010 10:21:34 | dxdllreg_x86.cab
13264168 | 04.02.2010 10:21:34 | dxnt.cab
525656 | 04.02.2010 10:21:34 | DXSETUP.exe
95820 | 04.02.2010 10:21:34 | dxupdate.cab
1247499 | 04.02.2010 10:21:34 | Feb2005_d3dx9_24_x64.cab
1013225 | 04.02.2010 10:21:34 | Feb2005_d3dx9_24_x86.cab
1362796 | 04.02.2010 10:21:34 | Feb2006_d3dx9_29_x64.cab
1084720 | 04.02.2010 10:21:34 | Feb2006_d3dx9_29_x86.cab
178359 | 04.02.2010 10:21:34 | Feb2006_XACT_x64.cab
132409 | 04.02.2010 10:21:36 | Feb2006_XACT_x86.cab
194675 | 04.02.2010 10:21:36 | FEB2007_XACT_x64.cab
147983 | 04.02.2010 10:21:36 | FEB2007_XACT_x86.cab
54678 | 04.02.2010 10:21:36 | Feb2010_X3DAudio_x64.cab
20713 | 04.02.2010 10:21:36 | Feb2010_X3DAudio_x86.cab
122446 | 04.02.2010 10:21:36 | Feb2010_XACT_x64.cab
93180 | 04.02.2010 10:21:36 | Feb2010_XACT_x86.cab
276960 | 04.02.2010 10:21:36 | Feb2010_XAudio_x64.cab
277191 | 04.02.2010 10:21:36 | Feb2010_XAudio_x86.cab
1336002 | 04.02.2010 10:21:36 | Jun2005_d3dx9_26_x64.cab
1064925 | 04.02.2010 10:21:36 | Jun2005_d3dx9_26_x86.cab
180785 | 04.02.2010 10:21:36 | JUN2006_XACT_x64.cab
133671 | 04.02.2010 10:21:36 | JUN2006_XACT_x86.cab
1607774 | 04.02.2010 10:21:38 | JUN2007_d3dx9_34_x64.cab
1607286 | 04.02.2010 10:21:38 | JUN2007_d3dx9_34_x86.cab
699044 | 04.02.2010 10:21:36 | JUN2007_d3dx10_34_x64.cab
698472 | 04.02.2010 10:21:38 | JUN2007_d3dx10_34_x86.cab
197122 | 04.02.2010 10:21:38 | JUN2007_XACT_x64.cab
152909 | 04.02.2010 10:21:38 | JUN2007_XACT_x86.cab
1792608 | 04.02.2010 10:21:40 | JUN2008_d3dx9_38_x64.cab
1463878 | 04.02.2010 10:21:38 | JUN2008_d3dx9_38_x86.cab
867828 | 04.02.2010 10:21:38 | JUN2008_d3dx10_38_x64.cab
849919 | 04.02.2010 10:21:38 | JUN2008_d3dx10_38_x86.cab
55154 | 04.02.2010 10:21:40 | JUN2008_X3DAudio_x64.cab
21905 | 04.02.2010 10:21:40 | JUN2008_X3DAudio_x86.cab
121054 | 04.02.2010 10:21:40 | JUN2008_XACT_x64.cab
93128 | 04.02.2010 10:21:40 | JUN2008_XACT_x86.cab
269628 | 04.02.2010 10:21:40 | JUN2008_XAudio_x64.cab
269024 | 04.02.2010 10:21:42 | JUN2008_XAudio_x86.cab
1769862 | 04.02.2010 10:21:44 | Mar2008_d3dx9_37_x64.cab
1443282 | 04.02.2010 10:21:44 | Mar2008_d3dx9_37_x86.cab
844884 | 04.02.2010 10:21:42 | Mar2008_d3dx10_37_x64.cab
818260 | 04.02.2010 10:21:42 | Mar2008_d3dx10_37_x86.cab
55058 | 04.02.2010 10:21:44 | Mar2008_X3DAudio_x64.cab
21867 | 04.02.2010 10:21:44 | Mar2008_X3DAudio_x86.cab
122336 | 04.02.2010 10:21:44 | Mar2008_XACT_x64.cab
93734 | 04.02.2010 10:21:44 | Mar2008_XACT_x86.cab
251194 | 04.02.2010 10:21:44 | Mar2008_XAudio_x64.cab
226250 | 04.02.2010 10:21:44 | Mar2008_XAudio_x86.cab
1973702 | 04.02.2010 10:21:44 | Mar2009_d3dx9_41_x64.cab
1612446 | 04.02.2010 10:21:44 | Mar2009_d3dx9_41_x86.cab
1067160 | 04.02.2010 10:21:44 | Mar2009_d3dx10_41_x64.cab
1040745 | 04.02.2010 10:21:44 | Mar2009_d3dx10_41_x86.cab
54600 | 04.02.2010 10:21:44 | Mar2009_X3DAudio_x64.cab
21298 | 04.02.2010 10:21:44 | Mar2009_X3DAudio_x86.cab
121506 | 04.02.2010 10:21:52 | Mar2009_XACT_x64.cab
92740 | 04.02.2010 10:21:48 | Mar2009_XACT_x86.cab
275044 | 04.02.2010 10:21:48 | Mar2009_XAudio_x64.cab
273018 | 04.02.2010 10:21:48 | Mar2009_XAudio_x86.cab
1802058 | 04.02.2010 10:21:52 | Nov2007_d3dx9_36_x64.cab
1709360 | 04.02.2010 10:21:52 | Nov2007_d3dx9_36_x86.cab
864600 | 04.02.2010 10:21:52 | Nov2007_d3dx10_36_x64.cab
803884 | 04.02.2010 10:21:52 | Nov2007_d3dx10_36_x86.cab
46144 | 04.02.2010 10:21:52 | NOV2007_X3DAudio_x64.cab
18496 | 04.02.2010 10:21:52 | NOV2007_X3DAudio_x86.cab
196762 | 04.02.2010 10:21:52 | NOV2007_XACT_x64.cab
148264 | 04.02.2010 10:21:52 | NOV2007_XACT_x86.cab
1906878 | 04.02.2010 10:21:52 | Nov2008_d3dx9_40_x64.cab
1550796 | 04.02.2010 10:21:52 | Nov2008_d3dx9_40_x86.cab
994154 | 04.02.2010 10:21:52 | Nov2008_d3dx10_40_x64.cab
965421 | 04.02.2010 10:21:52 | Nov2008_d3dx10_40_x86.cab
54522 | 04.02.2010 10:21:52 | Nov2008_X3DAudio_x64.cab
21851 | 04.02.2010 10:21:52 | Nov2008_X3DAudio_x86.cab
121794 | 04.02.2010 10:21:52 | Nov2008_XACT_x64.cab
92684 | 04.02.2010 10:21:52 | Nov2008_XACT_x86.cab
273960 | 04.02.2010 10:21:52 | Nov2008_XAudio_x64.cab
272611 | 04.02.2010 10:21:52 | Nov2008_XAudio_x86.cab
86037 | 04.02.2010 10:21:52 | Oct2005_xinput_x64.cab
45359 | 04.02.2010 10:21:52 | Oct2005_xinput_x86.cab
1412902 | 04.02.2010 10:21:52 | OCT2006_d3dx9_31_x64.cab
1127217 | 04.02.2010 10:21:52 | OCT2006_d3dx9_31_x86.cab
182361 | 04.02.2010 10:21:52 | OCT2006_XACT_x64.cab
138017 | 04.02.2010 10:21:52 | OCT2006_XACT_x86.cab
All done, no errors.
Viewing cabinet: /home/austin/.cache/winetricks.bak/directx9/directx_Jun2010_redist.exe
File size | Date Time | Name
-----------+---------------------+-------------
1347354 | 02.06.2010 05:21:16 | Apr2005_d3dx9_25_x64.cab
1078962 | 02.06.2010 05:21:16 | Apr2005_d3dx9_25_x86.cab
1397830 | 02.06.2010 05:21:16 | Apr2006_d3dx9_30_x64.cab
1115221 | 02.06.2010 05:21:16 | Apr2006_d3dx9_30_x86.cab
916430 | 02.06.2010 05:21:18 | Apr2006_MDX1_x86.cab
4162630 | 02.06.2010 05:21:18 | Apr2006_MDX1_x86_Archive.cab
179133 | 02.06.2010 05:21:18 | Apr2006_XACT_x64.cab
133103 | 02.06.2010 05:21:18 | Apr2006_XACT_x86.cab
87101 | 02.06.2010 05:21:20 | Apr2006_xinput_x64.cab
46010 | 02.06.2010 05:21:34 | Apr2006_xinput_x86.cab
1607358 | 02.06.2010 05:21:36 | APR2007_d3dx9_33_x64.cab
1606039 | 02.06.2010 05:21:38 | APR2007_d3dx9_33_x86.cab
698612 | 02.06.2010 05:21:36 | APR2007_d3dx10_33_x64.cab
695865 | 02.06.2010 05:21:36 | APR2007_d3dx10_33_x86.cab
195766 | 02.06.2010 05:21:38 | APR2007_XACT_x64.cab
151225 | 02.06.2010 05:21:38 | APR2007_XACT_x86.cab
96817 | 02.06.2010 05:21:38 | APR2007_xinput_x64.cab
53302 | 02.06.2010 05:21:40 | APR2007_xinput_x86.cab
1350542 | 02.06.2010 05:21:40 | Aug2005_d3dx9_27_x64.cab
1077644 | 02.06.2010 05:21:40 | Aug2005_d3dx9_27_x86.cab
182903 | 02.06.2010 05:21:40 | AUG2006_XACT_x64.cab
137235 | 02.06.2010 05:21:40 | AUG2006_XACT_x86.cab
87142 | 02.06.2010 05:21:40 | AUG2006_xinput_x64.cab
46058 | 02.06.2010 05:21:40 | AUG2006_xinput_x86.cab
1800160 | 02.06.2010 05:21:42 | AUG2007_d3dx9_35_x64.cab
1708152 | 02.06.2010 05:21:42 | AUG2007_d3dx9_35_x86.cab
852286 | 02.06.2010 05:21:42 | AUG2007_d3dx10_35_x64.cab
796867 | 02.06.2010 05:21:42 | AUG2007_d3dx10_35_x86.cab
198096 | 02.06.2010 05:21:44 | AUG2007_XACT_x64.cab
153012 | 02.06.2010 05:21:44 | AUG2007_XACT_x86.cab
1794084 | 02.06.2010 05:21:44 | Aug2008_d3dx9_39_x64.cab
1464672 | 02.06.2010 05:21:44 | Aug2008_d3dx9_39_x86.cab
867612 | 02.06.2010 05:21:42 | Aug2008_d3dx10_39_x64.cab
849167 | 02.06.2010 05:21:44 | Aug2008_d3dx10_39_x86.cab
121772 | 02.06.2010 05:21:44 | Aug2008_XACT_x64.cab
92996 | 02.06.2010 05:21:44 | Aug2008_XACT_x86.cab
271412 | 02.06.2010 05:21:46 | Aug2008_XAudio_x64.cab
271038 | 02.06.2010 05:21:46 | Aug2008_XAudio_x86.cab
919044 | 02.06.2010 05:21:46 | Aug2009_D3DCompiler_42_x64.cab
900598 | 02.06.2010 05:21:56 | Aug2009_D3DCompiler_42_x86.cab
3112111 | 02.06.2010 05:21:56 | Aug2009_d3dcsx_42_x64.cab
3319740 | 02.06.2010 05:21:56 | Aug2009_d3dcsx_42_x86.cab
930116 | 02.06.2010 05:21:58 | Aug2009_d3dx9_42_x64.cab
728456 | 02.06.2010 05:21:58 | Aug2009_d3dx9_42_x86.cab
232635 | 02.06.2010 05:21:58 | Aug2009_d3dx10_42_x64.cab
192131 | 02.06.2010 05:21:58 | Aug2009_d3dx10_42_x86.cab
136301 | 02.06.2010 05:21:58 | Aug2009_d3dx11_42_x64.cab
105044 | 02.06.2010 05:21:58 | Aug2009_d3dx11_42_x86.cab
122408 | 02.06.2010 05:22:00 | Aug2009_XACT_x64.cab
93106 | 02.06.2010 05:22:00 | Aug2009_XACT_x86.cab
273264 | 02.06.2010 05:22:00 | Aug2009_XAudio_x64.cab
272642 | 02.06.2010 05:22:00 | Aug2009_XAudio_x86.cab
1357976 | 02.06.2010 05:22:00 | Dec2005_d3dx9_28_x64.cab
1079456 | 02.06.2010 05:22:00 | Dec2005_d3dx9_28_x86.cab
1571154 | 02.06.2010 05:22:00 | DEC2006_d3dx9_32_x64.cab
1574376 | 02.06.2010 05:22:02 | DEC2006_d3dx9_32_x86.cab
212807 | 02.06.2010 05:22:00 | DEC2006_d3dx10_00_x64.cab
191720 | 02.06.2010 05:22:00 | DEC2006_d3dx10_00_x86.cab
192475 | 02.06.2010 05:22:02 | DEC2006_XACT_x64.cab
145599 | 02.06.2010 05:22:02 | DEC2006_XACT_x86.cab
95576 | 30.03.2011 11:40:32 | DSETUP.dll
1566040 | 30.03.2011 11:40:32 | dsetup32.dll
44624 | 30.03.2011 11:40:32 | dxdllreg_x86.cab
517976 | 30.03.2011 11:40:34 | DXSETUP.exe
97152 | 30.03.2011 11:40:32 | dxupdate.cab
1247499 | 02.06.2010 05:22:02 | Feb2005_d3dx9_24_x64.cab
1013225 | 02.06.2010 05:22:02 | Feb2005_d3dx9_24_x86.cab
1362796 | 02.06.2010 05:22:02 | Feb2006_d3dx9_29_x64.cab
1084720 | 02.06.2010 05:22:04 | Feb2006_d3dx9_29_x86.cab
178359 | 02.06.2010 05:22:10 | Feb2006_XACT_x64.cab
132409 | 02.06.2010 05:22:10 | Feb2006_XACT_x86.cab
194675 | 02.06.2010 05:22:12 | FEB2007_XACT_x64.cab
147983 | 02.06.2010 05:22:12 | FEB2007_XACT_x86.cab
54678 | 02.06.2010 05:22:12 | Feb2010_X3DAudio_x64.cab
20713 | 02.06.2010 05:22:12 | Feb2010_X3DAudio_x86.cab
122446 | 02.06.2010 05:22:14 | Feb2010_XACT_x64.cab
93180 | 02.06.2010 05:22:14 | Feb2010_XACT_x86.cab
276960 | 02.06.2010 05:22:14 | Feb2010_XAudio_x64.cab
277191 | 02.06.2010 05:22:14 | Feb2010_XAudio_x86.cab
1336002 | 02.06.2010 05:22:14 | Jun2005_d3dx9_26_x64.cab
1064925 | 02.06.2010 05:22:16 | Jun2005_d3dx9_26_x86.cab
180785 | 02.06.2010 05:22:16 | JUN2006_XACT_x64.cab
133671 | 02.06.2010 05:22:16 | JUN2006_XACT_x86.cab
1607774 | 02.06.2010 05:22:16 | JUN2007_d3dx9_34_x64.cab
1607286 | 02.06.2010 05:22:16 | JUN2007_d3dx9_34_x86.cab
699044 | 02.06.2010 05:22:16 | JUN2007_d3dx10_34_x64.cab
698472 | 02.06.2010 05:22:16 | JUN2007_d3dx10_34_x86.cab
197122 | 02.06.2010 05:22:16 | JUN2007_XACT_x64.cab
152909 | 02.06.2010 05:22:18 | JUN2007_XACT_x86.cab
1792608 | 02.06.2010 05:22:18 | JUN2008_d3dx9_38_x64.cab
1463878 | 02.06.2010 05:22:18 | JUN2008_d3dx9_38_x86.cab
867828 | 02.06.2010 05:22:18 | JUN2008_d3dx10_38_x64.cab
849919 | 02.06.2010 05:22:18 | JUN2008_d3dx10_38_x86.cab
55154 | 02.06.2010 05:22:18 | JUN2008_X3DAudio_x64.cab
21905 | 02.06.2010 05:22:18 | JUN2008_X3DAudio_x86.cab
121054 | 02.06.2010 05:22:18 | JUN2008_XACT_x64.cab
93128 | 02.06.2010 05:22:18 | JUN2008_XACT_x86.cab
269628 | 02.06.2010 05:22:18 | JUN2008_XAudio_x64.cab
269024 | 02.06.2010 05:22:20 | JUN2008_XAudio_x86.cab
944460 | 02.06.2010 05:22:28 | Jun2010_D3DCompiler_43_x64.cab
931471 | 02.06.2010 05:22:28 | Jun2010_D3DCompiler_43_x86.cab
752783 | 02.06.2010 05:22:28 | Jun2010_d3dcsx_43_x64.cab
762188 | 02.06.2010 05:22:30 | Jun2010_d3dcsx_43_x86.cab
937246 | 02.06.2010 05:22:32 | Jun2010_d3dx9_43_x64.cab
768036 | 02.06.2010 05:22:32 | Jun2010_d3dx9_43_x86.cab
235955 | 02.06.2010 05:22:30 | Jun2010_d3dx10_43_x64.cab
197283 | 02.06.2010 05:22:30 | Jun2010_d3dx10_43_x86.cab
138205 | 02.06.2010 05:22:30 | Jun2010_d3dx11_43_x64.cab
109445 | 02.06.2010 05:22:30 | Jun2010_d3dx11_43_x86.cab
124596 | 02.06.2010 05:22:32 | Jun2010_XACT_x64.cab
93686 | 02.06.2010 05:22:32 | Jun2010_XACT_x86.cab
277338 | 02.06.2010 05:22:32 | Jun2010_XAudio_x64.cab
278060 | 02.06.2010 05:22:32 | Jun2010_XAudio_x86.cab
1769862 | 02.06.2010 05:22:34 | Mar2008_d3dx9_37_x64.cab
1443282 | 02.06.2010 05:22:34 | Mar2008_d3dx9_37_x86.cab
844884 | 02.06.2010 05:22:32 | Mar2008_d3dx10_37_x64.cab
818260 | 02.06.2010 05:22:34 | Mar2008_d3dx10_37_x86.cab
55058 | 02.06.2010 05:22:34 | Mar2008_X3DAudio_x64.cab
21867 | 02.06.2010 05:22:34 | Mar2008_X3DAudio_x86.cab
122336 | 02.06.2010 05:22:36 | Mar2008_XACT_x64.cab
93734 | 02.06.2010 05:22:36 | Mar2008_XACT_x86.cab
251194 | 02.06.2010 05:22:36 | Mar2008_XAudio_x64.cab
226250 | 02.06.2010 05:22:36 | Mar2008_XAudio_x86.cab
1973702 | 02.06.2010 05:22:36 | Mar2009_d3dx9_41_x64.cab
1612446 | 02.06.2010 05:22:36 | Mar2009_d3dx9_41_x86.cab
1067160 | 02.06.2010 05:22:36 | Mar2009_d3dx10_41_x64.cab
1040745 | 02.06.2010 05:22:36 | Mar2009_d3dx10_41_x86.cab
54600 | 02.06.2010 05:22:38 | Mar2009_X3DAudio_x64.cab
21298 | 02.06.2010 05:22:38 | Mar2009_X3DAudio_x86.cab
121506 | 02.06.2010 05:22:46 | Mar2009_XACT_x64.cab
92740 | 02.06.2010 05:22:46 | Mar2009_XACT_x86.cab
275044 | 02.06.2010 05:22:46 | Mar2009_XAudio_x64.cab
273018 | 02.06.2010 05:22:48 | Mar2009_XAudio_x86.cab
1802058 | 02.06.2010 05:22:48 | Nov2007_d3dx9_36_x64.cab
1709360 | 02.06.2010 05:22:48 | Nov2007_d3dx9_36_x86.cab
864600 | 02.06.2010 05:22:48 | Nov2007_d3dx10_36_x64.cab
803884 | 02.06.2010 05:22:48 | Nov2007_d3dx10_36_x86.cab
46144 | 02.06.2010 05:22:50 | NOV2007_X3DAudio_x64.cab
18496 | 02.06.2010 05:22:50 | NOV2007_X3DAudio_x86.cab
196762 | 02.06.2010 05:22:50 | NOV2007_XACT_x64.cab
148264 | 02.06.2010 05:22:50 | NOV2007_XACT_x86.cab
1906878 | 02.06.2010 05:22:52 | Nov2008_d3dx9_40_x64.cab
1550796 | 02.06.2010 05:22:52 | Nov2008_d3dx9_40_x86.cab
994154 | 02.06.2010 05:22:50 | Nov2008_d3dx10_40_x64.cab
965421 | 02.06.2010 05:22:52 | Nov2008_d3dx10_40_x86.cab
54522 | 02.06.2010 05:22:52 | Nov2008_X3DAudio_x64.cab
21851 | 02.06.2010 05:22:52 | Nov2008_X3DAudio_x86.cab
121794 | 02.06.2010 05:22:52 | Nov2008_XACT_x64.cab
92684 | 02.06.2010 05:22:52 | Nov2008_XACT_x86.cab
273960 | 02.06.2010 05:22:54 | Nov2008_XAudio_x64.cab
272611 | 02.06.2010 05:22:54 | Nov2008_XAudio_x86.cab
86037 | 02.06.2010 05:22:54 | Oct2005_xinput_x64.cab
45359 | 02.06.2010 05:22:54 | Oct2005_xinput_x86.cab
1412902 | 02.06.2010 05:22:54 | OCT2006_d3dx9_31_x64.cab
1127217 | 02.06.2010 05:22:54 | OCT2006_d3dx9_31_x86.cab
182361 | 02.06.2010 05:22:54 | OCT2006_XACT_x64.cab
138017 | 02.06.2010 05:22:54 | OCT2006_XACT_x86.cab
All done, no errors.
ComCt232.cab
ComCt232.dep
ComCt232.ocx
ComCt332.cab
ComCt332.dep
ComCt332.ocx
comctl32.cab
comctl32.dep
comctl32.ocx
ComDlg32.cab
ComDlg32.Dep
ComDlg32.ocx
dbadapt.cab
dbadapt.dep
dbadapt.dll
dbgrid32.cab
dbgrid32.Dep
dbgrid32.ocx
dblist32.cab
dblist32.dep
dblist32.ocx
mci32.cab
mci32.dep
mci32.ocx
MSAddnDr.cab
MSAddnDr.Dep
MSAddnDr.dll
MSAdoDc.cab
MSAdoDc.dep
MSAdoDc.ocx
MSBind.cab
MSBind.dep
MSBind.dll
mscdrun.cab
mscdrun.dep
mscdrun.dll
MSChrt20.cab
MSChrt20.Dep
MSChrt20.ocx
mscomct2.cab
mscomct2.dep
mscomct2.ocx
mscomctl.cab
mscomctl.dep
mscomctl.ocx
MSComm32.cab
MSComm32.dep
MSComm32.ocx
MSCsfDbg.dll
MSDatGrd.cab
MSDatGrd.dep
MSDatGrd.ocx
MSDatLst.cab
MSDatLst.dep
MSDatLst.ocx
MSDatRep.cab
MSDatRep.dep
MSDatRep.ocx
MSDbRpt.cab
MSDbRpt.dll
MSDbRptr.cab
MSDbRptr.dep
MSDbRptr.dll
MSFlxGrd.cab
MSFlxGrd.dep
MSFlxGrd.ocx
MShflxgd.cab
MShflxgd.dep
MShflxgd.ocx
MSHtmPgd.cab
MSHtmPgd.dll
MSHtmPgr.cab
MSHtmPgr.dep
MSHtmPgr.dll
MSINET.cab
MSINET.DEP
MSINET.ocx
msmapi32.cab
msmapi32.dep
msmapi32.ocx
msmask32.cab
msmask32.dep
msmask32.ocx
msrdc20.cab
msrdc20.dep
msrdc20.ocx
msrdo20.cab
msrdo20.dep
msrdo20.dll
msstdfmt.cab
msstdfmt.dll
msstkprp.cab
msstkprp.dll
mswcrun.cab
mswcrun.dep
mswcrun.dll
MSWINSCK.cab
MSWINSCK.dep
MSWINSCK.ocx
PicClp32.cab
PicClp32.dep
PicClp32.ocx
richtx32.cab
richtx32.dep
richtx32.ocx
sysinfo.cab
sysinfo.dep
sysinfo.ocx
TabCtl32.cab
TabCtl32.dep
TabCtl32.ocx
wbclsdsr.cab
wbclsdsr.ocx
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
#!/bin/sh
#
# This script is public domain.
# This script installs bashate by unpacking .deb files built for Ubuntu 18.04.
# This is intended to install/use bashate in TravisCI.
# Usage (.travis.yml):
# ...
# os:
# - linux
# - ...
# sudo: required
# dist: trusty
# ...
# addons:
# apt:
# packages:
# - python-tz
# - ...
# ...
# before_install:
# - time sh ./misc/travis-install-bashate-deb.sh
# - ...
set -eux
# "us-central1.gce.archive.ubuntu.com" is used by "apt" addon
# (See "Installing APT Packages" in logs), assuming it's fast
UBUNTU_POOL=http://us-central1.gce.archive.ubuntu.com/ubuntu/pool
DEB_BABEL_LOCALEDATA=$UBUNTU_POOL/main/p/python-babel/python-babel-localedata_2.4.0+dfsg.1-2ubuntu1_all.deb
DEB_BABEL=$UBUNTU_POOL/main/p/python-babel/python-babel_2.4.0+dfsg.1-2ubuntu1_all.deb
DEB_BASHATE=$UBUNTU_POOL/universe/p/python-bashate/python-bashate_0.5.1-1_all.deb
DEB_PBR=$UBUNTU_POOL/main/p/python-pbr/python-pbr_3.1.1-3ubuntu3_all.deb
DEB_SIX=$UBUNTU_POOL/main/s/six/python-six_1.11.0-2_all.deb
if which bashate >/dev/null; then
echo "bashate is already installed."
exit 1
fi
if test -d /Library; then
# macOS: "six" is already installed
curl --remote-name-all $DEB_BABEL_LOCALEDATA $DEB_BABEL $DEB_BASHATE $DEB_PBR
BINDIR=/usr/local/bin
PACKAGESDIR=/Library/Python/2.7/site-packages
else
# Ubuntu
curl --remote-name-all $DEB_BABEL_LOCALEDATA $DEB_BABEL $DEB_BASHATE $DEB_PBR $DEB_SIX
BINDIR=/usr/bin
PACKAGESDIR=/usr/lib/python2.7/dist-packages
fi
for f in *.deb; do
ar p "$f" data.tar.xz | tar -Jvxf -
done
sudo cp -R usr/lib/python2.7/dist-packages/* $PACKAGESDIR/
sudo install -m 755 usr/bin/python2-bashate $BINDIR/bashate
#!/bin/sh
#
# This script is public domain.
#
# This file is intended to install bashate via pip.
set -ex
if test -d /Library; then
# macOS
curl https://bootstrap.pypa.io/get-pip.py | sudo python
else
# Ubuntu
sudo apt-get install python-pip
fi
sudo -H pip install bashate
# Homepage: https://github.com/josephbisch/test-releases-api/blob/master/github-api-releases.py
#
# Copyright:
# Copyright (C) 2016 Joseph Bisch <joseph.bisch AT gmail.com>
#
# License:
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, see
# <https://www.gnu.org/licenses/>.
import requests
import getpass
import json
import sys
import os
import ntpath
import magic
from urllib.parse import urljoin
GITHUB_API = 'https://api.github.com'
def check_status(res, j):
if res.status_code >= 400:
msg = j.get('message', 'UNDEFINED')
print('ERROR: %s' % msg)
return 1
return 0
def create_release(owner, repo, tag, token):
url = urljoin(GITHUB_API, '/'.join(['repos', owner, repo, 'releases']))
headers = {'Authorization': token}
data = {'tag_name': tag, 'name': tag, 'body': 'winetricks - %s' % tag}
res = requests.post(url, auth=(owner, token), data=json.dumps(data), headers=headers)
j = json.loads(res.text)
if check_status(res, j):
return 1
return 0
def upload_asset(path, owner, repo, tag):
token = os.environ['GITHUB_TOKEN']
url = urljoin(GITHUB_API,
'/'.join(['repos', owner, repo, 'releases', 'tags', tag]))
res = requests.get(url)
j = json.loads(res.text)
if check_status(res, j):
# release must not exist, creating release from tag
if create_release(owner, repo, tag, token):
return 0
else:
# Need to start over with uploading now that release is created
# Return 1 to indicate we need to run upload_asset again
return 1
upload_url = j['upload_url']
upload_url = upload_url.split('{')[0]
fname = ntpath.basename(path)
with open(path) as f:
contents = f.read()
try:
content_type = mime.from_file(path)
except:
content = magic.detect_from_filename(path)
content_type = content.name
headers = {'Content-Type': content_type, 'Authorization': token}
params = {'name': fname}
res = requests.post(upload_url, data=contents, auth=(owner, token),
headers=headers, params=params)
j = json.loads(res.text)
if check_status(res, j):
return 0
print('SUCCESS: %s uploaded' % fname)
return 0
if __name__ == '__main__':
path = sys.argv[1]
owner = sys.argv[2]
repo = sys.argv[3]
tag = sys.argv[4]
if not os.path.isabs(path):
path = os.path.join(os.path.dirname(os.path.realpath(__file__)), path)
ret = 1 # Run upload_asset at least once.
while ret:
ret = upload_asset(path, owner, repo, tag)
#!/bin/sh
# Link checker for winetricks.
#
# Copyright (C) 2011,2012,2013 Dan Kegel.
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the GNU Lesser
# Public License version 2.1 (or later), as published by the Free
# Software Foundation. Please see the file COPYING for details.
set -e
passes=0
errors=0
check_deps() {
if ! test -x "$(which curl 2>/dev/null)"; then
echo "Please install curl"
exit 1
fi
}
if [ -f README.md ] ; then
TOP="$PWD"
elif [ -f ../README.md ] ; then
TOP=".."
else
echo "Dude, where's my car?!"
exit 1
fi
datadir="${TOP}/output/links.d"
mkdir -p "${datadir}"
WINETRICKS_SOURCEFORGE=https://downloads.sourceforge.net
# ftp.microsoft.com resolves to two different IP addresses, one of which is broken
ftp_microsoft_com=64.4.17.176
w_download() {
# shellcheck disable=SC2016
url="$(echo "$1" | sed -e 's,$ftp_microsoft_com,'$ftp_microsoft_com',;s,$WINETRICKS_SOURCEFORGE,'$WINETRICKS_SOURCEFORGE',;s, ,%20,g')"
urlkey="$(echo "$url" | tr / _)"
echo "$url" > "${datadir}/${urlkey}.url"
}
# Extract list of URLs from winetricks
extract_all() {
# https://github.com/koalaman/shellcheck/issues/861
# shellcheck disable=SC1003
grep '^ *w_download ' winetricks | grep -E 'ftp|http|WINETRICKS_SOURCEFORGE' | sed 's/^ *//' | tr -d '\\' > url-script-fragment.tmp
# shellcheck disable=SC1091
. ./url-script-fragment.tmp
}
# Show results for a given url
# Input: .url file
# Output: line with OK or BAD followed by URL,
# optionally followed by lines with more detail
show_one() {
urlfile=$1
base=${urlfile%.url}
url="$(cat "$urlfile")"
if grep -E "HTTP.*200|HTTP.*30[0-9]|Content-Length" "$base.log" > /dev/null; then
passes=$((passes + 1))
else
echo "BAD $url"
cat "$base.log"
echo ""
errors=$((errors + 1))
fi
}
# Show full report on most recent crawl
show_all() {
for urlfile in "$datadir"/*.url ; do
show_one "$urlfile"
done
}
# Save info about the given url to a file
# Input: .url file
# Output:
# .log gets the full info
# .dat gets a summary
# Calls show_one to print results out as they come in
crawl_one() {
urlfile=$1
base=${urlfile%.url}
url="$(cat "$urlfile")"
curl --connect-timeout 10 --retry 6 -s -S -I "$url" 2>&1 |
tr -d '\015' |
grep . |
sort > "$base.log"
# more diff-able?
# cat "$base.log" |
# grep -E 'HTTP|Last-Modified:|Content-Length:|ETag:' |
# tr '\012' ' ' |
# sed 's/ Connection:.*//' > "$datadir"/"$urlkey.dat"
# echo "" >> "$base.dat"
show_one "$urlfile"
}
# Fetch all info
# Do fetches in background so slow servers don't hang us
# Print quick feedback as results come in
crawl_all() {
for urlfile in "$datadir"/*.url ; do
url="$(cat "$urlfile")"
echo "Crawling $url"
crawl_one "$urlfile" &
sleep 1
done
# Wait for fetches to finish
wait
}
mkdir -p "$datadir"
case "$1" in
check-deps)
check_deps
exit $?
;;
crawl)
check_deps
extract_all
crawl_all
show_all
;;
report)
show_all
;;
*) echo "Usage: linkcheck.sh crawl|report"; exit 1;;
esac
# cleanup
rm -rf "$datadir" url-script-fragment.tmp
echo "Test over, $errors failures, $passes successes."
if test $errors = 0 && test $passes -gt 0
then
echo PASS
exit 0
else
echo FAIL
exit 1
fi
#!/bin/sh
# Trivial release helper for winetricks
#
# Usage: $0 optional_version_name
#
# Copyright (C) 2016 Austin English
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the GNU Lesser
# Public License version 2.1 (or later), as published by the Free
# Software Foundation. Please see the file COPYING for details.
set -e
#set -u
set -x
nopush=0
# Don't push commits/tags or upload files
if [ "$1" = "--no-push" ] ; then
nopush=1
shift
fi
# FIXME: If "--no-push" isn't set, above statement dies, not sure how to construct properly to avoid
set -u
# For a WINEPREFIX for winetricks list commands:
tmpdir="$(mktemp -d)"
# WINEPREFIX must be under a directory owned by user, so can't be in /tmp directly..
export WINEPREFIX="${tmpdir}/wineprefix"
# Set an empty cache so nothing shows as cached:
export W_CACHE="/dev/null"
# Set WINEARCH="win32" so we don't get 64-bit warning in output:
export WINEARCH="win32"
# Needed by the list commands below:
export WINETRICKS_LATEST_VERSION_CHECK="development"
if [ -z "$GITHUB_TOKEN" ] ; then
echo "GITHUB_TOKEN must be set in the environment!"
exit 1
fi
# Make sure we're at top level:
if [ ! -f Makefile ] ; then
echo "Please run this from the top of the source tree"
exit 1
fi
version="${1:-$(date +%Y%m%d)}"
if git tag | grep -w "${version}" ; then
echo "A tag for ${version} already exists!"
exit 1
fi
# update version in winetricks itself
sed -i -e "s%WINETRICKS_VERSION=.*%WINETRICKS_VERSION=${version}%" src/winetricks
# update manpage
line=".TH WINETRICKS 1 \"$(date +"%B %Y")\" \"Winetricks ${version}\" \"Wine Package Manager\""
sed -i -e "s%\\.TH.*%${line}%" src/winetricks.1
# update LATEST (version) file
echo "${version}" > files/LATEST
# Update verb lists:
# actual categories
./src/winetricks apps list | sed 's/[[:blank:]]*$//' > files/verbs/apps.txt
./src/winetricks benchmarks list | sed 's/[[:blank:]]*$//' > files/verbs/benchmarks.txt
./src/winetricks dlls list | sed 's/[[:blank:]]*$//' > files/verbs/dlls.txt
./src/winetricks games list | sed 's/[[:blank:]]*$//' > files/verbs/games.txt
./src/winetricks settings list | sed 's/[[:blank:]]*$//' > files/verbs/settings.txt
# meta categories
./src/winetricks list-all | sed 's/[[:blank:]]*$//' > files/verbs/all.txt
./src/winetricks list-download | sed 's/[[:blank:]]*$//' > files/verbs/download.txt
./src/winetricks list-manual-download | sed 's/[[:blank:]]*$//' > files/verbs/manual-download.txt
git commit files/LATEST files/verbs/*.txt src/winetricks src/winetricks.1 -m "version bump - ${version}"
git tag -s -m "winetricks-${version}" "${version}"
# update development version in winetricks
sed -i -e "s%WINETRICKS_VERSION=.*%WINETRICKS_VERSION=${version}-next%" src/winetricks
git commit src/winetricks -m "development version bump - ${version}-next"
if [ $nopush = 1 ] ; then
echo "--no-push used, not pushing commits / tags"
else
git push
git push --tags
fi
# create local tarball, identical to github's generated one
git archive --prefix="winetricks-${version}/" -o "${tmpdir}/${version}.tar.gz" "${version}"
# create a detached signature of the tarball
gpg --armor --default-key 0x053F0749 --detach-sign "${tmpdir}/${version}.tar.gz"
# upload the detached signature to github:
if [ $nopush = 1 ] ; then
echo "--no-push used, not uploading signature file"
else
python3 src/github-api-releases.py "${tmpdir}/${version}.tar.gz.asc" Winetricks winetricks "${version}"
fi
rm -rf "${tmpdir}"
exit 0
#!/bin/sh
# Script to locate unique files useful for install checks
#
# Copyright (C) 2014 Dan Kegel
# Copyright (C) 2016 Austin English
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the GNU Lesser
# Public License version 2.1 (or later), as published by the Free
# Software Foundation. Please see the file COPYING for details.
set -e
if ! test "$1"
then
echo "Please specify a bunch of wineprefixes to grub through"
echo "For instance, ~/winetrickstest-prefixes/dotnet20sp{,1,2}"
exit 1
fi
# Generate list of all filenames (except those which look ephemeral)
rm -f /tmp/allfiles.txt
for dir ; do
(
cd "$dir/drive_c"
# FIXME: don't assume there are no ='s in filenames, e.g. rewrite in perl
find . -type f | tr ' ' '=' | grep -E -iv 'tmp|temp|installer|NativeImages' | sort > ../files.txt
cat ../files.txt >> /tmp/allfiles.txt
)
done
# Find filenames that occur only once
sort < /tmp/allfiles.txt | uniq -c | awk '$1 == 1 {print $2}' > /tmp/uniqfiles.txt
# Associate them with the verb they came from
for dir ; do
(
cd "$dir"
# Undo the space-to-= transformation, too
grep -F -f /tmp/uniqfiles.txt < files.txt | tr '=' ' ' > uniqfiles.txt
)
echo "$dir/uniqfiles.txt"
done
This source diff could not be displayed because it is too large. You can view the blob instead.
.\" -*- nroff -*-
.TH WINETRICKS 1 "June 2018" "Winetricks 20180603" "Wine Package Manager"
.SH NAME
winetricks \- manage virtual Windows environments using Wine
.SH SYNOPSIS
.BI "winetricks "
[options] [verb ... ]
.SH DESCRIPTION
.B winetricks
is an easy way to work around common problems in Wine.
.PP
It provides simple commands to
tweak Wine settings,
download and install missing Windows DLLs and fonts,
or install various games or apps with appropriate workarounds for the current version of Wine.
.PP
It can be used via GUI or command line. The command-line mode is intended both for interactive use and as a building block in fancier Wine frontends and in automated regression testing.
.B winetricks
with no arguments displays a GUI using either Zenity or Kdialog.
.SH OPTIONS
.TP
.B
\-\-country=CC
Set country code to CC and don't detect your IP address
when retrying downloads
.TP
.B
\-\-force
Don't check whether packages were already installed
.TP
.B
\-\-gui
Show GUI diagnostics even when driven by the command-line interface
.TP
.B
\-\-isolate
Install each app or game in its own bottle
.TP
.B
\-k, \-\-keep_isos
Cache ISOs (allows later installation without disc)
.TP
.B
\-\-no\-isolate
Don't install each app or game in its own bottle (default)
.TP
.B
\-\-no\-clean
Don't delete temp directories (useful during debugging)
.TP
.B
\-q, \-\-unattended
Don't ask any questions, just install automatically
.TP
.B
\-r, \-\-ddrescue
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
.B
\-h, \-\-help
Display this message and exit
.TP
.B
\-V, \-\-version
Display version and exit
.SH COMMANDS
.TP
.B
apps list
list verbs in category 'applications'
.TP
.B
benchmarks list
list verbs in category 'benchmarks'
.TP
.B
dlls list
list verbs in category 'dlls'
.TP
.B
games list
list verbs in category 'games'
.TP
.B
list
list categories
.TP
.B
list-cached
list cached-and-ready-to-install verbs
.TP
.B
list-download
list verbs which download automatically
.TP
.B
list-manual-download
list verbs which download with some help from the user
.TP
.B
list-installed
list already-installed verbs
.TP
.B
prefix=foobar
select WINEPREFIX=$HOME/.local/share/wineprefixes/foobar
.TP
.B
settings list
list verbs in category 'settings'
.PP
.SH EXAMPLES
.TP
To see list of available packages to install:
winetricks list-download
.TP
To install a package:
winetricks 7zip
.SH ENVIRONMENT VARIABLES
Wine checks several environment variables on startup:
.TP
.I WINE
If set, this specifies which wine binary to use by default
.TP
.I WINESERVER
If set, this specifies which wineserver to use by default
.TP
.I WINEPREFIX
If set, this specifies the location of the default .wine directory ( usually
.IR $HOME/.wine
).
.TP
.I XDG_CACHE_HOME
If set, this is path to system's user data cache (default: $HOME/.cache)
.I W_CACHE
path to Winetricks' user data cache (default: $XDG_CACHE_HOME/winetricks}
.SH AUTHORS
Dan Kegel, Austin English, and many others. For a complete list,
please see the "Copyright" section in the file 'winetricks'.
.SH COPYRIGHT
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
See <https://www.gnu.org/licenses/>.
.SH BUGS
.PP
Bugs may be reported at
.I http://winetricks.org
.PP
.SH AVAILABILITY
The most recent version of
.B winetricks
can be downloaded from
.I http://winetricks.org/download/releases/
.PP
The latest snapshot of the code may be obtained via git; see
.I https://github.com/Winetricks/winetricks/
.PP
For further information about
.B winetricks
see
.I http://winetricks.org
.SH "SEE ALSO"
.BR wine (1)
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Daniel Rusek <mail@asciiwolf.com> -->
<component type="desktop">
<id>winetricks.desktop</id>
<project_license>GPL-2.1</project_license>
<metadata_license>CC0-1.0</metadata_license>
<name>Winetricks</name>
<summary>Work around problems and install applications under Wine</summary>
<description>
<p>
Winetricks is an easy way to work around problems in Wine.
</p>
<p>
It lets you install missing DLLs or tweak various Wine settings individually.
It also has a menu of supported games/apps for which it can do all the workarounds automatically.
</p>
</description>
<url type="homepage">https://github.com/Winetricks/winetricks</url>
<update_contact>mail@asciiwolf.com</update_contact>
</component>
[Desktop Entry]
Name=Winetricks
Comment=Work around problems and install applications under Wine
Comment[pl]=Rozwiązuj problemy i instaluj aplikacje z użyciem Wine
Comment[ru]=Решение проблем и установка программ с помощью Wine
Exec=winetricks --gui
Terminal=false
Icon=winetricks
Type=Application
Categories=Utility;
#!/bin/sh
# Wrapper around checkbashisms/shellcheck/whatever other shell checkers I can find
#
# Copyright (C) 2016 Austin English
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the GNU Lesser
# Public License version 2.1 (or later), as published by the Free
# Software Foundation. Please see the file COPYING for details.
set -e
set -x
w_die() {
echo "$* failed"
exit 1
}
w_try() {
"$@"
status=$?
if test $status -ne 0; then
w_die "Note: command $* returned status $status. Aborting."
fi
}
command bashate --help > /dev/null || w_die "bashate must be installed!"
command checkbashisms --help > /dev/null || w_die "checkbashisms must be installed!"
command shellcheck --version > /dev/null || w_die "shellcheck must be installed!"
if [ ! -f Makefile ] ; then
w_die "$0 should be run from the top of the source tree"
fi
# Different versions can give different results:
#echo "======================== Begin bashate version info ==========================="
## bashate doesn't have a --version option (as of bashate-0.3.1)
#bashate --version
#echo "======================== End checkbashisms version info ==========================="
echo "======================== Begin checkbashisms version info ==========================="
checkbashisms --version
echo "======================== End checkbashisms version info ==========================="
echo "======================== Begin shellcheck version info ==========================="
shellcheck --version
echo "======================== End shellcheck version info ==========================="
# Use git ls-files if available, this prevents 'finding' scripts that aren't checked into git.
# E.g., if patching foo fails, then foo.orig would also be 'found'.
# The find fallback is for non git users, e.g., distros packaging winetricks or end users
# running shell-checks from a tarball download.
if [ -d .git ] ; then
files_to_check="$(git ls-files | xargs file | grep -e 'POSIX shell script' | cut -d : -f1)"
else
files_to_check="$(find . -type f -exec file {} \; | grep -e 'POSIX shell script' | cut -d : -f1)"
fi
for shellscript in $files_to_check; do
echo "Checking ${shellscript} for bashisms:"
w_try checkbashisms --posix "${shellscript}"
echo "Checking ${shellscript} with shellcheck:"
w_try shellcheck -s sh "${shellscript}"
echo "Checking ${shellscript} with bashate:"
# Can't ignore individual things for now, filed bug:
# https://bugs.launchpad.net/bash8/+bug/1698088
# E006=line length check
# E010=do/while same line (in some perl in winetricks)
w_try bashate -i E006,E010 "${shellscript}"
done
#!/bin/sh
set -x
# Invoked by travis to check for trailing whitespace
# Only in travis since local tree may have other diffs applied:
make cleanup
# Git diff doesn't show the trailing whitespace as of 2018/05/13.
# Tried various color/diff settings with no luck.
# The workaround is cat, but commands aren't standard on Linux/OS X
git diff --exit-code > whitespace.diff
ret="$?"
if [ "$ret" = 0 ]; then
echo "No trailing whitespace found."
exit 0
else
echo "There is trailing whitespace that needs to be fixed:"
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
cat -A whitespace.diff
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
# Currently unimpemented on OSX.
# sed will need to be fixed as well:
# sed --in-place 's,[ \t]\+$,,' $(find Makefile src tests -type f)
# sed: illegal option -- -
# usage: sed script [-Ealn] [-i extension] [file ...]
# sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
# make: *** [cleanup] Error 1
# cat -etv whitespace.diff
echo "Not fully implemented on osx yet"
else
echo "Unknown OS!"
fi
exit 1
fi
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