From 39bf42d28b19ab9de674c3d03a0b70881baaee6c3d8cd9032c1ba7038c37a688 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 9 Feb 2010 21:16:53 +0000 Subject: [PATCH] checked in (request 31855) OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=16 --- README.SuSE | 6 +- wine-1.1.30.tar.bz2 | 3 + wine-1.1.38.tar.bz2 | 3 - wine.changes | 125 ---- wine.spec | 635 +----------------- winetricks | 1491 +++++++------------------------------------ 6 files changed, 241 insertions(+), 2022 deletions(-) create mode 100644 wine-1.1.30.tar.bz2 delete mode 100644 wine-1.1.38.tar.bz2 diff --git a/README.SuSE b/README.SuSE index 8c662bf..19d7a38 100644 --- a/README.SuSE +++ b/README.SuSE @@ -9,12 +9,14 @@ General Notes: directly by editing system.reg or user.reg, "wine regedit.exe" or with the graphical configuration frontend "winecfg". -2. Drives are configured by symlinking in ~/.wine/dosdevices/, - or by using "winecfg". +2. Drives are configured by symlinking in ~/.wine/dosdevices/ 3. You have to set the WINEPREFIX variable to the wine base dir, if it is different than ~/.wine. +4. Running "wineprefixcreate" will update or create such a wine base + directory. This is done automatically in current Wines. + There usually is no need for additionaly configuring wine. If no ~/.wine is present, Wine will setup a fake windows diff --git a/wine-1.1.30.tar.bz2 b/wine-1.1.30.tar.bz2 new file mode 100644 index 0000000..cd74077 --- /dev/null +++ b/wine-1.1.30.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8de454ff0433f033e0abb183b321dc9a0cd530dd3dde9e374339ef091222f419 +size 15837751 diff --git a/wine-1.1.38.tar.bz2 b/wine-1.1.38.tar.bz2 deleted file mode 100644 index 9c3c617..0000000 --- a/wine-1.1.38.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf11770cd18d45d2f56235efb0f17c82d24faae43383e1d99b2975dcff3ec8a6 -size 16233995 diff --git a/wine.changes b/wine.changes index 141448a..fb889a8 100644 --- a/wine.changes +++ b/wine.changes @@ -1,129 +1,4 @@ ------------------------------------------------------------------- -Fri Feb 5 20:27:26 CET 2010 - meissner@suse.de - -- Updated to 1.1.38 - - Better support for memory allocations debugging. - - Improved MIDI support. - - A wide range of Direct3D fixes. - - OLEDB fixes (should fix Clipart in Office). - - Improved debugger support on x86-64. - - Many MSI fixes. - - Various bug fixes. -- updated winetricks - -------------------------------------------------------------------- -Fri Jan 22 20:33:13 CET 2010 - meissner@suse.de - -- Updated to 1.1.37 - - A number of fixes in AVI file support. - - Several MSXML improvements. - - A few MSI fixes. - - Various bug fixes. - -------------------------------------------------------------------- -Fri Jan 8 22:52:30 CET 2010 - meissner@suse.de - -- Updated to 1.1.36 - - Completion of the 16-bit separation. - - Improved Shader Model 4 support. - - A ton of memory leak fixes. - - Improved debugging support for MinGW. - - A number of MSHTML fixes. - - Various bug fixes. - -------------------------------------------------------------------- -Fri Dec 18 21:27:45 CET 2009 - meissner@suse.de - -- Updated to 1.1.35 - - Support for OLE transacted storage. - - Better certificate checking on secure connections. - - More progress on the 16-bit separation. - - Left 4 Dead 2 DRM really supported now. - - MSI performance improvements. - - 64-bit fixes in debugger support. - - Various bug fixes. - -------------------------------------------------------------------- -Mon Dec 14 13:20:00 CET 2009 - meissner@suse.de - -- winetricks update - - fixed multiple downloaders, including quicktime, flash - -------------------------------------------------------------------- -Fri Dec 4 20:30:35 CET 2009 - meissner@suse.de - -- Updated to 1.1.34 - - Many fixes for crypto certificates support. - - A lot of MSHTML improvements. - - Various fixes to support the Left 4 Dead 2 DRM. - - A number of OLE marshalling fixes. - - More Listview improvements. - - Various bug fixes. - -------------------------------------------------------------------- -Thu Nov 26 08:27:28 CET 2009 - meissner@suse.de - -- new winetricks release - - Add experimental dotnet35 verb - - Add IE7 verb. Based on a patch by Hans Leidekker. - - Add verbs alsa, audioio, coreaudio, esound, jack, nas, oss to override - sound driver - - Add verbs backbuffer, fbo, pbuffer for setting offscreen rendering buffer - - Don't crash winecfg if native comctl32 is used - - Fix gecko to work with wine-1.1.33. - - Make vc2003toolkit and psdk2003 verbs run on windows - - On cleanup, remove $WINETRICKS_TMP, not just the files in it - - Sorted command menu - - Update Firefox to 3.5.5 - - Update mpc to latest version, move the exe to Program Files and add it to %PATH% - -------------------------------------------------------------------- -Sat Nov 14 09:47:23 CET 2009 - meissner@suse.de - -- Updated to 1.1.33 - - Gecko now installed at wineprefix creation time. - - Better support for certificates in crypt32. - - Improved sound support in mciwave. - - Some more Direct3D 10 functions. - - Many cleanups for issues spotted by Valgrind. - - Various bug fixes. - -------------------------------------------------------------------- -Fri Nov 13 16:03:18 CET 2009 - meissner@suse.de - -- buildrequire "wine-gecko" prepackaged gecko engine, - so it does not need to be seperately downloaded. - -------------------------------------------------------------------- -Sun Nov 8 15:40:20 CET 2009 - meissner@suse.de - -- starting to build for 64bit on Factory and later. - -------------------------------------------------------------------- -Fri Oct 23 22:56:07 CEST 2009 - meissner@suse.de - -- Updated to 1.1.32 - - Many crypto fixes, particularly on 64-bit. - - Improved DVD access on Mac OS. - - Several common controls improvements. - - Various HTML support improvements. - - More DIB optimizations. - - Various bug fixes. - -------------------------------------------------------------------- -Fri Oct 9 21:17:23 CEST 2009 - meissner@suse.de - -- Updated to 1.1.31 - - Vastly improved monthcal control. - - Performance improvements for DIB sections. - - Several sound driver fixes. - - Beginning of ActiveX support in JScript. - - More Direct3D 10 work. - - More 16-bit dlls split off to separate modules. - - Support for attachments in MAPI. - - Various bug fixes. -- updated winetricks -------------------------------------------------------------------- Fri Sep 25 22:55:12 CEST 2009 - meissner@suse.de - Updated to 1.1.30 diff --git a/wine.spec b/wine.spec index 9f3f761..c1793c3 100644 --- a/wine.spec +++ b/wine.spec @@ -22,7 +22,7 @@ BuildRequires: alsa-devel bison capi4linux-devel cups-devel desktop-file-utils License: LGPLv2.1+ Group: System/Emulators/PC AutoReqProv: on -Version: 1.1.38 +Version: 1.1.30 Release: 1 Summary: An MS Windows Emulator Url: http://www.winehq.com @@ -30,7 +30,6 @@ Source0: wine-%version.tar.bz2 Source1: http://kegel.com/wine/winetricks Source3: README.SuSE Source4: wine.desktop -Recommends: wine-gecko BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libXcursor.so.1 libXi.so.6 libXxf86vm.so.1 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libXcomposite.so.1 libxslt.so.1 libhal.so.1 libncurses.so.5 libfreetype.so.6 libpng12.so.0 libjpeg.so.62 libcrypto.so.0.9.8 libssl.so.0.9.8 libfontconfig.so.1 libcups.so.2 libgnutls.so.26 ExclusiveArch: %ix86 @@ -101,632 +100,20 @@ rm -rf $RPM_BUILD_ROOT %doc ANNOUNCE AUTHORS LICENSE LICENSE.OLD README* /usr/bin/* /usr/share/wine -%{_libdir}/lib* -%dir %{_libdir}/wine -%{_libdir}/wine/*.so -%dir %{_libdir}/wine/fakedlls -%{_libdir}/wine/fakedlls/* +/usr/lib/lib* +%dir /usr/lib/wine +/usr/lib/wine/*.so +/usr/lib/wine/*.*16 +%dir /usr/lib/wine/fakedlls +/usr/lib/wine/fakedlls/* /usr/share/applications/wine.desktop %doc %{_mandir}/*/* %files devel %defattr(-,root,root) %{_includedir}/wine -%{_libdir}/wine/*.def -%{_libdir}/wine/*.a -# /usr/share/aclocal/wine.m4 +/usr/lib/wine/*.def +/usr/lib/wine/*.a +#/usr/share/aclocal/wine.m4 -%changelog -n wine -* Fri Mar 17 2006 - meissner@suse.de -- Avoid ulimit leading to out of memory situations by using - the compat address space layout personality. #152115 -* Fri Mar 17 2006 - meissner@suse.de -- Select ALSA by default. #158424 -* Mon Feb 06 2006 - meissner@suse.de -- Handle empty /media/ gracefully. #148351 -* Wed Jan 25 2006 - mls@suse.de -- converted neededforbuild to BuildRequires -* Mon Jan 23 2006 - meissner@suse.de -- fixed WMF explpoit here too. -* Mon Jan 09 2006 - meissner@suse.de -- backport patch from CVS that fixes hang with installshield 6 installers. -* Wed Jan 04 2006 - meissner@suse.de -- Upgraded to 0.9.5 release: -- A number of MSI fixes. -- More improvements to the IDL compiler. -- Lots of bug fixes. -* Wed Dec 28 2005 - meissner@suse.de -- Upgraded to 0.9.4 release: -- Improvements to the IDL compiler. -- Some infrastructure work for loadable driver support. -- The usual assortment of Direct3D improvements. -- IME support in the edit control. -- Better support for AVI animations. -- Debugging support improvements. -- Relay traces now work on NX platforms. -- Lots of bug fixes. -- tcl,tcl-devel not neededforbuild. -* Thu Dec 08 2005 - meissner@suse.de -- Upgraded to 0.9.3 release: -- Many marshalling fixes in rpcrt4. -- Various OLE improvements and fixes. -- Better audio driver management in winecfg. -- Many wininet fixes. -- Several Web browser improvements. -- More dbghelp APIs implemented. -- Directory objects in wineserver. -- Lots of bug fixes. -* Tue Nov 22 2005 - meissner@suse.de -- Upgraded to 0.9.2 release: -- Winelib Explorer app (just a wrapper around winefile for now). -- Debugger cleanups and improvements. -- Many wininet fixes. -- Better autogenerated API manpages. -- A bunch of Korean translations. -- Lots of bug fixes. -* Fri Nov 11 2005 - meissner@suse.de -- Upgraded to 0.9.1 release: -- Support for Find function in regedit. -- Winelib app to eject a CD. -- Many MSI improvements. -- Better support for running text-mode apps without X. -- Improved support for various code obfuscation tools. -- Lots of bug fixes. -* Tue Oct 25 2005 - meissner@suse.de -- Upgraded to 0.9 release (first BETA release). -* Fri Sep 30 2005 - meissner@suse.de -- upgraded to 20050930 release: -- Joystick force feedback support. -- Beginnings of Win64 support. -- Many MSI fixes and cleanups. -- Font linking support. -- Several OLE fixes. -- Some fixes for MacOS/x86. -- Lots of bug fixes. -* Sun Sep 25 2005 - meissner@suse.de -- fixed deprecated LDAP stuff. -* Fri Sep 16 2005 - meissner@suse.de -- added pkgconfig, prelink to nfb -- Upgraded to 20050830 release: -- A lot more theming support. -- Many improvements to the various crypto dlls. -- More LDAP support. -- Beginnings of an MSXML implementation. -- Better MSHTML support. -- Emulated version now set to Windows 2000 by default. -- Direct3D fixes and improvements. -- Lots of bug fixes. -* Sun Aug 07 2005 - meissner@suse.de -- fixed build with new fontforge. -* Sat Jul 30 2005 - meissner@suse.de -- Upgraded to final 20050725 release: -- Beginnings of theme support in common controls. -- Many MSHTML improvements. -- A bunch of OLE fixes for InstallShield installers. -- Many Direct3D fixes and improvements. -- Beginnings of LDAP support. -- Various cleanups after removal of the config file. -- Lots of bug fixes. -* Fri Jul 22 2005 - meissner@suse.de -- upgraded to current CVS -- InstallShield installers in general now works! -- some 16bit fixes for old 16bit OLE using programs. -- lots of other bugfixes. -- disabled one msacm codec. -* Wed Jun 29 2005 - meissner@suse.de -- Upgraded to 20050628 release: -- Configuration settings moved to the registry. -- Graphical Wine configuration tool is now enabled. -- More MSI and OLE improvements. -- Reorganisation of the DirectDraw directory. -- Initial support for webcams. -- Lots of bug fixes. -- No more ~/.wine/config file, all in the registry now. -* Fri Jun 17 2005 - meissner@suse.de -- fixed a detected buffer overflow. -* Mon May 30 2005 - meissner@suse.de -- Upgraded to 20050524 release: -- Many MSI improvements. -- More features in the file manager. -- Better compatibility for Winelib import libraries. -- SGML documentation moved out of the source tree. -- Header files cleanups. -- Lots of bug fixes. -* Wed May 18 2005 - ro@suse.de -- fix build with most recent alsa includes -* Thu Apr 28 2005 - meissner@suse.de -- fixed buffer overflows. -* Wed Apr 20 2005 - meissner@suse.de -- Upgraded to 20050419 release. -- Mailslot support. -- Support for side mouse buttons (X buttons). -- More Richedit improvements. -- Loading of Windows registry files disabled for now. -- Many code cleanups. -- Lots of bug fixes. -* Wed Apr 13 2005 - meissner@suse.de -- Upgraded to 20050310 release. -- Initial implementation of a true Richedit control. -- Shell extension for browsing Unix directories. -- More MSI work. -- PBuffer support in OpenGL. -- Window painting regressions should be fixed. -- Lots of bug fixes. -- Updated to CVS head branch. -- Reenabled mp3. -- Fixed gcc4 problems. -* Mon Feb 21 2005 - meissner@suse.de -- add desktop-file-utils and glib2 to neededforbuild, since - update-desktop-database is called. -* Mon Feb 14 2005 - meissner@suse.de -- Upgraded to 20050211 release: -- Still more work on the MSI dll. -- More OLE work, including a builtin stdole32.tlb. -- Fixed inter-process window resize and repaint. -- Lots of bug fixes. -- Includes bugfix for 2.6.11 kernels with NX mapping. -- stdole32.tlb still included. -* Wed Jan 19 2005 - meissner@suse.de -- Fixed README.SuSE -* Wed Jan 12 2005 - meissner@suse.de -- Upgraded to 2005011 release: -- Many OLE bug fixes and improvements. -- A lot more work on the MSI dll. -- Update regions now handled in the Wine server. -- Beginnings of typelib generation in the IDL compiler. -- Many janitorial cleanups. -- Lots of bug fixes. -- No hard dependency on libcapi.so.20 anymore. -* Thu Dec 02 2004 - meissner@suse.de -- Upgraded to 20041201 release: -- Implementation of the RSAENH dll. -- More work on the Direct3D 9 architecture. -- Builtin debugger improvements. -- Reorganisation of the Developer's Guide. -- Lots of bug fixes. -- Dropped no longer needed call to wineprefixcreate, - wine now does it itself. -* Thu Nov 11 2004 - ro@suse.de -- fixed file list -* Wed Oct 20 2004 - meissner@suse.de -- Upgraded to 20041019 release: -- Beginnings of an architecture for Direct3D 9 support. -- Many debugger regressions fixed. -- Improvements to the IDL compiler and the COM headers. -- New MSCMS dll (color management support). -- Upgraded to 20040918 release: -- Various improvements to the common controls. -- New ITSS dll (for HTML Help support). -- Many compatibility fixes in the exported headers. -- Replacements for the Windows standard bitmap fonts. -- Lots of bug fixes. -- Create serial / lpt1 device links in wineprefixcreate. -- Added liblcms, liblcms-devel and fontforge to neededforbuild. -* Sun Oct 03 2004 - meissner@suse.de -- Do not output localized floats into the PostScript data - generated by WINEPS. -* Tue Sep 28 2004 - meissner@suse.de - FrameMaker 7 fixes: -- Make menuentries work (by upgrading dlls/shell32/shellpath.c to - current CVS). -- Remove -- from generated shell links (no longer handled by WINE). -- Create some additional directories in the fake windows tree required - by FrameMaker. -- Fixed creation of "x: -> /tmp", "y: -> $HOME" and CDROM links. -* Fri Sep 17 2004 - meissner@suse.de -- Detect libgif shared library too, so OLEAUT can load GIF - images again. -* Tue Sep 14 2004 - meissner@suse.de -- Make menu entries appear again (fixed icondir handling) #43415 -- Do not use /SuSE/ menu insert, the SuSE menu is no longer. -* Tue Aug 17 2004 - meissner@suse.de -- Fixed compile with __user. -* Mon Aug 16 2004 - meissner@suse.de -- Upgraded to 20040813 upstream release: -- New msiexec application. -- Support for alpha blending. -- More sound support improvements. -- Various code cleanups. -- Lots of bug fixes. -* Mon Jul 19 2004 - meissner@suse.de -- Upgraded to 20040716 upstream release: -- Implementation of the Microsoft Installer dll. -- Beginnings of proper inter-process window repaints. -- Several DirectSound improvements. -- Fixes for the regressions caused by the new filesystem support. -- Lots of bug fixes. -* Fri Jun 18 2004 - meissner@suse.de -- Upgraded to 20040615 upstream release: -- Major winedbg rewrite using the dbghelp dll. -- New Wine preloader to reserve memory areas at startup. -- Many improvements to the audio support. -- Lots of bug fixes. -* Tue May 11 2004 - meissner@suse.de -- Upgraded to 20040505 upstream release: -- Many more filesystem improvements, including autodetection - of drive types and devices, and support for editing the drive - configuration with winecfg. -- Many Direct3D improvements. -- Several fixes to the various sound drivers. -- Lots of bug fixes. -- Dropped our own make_fakewindows setup, use wineprefixcreate instead. -* Tue Apr 20 2004 - meissner@suse.de -- Dropped winesetuptk, it is more and more unhelpful to the - ongoing wine configuration file changes. -- Cleaned spec file. -- Upgraded to 20040408 upstream release: -- DOS devices and drives are now configured through symlinks. -- Many shell32 improvements. -- New task manager merged from ReactOS. -- First version of wineprefixcreate tool for initial setup. -- Lots of bug fixes. -- Upgraded to 20040309 upstream release: -- Much improved winegcc tool, now used to build Wine itself. -- VxDs are now separate libraries for better modularity. -- Improvements and simplifications to the drive configuration. -- New setupapi INF script to create the initial registry. -- Many improvements to the various multimedia dlls. -- Lots of bug fixes. -* Mon Feb 16 2004 - meissner@suse.de -- updated to 20040213 upstream release: -- Improved support for screen resolution changes. -- More shell32 improvements. -- Several Winelib compatibility fixes. -- Beginnings of support for typelib creation. -- Lots of bug fixes. -- make_fakewindows now calls regsvr32 for all self registering - dlls. -* Thu Jan 22 2004 - meissner@suse.de -- updated to 20040121 upstream release: -- Many improvements in the shell32 dll. -- Better support for constructors in C++ Winelib apps. -- Improved Regedit tool. -- Full support for graphic tablets. -- Lots of DirectMusic improvements. -- Better support for video playback. -- Full IME support for Asian locales. -- Lots of bug fixes. -* Sun Dec 14 2003 - meissner@suse.de -- removed config-dist.sh -- reenabled alsa/alsa-devel. -- updated to 20031212 upstream release: -- Initial implementation of XDND drag&drop support. -- Improved startup performance on remote displays. -- Major improvements in the oleaut32 dll. -- Some support for Netbios functions. -- Work around for Exec Shield and prelinking troubles. -- Many code cleanups. -- Lots of bug fixes. -* Thu Nov 20 2003 - meissner@suse.de -- update to 20031118 upstream release -- Many printing improvements. -- Run-time detection of NPTL threading. -- Lots of code merges from Crossover Office 2.1. -- Some reorganization of the source tree. -- Lots of bug fixes. -- Added capi4linux, expat requires. -- Disabled alsa for now due to changed API. -* Fri Oct 17 2003 - meissner@suse.de -- build as non root -- Upgraded to latest upstream: -- Support for the Xrandr extension. -- Dll separation of kernel and ntdll is finished. -- Many enhanced metafile improvements. -- Many improvements to the winecfg configuration tool. -- Massive header files cleanup for better source compatibility. -- Lots of bug fixes. -* Thu Sep 18 2003 - adrian@suse.de -- unbreak build again -* Thu Sep 18 2003 - adrian@suse.de -- hide menu entry, we need it still for MimeType handling -* Sun Sep 14 2003 - adrian@suse.de -- include a wine.desktop file with correct Icon= line -* Fri Sep 12 2003 - meissner@suse.de -- Do not use the greek/symbol font of koffice-wordprocessing - as default truetype font. -* Mon Sep 01 2003 - mmj@suse.de -- Fix head/tail syntax [#29622] -* Mon Aug 25 2003 - meissner@suse.de -- Fix winewrap default path to /usr/lib/wine #29069 -* Sat Aug 16 2003 - adrian@suse.de -- install desktop file from kappfinder -* Tue Aug 12 2003 - meissner@suse.de -- Upgraded to latest release 20030813: -- Partial implementation of the Microsoft Installer (msi.dll). -- GUI for regedit (from ReactOS). -- DirectMusic dlls reorganization. -- Many Wininet improvements. -- Lots of bug fixes. -- fixed symlinks for .exe files in fake windows setup. -- removed one confusing message. -- skip broken truetype font, silence error messages with missing font dirs. -- added winemenubuilder, rundll32 to list of programs. -* Thu Jul 10 2003 - meissner@suse.de -- New upstream release 20030709: -- Still more Direct3D and DirectSound improvements. -- Inter-process clipboard support. -- Locale handling improvements. -- More progress on the kernel/ntdll separation. -- Lots of bug fixes. -* Mon Jun 23 2003 - meissner@suse.de -- New upstream release: -- Still more Direct3D and DirectSound improvements. -- Tons of fixes merged from Crossover Office 2.0. -- New iphlpapi dll. -- Lots of bug fixes. -* Thu Jun 12 2003 - meissner@suse.de -- package documentation main directory too. -* Fri May 23 2003 - meissner@suse.de -- remove CVS dirs. -* Wed May 14 2003 - meissner@suse.de -- Upgraded to the last release snapshot: -- Some more reorganizations of the source tree. -- A few more steps towards kernel/ntdll separation. -- Many Direct3D improvements. -- More compatible COM interfaces definitions. -- Lots of bug fixes. -- package wine.m4 into wine-devel. -* Thu Apr 10 2003 - meissner@suse.de -- Upgraded to the last release snapshot: -- Some reorganizations of the source tree. -- File change notifications. -- Support for all variants of glibc 2.3. -- Many documentation updates. -- Many Direct Sound improvements. -- File locking support. -- Progress on kernel/ntdll dll separation. -- Better dead keys support. -- Many debugger fixes. -- More Direct3D work. -- Lots of bug fixes. -- Dropped my glibc 2.3 patches, they are now included. -* Tue Apr 01 2003 - ro@suse.de -- use mesa-devel-packages in neededforbuild -* Fri Mar 07 2003 - meissner@suse.de -- CUPS_SONAME/SONAME_CUPS was swapped, we were not finding CUPS - on systems without cups-devel and so unable to print. -* Mon Mar 03 2003 - meissner@suse.de -- Do not output that debugging info on every keypress -- dropped no longer needed SetParent optimization hack. -* Mon Feb 17 2003 - meissner@suse.de -- Upgraded to current CVS. -- InstallShield v6 should be fixed again. -* Mon Feb 10 2003 - meissner@suse.de -- New configuration method. We no longer call winesetup, - but use a quick and dirty shell script for fake windows - setup. -- Split sources into vanilla CVS tarball and SuSE patch. -* Mon Jan 27 2003 - meissner@suse.de -- Make WINE work on STABLE again by no longer overloading - __errno_location, but overwriting it instead. (This will - break again as soon as TLS support is enabled for glibc.) -- Upgraded to current CVS. -* Thu Jan 23 2003 - meissner@suse.de -- Upgraded to current CVS, which includes fixes for gcc 3.3 build - and winewrapper. -* Fri Jan 17 2003 - meissner@suse.de -- Upgraded to current CVS: -- Much better header files compatibility in Winelib. -- A ton of Direct3D work. -- Many improvements in sound support. -- New wineboot tool to simulate a Windows reboot. -- Lots of bug fixes. -- Added libungif, jack, jack-devel, mesaglu, mesaglu-devel to neededforbuild. -- Added iwidgets to requires. -* Wed Jan 08 2003 - meissner@suse.de -- Upgraded to current CVS: -- DLL linking now done through import libraries. -- A couple of new tools to make Winelib easier to use. -- Many Direct3D improvements. -- Improved Windows compatibility of the regression tests. -- Finished conversion to STRICT compilation mode. -- WinHelp revival. -- Client-side fonts supported even without RENDER extension. -- Regression tests no longer require Perl. -- Lots and lots of bugfixes and other new features. -* Wed Nov 20 2002 - meissner@suse.de -- Upgraded to current CVS. -- Some type punning warnings fixed. -- Merged WineHQ default config file into winesetup configfiles. -* Wed Nov 13 2002 - meissner@suse.de -- Updated to new upstream version. -* Tue Nov 12 2002 - ro@suse.de -- updated neededforbuild: jade_dsl,sp -> openjade,opensp -- xshared,xdevel -> x-devel-packages -* Thu Oct 10 2002 - meissner@suse.de -- Updated to new upstream version: -- Massive listview rewrite. -- New MS RLE codec. -- winemaker should be working again. -- Beginnings of Direct3D 8 support. -- Lots of bugfixes. -* Wed Sep 18 2002 - meissner@suse.de -- Reduced afmfiles by the one already included in the wineps driver itself. -- include a stdole32.tlb so InstallShield v6 might work. -- Fixed wine_set_default_reg script. -- Make the winesetup stuff also merge the default windows registry - if we are running on a fake windows installation. -- Updated to new Upstream version: -- Much improved PowerPC support -- More correct locale definitions. -- Progress on the conversion of handle types to pointers. -- Many Visio and Quicken fixes merged from Crossover. -- More OLE and shell improvements. -- NAS and AudioIO sound drivers. -- Still more Sparc portability fixes. -* Mon Sep 09 2002 - meissner@suse.de -- If there is an existing windows install, still prefer the fake install - since it is way less dangerous #19222. -- Use managed mode by default (so windows are just normal KDE windows) -* Mon Sep 02 2002 - meissner@suse.de -- Do not suggest installing KDE menus of winesetup (they are not - there and wine does its own now). #18648. -* Sun Sep 01 2002 - ro@suse.de -- Use ExclusiveArch instead of BuildArch -* Thu Aug 29 2002 - meissner@suse.de -- Change location of menu entries from /Wine/ to /SuSE/Wine/ to - make the registered apps appear in the menu. -- Try to support biarch build for compiling on x86_64. -* Mon Aug 12 2002 - meissner@suse.de -- Upgraded to current CVS snapshot (20020812) -- Upstream summary: -- Beginnings of an IDL compiler. -- Several new winedbg features. -- More OLE and shell improvements. -- DirectSound 8 and DirectInput 8 support. -- Many OLE improvements. -- Support for font downloading in Postscript driver. -- ALSA sound driver. -- Lots of bug fixes. -- Local: -- Started enhancing PPC port. -* Sun Jul 28 2002 - kukuk@suse.de -- remove libz from neededforbuild -* Wed Jul 10 2002 - meissner@suse.de -- Upgraded to current CVS snapshot (20020710), - lots of bugfixes inside. -- Tried fixing a Lotus Notes problem with the attachment information - window. -* Mon Jun 17 2002 - meissner@suse.de -- Upgraded to current CVS snapshot (20020614), - lots of new features, bugfixes et.al. -- Tweaked wine_init so it does not recursively call itself. -* Tue Apr 09 2002 - meissner@suse.de -- Upgraded to current CVS snapshot (20020409), - contains a lot of fixes from upstream (including parts of the CrossOver - Office patches) -- neededforbuild jpeg -> libjpeg, added kdelibs stuff to support - arts client, added sane for twain32.dll -* Tue Feb 05 2002 - pmladek@suse.cz -- added warning message into winesetup [#12932] -- added the same message also into README.SuSE -* Fri Feb 01 2002 - ro@suse.de -- changed neededforbuild to -* Mon Jan 28 2002 - pmladek@suse.cz -- removed old wine.systemreg, wine.userreg, there are newer in winesetuptk -- removed old generic*.ppd and used the newer one from the wine sources -- fixed ppd configuration in default config files [#12934] -- wine_set_default_reg updates windows registry also from - the file psdrv.reg now -- winedefault.reg and psdrv.reg moved to /usr/lib/wine/reg -- tested print from wine -- updated README.SuSE -- cleanded up spec file -* Tue Jan 22 2002 - pmladek@suse.cz -- updated wine to the latest snapshot 20011226 -- updated winesetuptk to version 0.5.1b: - * improved detection of windows partitions - * drives in fstab are not automounted anymore - * support for "auto" fs type (look for windows) - * application specific profile support - * application profile for Internet Explorer and Lotus Notes R5 - * preserve drive order like it's known under Windows -- WineSetupTk did not linked against static Tcl/Tk/Itcl libraries, - instead of it was used old Makefile and old launcher -* Mon Dec 03 2001 - ro@suse.de -- fixed neededforbuild to -* Thu Nov 01 2001 - bjacke@suse.de -- make sub package -devel -- add "cups-devel cups-libs libpng jpeg openssl libtiff" to - neededforbuild for CUPS support -- neededforbuild freetype2, -devel to support this -- remove xf86 from Requires (X libs are autorequired) -- remove Wine provides -- fixed to not provide man and doc directories -* Mon Sep 24 2001 - pmladek@suse.cz -- fixed documentation - added docbook_4 again -* Tue Sep 18 2001 - pmladek@suse.cz -- fixed warning messages on start up -* Mon Aug 27 2001 - pmladek@suse.cz -- fixed to compile: - * removed docbook_4 from #neededforbuild -- fixed path to documentation by installation -* Fri Aug 24 2001 - pmladek@suse.cz -- updated to version 20010731 -- added detection of version of wine config -- fixed autorun of winesetup when config does not exist or - it is for bad version of wine -- fixed default configuration generated by winesetup along - example in wine -- new script for registry updating -- fixed licence tag -- fixed README.SuSE -* Tue Aug 21 2001 - ro@suse.de -- neededforbuild: replaced sp_libs with sp -* Mon May 07 2001 - pmladek@suse.cz -- fixed error message from find command when winesetup starts -* Sun Apr 29 2001 - pmladek@suse.cz -- fixed README.SuSE -* Thu Apr 26 2001 - pmladek@suse.cz -- added itcl to requires (it isn't in default selections but - it's needed by winesetup) -* Tue Apr 10 2001 - pmladek@suse.cz -- updated to version 20010326 -- fixed winesetup through changes in wine config -- paths to afm files in config now -- another declaration of default load order -- fixed README.SuSE -* Thu Mar 29 2001 - ro@suse.de -- fixed neededforbuild -* Tue Mar 27 2001 - pmladek@suse.cz -- returned flag --sysconfdir=/etc to configure (my bug) -* Tue Mar 27 2001 - pmladek@suse.cz -- added URL -- repaired licence tag -- wine up-dated to the version 20010305 -- added winesetuptk version 0.5.1b -- fixed winesetuptk for SuSE distribution -- added support: If you have no config file then 'winesetup' - will be launched automatically when you launch 'wine' - (fixed bug #6769) -- bziped sources -- actualized README.SuSE -- actualized description in PAC files -- generated html documentation from sgml documentation -- removed sgml documentation from binary rpm -- cleaned up spec file -* Thu Mar 08 2001 - uli@suse.de -- renamed mesadev -> mesa-devel in neededforbuild -* Wed Feb 07 2001 - uli@suse.de -- fixed for glibc 2.2.1 -* Fri Dec 08 2000 - uli@suse.de -- update -> 20001202 -- added regapi -- added wine.systemreg and wine.userreg -- added afm and ppd files for printing -- added afm and ppd sections to wine.conf -* Thu Nov 23 2000 - arvin@suse.de -- changed spec file to use a buildroot -- fixed group tag -* Tue Sep 26 2000 - ro@suse.de -- removed bogus requires -- added mesa-stuff to neededforbuild -* Mon Sep 25 2000 - hhetter@suse.de -- updated to 20000821 -* Thu Jul 27 2000 - arvin@suse.de -- changed wine.conf to noreplace -* Mon May 15 2000 - bk@suse.de -- updated to version 20000430 -* Tue Apr 18 2000 - bk@suse.de -- updated to version 20000326 -- added all new files to filelist -- use RPM_OPT_FLAGS as CFLAGS -* Fri Jan 28 2000 - bg@suse.de -- new version 20000109 -- moved /usr/man to /usr/share/man -* Sun Oct 17 1999 - ro@suse.de -- fixed neededforbuild -* Mon Sep 13 1999 - bs@suse.de -- ran old prepare_spec on spec file to switch to new prepare_spec. -* Tue Jul 20 1999 - mkraft@suse.de -- new version 990704 -* Thu Apr 01 1999 - uli@suse.de -- new version 990328 -* Mon Mar 29 1999 - rolf@suse.de -- new version 990314 -* Tue Dec 01 1998 - rolf@suse.de -- new version 981108 -* Fri Jun 26 1998 - rolf@suse.de -- new version 980614 -* Thu Jan 15 1998 - rolf@suse.de -- new version 980104 +%changelog diff --git a/winetricks b/winetricks index 4ed6c78..d7dc04d 100644 --- a/winetricks +++ b/winetricks @@ -3,8 +3,8 @@ # redistributable runtime libraries # # Current maintainers: Austin English, Dan Kegel -# Copyright 2007, 2008, 2009, 2010 Google (Dan Kegel, dank@kegel.com) -# Copyright 2008, 2009, 2010 Austin English (austinenglish@gmail.com) +# Copyright 2007, 2008, 2009 Google (Dan Kegel, dank@kegel.com) +# Copyright 2008, 2009 Austin English (austinenglish@gmail.com) # Thanks to Detlef Riekenberg for lots of updates # Thanks to Saulius Krasuckas for corrections and suggestions # Thanks to Erik Inge Bolsø for several patches @@ -19,47 +19,21 @@ #---- Constants ------------------------------------------------- # Name of this version of winetricks (YYYYMMDD) -VERSION=20100201 - -early_wine() -{ - WINEDLLOVERRIDES=mshtml= $WINE "$@" -} +VERSION=20090913 # Default values for important settings if not already in environment. # These settings should not need editing here. -case "$OS" in - "Windows_NT") - # Cheezy fix for getting rid of double slashes when running cygwin in wine - case $HOME in - /) HOME="" ;; - esac - WINE="" - WINEPREFIX=${WINEPREFIX:-$HOME/.wine} - DRIVE_C="C:/" - XXXPATH=cygpath - ;; - *) - WINE=${WINE:-wine} - WINEPREFIX=${WINEPREFIX:-$HOME/.wine} - DRIVE_C="$WINEPREFIX/drive_c" - XXXPATH="early_wine winepath" - ;; -esac +WINE=${WINE:-wine} +WINEPREFIX=${WINEPREFIX:-$HOME/.wine} # Internal variables; these locations are not too important -WINETRICKS_CACHE="$HOME/winetrickscache" +WINETRICKS_CACHE=$HOME/winetrickscache # Default to hiding the directory, by popular demand test -d "$WINETRICKS_CACHE" || WINETRICKS_CACHE=$HOME/.winetrickscache -WINETRICKS_CACHE_WIN="`$XXXPATH -w $WINETRICKS_CACHE | tr '\012' ' ' | sed 's/ $//'`" -WINETRICKS_TMP="$DRIVE_C"/winetrickstmp +WINETRICKS_TMP="$WINEPREFIX"/drive_c/winetrickstmp WINETRICKS_TMP_WIN='c:\winetrickstmp' -mkdir -p $WINETRICKS_TMP -# Overridden for windows -ISO_MOUNT_ROOT=/mnt/winetricks - -WINDIR="$DRIVE_C/windows" +WINDIR="$WINEPREFIX/drive_c/windows" # Which sourceforge mirror to use. Rotate based on time, since # their mirror picker sometimes persistantly sends you to a broken @@ -94,12 +68,10 @@ warn() { test "$GUI" = 1 || return - # For some reason, nulls were showing up in $@?!, causing truncated output in zenity - msg="`echo $@ | tr '\000' ' '`" case $DE in - gnome) zenity --error --title=Winetricks --text="$msg" --no-wrap;; - kde) kdialog --title Winetricks --error "$msg" ;; - x) xmessage -title Winetricks -center " Error: $msg " ;; + gnome) zenity --error --title=Winetricks --text="$@" --no-wrap ;; + kde) kdialog --title Winetricks --error "$@" ;; + x) xmessage -title Winetricks -center " Error: $@ " ;; esac } @@ -119,7 +91,7 @@ die_if_user_not_dirowner() { checkdir=`dirname "$1"` fi nuser=`id -u` - nowner=`ls -l -n -d -L "$checkdir" | awk '{print $3}'` + nowner=`ls -l -n -d "$checkdir" | awk '{print $3}'` if test x$nuser != x$nowner then die "You (`id -un`) don't own $checkdir. Don't run winetricks as another user!" @@ -130,7 +102,6 @@ die_if_user_not_dirowner() { usage() { set +x - # WARNING: do not use single quote in any package description; that breaks the gui menu. echo "Usage: $0 [options] package [package] ..." echo "This script can help you prepare your system for Windows applications" echo "that mistakenly assume all users' systems have all the needed" @@ -142,10 +113,8 @@ usage() { echo " -v verbose" echo " -V display Version" echo "Packages:" - echo " art2kmin MS Access 2007 runtime" + echo " art2kmin MS Access 2000 runtime. Requires Access 2000 Dev license!" echo " atmlib Adobe Type Manager. Needed for Adobe CS4" - echo " autohotkey Autohotkey (open source gui scripting language)" - echo " cmake CMake, the cross-platform, open-source build system" echo " colorprofile Standard RGB color profile" echo " comctl32 MS common controls 5.80" echo " comctl32.ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6" @@ -153,59 +122,43 @@ usage() { echo " corefonts MS Arial, Courier, Times fonts" echo " cygwin Unix apps for Windows (needed by some build scripts)" echo " d3dx9 MS d3dx9_??.dll (from DirectX 9 user redistributable)" - echo " d3dx10 MS d3dx10_??.dll (from DirectX user redistributable)" - echo " dcom98 MS DCOM (ole32, oleaut32); requires Windows 98 license, but does not check for one" + echo " dcom98 MS DCOM (ole32, oleaut32); requires Win98 license!" echo " dinput8 MS dinput8.dll (from DirectX 9 user redistributable)" echo " dirac0.8 the obsolete Dirac 0.8 directshow filter" echo " directplay MS DirectPlay (from DirectX 9 user redistributable)" echo " directx9 MS DirectX 9 user redistributable (not recommended! use d3dx9 instead)" - echo " directx9-beta MS DirectX 9 user redistributable - beta verb (not recommended! use d3dx9 instead)" echo " divx divx video codec" - echo " dotnet11 MS .NET 1.1 (requires Windows license, but does not check for one)" -# Doesn't work yet, don't make it public -# echo " dotnet11sdk MS .NET Framework SDK Version 1.1 (requires Windows license, but does not check for one; may not work yet)" - echo " dotnet20 MS .NET 2.0 (requires Windows license, but does not check for one)" -# Doesn't work yet, don't make it public -# echo " dotnet20sdk MS .NET Framework SDK Version 2.0 (requires Windows license, but does not check for one, may not work yet)" - echo " dotnet20sp2 MS .NET 2.0 sp2 (requires Windows license, but does not check for one)" - echo " dotnet30 MS .NET 3.0 (requires Windows license, but does not check for one, might not work yet)" + echo " dotnet11 MS .NET 1.1 (requires Windows license)" + echo " dotnet20 MS .NET 2.0 (requires Windows license)" + echo " dotnet30 MS .NET 3.0 (requires Windows license, does not work yet)" echo " droid Droid fonts (on LCD, looks better with fontsmooth-rgb)" echo " ffdshow ffdshow video codecs" - echo " firefox Firefox web browser" echo " flash Adobe Flash Player ActiveX and firefox plugins" echo " fm20 MS Forms 2.0 Object Library" echo " fontfix Fix bad fonts which cause crash in some apps (e.g. .net)." - echo " fontsmooth-bgr Enables subpixel smoothing for BGR LCDs" echo " fontsmooth-disable Disables font smoothing" echo " fontsmooth-gray Enables grayscale font smoothing" echo " fontsmooth-rgb Enables subpixel smoothing for RGB LCDs" - echo " gdiplus MS gdiplus.dll" - echo " gecko-dbg The HTML rendering Engine (Mozilla), with debugging symbols" + echo " fontsmooth-bgr Enables subpixel smoothing for BGR LCDs" + echo " gdiplus MS gdiplus.dll (from powerpoint viewer)" echo " gecko The HTML rendering Engine (Mozilla)" + echo " gecko-dbg The HTML rendering Engine (Mozilla), with debugging symbols" echo " hosts Adds empty C:\windows\system32\drivers\etc\{hosts,services} files" echo " icodecs Intel Codecs (Indeo)" - echo " ie6 Microsoft Internet Explorer 6.0" - echo " ie7 Microsoft Internet Explorer 7.0" echo " jet40 MS Jet 4.0 Service Pack 8" - echo " kde KDE for Windows installer" echo " liberation Red Hat Liberation fonts (Sans, Serif, Mono)" echo " mdac25 MS MDAC 2.5: Microsoft ODBC drivers, etc." echo " mdac27 MS MDAC 2.7" echo " mdac28 MS MDAC 2.8" echo " mfc40 MS mfc40 (Microsoft Foundation Classes from Visual C++ 4)" echo " mfc42 MS mfc42 (same as vcrun6 below)" - echo " mingw-gdb GDB for MinGW" - echo " mingw Minimalist GNU for Windows, including GCC for Windows!" echo " mono20 mono-2.0.1" echo " mono22 mono-2.2" echo " mono24 mono-2.4" - echo " mozillabuild Mozilla build environment" - echo " mpc Media Player Classic" - echo " mshflxgd MS Hierarchical Flex Grid Control" echo " msi2 MS Installer 2.0" + echo " mshflxgd MS Hierarchical Flex Grid Control" echo " msls31 MS Line Services 3.1 (needed by native riched?)" echo " msmask MS Masked Edit Control" - echo " mspaint MS Paint (gotta draw stick figures somehow...)" echo " msscript MS Script Control" echo " msxml3 MS XML version 3" echo " msxml4 MS XML version 4" @@ -214,79 +167,51 @@ usage() { echo " ole2 MS 16 bit OLE" echo " openwatcom Open Watcom C/C++ compiler (can compile win16 code!)" echo " pdh MS pdh.dll (Performance Data Helper)" - echo " physx NVIDIA/AGEIA PhysX runtime" - echo " psdk2003 MS Platform SDK 2003" + echo " psdk2003 MS Platform SDK 2003 (crashes at end, but seems to work)" echo " psdkvista MS Vista SDK (does not install yet)" - echo " psdkwin7 MS Windows 7 SDK (installing just headers and c++ compiler works)" + echo " psdkwin7 MS Windows 7 SDK (does not install yet)" echo " python26 Python 2.6.2 (and pywin32)" - echo " python-comtypes Python 0.6.1-1 comtypes package" echo " quicktime72 Apple Quicktime 7.2" echo " riched20 MS riched20 and riched32" echo " riched30 MS riched30" - echo " richtx32 MS Rich TextBox Control 6.0" echo " shockwave Adobe Shockwave Player" echo " tahoma MS Tahoma font (not part of corefonts)" echo " urlmon MS urlmon.dll" - echo " usp10 MS usp10.dll (Uniscribe)" echo " vb2run MS Visual Basic 2 runtime" echo " vb3run MS Visual Basic 3 runtime" echo " vb4run MS Visual Basic 4 runtime" echo " vb5run MS Visual Basic 5 runtime" - echo " vb6run MS Visual Basic 6 Service Pack 6 runtime" - echo " vc2005express MS Visual C++ 2005 Express" - echo " vc2005expresssp1 MS Visual C++ 2005 Express SP1 (does not work yet)" - echo " vc2005sp1 MS Visual C++ 2005 Service Pack 1 and ATL fix (install trial 1st)" - echo " vc2005hotfix MS Visual C++ 2005 hotfixes (install sp1 1st)" + echo " vb6run MS Visual Basic 6 runtime" echo " vc2005trial MS Visual C++ 2005 Trial" + echo " vc2005express MS Visual C++ 2005 Express" + echo " vcrun6 MS Visual C++ 6 sp4 libraries (mfc42, msvcp60, msvcrt)" echo " vcrun2003 MS Visual C++ 2003 libraries (mfc71,msvcp71,msvcr71)" echo " vcrun2005 MS Visual C++ 2005 sp1 libraries (mfc80,msvcp80,msvcr80)" echo " vcrun2008 MS Visual C++ 2008 libraries (mfc90,msvcp90,msvcr90)" - echo " vcrun6 MS Visual C++ 6 sp4 libraries (mfc42, msvcp60, msvcrt)" - echo " vcrun6sp6 MS Visual C++ 6 sp6 libraries (mfc42, msvcp60, msvcrt; 64 MB download)" echo " vjrun20 MS Visual J# 2.0 SE libraries (requires dotnet20)" - echo " vlc VLC media player" + echo " wininet MS wininet.dll (requires Windows license)" + echo " wme9 MS Windows Media Encoder 9 (requires Windows license)" + echo " wmp9 MS Windows Media Player 9 (requires Windows license)" + echo " wmp10 MS Windows Media Player 10 (requires Windows license)" echo " wenquanyi WenQuanYi CJK font (on LCD looks better with fontsmooth-rgb)" - echo " wininet MS wininet.dll (requires Windows license, but does not check for one)" - echo " wme9 MS Windows Media Encoder 9 (requires Windows license, but does not check for one)" - echo " wmp10 MS Windows Media Player 10 (requires Windows license, but does not check for one)" - echo " wmp9 MS Windows Media Player 9 (requires Windows license, but does not check for one)" - echo " wsh56js MS Windows scripting 5.6, jscript only, no cscript" echo " wsh56 MS Windows Scripting Host 5.6" + echo " wsh56js MS Windows scripting 5.6, jscript only, no cscript" echo " wsh56vb MS Windows scripting 5.6, vbscript only, no cscript" echo " xact MS XACT Engine (x3daudio?_?.dll, xactengine?_?.dll)" echo " xvid xvid video codec" + echo "Apps:" + echo " autohotkey Autohotkey (open source gui scripting language)" + echo " firefox Firefox" + echo " ie6 Microsoft Internet Explorer 6.0" + echo " kde KDE for Windows installer" + echo " mpc Media Player Classic" + echo " vlc VLC media player" echo "Pseudopackages:" echo " allfonts All listed fonts (corefonts, tahoma, liberation)" echo " allcodecs All listed codecs (xvid, ffdshow, icodecs)" - echo " ddr=gdi Set DirectDrawRenderer to GDI (default)" - echo " ddr=opengl Set DirectDrawRenderer to OpenGL" echo " fakeie6 Set registry to claim IE6sp1 is installed" - echo " glsl-disable Disable GLSL use by Wine Direct3D" - echo " glsl-enable Enable GLSL use by Wine Direct3D (default)" - echo " heapcheck Enable heap checking" - echo " multisampling=enabled Enable Direct3D multisampling" - echo " multisampling=disabled Disable Direct3D multisampling (default)" - echo " native_mdac Override odbc32, odbccp32 and oledb32" + echo " native_mdac Override odbc32 and odbccp32" echo " native_oleaut32 Override oleaut32" - echo " nocrashdialog Disable the graphical crash dialog" - echo " orm=backbuffer Registry tweak: OffscreenRenderingMode=backbuffer" - echo " orm=fbo Registry tweak: OffscreenRenderingMode=fbo (default)" - echo " orm=pbuffer Registry tweak: OffscreenRenderingMode=pbuffer" - echo " rtlm=auto Set RenderTargetLockMode to auto (default)" - echo " rtlm=disabled Set RenderTargetLockMode to disabled" - echo " rtlm=readdraw Set RenderTargetLockMode to readdraw" - echo " rtlm=readtex Set RenderTargetLockMode to readtex" - echo " rtlm=texdraw Set RenderTargetLockMode to texdraw" - echo " rtlm=textex Set RenderTargetLockMode to textex" - echo " sandbox Sandbox the wineprefix - remove links to ~" - echo " sound=alsa Set sound driver to ALSA" - echo " sound=audioio Set sound driver to AudioIO" - echo " sound=coreaudio Set sound driver to CoreAudio" - echo " sound=esound Set sound driver to Esound" - echo " sound=jack Set sound driver to Jack" - echo " sound=nas Set sound driver to Nas" - echo " sound=oss Set sound driver to OSS" - echo " sound=disabled Disable sound" echo " nt40 Set windows version to nt40" echo " win98 Set windows version to Windows 98" echo " win2k Set windows version to Windows 2000" @@ -375,15 +300,7 @@ try() { # Adding this explicit export works around it. export WINEDLLOVERRIDES echo Executing "$@" - # Mark executable - needed if running on windows vista - case "$1" in - *.exe) chmod +x "$1" || true - cmd /c "$@" - ;; - *) - "$@" - ;; - esac + "$@" status=$? if test $status -ne 0 then @@ -391,20 +308,6 @@ try() { fi } -try_regedit() { - # on windows, doesn't work without cmd /c - case "$OS" in - "Windows_NT") cmdc="cmd /c";; - *) unset cmdc - esac - - try early_wine $cmdc regedit "$@" -} - -regedit() { - die oops, bug, please report -} - # verify an sha1sum verify_sha1sum() { wantsum=$1 @@ -450,16 +353,6 @@ download() { # fortunately, we know it try curl -L -o "$file" -C - --header "Accept-Encoding: gzip,deflate" "$2" fi - # Need to decompress .exe's that are compressed, else cygwin fails - # Only affects cygwin, so don't barf if 'file' not installed - FILE=`which file` - case $FILE-$file in - /*-*.exe) - case `file $file` in - *gzip*) mv $file $file.gz; gunzip < $file.gz > $file;; - esac - esac - cd "$olddir" fi if [ "$3"x != ""x ] @@ -477,7 +370,7 @@ REGEDIT4 "Version"="$1" _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\set-winver.reg + try $WINE regedit "$WINETRICKS_TMP"/set-winver.reg } set_app_winver() { @@ -491,96 +384,10 @@ set_app_winver() { echo "\"Version\"=\"$version\"" ) > "$WINETRICKS_TMP"/set-winver.reg - try_regedit "$WINETRICKS_TMP_WIN"\\set-winver.reg + try $WINE regedit "$WINETRICKS_TMP"/set-winver.reg rm "$WINETRICKS_TMP"/set-winver.reg } -set_ddr() { - echo "Setting DirectDrawRenderer to $1" - cat > "$WINETRICKS_TMP"/set-ddr.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\Direct3D] -"DirectDrawRenderer"="$1" - -_EOF_ - try_regedit "$WINETRICKS_TMP"/set-ddr.reg -} -set_orm() { - echo "Setting OffscreenRenderingMode to $1" - cat > "$WINETRICKS_TMP"/set-orm.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\Direct3D] -"OffscreenRenderingMode"="$1" - -_EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\set-orm.reg -} - -set_rtlm() { - echo "Setting RenderTargetLockMode to $1" - cat > "$WINETRICKS_TMP"/set-rtlm.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\Direct3D] -"RenderTargetLockMode"="$1" - -_EOF_ - try_regedit "$WINETRICKS_TMP"/set-rtlm.reg -} - -set_multisampling() { - echo "Setting Multisampling to $1" - cat > "$WINETRICKS_TMP"/set-multi.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\Direct3D] -"Multisampling"="$1" - -_EOF_ - try_regedit "$WINETRICKS_TMP"/set-multi.reg -} - -set_sound_driver() { - echo "Setting sound driver to $1" - cat > "$WINETRICKS_TMP"/set-sound.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\Drivers] -"Audio"="$1" - -_EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\set-sound.reg -} - -disable_crashdialog() { - echo "Disabling graphical crash dialog" - cat > "$WINETRICKS_TMP"/crashdialog.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\WineDbg] -"ShowCrashDialog"=dword:00000000 - -_EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\crashdialog.reg -} - -sandbox() { - # remove symlinks - try rm "$WINEPREFIX/drive_c/users/$USER/Desktop" - try rm "$WINEPREFIX/drive_c/users/$USER/My Documents" - try rm "$WINEPREFIX/drive_c/users/$USER/My Music" - try rm "$WINEPREFIX/drive_c/users/$USER/My Pictures" - try rm "$WINEPREFIX/drive_c/users/$USER/My Videos" - # create replacement directories - try mkdir "$WINEPREFIX/drive_c/users/$USER/Desktop" - try mkdir "$WINEPREFIX/drive_c/users/$USER/My Documents" - try mkdir "$WINEPREFIX/drive_c/users/$USER/My Music" - try mkdir "$WINEPREFIX/drive_c/users/$USER/My Pictures" - try mkdir "$WINEPREFIX/drive_c/users/$USER/My Videos" -} - unset_winver() { echo "Clearing Windows version back to default" cat > "$WINETRICKS_TMP"/unset-winver.reg <<_EOF_ @@ -590,7 +397,7 @@ REGEDIT4 "Version"=- _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\unset-winver.reg + try $WINE regedit "$WINETRICKS_TMP"/unset-winver.reg } override_dlls() { @@ -613,7 +420,7 @@ _EOF_ shift done - try_regedit "$WINETRICKS_TMP_WIN"\\override-dll.reg + try $WINE regedit "$WINETRICKS_TMP"/override-dll.reg rm "$WINETRICKS_TMP"/override-dll.reg } @@ -640,7 +447,7 @@ override_app_dlls() { shift done - try_regedit "$WINETRICKS_TMP_WIN"\\override-dll.reg + try $WINE regedit "$WINETRICKS_TMP"/override-dll.reg rm "$WINETRICKS_TMP"/override-dll.reg } @@ -656,27 +463,11 @@ REGEDIT4 "$font"="$file" _EOF_ # too verbose - try_regedit "$WINETRICKS_TMP_WIN"\\register-font.reg -} - -append_path() { - # Prepend $1 to the windows path in the registry. Caller must use single quotes and double backslashes in argument. - NEW_PATH="$1" - WIN_PATH="`WINEDEBUG= $WINE cmd.exe /c echo "%PATH%" | sed 's,\\\\,\\\\\\\\,g'`" - - cat > "$WINETRICKS_TMP"/path.reg <<_EOF_ -REGEDIT4 - -[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Session Manager\\Environment] -_EOF_ - echo '"PATH"="'"$NEW_PATH;$WIN_PATH\"" | sed "s/\\\\/\\\\\\\\/g" >> "$WINETRICKS_TMP"/path.reg - - try_regedit "$WINETRICKS_TMP_WIN"\\path.reg - rm -f "$WINETRICKS_TMP"/path.reg + #try $WINE regedit "$WINETRICKS_TMP"/register-font.reg + $WINE regedit "$WINETRICKS_TMP"/register-font.reg } #----- common download for several verbs - helper_directx_dl() { # Aug 2009 DirectX 9c User Redistributable # http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=04ac064b-00d1-474e-b7b1-442d8712d553 @@ -688,10 +479,11 @@ helper_directx_dl() { #----- One function per package, in alphabetical order ---------- load_art2kmin() { - # See http://www.microsoft.com/downloads/details.aspx?familyid=d9ae78d9-9dc6-4b38-9fa6-2c745a175aed&displaylang=en - download . http://download.microsoft.com/download/D/2/A/D2A2FC8B-0447-491C-A5EF-E8AA3A74FB98/AccessRuntime.exe 571811b7536e97cf4e4e53bbf8260cddd69f9b2d - cd "$WINETRICKS_CACHE" - try $WINE AccessRuntime.exe $WINETRICKS_QUIET + # See http://support.microsoft.com/kb/243957 + download . http://download.microsoft.com/download/office2000dev/art2kmin/1/win98/en-us/art2kmin.exe 73be2622254d1f857a204a03f068787542b985e9 + try unzip -o $WINETRICKS_UNIXQUIET -d "$WINETRICKS_TMP" "$WINETRICKS_CACHE"/art2kmin.exe + cd "$WINETRICKS_TMP" + try $WINE Setup.exe INSTALLPFILES=1 /wait $WINETRICKS_QUIET cd "$olddir" } @@ -711,8 +503,8 @@ load_atmlib() { #---------------------------------------------------------------- load_autohotkey() { - download . http://www.autohotkey.net/programs/AutoHotkey104805_Install.exe 13e5a9ca6d5b7705f1cd02560c3af4d38b1904fc - try $WINE "$WINETRICKS_CACHE"/AutoHotkey104805_Install.exe $WINETRICKS_S + download . http://www.autohotkey.net/programs/AutoHotkey104803_Install.exe 5cf0f16e9aa2f2e96a3b08e0d938602aff39a33e + try $WINE "$WINETRICKS_CACHE"/AutoHotkey104803_Install.exe $WINETRICKS_S } #---------------------------------------------------------------- @@ -721,24 +513,12 @@ load_cc580() { # http://www.microsoft.com/downloads/details.aspx?familyid=6f94d31a-d1e0-4658-a566-93af0d8d4a1e download . http://download.microsoft.com/download/platformsdk/redist/5.80.2614.3600/w9xnt4/en-us/cc32inst.exe 94c3c494258cc54bd65d2f0153815737644bffde - try $WINE "$WINETRICKS_CACHE"/cc32inst.exe "/T:$winetricks_tmp_win" /c $WINETRICKS_QUIET + try $WINE "$WINETRICKS_CACHE"/cc32inst.exe "/T:`$WINE winepath -w "$WINETRICKS_TMP"`" /c $WINETRICKS_QUIET try unzip -o $WINETRICKS_UNIXQUIET -d "$WINDIR"/temp "$WINETRICKS_TMP"/comctl32.exe - try $WINE "$WINDIR"/temp/x86/50ComUpd.Exe "/T:$winetricks_tmp_win" /c $WINETRICKS_QUIET + try $WINE "$WINDIR"/temp/x86/50ComUpd.Exe "/T:`$WINE winepath -w "$WINETRICKS_TMP"`" /c $WINETRICKS_QUIET try cp "$WINETRICKS_TMP"/comcnt.dll "$WINDIR"/system32/comctl32.dll override_dlls native,builtin comctl32 - - # some builtin apps don't like native comctl32 - override_app_dlls winecfg.exe builtin comctl32 - override_app_dlls explorer.exe builtin comctl32 - override_app_dlls iexplore.exe builtin comctl32 -} - -#---------------------------------------------------------------- - -load_cmake() { - download . http://www.cmake.org/files/v2.6/cmake-2.6.4-win32-x86.exe 00bd502423546b8bce19ffc180ea78e0e2f396cf - try $WINE "$WINETRICKS_CACHE"/cmake-2.6.4-win32-x86.exe } #---------------------------------------------------------------- @@ -872,20 +652,11 @@ load_corefonts() { #---------------------------------------------------------------- load_cygwin() { - # See http://bugs.winehq.org/show_bug.cgi?id=21206 - # Current is 1.7, but that doesn't install on wine, so jump through - # hoops to get 1.5 - #download cygwin http://cygwin.com/setup.exe fdc9379ed58231cddd25bb7b448426681a3dd3c3 - # this is some random verison of cygwin's setup from mid-2009, before the change that wine couldn't handle. - download cygwin http://kegel.com/cygwin/1.5/setup.exe 5cfb8ebe4f385b0fcffa04d22d607ec75ea05180 - mkdir -p "$DRIVE_C"/cygpkgs - # If you happen to have saved your cygpkgs directory, unpack it now - test -f "$WINETRICKS_CACHE/cygwin/cygpkgs.tgz" && (cd "$DRIVE_C"; gunzip -dc "$WINETRICKS_CACHE/cygwin/cygpkgs.tgz" | tar -xf -) - cp "$WINETRICKS_CACHE/cygwin/setup.exe" "$DRIVE_C"/cygpkgs - cd "$DRIVE_C"/cygpkgs - warn "Paste in ftp://www.fruitbat.org/pub/cygwin/circa/2009/09/08/111037 as the repo url for now, until bug 21206 is fixed" - # -X option is insecure, but we have to use it because fruitbat.org didn't archive .sig files :-( - try $WINE setup.exe -X + download cygwin http://cygwin.com/setup.exe 5cfb8ebe4f385b0fcffa04d22d607ec75ea05180 + mkdir "$WINEPREFIX"/drive_c/cygpkgs + test -f "$WINEPREFIX"/drive_c/cygpkgs/setup.exe || cp "$WINETRICKS_CACHE/cygwin/setup.exe" "$WINEPREFIX"/drive_c/cygpkgs + cd "$WINEPREFIX"/drive_c/cygpkgs + try $WINE setup.exe cd "$olddir" } @@ -907,23 +678,6 @@ load_d3dx9() { override_dlls native d3dx9_38 d3dx9_39 d3dx9_40 d3dx9_41 d3dx9_42 } -#---------------------------------------------------------------- - -load_d3dx10() { - helper_directx_dl - - # Kinder, less invasive directx10 - only extract and override d3dx10_??.dll - cabextract -d "$WINETRICKS_TMP" -L -F '*d3dx10*x86*' "$WINETRICKS_CACHE"/$DIRECTX_NAME - for x in `ls "$WINETRICKS_TMP"/*.cab` - do - cabextract -d "$WINDIR"/system32 -L -F '*.dll' "$x" - done - - # For now, not needed, but when Wine starts preferring our builtin dll over native it will be. - override_dlls native d3dx10_33 d3dx10_34 d3dx10_35 d3dx10_36 d3dx10_37 - override_dlls native d3dx10_38 d3dx10_39 d3dx10_40 d3dx10_41 d3dx10_42 -} - #---------------------------------------------------------------- load_dinput8() { helper_directx_dl @@ -976,16 +730,7 @@ load_directx9() { # list down as soon as we can. echo "You probably shouldn't be using this. It's VERY invasive." echo "Use 'winetricks d3dx9' instead." - - # Setting windows version to win2k apparently crashes the installer on OS X... - # See http://code.google.com/p/winezeug/issues/detail?id=71 - if [ "`uname -s`" = "Darwin" ] - then - set_winver winxp - else - set_winver $DIRECTX_WINDOWS - fi - + set_winver win2k WINEDLLOVERRIDES="wintrust=b,mscoree=,ddraw,d3d8,d3d9,dsound,dinput=n" \ try $WINE "$WINETRICKS_CACHE"/$DIRECTX_NAME /t:"$WINETRICKS_TMP_WIN" $WINETRICKS_QUIET @@ -1016,20 +761,17 @@ load_directx9() { load_divx() { # 6.8.2: 02203fdc4dddd13e789c39b22902837da31d2a1d ? - # 6.8.2: e36bf87c1675d0cf9169839bc0cd8f866b9db026 as of 4 Jun 2008 as http://download.divx.com/divx/DivXInstaller.exe - # 6.8.3: f4f4387ef89316aea440a29f3e24c1f1945e14af as of 20 Jun 2008 as http://download.divx.com/divx/abt/b1/DivXInstaller.exe + # 6.8.2: e36bf87c1675d0cf9169839bc0cd8f866b9db026 as of 4 jun 2008 as http://download.divx.com/divx/DivXInstaller.exe + # 6.8.3: f4f4387ef89316aea440a29f3e24c1f1945e14af as of 20 jun 2008 as http://download.divx.com/divx/abt/b1/DivXInstaller.exe # 6.8.4: c5fcb1465a1bb24d1c104c2588fdb6706d1e1476 as of 10 Jul 2008 as http://download.divx.com/divx/abt/b1/DivXInstaller.exe # 6.8.4: d28a2b041f4af45d22c4dedfe7608f2958cf997d as of 23 Aug 2008 as http://download.divx.com/divx/DivXInstaller.exe # 7.? 4d91ef90ae26a6088851560c4263ef0cdbf09123 as of 22 Mar 2009 as http://download.divx.com/divx/DivXInstaller.exe # 7.0.? 19c9ba3104025d1fab335e405e7f411dfbbcb477 as of 28 May 2009 as http://download.divx.com/divx/DivXInstaller.exe # 7.0.? 786aef0f421df5e7358d2d740d9911f9afd055de as of 24 June 2009 as http://download.divx.com/divx/DivXInstaller.exe - # 7.0.? ad420bf8bf72e924e658c9c6ad6bba76b848fb79 as of 23 Sep 2009 as http://download.divx.com/divx/DivXInstaller.exe - # 7.0.? 3385aa8f6ba64ae32e06f651bbbea247bcc1a44d as of 12 Dec 2009 as http://download.divx.com/divx/DivXInstaller.exe - - download divx-7 http://download.divx.com/divx/DivXInstaller.exe 3385aa8f6ba64ae32e06f651bbbea247bcc1a44d + download divx-7 http://download.divx.com/divx/DivXInstaller.exe 786aef0f421df5e7358d2d740d9911f9afd055de - try $WINE "$WINETRICKS_CACHE"/divx-7/DivXInstaller + try $WINE "$WINETRICKS_CACHE"/divx-7/DivXInstaller $WINETRICKS_SILENT } #---------------------------------------------------------------- @@ -1073,13 +815,6 @@ load_dcom98() { load_dotnet11() { DOTNET_INSTALL_DIR="$WINDIR/Microsoft.NET/Framework/v1.1.4322" - # If this is just a dependency check, don't re-install - if test $PACKAGE != dotnet11 && test -d "$DOTNET_INSTALL_DIR" - then - echo "prerequisite dotnet11 already installed, skipping" - return - fi - # need corefonts, else installer crashes load_corefonts @@ -1095,35 +830,19 @@ load_dotnet11() { #---------------------------------------------------------------- -load_dotnet11sdk() { - load_dotnet11 - - warn "Installer hangs at end... not sure if it works fully." - # http://www.microsoft.com/downloads/details.aspx?familyid=9B3A2CA6-3647-4070-9F41-A333C6B9181D - download dotnet11sdk http://download.microsoft.com/download/5/2/0/5202f918-306e-426d-9637-d7ee26fbe507/setup.exe 9509b14924bcaf84a7780de3f6ad7894004c3450 - cd "$WINETRICKS_CACHE"/dotnet11sdk - try $WINE setup.exe - cd "$olddir" -} - -#---------------------------------------------------------------- - load_dotnet20() { - load_fontfix - # If this is just a dependency check, don't re-install if test $PACKAGE != dotnet20 && test -f "$WINDIR"/system32/l_intl.nls then echo "prerequisite dotnet20 already installed, skipping" return fi - warn "Instaling .net 2.0 runtime. Can take several minutes. See http://wiki.winehq.org/MicrosoftDotNet for tips." # Recipe from http://bugs.winehq.org/show_bug.cgi?id=10467#c57 test -d "$WINDIR/gecko" || test -d "$WINDIR/system32/gecko" || load_gecko set_winver win2k # See http://kegel.com/wine/l_intl-sh.txt for how l_intl.nls was generated - download dotnet20 http://kegel.com/wine/l_intl.nls 0d2e3f025bcdf852b192c9408a361ac2659fa249 + download dotnet20 http://kegel.com/wine/l_intl.nls try cp -f "$WINETRICKS_CACHE"/dotnet20/l_intl.nls "$WINDIR/system32/" # http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5 @@ -1136,66 +855,17 @@ load_dotnet20() { fi unset_winver } -#---------------------------------------------------------------- - -load_dotnet20sp2() { - warn "Instaling .net 2.0 runtime. Can take several minutes. See http://wiki.winehq.org/MicrosoftDotNet for tips." - - # Recipe from http://bugs.winehq.org/show_bug.cgi?id=10467#c57 - test -d "$WINDIR/gecko" || test -d "$WINDIR/system32/gecko" || load_gecko - #set_winver win2k - # See http://kegel.com/wine/l_intl-sh.txt for how l_intl.nls was generated - download dotnet20 http://kegel.com/wine/l_intl.nls 0d2e3f025bcdf852b192c9408a361ac2659fa249 - try cp -f "$WINETRICKS_CACHE"/dotnet20/l_intl.nls "$WINDIR/system32/" - - # http://www.microsoft.com/downloads/details.aspx?familyid=5B2C0358-915B-4EB5-9B1D-10E506DA9D0F - download dotnet20 http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe 22d776d4d204863105a5db99e8b8888be23c61a7 - if [ "$WINETRICKS_QUIET"x = ""x ] - then - try $WINE "$WINETRICKS_CACHE"/dotnet20/NetFx20SP2_x86.exe - else - try $WINE "$WINETRICKS_CACHE"/dotnet20/NetFx20SP2_x86.exe /q /c:"install.exe /q" - fi - unset_winver -} - -#---------------------------------------------------------------- - -load_dotnet20sdk() { - load_dotnet20 - - # http://www.microsoft.com/downloads/details.aspx?familyid=9B3A2CA6-3647-4070-9F41-A333C6B9181D - download dotnet20sdk http://download.microsoft.com/download/c/4/b/c4b15d7d-6f37-4d5a-b9c6-8f07e7d46635/setup.exe 4e4b1072b5e65e855358e2028403f2dc52a62ab4 - cd "$WINETRICKS_CACHE"/dotnet20sdk - try $WINE setup.exe - cd "$olddir" -} #---------------------------------------------------------------- load_dotnet30() { - # If this is just a dependency check, don't re-install - if test $PACKAGE != dotnet30 && test -d "$WINDIR/Microsoft.NET/Framework/v3.0/Microsoft .NET Framework 3.0" - then - echo "prerequisite dotnet30 already installed, skipping" - return - fi - - warn "Instaling .net 3.0 runtime. Can take 15-30 minutes. See http://wiki.winehq.org/MicrosoftDotNet for tips." + echo "Have to install dotnet20 before installing dotnet30... please be patient..." load_dotnet20 # http://msdn.microsoft.com/en-us/netframework/bb264589.aspx download dotnet30 http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe f3d2c3c7e4c0c35450cf6dab1f9f2e9e7ff50039 - # AF's workaround to avoid long pause - LANGPACKS_BASE_PATH="${WINDIR}/SYSMSICache/Framework/v3.0" - test -d "${LANGPACKS_BASE_PATH}" || mkdir -p "${LANGPACKS_BASE_PATH}" - for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru \ - sv tr zh-CHS zh-CHT - do - ln -sf "${WINDIR}/system32/spupdsvc.exe" "${LANGPACKS_BASE_PATH}/dotnetfx3langpack${lang}.exe" - done - + export _SFX_CAB_SHUTDOWN_REQUEST=1 if [ "$WINETRICKS_QUIET"x = ""x ] then try $WINE "$WINETRICKS_CACHE"/dotnet30/dotnetfx3.exe @@ -1206,24 +876,6 @@ load_dotnet30() { #---------------------------------------------------------------- -load_dotnet35() { - warn "This does not work yet, see bug 20110" - - # According to AF's recipe, installing dotnet30 first works around msi bugs - load_dotnet30 - - # http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6 - download dotnet35 http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe - - # See also http://blogs.msdn.com/astebner/archive/2008/07/17/8745415.aspx - cd "$DRIVE_C" - cabextract $WINETRICKS_UNIXQUIET "$WINETRICKS_CACHE"/dotnet35/dotnetfx35.exe - cd wcu/dotNetFramework - try $WINE dotNetFx35setup.exe /lang:ENU -} - -#---------------------------------------------------------------- - do_droid() { download . ${DROID_URL}$1';hb=HEAD' $3 $1 try cp -f "$WINETRICKS_CACHE"/$1 "$winefontsdir" @@ -1270,7 +922,7 @@ _EOF_ echo -n "${programfilesdir_win}" | sed "s/\\\\/\\\\\\\\/" >>"$WINETRICKS_TMP"/fakeie6.reg echo '\\\\Internet Explorer"' >>"$WINETRICKS_TMP"/fakeie6.reg - try_regedit "$WINETRICKS_TMP_WIN"\\fakeie6.reg + try $WINE regedit "$WINETRICKS_TMP"/fakeie6.reg # On old wineprefixes iexplore.exe is not created. Create a fake dll using # shdocvw.dll that should have similar VERSIONINFO. @@ -1288,12 +940,12 @@ _EOF_ #---------------------------------------------------------------- load_firefox() { - download . "http://releases.mozilla.org//pub/mozilla.org/firefox/releases/3.5.6/win32/en-US/Firefox%20Setup%203.5.6.exe" d27779d9dca25d032ceaafd3da9df1651121f8bd "Firefox Setup 3.5.6.exe" + download . "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5/win32/en-US/Firefox%20Setup%203.5.exe" a9ef21ba8173a5d850b408fc448a7bc889eb68cb "Firefox Setup 3.5.exe" if [ "$WINETRICKS_QUIET"x = ""x ] then - try $WINE "$WINETRICKS_CACHE"/"Firefox Setup 3.5.6.exe" + try $WINE "$WINETRICKS_CACHE"/"Firefox Setup 3.5.exe" else - try $WINE "$WINETRICKS_CACHE"/"Firefox Setup 3.5.6.exe" -ms + try $WINE "$WINETRICKS_CACHE"/"Firefox Setup 3.5.exe" -ms fi } @@ -1319,9 +971,8 @@ load_flash() { # 2008-11-27: 10 sha1sum 7f6850ae815e953311bb94a8aa9d226f97a646dd # 2009-02-27: sha1sum 86745020a25edc9695a1a6a4d59eae375665a0b3 # 2009-07-31: sha1sum 11a81ad1b19344c28b1e1249169f15dfbd2a04f5 - # 2009-12-09: sha1sum f4ec0e95099e354fd01cd3bb27c202f54932dc70 - download . http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe f4ec0e95099e354fd01cd3bb27c202f54932dc70 + download . http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe 11a81ad1b19344c28b1e1249169f15dfbd2a04f5 try $WINE "$WINETRICKS_CACHE"/install_flash_player_ax.exe $WINETRICKS_S # Mozilla / Firefox plugin @@ -1329,9 +980,8 @@ load_flash() { # 2008-11-27: sha1sum 20ec0300a8cae19105c903a7ec6c0801e016beb0 # 2009-02-27: sha1sum 770db9ad471ffd4357358bc16ff0bb6c98d71e5d # 2009-07-31: sha1sum 9590fb87cc33d3a3a1f2f42a1918f06b9f0fd88d - # 2009-12-09: sha1sum ccb4811b1cc26721c4abb2e5a080868acdee7b87 - - download . http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe ccb4811b1cc26721c4abb2e5a080868acdee7b87 + + download . http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe 9590fb87cc33d3a3a1f2f42a1918f06b9f0fd88d try $WINE "$WINETRICKS_CACHE"/install_flash_player.exe $WINETRICKS_S } @@ -1369,13 +1019,9 @@ load_fontfix() { fi # Focht says Samyak is bad news, and font substitution isn't a good workaround. - # I've seen psdkwin7 setup crash because of this; the symptom was a messagebox saying - # SDKSetup encountered an error: The type initializer for 'Microsoft.WizardFramework.WizardSettings' threw an exception - # and WINEDEBUG=+relay,+seh shows an exception very quickly after - # Call KERNEL32.CreateFileW(0c83b36c L"Z:\\USR\\SHARE\\FONTS\\TRUETYPE\\TTF-ORIYA-FONTS\\SAMYAK-ORIYA.TTF",80000000,00000001,00000000,00000003,00000080,00000000) ret=70d44091 - if xlsfonts 2>/dev/null | egrep -i "samyak|oriya" + if xlsfonts | grep -i samyak then - die "Please uninstall the Samyak/Oriya font, e.g. 'sudo dpkg -r ttf-oriya-fonts', then log out and log in again. That font causes strange crashes in .net programs." + warn "Please uninstall the Samyak font. It has been known to cause problems." fi } @@ -1391,7 +1037,7 @@ REGEDIT4 "FontSmoothingType"=dword:00000000 _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\fs_disable.reg + try $WINE regedit "$WINETRICKS_TMP"/fs_disable.reg } #---------------------------------------------------------------- load_fs_grayscale() { @@ -1406,7 +1052,7 @@ REGEDIT4 "FontSmoothingType"=dword:00000001 _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\fs_grayscale.reg + try $WINE regedit "$WINETRICKS_TMP"/fs_grayscale.reg } #---------------------------------------------------------------- load_fs_bgr() { @@ -1421,7 +1067,7 @@ REGEDIT4 "FontSmoothingType"=dword:00000002 _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\fs_bgr.reg + try $WINE regedit "$WINETRICKS_TMP"/fs_bgr.reg } #---------------------------------------------------------------- load_fs_rgb() { @@ -1436,7 +1082,7 @@ REGEDIT4 "FontSmoothingType"=dword:00000002 _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\fs_rgb.reg + try $WINE regedit "$WINETRICKS_TMP"/fs_rgb.reg } #---------------------------------------------------------------- @@ -1503,10 +1149,7 @@ _EOF_ cd "$olddir" # set install-path - try_regedit "$WINETRICKS_TMP_WIN"\\geckopath.reg - - # register the dll, since it was disabled before - try $WINE regsvr32 mshtml + try $WINE regedit "$WINETRICKS_TMP"/geckopath.reg } #---------------------------------------------------------------- @@ -1567,20 +1210,20 @@ _EOF_ cd "$olddir" # set install-path - try_regedit "$WINETRICKS_TMP_WIN"\\geckopath.reg - - # register the dll, since it was disabled before - try $WINE regsvr32 mshtml + try $WINE regedit "$WINETRICKS_TMP"/geckopath.reg } #---------------------------------------------------------------- load_gdiplus() { - # http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en - download . http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe b9a84bc3de92863bba1f5eb1d598446567fbc646 - try $WINE "$WINETRICKS_CACHE"/WindowsXP-KB975337-x86-ENU.exe /extract:$WINETRICKS_TMP_WIN $WINETRICKS_QUIET + # gdiplus is documented here as a redistributable: + # http://msdn.microsoft.com/library/en-us/gdicpp/GDIPlus/GDIPlus.asp + # however, there's no standalone installer. So install a random + # app that happens to bundle it. + download . http://download.microsoft.com/download/a/1/a/a1adc39b-9827-4c7a-890b-91396aed2b86/ppviewer.exe 4d13ca85d1d366167b6247ac7340b7736b1bff87 + try $WINE "$WINETRICKS_CACHE"/ppviewer.exe $WINETRICKS_QUIET # And then make it globally available. - try cp "$WINETRICKS_TMP/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINDIR"/system32/ + try cp "$programfilesdir_unix/Microsoft Office/PowerPoint Viewer/GDIPLUS.DLL" "$WINDIR"/system32/ # For some reason, native,builtin isn't good enough...? override_dlls native gdiplus @@ -1588,34 +1231,6 @@ load_gdiplus() { #---------------------------------------------------------------- -load_glsl_disable() { - echo "Disabling GLSL" - cat > "$WINETRICKS_TMP"/disableglsl.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\Direct3D] -"UseGLSL"="disabled" - -_EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\disableglsl.reg -} - -#---------------------------------------------------------------- - -load_glsl_enable() { - echo "Enabling GLSL" - cat > "$WINETRICKS_TMP"/enableglsl.reg <<_EOF_ -REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\Direct3D] -"UseGLSL"="enabled" - -_EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\enableglsl.reg -} - -#---------------------------------------------------------------- - load_hosts() { # Create fake system32\drivers\etc\hosts and system32\drivers\etc\services files. # The hosts file is used to map network names to IP addresses without DNS. @@ -1629,23 +1244,9 @@ load_hosts() { } #---------------------------------------------------------------- - -set_heapcheck() { - cat > "$WINETRICKS_TMP"/heapcheck.reg <<_EOF_ -REGEDIT4 - -[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager] -"GlobalFlag"=dword:00200030 - -_EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\heapcheck.reg -} - -#---------------------------------------------------------------- - load_icodecs() { # http://downloadcenter.intel.com/Detail_Desc.aspx?strState=LIVE&ProductID=355&DwnldID=2846 - download . ftp://download.intel.com/support/createshare/camerapack/codinstl.exe 2c5d64f472abe3f601ce352dcca75b4f02996f8a + download . http://downloadmirror.intel.com/2846/eng/codinstl.exe 2c5d64f472abe3f601ce352dcca75b4f02996f8a try $WINE "$WINETRICKS_CACHE"/codinstl.exe # Work around bug in codec's installer? # http://support.britannica.com/other/touchthesky/win/issues/TSTUw_150.htm @@ -1663,7 +1264,7 @@ load_ie6() { # Change the override to the native so we are sure we use and register them override_dlls native,builtin iexplore.exe itircl itss jscript mlang mshtml msimtf shdoclc shdocvw shlwapi urlmon - # Remove the fake dlls, if any + # Remove the fake dlls from the existing WINEPREFIX mv "$programfilesdir_unix"/"Internet Explorer"/iexplore.exe "$programfilesdir_unix"/"Internet Explorer"/iexplore.exe.bak for dll in itircl itss jscript mlang mshtml msimtf shdoclc shdocvw shlwapi urlmon do @@ -1682,10 +1283,6 @@ load_ie6() { # Install download . http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/ie6setup.exe f3ab61a785eb9611fa583612e83f3b69377f2cef - - # Workaround http://bugs.winehq.org/show_bug.cgi?id=21009 - # See also http://code.google.com/p/winezeug/issues/detail?id=78 - rm -f "$WINDIR"/system32/browseui.dll "$WINDIR"/system32/inseng.dll # Silent install recipe from: # http://www.axonpro.sk/japo/info/MS/SILENT%20INSTALL/Unattended-Silent%20Installation%20Switches%20for%20Windows%20Apps.htm @@ -1727,69 +1324,6 @@ load_ie6() { #---------------------------------------------------------------- -load_ie7() { - # Unregister Wine IE - try $WINE iexplore -unregserver - - # Change the override to the native so we are sure we use and register them - override_dlls native,builtin iexplore.exe itircl itss jscript mshtml msimtf shdoclc shdocvw shlwapi urlmon xmllite - - # Bundled updspapi cannot work on wine - override_dlls builtin updspapi - - # Remove the fake dlls from the existing WINEPREFIX - for dll in itircl itss jscript mshtml msimtf shdoclc shdocvw shlwapi urlmon - do - test -f "$WINDIR"/system32/$dll.dll && - mv "$WINDIR"/system32/$dll.dll "$WINDIR"/system32/$dll.dll.bak - done - - # See http://bugs.winehq.org/show_bug.cgi?id=16013 - # Find instructions to create this file in dlls/wintrust/tests/crypt.c - download . http://winezeug.googlecode.com/svn/trunk/winetricks_files/winetest.cat ac8f50dd54d011f3bb1dd79240dae9378748449f - - # Put a dummy catalog file in place - mkdir -p "$WINDIR"/system32/catroot/\{f750e6c3-38ee-11d1-85e5-00c04fc295ee\} - try cp -f "$WINETRICKS_CACHE"/winetest.cat "$WINDIR"/system32/catroot/\{f750e6c3-38ee-11d1-85e5-00c04fc295ee\}/oem0.cat - - # Install - download . http://download.microsoft.com/download/3/8/8/38889DC1-848C-4BF2-8335-86C573AD86D9/IE7-WindowsXP-x86-enu.exe d39b89c360fbaa9706b5181ae4718100687a5326 - if [ $WINETRICKS_QUIET ] - then - $WINE "$WINETRICKS_CACHE"/IE7-WindowsXP-x86-enu.exe /quiet - else - $WINE "$WINETRICKS_CACHE"/IE7-WindowsXP-x86-enu.exe - fi - - # Work around DLL registration bug until ierunonce/RunOnce/wineboot is fixed - # FIXME: whittle down this list - cd "$WINDIR"/system32/ - for i in actxprxy.dll browseui.dll browsewm.dll cdfview.dll ddraw.dll \ - dispex.dll dsound.dll iedkcs32.dll iepeers.dll iesetup.dll \ - imgutil.dll inetcomm.dll inseng.dll isetup.dll jscript.dll laprxy.dll \ - mlang.dll mshtml.dll mshtmled.dll msi.dll msident.dll \ - msoeacct.dll msrating.dll mstime.dll msxml3.dll occache.dll \ - ole32.dll oleaut32.dll olepro32.dll pngfilt.dll quartz.dll \ - rpcrt4.dll rsabase.dll rsaenh.dll scrobj.dll scrrun.dll \ - shdocvw.dll shell32.dll urlmon.dll vbscript.dll webcheck.dll \ - wshcon.dll wshext.dll asctrls.ocx hhctrl.ocx mscomct2.ocx \ - plugin.ocx proctexe.ocx tdc.ocx webcheck.dll wshom.ocx - do - $WINE regsvr32 /i $i > /dev/null 2>&1 - done - - # Seeing is believing - if [ "$WINETRICKS_QUIET" = "" ] - then - warn "Starting ie7. To start it later, use the command $WINE '${programfilesdir_win}\\\\Internet Explorer\\\\iexplore'" - $WINE "${programfilesdir_win}\\Internet Explorer\\iexplore" http://www.microsoft.com/windows/internet-explorer/ie7/ > /dev/null 2>&1 & - else - warn "To start ie7, use the command $WINE '${programfilesdir_win}\\\\Internet Explorer\\\\iexplore'" - fi -} - -#---------------------------------------------------------------- - load_jet40() { # http://support.microsoft.com/kb/239114 # See also http://bugs.winehq.org/show_bug.cgi?id=6085 @@ -1800,11 +1334,12 @@ load_jet40() { #---------------------------------------------------------------- load_kde() { - download . http://www.winkde.org/pub/kde/ports/win32/installer/kdewin-installer-gui-0.9.6-5.exe f612945e094390d7bc0e4f8840d308ef2b00f86e + download . http://www.winkde.org/pub/kde/ports/win32/installer/old/kdewin-installer-gui-0.9.5-0.exe c2a95102312ca859fce5190307748da51fae644e mkdir -p "$programfilesdir_unix/kde" - try cp "$WINETRICKS_CACHE"/kdewin-installer-gui-0.9.6-5.exe "$programfilesdir_unix/kde" + try cp "$WINETRICKS_CACHE"/kdewin-installer-gui-0.9.5-0.exe "$programfilesdir_unix/kde" cd "$programfilesdir_unix/kde" - try $WINE "$programfilesdir_win\\kde\\kdewin-installer-gui-0.9.6-5.exe" + # This reports an errorlevel of 1, even for success. See https://bugs.kde.org/show_bug.cgi?id=194796 + $WINE "$programfilesdir_win\\kde\\kdewin-installer-gui-0.9.5-0.exe" || true cd "$olddir" } @@ -1834,7 +1369,7 @@ load_liberation() { set_native_mdac() { # Set those overrides globally so user programs get MDAC's odbc # instead of wine's unixodbc - override_dlls native,builtin odbc32 odbccp32 oledb32 + override_dlls native,builtin odbc32 odbccp32 } #---------------------------------------------------------------- @@ -1895,59 +1430,10 @@ load_mfc40() { #---------------------------------------------------------------- -load_mingw_min() { - # If this is just a dependency check, don't re-install - if test $PACKAGE != mingw_min && test $PACKAGE != mingw && test $PACKAGE != mingw-min && test -f "$DRIVE_C"/MinGW/bin/gcc.exe - then - echo "prerequisite mingw_min already installed, skipping" - return - fi - - # See http://mingw.org/wiki/Getting_Started - download . http://sourceforge.net/projects/mingw/files/GNU%20Binutils/binutils-2.19.1-mingw32-bin.tar.gz 1ab72f3af3fe96d08c3c9bff60c47913704d5774 - download . http://sourceforge.net/projects/mingw/files/GCC%20Version%204/gcc-core-4.4.0-mingw32-bin.tar.gz b88b8f3644ca0cdf2c41cd03f820bf7823a8eabb - download . http://sourceforge.net/projects/mingw/files/GCC%20Version%204/gcc-core-4.4.0-mingw32-dll.tar.gz 0372ecf4caf75d0d9fe4a7739ca234f1a3de831b - download . http://sourceforge.net/projects/mingw/files/GCC%20Version%204/gmp-4.2.4-mingw32-dll.tar.gz a14dd928382f093f67cb3cd57c140625b1b265bb - download . http://sourceforge.net/projects/mingw/files/MinGW%20libiconv/libiconv-1.13.1-1-mingw32-dll-2.tar.lzma 5b60ce4d9ec9cf91aee437915a2469b915e1235f - download . http://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16-mingw32-dev.tar.gz 770ff5001989d8a9a1ec4f3621d8f264a24e178f - download . http://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16-mingw32-dll.tar.gz b8032e97c79e16a3c540043f0f39821df1531ae9 - download . http://sourceforge.net/projects/mingw/files/GCC%20Version%204/mpfr-2.4.1-mingw32-dll.tar.gz 43b7ecb2c0c785c44321ff6c4376f51375713a7b - download . http://sourceforge.net/projects/mingw/files/GCC%20Version%204/pthreads-w32-2.8.0-mingw32-dll.tar.gz f922f8c0c42921fd4482a3d2e6f779d6384040c1 - download . http://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/w32api-3.13-mingw32-dev.tar.gz 5eb7d8ec0fe032a92bea3a2c8282a78df2f1793c - - mkdir "$DRIVE_C"/MinGW - cd "$DRIVE_C"/MinGW - gzip -d -c "$WINETRICKS_CACHE"/binutils-2.19.1-mingw32-bin.tar.gz | tar x - gzip -d -c "$WINETRICKS_CACHE"/mingwrt-3.16-mingw32-dev.tar.gz | tar x - gzip -d -c "$WINETRICKS_CACHE"/mingwrt-3.16-mingw32-dll.tar.gz | tar x - gzip -d -c "$WINETRICKS_CACHE"/w32api-3.13-mingw32-dev.tar.gz | tar x - gzip -d -c "$WINETRICKS_CACHE"/gmp-4.2.4-mingw32-dll.tar.gz | tar x - lzma -d -c "$WINETRICKS_CACHE"/libiconv-1.13.1-1-mingw32-dll-2.tar.lzma | tar x - gzip -d -c "$WINETRICKS_CACHE"/mpfr-2.4.1-mingw32-dll.tar.gz | tar x - gzip -d -c "$WINETRICKS_CACHE"/pthreads-w32-2.8.0-mingw32-dll.tar.gz | tar x - gzip -d -c "$WINETRICKS_CACHE"/gcc-core-4.4.0-mingw32-bin.tar.gz | tar x - gzip -d -c "$WINETRICKS_CACHE"/gcc-core-4.4.0-mingw32-dll.tar.gz | tar x - - append_path 'C:\\MinGW\\bin' -} - -#---------------------------------------------------------------- - -load_mingw_gdb() { - # See http://mingw.org/wiki/Getting_Started - load_mingw_min - - download . $SOURCEFORGE/mingw/GNU%20Source-Level%20Debugger/GDB-7.0/gdb-7.0-2-mingw32-bin.tar.gz a560cb0e3980d0ed853994c84038260212f58925 - - cd "$DRIVE_C"/MinGW - gzip -d -c "$WINETRICKS_CACHE"/gdb-7.0-2-mingw32-bin.tar.gz | tar x -} - -#---------------------------------------------------------------- - load_mono20() { # Load Mono, have it handle all .net requests download . ftp://ftp.novell.com/pub/mono/archive/2.0.1/windows-installer/1/mono-2.0.1-gtksharp-2.10.4-win32-1.exe ccb67ac41b59522846e47d0c423836b9d334c088 + # Anyone know how to get it to do a silent install? try $WINE "$WINETRICKS_CACHE"/mono-2.0.1-gtksharp-2.10.4-win32-1.exe $WINETRICKS_SILENT cat > "$WINETRICKS_TMP"/mono_2.0.reg <<_EOF_ @@ -1960,7 +1446,7 @@ REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\policy\v2.0] "4322"="3706-4322" _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\mono_2.0.reg + try $WINE regedit "$WINETRICKS_TMP"/mono_2.0.reg rm -f "$WINETRICKS_TMP"/mono_2.0.reg } @@ -1982,7 +1468,7 @@ REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\policy\v2.0] "4322"="3706-4322" _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\mono_2.0.reg + try $WINE regedit "$WINETRICKS_TMP"/mono_2.0.reg rm -f "$WINETRICKS_TMP"/mono_2.0.reg } @@ -2004,29 +1490,18 @@ REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\policy\v2.0] "4322"="3706-4322" _EOF_ - try_regedit "$WINETRICKS_TMP_WIN"\\mono_2.0.reg + try $WINE regedit "$WINETRICKS_TMP"/mono_2.0.reg rm -f "$WINETRICKS_TMP"/mono_2.0.reg } #---------------------------------------------------------------- -load_mozillabuild() { - download . http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.4.exe - try $WINE "$WINETRICKS_CACHE"/MozillaBuildSetup-1.4.exe $WINETRICKS_S -} - -#---------------------------------------------------------------- - load_mpc() { - download . $SOURCEFORGE/guliverkli2/Media%20Player%20Classic/6.4.9.1/mplayerc_20090706.zip 9b8e06a3997a786dccfb5739e0cc1a34f17905b6 - mkdir -p "$programfilesdir_unix/Media Player Classic" - cd "$programfilesdir_unix/Media Player Classic" - try unzip "$WINETRICKS_CACHE"/mplayerc_20090706.zip - - append_path "$programfilesdir_win"'\\Media Player Classic' - + download . $SOURCEFORGE/guliverkli2/mplayerc_20080414.zip bc9f922d7151e7cc7fef429b085cf208ef989bab + cd "$WINEPREFIX"/drive_c + try unzip "$WINETRICKS_CACHE"/mplayerc_20080414.zip cd "$olddir" - warn "MPC now available as $programfilesdir_win\Media Player Classic\mplayerc.exe" + echo MPC now available as c:/mplayerc.exe } #---------------------------------------------------------------- @@ -2087,15 +1562,6 @@ load_msmask() { #---------------------------------------------------------------- -load_mspaint() { - # http://helpforlinux.blogspot.com/2008/12/run-ms-paint-in-linux.html - download . http://download.microsoft.com/download/winntwks40/paint/1/nt4/en-us/paintnt.exe a22c4e367ef9d2cd23f0a8ae8d9ebff5bc1e8a0b - try unzip "$WINETRICKS_CACHE"/paintnt.exe -d "$WINDIR" - warn "Paint is now installed to $WINDIR/MSPAINT.EXE" -} - -#---------------------------------------------------------------- - load_msscript() { # http://msdn.microsoft.com/scripting/scriptcontrol/x86/sct10en.exe # http://www.microsoft.com/downloads/details.aspx?familyid=d7e31492-2595-49e6-8c02-1426fec693ac @@ -2120,20 +1586,23 @@ load_msxml3() { #---------------------------------------------------------------- load_msxml4() { - # If this is just a dependency check, don't re-install - if test $PACKAGE != msxml4 && test -f "$WINDIR"/system32/msxml4.dll + if test ! -f "$WINETRICKS_CACHE"/msxml4.msi then - echo "prerequisite msxml4 already installed, skipping" - return - fi - # MS06-071: http://www.microsoft.com/downloads/details.aspx?familyid=24B7D141-6CDF-4FC4-A91B-6F18FE6921D4 - # download . http://download.microsoft.com/download/e/2/e/e2e92e52-210b-4774-8cd9-3a7a0130141d/msxml4-KB927978-enu.exe d364f9fe80c3965e79f6f64609fc253dfeb69c25 - # MS07-042: http://www.microsoft.com/downloads/details.aspx?FamilyId=021E12F5-CB46-43DF-A2B8-185639BA2807 - # download . http://download.microsoft.com/download/9/4/2/9422e6b6-08ee-49cb-9f05-6c6ee755389e/msxml4-KB936181-enu.exe 73d75d7b41f8a3d49f272e74d4f73bb5e82f1acf - # SP3 (2009): http://www.microsoft.com/downloads/details.aspx?familyid=7F6C0CB4-7A5E-4790-A7CF-9E139E6819C0 - download msxml4sp3 http://download.microsoft.com/download/A/2/D/A2D8587D-0027-4217-9DAD-38AFDB0A177E/msxml.msi aa70c5c1a7a069af824947bcda1d9893a895318b + # MS06-071: http://www.microsoft.com/downloads/details.aspx?familyid=24B7D141-6CDF-4FC4-A91B-6F18FE6921D4 + # download . http://download.microsoft.com/download/e/2/e/e2e92e52-210b-4774-8cd9-3a7a0130141d/msxml4-KB927978-enu.exe d364f9fe80c3965e79f6f64609fc253dfeb69c25 + # MS07-042: http://www.microsoft.com/downloads/details.aspx?FamilyId=021E12F5-CB46-43DF-A2B8-185639BA2807 + download . http://download.microsoft.com/download/9/4/2/9422e6b6-08ee-49cb-9f05-6c6ee755389e/msxml4-KB936181-enu.exe 73d75d7b41f8a3d49f272e74d4f73bb5e82f1acf + rm -rf "$WINETRICKS_TMP"/* - try $WINE msiexec /i "$WINETRICKS_CACHE"/msxml4sp3/msxml.msi $WINETRICKS_QUIET + try $WINE "$WINETRICKS_CACHE"/msxml4-KB936181-enu.exe "/x:`$WINE winepath -w "$WINETRICKS_TMP"`" $WINETRICKS_QUIET + if test ! -f "$WINETRICKS_TMP"/msxml.msi + then + die msxml.msi not found + fi + mv "$WINETRICKS_TMP"/msxml.msi "$WINETRICKS_CACHE"/msxml4.msi + fi + + try $WINE msiexec /i "$WINETRICKS_CACHE"/msxml4.msi $WINETRICKS_QUIET } #---------------------------------------------------------------- @@ -2209,7 +1678,7 @@ load_openwatcom() { else try $WINE "$WINETRICKS_CACHE"/open-watcom-c-win32-1.8.exe fi - if test ! -f "$DRIVE_C"/WATCOM/binnt/wcc.exe + if test ! -f "$WINEPREFIX"/drive_c/WATCOM/binnt/wcc.exe then warn "c:/watcom/binnt/wcc.exe not found; you probably didn't select 16 bit tools, and won't be able to buld win16test" fi @@ -2227,72 +1696,46 @@ load_pdh() { #---------------------------------------------------------------- -load_physx() -{ - # http://www.nvidia.com/object/physx_9.09.0814.html - download . http://us.download.nvidia.com/Windows/9.09.0814/PhysX_9.09.0814_SystemSoftware.exe e19f7c3385a4a68e7acb85301bb4d2d0d1eaa1e2 - try $WINE "$WINETRICKS_CACHE"/PhysX_9.09.0814_SystemSoftware.exe $WINETRICKS_QUIET -} - -#---------------------------------------------------------------- - load_psdk2003() { - load_vcrun6 - - # Note: aborts on 64 bit windows with dialog saying "don't run on WoW" - # http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb - download psdk2003 http://download.microsoft.com/download/f/a/d/fad9efde-8627-4e7a-8812-c351ba099151/PSDK-x86.exe 5c7dc2e1eb902b376d7797cc383fefdfc64ff9c9 - echo "This can take up to an hour." - cd "$WINETRICKS_CACHE"/psdk2003 - try $WINE PSDK-x86.exe - cd "$olddir" + # Note: aborts on 64 bit windows with dialog saying "don't run on WoW" + # http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb + download psdk2003 http://download.microsoft.com/download/f/a/d/fad9efde-8627-4e7a-8812-c351ba099151/PSDK-x86.exe 5c7dc2e1eb902b376d7797cc383fefdfc64ff9c9 + echo "This takes about an hour, and fails at the end, but enough is installed to be useful, I hope. See http://bugs.winehq.org/show_bug.cgi?id=19673" + try $WINE "$WINETRICKS_CACHE"/psdk2003/PSDK-x86 } #---------------------------------------------------------------- load_psdkvista() { - # http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb - warn "Vista SDK doesn't work yet as of wine-1.1.28" - load_dotnet20 - download psdkvista download.microsoft.com/download/c/a/1/ca145d10-e254-475c-85f9-1439f4cd2a9e/Setup.exe 756c21a7fc9b831f7200f3f44ae55cc7689e8063 - #chmod +x "$WINETRICKS_CACHE"/psdkvista/Setup.exe - cd "$WINETRICKS_CACHE"/psdkvista - try $WINE Setup.exe - cd "$olddir" + # http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb + warn "Vista SDK doesn't work yet as of wine-1.1.28" + load_dotnet20 + download psdkvista download.microsoft.com/download/c/a/1/ca145d10-e254-475c-85f9-1439f4cd2a9e/Setup.exe 756c21a7fc9b831f7200f3f44ae55cc7689e8063 + #chmod +x "$WINETRICKS_CACHE"/psdkvista/Setup.exe + cd "$WINETRICKS_CACHE"/psdkvista + try $WINE Setup.exe + cd "$olddir" } #---------------------------------------------------------------- load_psdkwin7() { - # http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en - warn "When given a choice, select only C++ compilers and headers, the other options don't work yet." - load_vcrun6 - load_vcrun2008 - load_dotnet20 - - # don't have a working unattended recipe. Maybe we'll have to - # do an autohotkey script until msft gets its act together: - # http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/c053b616-7d5b-405d-9841-ec465a8e21d5 - download psdkwin7 http://download.microsoft.com/download/7/A/B/7ABD2203-C472-4036-8BA0-E505528CCCB7/winsdk_web.exe a01dcc67a38f461e80ea649edf1353f306582507 - cd "$WINETRICKS_CACHE"/psdkwin7 - try $WINE winsdk_web.exe - cd "$olddir" + # http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en + warn "Windows 7 SDK doesn't work yet as of wine-1.1.28" + load_vcrun2008 load_dotnet20 + download psdkwin7 http://download.microsoft.com/download/7/A/B/7ABD2203-C472-4036-8BA0-E505528CCCB7/winsdk_web.exe a01dcc67a38f461e80ea649edf1353f306582507 + #chmod +x "$WINETRICKS_CACHE"/psdkwin7/winsdk_web.exe + cd "$WINETRICKS_CACHE"/psdkwin7 + try $WINE winsdk_web.exe + cd "$olddir" } #---------------------------------------------------------------- load_python26() { - - # If this is just a dependency check, don't re-install - if test $PACKAGE != python26 && test -f "$WINEPREFIX"/drive_c/Python26/python.exe - then - echo "prerequisite python26 already installed, skipping" - return - fi - download . http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi 2d1503b0e8b7e4c72a276d4d9027cf4856b208b8 download . $SOURCEFORGE/project/pywin32/pywin32/Build%20214/pywin32-214.win32-py2.6.exe eca58f29b810d8e3e7951277ebb3e35ac35794a3 cd "$WINETRICKS_CACHE" @@ -2304,20 +1747,6 @@ load_python26() { #---------------------------------------------------------------- -load_python_comtypes() { - - load_python26 - - download . $SOURCEFORGE/project/comtypes/comtypes/0.6.1/comtypes-0.6.1-1.zip 814318cdae0ab2471a9cd500847bf12f4df9a57c - cd "$WINETRICKS_CACHE" - try unzip comtypes-0.6.1-1.zip - cd comtypes-0.6.1 - try $WINE "C:\Python26\python.exe" setup.py install - cd "$olddir" -} - -#---------------------------------------------------------------- - load_quicktime72() { echo "Quicktime needs gdiplus..." load_gdiplus @@ -2350,12 +1779,6 @@ load_quicktime72() { #---------------------------------------------------------------- volnum() { - case "$OS" in - "Windows_NT") - return - ;; - esac - # Recent Microsoft installers are often based on "windows package manager", see # http://support.microsoft.com/kb/262841 and # http://www.microsoft.com/technet/prodtechnol/windowsserver2003/deployment/winupdte.mspx @@ -2407,24 +1830,14 @@ load_riched30() { #---------------------------------------------------------------- -load_richtx32() { - download . http://activex.microsoft.com/controls/vb6/richtx32.cab da404b566df3ad74fe687c39404a36c3e7cadc07 - try cabextract "$WINETRICKS_CACHE"/richtx32.cab -d "$WINDIR"/system32 -F RichTx32.Ocx - try $WINE regsvr32 RichTx32.ocx -} - -#---------------------------------------------------------------- - load_shockwave() { # Not silent enough, use msi instead #download . http://fpdownload.macromedia.com/get/shockwave/default/english/win95nt/latest/Shockwave_Installer_Full.exe 840e34e9b067cf247bfa9092665b8966158f38e3 #try $WINE "$WINETRICKS_CACHE"/Shockwave_Installer_Full.exe $WINETRICKS_S # old sha1sum: 6a91a9da4b54c3fdc97130a15e1a173117e5f4ff # 2009-07-31 sha1sum: 0bb506ef67a268e8d3fb6c7ce556320ee10b9da5 - # 2009-12-13 sha1sum: d35649883bf13cb1a86f5650e1050d15533ac0f4 - # 2010-01-23 sha1sum: 4a837d238c28c5f345d73f105711f20c6d059273 - - download . http://fpdownload.macromedia.com/get/shockwave/default/english/win95nt/latest/sw_lic_full_installer.msi 4a837d238c28c5f345d73f105711f20c6d059273 + + download . http://fpdownload.macromedia.com/get/shockwave/default/english/win95nt/latest/sw_lic_full_installer.msi 0bb506ef67a268e8d3fb6c7ce556320ee10b9da5 try $WINE msiexec /i "$WINETRICKS_CACHE"/sw_lic_full_installer.msi $WINETRICKS_QUIET } @@ -2453,14 +1866,6 @@ load_urlmon() { override_dlls native,builtin urlmon } -load_usp10() { - # http://www.microsoft.com/downloads/details.aspx?familyid=cebbacd8-c094-4255-b702-de3bb768148f - download . http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XMe/EN-US/InstMsiA.exe e739c40d747e7c27aacdb07b50925b1635ee7366 - try cabextract --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/InstMsiA.exe - try cp -f "$WINETRICKS_TMP"/usp10.dll "$WINDIR"/system32 - override_dlls native,builtin usp10 -} - #---------------------------------------------------------------- load_vb2run() { @@ -2503,32 +1908,9 @@ load_vbvm50() { #---------------------------------------------------------------- load_vbrun60() { - if test ! -f "$WINETRICKS_CACHE"/vbrun60sp6.exe - then - download . http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe 73ef177008005675134d2f02c6f580515ab0d842 - rm -rf "$WINETRICKS_TMP"/* - - try $WINE "$WINETRICKS_CACHE"/VB6.0-KB290887-X86.exe "/T:$winetricks_tmp_win" /c $WINETRICKS_QUIET - if test ! -f "$WINETRICKS_TMP"/vbrun60sp6.exe - then - die vbrun60sp6.exe not found - fi - try mv "$WINETRICKS_TMP"/vbrun60sp6.exe "$WINETRICKS_CACHE" - fi - - # Delete some fake DLLs to ensure that the installer overwrites them. - rm -f "$WINDIR"/system32/comcat.dll - rm -f "$WINDIR"/system32/oleaut32.dll - rm -f "$WINDIR"/system32/olepro32.dll - rm -f "$WINDIR"/system32/stdole2.tlb + download . http://download.microsoft.com/download/vb60pro/install/6/win98me/en-us/vbrun60.exe 2dc00e5fc701492bcba7ac58f057ee43751e18e5 # Exits with status 43 for some reason? - $WINE "$WINETRICKS_CACHE"/vbrun60sp6.exe $WINETRICKS_QUIET - - status=$? - case $status in - 0|43) ;; - *) die $PACKAGE installation failed - esac + $WINE "$WINETRICKS_CACHE"/vbrun60.exe $WINETRICKS_QUIET || true } #---------------------------------------------------------------- @@ -2548,7 +1930,7 @@ load_vcrun6() { download . http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe 382c8f5a7f41189af8d4165cf441f274b7e2a457 rm -rf "$WINETRICKS_TMP"/* - try $WINE "$WINETRICKS_CACHE"/vc6redistsetup_enu.exe "/T:$winetricks_tmp_win" /c $WINETRICKS_QUIET + try $WINE "$WINETRICKS_CACHE"/vc6redistsetup_enu.exe "/T:`$WINE winepath -w "$WINETRICKS_TMP"`" /c $WINETRICKS_QUIET if test ! -f "$WINETRICKS_TMP"/vcredist.exe then die vcredist.exe not found @@ -2556,23 +1938,19 @@ load_vcrun6() { mv "$WINETRICKS_TMP"/vcredist.exe "$WINETRICKS_CACHE" fi # Delete some fake dlls to avoid vcredist installer warnings - rm -f "$WINDIR"/system32/comcat.dll rm -f "$WINDIR"/system32/msvcrt.dll rm -f "$WINDIR"/system32/oleaut32.dll rm -f "$WINDIR"/system32/olepro32.dll - rm -f "$WINDIR"/system32/stdole2.tlb # vcredist still exits with status 43. Anyone know why? - $WINE "$WINETRICKS_CACHE"/vcredist.exe - - status=$? - case $status in - 0|43) ;; - *) die $PACKAGE installation failed - esac + $WINE "$WINETRICKS_CACHE"/vcredist.exe || true # And then some apps need mfc42u.dll, dunno what right way # is to get it, vcredist doesn't install it by default? - try cabextract "$WINETRICKS_CACHE"/vcredist.exe -d "$WINDIR"/system32/ -F mfc42u.dll + cd "$WINETRICKS_TMP"/ + rm -rf "$WINETRICKS_TMP"/* + try cabextract "$WINETRICKS_CACHE"/vcredist.exe + mv mfc42u.dll "$WINDIR"/system32/ + cd "$olddir" override_dlls native,builtin msvcrt @@ -2580,42 +1958,6 @@ load_vcrun6() { #---------------------------------------------------------------- -load_vcrun6sp6() { - if test ! -f vcredistsp6.exe - then - download . http://download.microsoft.com/download/1/9/f/19fe4660-5792-4683-99e0-8d48c22eed74/Vs6sp6.exe 2292437a8967349261c810ae8b456592eeb76620 - - # No EULA is presented when passing command-line extraction arguments, - # so we'll simplify extraction with cabextract. We'll also try to avoid - # overwriting the older vcrun6 redist by renaming the extracted file. - try cabextract "$WINETRICKS_CACHE"/Vs6sp6.exe -d "$WINETRICKS_TMP" -F vcredist.exe - try mv "$WINETRICKS_TMP"/vcredist.exe "$WINETRICKS_CACHE"/vcredistsp6.exe - fi - - # Delete some fake dlls to avoid vcredist installer warnings - try rm -f "$WINDIR"/system32/comcat.dll - try rm -f "$WINDIR"/system32/msvcrt.dll - try rm -f "$WINDIR"/system32/oleaut32.dll - try rm -f "$WINDIR"/system32/olepro32.dll - try rm -f "$WINDIR"/system32/stdole2.tlb - # vcredist still exits with status 43. Anyone know why? - $WINE "$WINETRICKS_CACHE"/vcredistsp6.exe - - status=$? - case $status in - 0|43) ;; - *) die $PACKAGE installation failed - esac - - # And then some apps need mfc42u.dll, dunno what right way - # is to get it, vcredist doesn't install it by default? - try cabextract "$WINETRICKS_CACHE"/vcredistsp6.exe -d "$WINDIR"/system32/ -F mfc42u.dll - - override_dlls native,builtin msvcrt -} - -#---------------------------------------------------------------- - load_vcrun2003() { # Load the Visual C++ 2003 runtime libraries # Sadly, I know of no Microsoft URL for these @@ -2639,22 +1981,12 @@ load_vcrun2005() { return fi download vcrun2005-ms09-035 http://download.microsoft.com/download/6/B/B/6BB661D6-A8AE-4819-B79F-236472F6070C/vcredist_x86.exe e052789ebad7dc8d6f8505a9295b0576babd125e - cd "$WINETRICKS_CACHE" - cd vcrun2005-ms09-035 - try $WINE vcredist_x86.exe $WINETRICKS_QUIET - cd "$olddir" + try $WINE "$WINETRICKS_CACHE"/vcrun2005-ms09-035/vcredist_x86.exe $WINETRICKS_QUIET } #---------------------------------------------------------------- load_vcrun2008() { - # For the moment, assume windows already has this. - case "$OS" in - "Windows_NT") - return - ;; - esac - # Work around bug 5351 (http://bugs.winehq.org/show_bug.cgi?id=5351). In recent # wine (>= 1.1.7) the bug is fixed. The workaround doesn't hurt anything, and lets # installer work on older Wine (e.g., the stabe 1.0.1). @@ -2690,27 +2022,8 @@ load_vjrun20() { #---------------------------------------------------------------- -load_vc2003toolkit() -{ - # http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-vc/2679/ANN-Microsoft-Visual-C-Toolkit-2003 - #download . http://download.microsoft.com/download/3/9/b/39bac755-0a1e-4d0b-b72c-3a158b7444c4/VCToolkitSetup.exe 956c81c3106b97042c4126b23c81885c4b5211f4 - # I'm going to link to this for now even though it's not straight from microsoft - # because it's a developer tool rather than a runtime, and - # I'm in the middle of trying to get lots of open source windows - # apps to build on Wine; see http://wiki.winehq.org/UnitTestSuites - # (Plus the sha1sum, which I still have from a copy straight from microsoft, - # protects us somewhat against corrupted copies.) - download . http://npg.dl.ac.uk/MIDAS/MIDAS_Release/VCToolkitSetup.exe 956c81c3106b97042c4126b23c81885c4b5211f4 - cd "$WINETRICKS_CACHE" - try $WINE VCToolkitSetup.exe - cd "$olddir" -} - -#---------------------------------------------------------------- - load_vc2005express() { - # Currently broken in wine, see http://bugs.winehq.org/show_bug.cgi?id=21010 # Thanks to http://blogs.msdn.com/astebner/articles/551674.aspx for the recipe load_dotnet20 load_msxml6 @@ -2741,10 +2054,9 @@ load_vc2005express() rm -rf vc2005express.tmp || true else warn "Don't forget to install the IDE, or mt.exe won't be installed" - cd "$WINETRICKS_CACHE"/vc2005express - try $WINE vcsetup.exe - # The interactive installer seems to be asynchronous, so wait until one of the last files is created - while test ! -f "$programfilesdir_unix/Microsoft Visual Studio 8/Common7/Tools/vsvars32.bat" + try $WINE "$WINETRICKS_CACHE"/vc2005express/vcsetup.exe + # The interactive installer seems to be asynchronous, so wait until its log file directory is created + while test ! -d "$programfilesdir_unix/Microsoft Visual Studio 8/Microsoft Visual C++ 2005 Express Edition - ENU/Logs" do echo "Waiting for install to finish..." sleep 10 @@ -2755,140 +2067,28 @@ load_vc2005express() #---------------------------------------------------------------- -load_vc2005expresssp1() -{ - warn "$PACKAGE does not work yet" - if test ! -f "$programfilesdir_unix/Microsoft Visual Studio 8/Common7/Tools/vsvars32.bat" - then - die "install vc2005express first (this verb will be merged into that once it's debugged)" - fi - - # http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E - download vc2005express download.microsoft.com/download/7/7/3/7737290f-98e8-45bf-9075-85cc6ae34bf1/VS80sp1-KB926748-X86-INTL.exe 8b9a0172efad64774aa122f29e093ad2043b308d - try $WINE "$WINETRICKS_CACHE"/vc2005express/VS80sp1-KB926748-X86-INTL.exe -} - -load_vcdmount() -{ - if test "$WINE" != "" - then - return - fi - - # Call only on real Windows. - # Sets VCD_DIR and ISO_MOUNT_ROOT - - # The only free mount tool I know for Windows Vista is Virtual CloneDrive, - # which can be downloaded at - # http://www.slysoft.com/en/virtual-clonedrive.html - # FIXME: actually install it here - - # Locate vcdmount.exe. - VCD_DIR="Elaborate Bytes/VirtualCloneDrive" - if test ! -x "$programfilesdir_unix/$VCD_DIR/vcdmount.exe" && test ! -x "$programfilesdir_x86_unix/$VCD_DIR/vcdmount.exe" - then - warn "Installing Virtual CloneDrive" - download . http://static.slysoft.com/SetupVirtualCloneDrive.exe - # have to use cmd else vista won't let cygwin run .exe's? - chmod +x "$WINETRICKS_CACHE"/SetupVirtualCloneDrive.exe - cd "$WINETRICKS_CACHE" - cmd /c SetupVirtualCloneDrive.exe - cd "$olddir" - fi - if test -x "$programfilesdir_unix/$VCD_DIR/vcdmount.exe" - then - VCD_DIR="$programfilesdir_unix/$VCD_DIR" - elif test -x "$programfilesdir_x86_unix/$VCD_DIR/vcdmount.exe" - then - VCD_DIR="$programfilesdir_x86_unix/$VCD_DIR" - else - die "can't find Virtual CloneDrive?" - fi - - # FIXME: Use WMI to locate the drive named - # "ELBY CLONEDRIVE..." using WMI as described in - # http://delphihaven.wordpress.com/2009/07/05/using-wmi-to-get-a-drive-friendly-name/ - # For now, you just have to hardcode it for your system :-( - warn "You probably need to edit the script to tell it which drive VirtualCloneDrive picked" - for letter in e f g h - do - ISO_MOUNT_ROOT=/cygdrive/$letter - test -d $ISO_MOUNT_ROOT || break - done - test -d $ISO_MOUNT_ROOT && die "cannot find the VirtualCloneDrive" -} - -iso_mount() -{ - my_img="$1" - - if test "$WINE" = "" - then - load_vcdmount - my_img_win="`$XXXPATH -w $my_img | tr '\012' ' ' | sed 's/ $//'`" - cd "$VCD_DIR" - try vcdmount.exe /l=$letter "$my_img_win" - cd "$olddir" - while ! test -d "$ISO_MOUNT_ROOT" - do - echo "Waiting for mount to finish" - sleep 1 - done - else - # Linux - case "$GUI-$DE" in - 1-gnome) - try gksudo "mkdir -p $ISO_MOUNT_ROOT" - try gksudo "mount -o ro,loop $my_img $ISO_MOUNT_ROOT" - ;; - *) - try sudo mkdir -p $ISO_MOUNT_ROOT - try sudo mount -o ro,loop "$my_img" $ISO_MOUNT_ROOT - ;; - esac - fi -} - -iso_umount() -{ - if test "$WINE" = "" - then - # Windows - load_vcdmount - cd "$VCD_DIR" - vcdmount /u - cd "$olddir" - else - case "$GUI-$DE" in - 1-gnome) - gksudo "umount $ISO_MOUNT_ROOT" - try gksudo "rm -rf $ISO_MOUNT_ROOT" - ;; - *) - sudo umount $ISO_MOUNT_ROOT - try sudo rm -rf $ISO_MOUNT_ROOT - ;; - esac - fi -} - -#---------------------------------------------------------------- - load_vc2005trial() { load_vcrun6 load_dotnet20 load_msxml6 - load_vcdmount - warn "Downloading/checksumming Visual C++ 2005 Trial. This will take some time!" - download vc2005trial http://download.microsoft.com/download/6/f/5/6f5f7a01-50bb-422d-8742-c099c8896969/En_vs_2005_vsts_180_Trial.img f66ae07618d67e693ca0524d3582208c20e07823 + echo "Downloading/checksumming Visual C++ 2005 Trial. This will take some time!" + download vc2005trial http://download.microsoft.com/download/6/f/5/6f5f7a01-50bb-422d-8742-c099c8896969/En_vs_2005_vsts_180_Trial.img 0204bce1dacfa15b45052647139b35e31e9e36ee - iso_umount - iso_mount "$WINETRICKS_CACHE"/vc2005trial/En_vs_2005_vsts_180_Trial.img - - # FIXME: do this right - rm -f /cygdrive/c/Users/$USER/AppData/local/temp/dd_vsinstall80.txt + # FIXME: linux-specific + IMG="$WINETRICKS_CACHE"/vc2005trial/En_vs_2005_vsts_180_Trial.img + warn "Mounting Visual Studio 2005 Trial disk image..." + case "$GUI-$DE" in + gnome) + 1-gksudo "mkdir -p /mnt/winetricks/vc2005trial" + 1-gksudo "mount -o ro,loop $IMG /mnt/winetricks/vc2005trial" + ;; + *) + sudo mkdir -p /mnt/winetricks/vc2005trial + sudo mount -o ro,loop $IMG /mnt/winetricks/vc2005trial + ;; + esac if false && [ $WINETRICKS_QUIET ] then @@ -2896,197 +2096,24 @@ load_vc2005trial() # See also http://support.microsoft.com/?kbid=913445 die "not implemented yet" else - try cd "$ISO_MOUNT_ROOT/vs/Setup" - try $WINE setup.exe - - # FIXME: unify these and make the windows one right - if test "$WINE" = "" - then - while ! tr -d '\000' < "$TEMP"/dd_vsinstall80.txt | grep End_Session - do - sleep 10 - echo waiting for setup to finish - done - else - while ps $psargs | grep -q setup.exe - do - sleep 10 - echo waiting for setup to finish - done - fi - cd "$olddir" + try $WINE /mnt/winetricks/vc2005trial/vs/setup/setup.exe + while ps | grep -q setup.exe + do + sleep 10 + echo waiting for setup to finish + done fi - iso_umount -} - -#---------------------------------------------------------------- - -load_vc2005sp1() -{ - if test ! -f "$programfilesdir_unix/Microsoft Visual Studio 8/Common7/Tools/vsvars32.bat" - then - die "install vc2005trial first (this verb will be merged into that once it's debugged)" - fi - - # http://www.microsoft.com/downloads/details.aspx?FamilyID=bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc - download vc2005sp1 http://download.microsoft.com/download/6/3/c/63c69e5d-74c9-48ea-b905-30ac3831f288/VS80sp1-KB926601-X86-ENU.exe d4b5c73253a7a4f5b4b389f41b94fea4a7247b57 - # http://www.microsoft.com/downloads/details.aspx?FamilyID=7c8729dc-06a2-4538-a90d-ff9464dc0197 - download vc2005sp1 http://download.microsoft.com/download/D/2/3/D23F9F62-3DEE-4EC0-B3B9-D64E9F573D1F/VS80sp1-KB971090-X86-INTL.exe - cd "$WINETRICKS_CACHE"/vc2005sp1 - try $WINE VS80sp1-KB926601-X86-ENU.exe - try $WINE VS80sp1-KB971090-X86-INTL.exe - cd "$olddir" -} - -#---------------------------------------------------------------- - -load_one_hotfix() -{ - kb=$1 - downloadid=$2 - downloadfile=$3 - hotfix=$4 - - cd "$WINETRICKS_CACHE/vs2005hotfixes" - if test ! -f $downloadfile - then - case "$OS" in - "Windows_NT") - $WINE cygstart "https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=$downloadid" ;; - *) # fails for chrome, see http://crbug.com/32800 - xdg-open "https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=$downloadid" ;; - esac - fi - while test ! -f $downloadfile - do - echo "Waiting for you to save $downloadfile in $WINETRICKS_CACHE_WIN/vs2005hotfixes" - sleep 1 - done - if test ! -f $hotfix - then - unzip -o $downloadfile - fi - try $WINE $hotfix - cd "$olddir" -} - -load_vc2005hotfix() -{ - # Loads the hotfixes recommended in http://dev.chromium.org/developers/how-tos/build-instructions-windows#TOC-Additional-free-downloads - warn "This does not work in Wine yet." - if test ! -f "$programfilesdir_unix/Microsoft Visual Studio 8/Common7/Tools/vsvars32.bat" - then - die "install vc2005trial and vc2005sp1 first" - fi - - mkdir -p "$WINETRICKS_CACHE/vs2005hotfixes" - case "$OS" in - "Windows_NT") $WINE cygstart "$WINETRICKS_CACHE_WIN\\vs2005hotfixes" ;; - *) xdg-open "$WINETRICKS_CACHE/vs2005hotfixes" ;; + case "$GUI-$DE" in + gnome) + 1-gksudo "umount /mnt/winetricks/vc2005trial" + 1-gksudo "rm -rf /mnt/winetricks" + ;; + *) + sudo umount /mnt/winetricks/vc2005trial + sudo rm -rf /mnt/winetricks + ;; esac - - load_one_hotfix KB935225 7258 306439_ENU_i386_zip.exe VS80sp1-KB935225-X86-ENU.exe - load_one_hotfix KB947315 11587 341798_ENU_i386_zip.exe VS80sp1-KB947315-X86-ENU.exe - load_one_hotfix KB949009 18623 VS80sp1-KB949009-X86-INTL.exe VS80sp1-KB949009-X86-INTL.exe - load_one_hotfix KB946310 10644 335739_ENU_i386_zip.exe VS80sp1-KB946310-X86-ENU.exe - # KB971090 is part of the sp1 verb, since it can be downloaded normally -} - -#---------------------------------------------------------------- - -save_vc2005_tarball() -{ - # Save just the interesting parts of Visual Studio 2005 (edit to taste). - # Workaround for vc 2005 sp1 and hotfixes not installing on Wine. - # In Windows, do "winetricks vc2005trial vc2005sp1 vc2005hotfix vc2005save", - # then reboot to Linux, grab vc8.tgz from the Windows partition, - # and do "winetricks vc2005trial vc2005load". - tar -C "$programfilesdir_x86_unix" \ - --exclude "Crystal Reports" \ - --exclude "DIA SDK" \ - --exclude "EnterpriseFrameworks" \ - --exclude "Microsoft Visual Studio 2005 Team Suite - ENU" \ - --exclude "ReportViewer" \ - --exclude "SmartDevices" \ - --exclude "Team Tools" \ - --exclude "VB" \ - --exclude "ce" \ - --exclude "Visual Studio Tools for Office" \ - --exclude "Xml" \ - --exclude "sqlserver" \ - -czvf vc8.tgz "Microsoft Visual Studio 8" -} - -load_vc2005_tarball() -{ - tar -C "$programfilesdir_x86_unix" -xzvf vc8.tgz -} - -#---------------------------------------------------------------- - -load_vc2008trial() -{ - load_vcrun6 - load_dotnet20 - load_msxml6 - load_vcdmount - - warn "Visual C++ 2008 Trial does not yet work in Wine, and this recipe isn't quite debugged even in windows yet." - warn "Downloading/checksumming Visual C++ 2008 Trial. This will take some time!" - # http://www.microsoft.com/downloads/details.aspx?FamilyID=83c3a1ec-ed72-4a79-8961-25635db0192b - download vc2008trial http://download.microsoft.com/download/8/1/d/81d3f35e-fa03-485b-953b-ff952e402520/VS2008ProEdition90dayTrialENUX1435622.iso dfb601096f62fd75af6ad62b277be79793f53b56 - - iso_umount - iso_mount "$WINETRICKS_CACHE"/vc2008trial/VS2008ProEdition90dayTrialENUX1435622.iso - - # FIXME: do this right - rm -f /cygdrive/c/Users/$USER/AppData/local/temp/dd_vsinstall80.txt - - if true - then - try cd "$ISO_MOUNT_ROOT/Setup" - try $WINE setup.exe - - # FIXME: unify these and make the windows one right - if test "$WINE" = "" - then - while ! tr -d '\000' < /cygdrive/c/Users/$USER/AppData/local/temp/dd_vsinstall80.txt | grep End_Session - do - sleep 10 - echo waiting for setup to finish - done - else - while ps $psargs | grep -q setup.exe - do - sleep 10 - echo waiting for setup to finish - done - fi - cd "$olddir" - fi - - iso_umount -} - -#---------------------------------------------------------------- - -load_vc2008sp1() -{ - echo pfdu is ${programfilesdir_unix} - echo setting FOO - FOO="${programfilesdir_unix}/Microsoft Visual Studio 9.0/Microsoft Visual Studio 2008 Professional Edition - ENU" - echo FOO set to $FOO - if test ! -d "$FOO" - then - die "install vc2008trial first (this verb will be merged into that once it's debugged)" - fi - - # http://www.microsoft.com/downloads/details.aspx?familyid=FBEE1648-7106-44A7-9649-6D9F6D58056E - download vc2008sp1 http://download.microsoft.com/download/f/6/7/f67fdf05-0586-413f-8231-affbe12f80a8/VS90sp1-KB945140-ENU.exe 91c146dffa96c6d8f9ceb2b5235b04349cf93ed9 - cd "$WINETRICKS_CACHE"/vc2008sp1 - try $WINE VS90sp1-KB945140-ENU.exe - cd "$olddir" } #---------------------------------------------------------------- @@ -3140,8 +2167,8 @@ load_wmp9() { try $WINE "$WINETRICKS_CACHE"/WM9Codecs9x.exe $WINETRICKS_QUIET # Disable WMP's services, since they depend on unimplemented stuff, they trigger the GUI debugger several times - try_regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdr4_2K" - try_regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdralw2k" + try $WINE regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdr4_2K" + try $WINE regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdralw2k" unset_winver } @@ -3158,7 +2185,7 @@ load_wmp10() { # Crashes on exit, but otherwise ok; see http://bugs.winehq.org/show_bug.cgi?id=12633 echo Executing $WINE "$WINETRICKS_CACHE"/MP10Setup.exe $WINETRICKS_QUIET - try $WINE "$WINETRICKS_CACHE"/MP10Setup.exe $WINETRICKS_QUIET + $WINE "$WINETRICKS_CACHE"/MP10Setup.exe $WINETRICKS_QUIET || true # Also install the codecs # See http://www.microsoft.com/downloads/details.aspx?FamilyID=06fcaab7-dcc9-466b-b0c4-04db144bb601 @@ -3167,8 +2194,8 @@ load_wmp10() { try $WINE "$WINETRICKS_CACHE"/WM9Codecs9x.exe $WINETRICKS_QUIET # Disable WMP's services, since they depend on unimplemented stuff, they trigger the GUI debugger several times - try_regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdr4_2K" - try_regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdralw2k" + try $WINE regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdr4_2K" + try $WINE regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdralw2k" unset_winver } @@ -3283,24 +2310,10 @@ x) GUI=1 ;; x-h|x--help|xhelp) usage ; exit 1 ;; esac -case "$OS" in - "Windows_NT") - ;; - *) - # Prevent running with wrong user id. - # It's bad to create files as the wrong user! - die_if_user_not_dirowner "$WINEPREFIX" - die_if_user_not_dirowner "$WINETRICKS_CACHE" - - if [ ! -x "`which "$WINE"`" ] - then - die "Cannot find wine ($WINE)" - fi - - # Create wineprefix if not already there - test -d "$WINEPREFIX" || WINEDLLOVERRIDES=mshtml= $WINE cmd /c echo yes > /dev/null 2>&1 - ;; -esac +# Prevent running with wrong user id. +# It's bad to create files as the wrong user! +die_if_user_not_dirowner "$WINEPREFIX" +die_if_user_not_dirowner "$WINETRICKS_CACHE" mkdir -p "$WINETRICKS_TMP" @@ -3308,26 +2321,22 @@ case $GUI in 1) dogui ; set $todo ;; esac +if [ ! -x "`which "$WINE"`" ] +then + die "Cannot find wine ($WINE)" +fi + +test -d "$WINEPREFIX" || $WINE cmd /c echo yes > /dev/null 2>&1 mkdir -p "$WINETRICKS_CACHE" olddir=`pwd` # Clean up after failed runs, if needed rm -rf "$WINETRICKS_TMP"/* # The folder-name is localized! -programfilesdir_win="`unset WINEDEBUG; WINEDLLOVERRIDES=mshtml= $WINE cmd.exe /c echo "%ProgramFiles%" | tr -d '\015'`" +programfilesdir_win="`unset WINEDEBUG; $WINE cmd.exe /c echo "%ProgramFiles%"`" test x"$programfilesdir_win" != x || die "$WINE cmd.exe /c echo '%ProgramFiles%' returned empty string" -programfilesdir_unix="`unset WINEDEBUG; $XXXPATH -u "$programfilesdir_win" | tr -d '\015' `" +programfilesdir_unix="`unset WINEDEBUG; $WINE winepath -u "$programfilesdir_win"`" test x"$programfilesdir_unix" != x || die "winepath -u $programfilesdir_win returned empty string" -winetricks_tmp_win="`$XXXPATH -w "$WINETRICKS_TMP"`" - -# 64 bit windows has a second directory for program files -programfilesdir_x86_win="${programfilesdir_win} (x86)" -programfilesdir_x86_unix="${programfilesdir_unix} (x86)" -if ! test -d "$programfilesdir_x86_unix" -then - programfilesdir_x86_win="${programfilesdir_win}" - programfilesdir_x86_unix="${programfilesdir_unix}" -fi # (Fixme: get fonts path from SHGetFolderPath # See also http://blogs.msdn.com/oldnewthing/archive/2003/11/03/55532.aspx) @@ -3374,50 +2383,40 @@ do export WINEDEBUG ;; -v) set -x;; - art2kmin|art2k7min) load_art2kmin;; + art2kmin) load_art2kmin;; atmlib) load_atmlib;; - autohotkey|ahk) load_autohotkey;; - cmake) load_cmake;; + ahk|autohotkey) load_autohotkey;; + cc580|comctl32) load_cc580;; comctl32.ocx) load_comctl32ocx;; - comctl32|cc580) load_cc580;; colorprofile) load_colorprofile;; - controlpad|fm20) load_controlpad;; corefonts) load_corefonts;; + controlpad|fm20) load_controlpad;; cygwin) load_cygwin;; d3dx9) load_d3dx9;; - d3dx10) load_d3dx10;; dcom98) load_dcom98;; dinput8) load_dinput8;; dirac|dirac0.8) load_dirac08;; directplay|dxplay|dplay) load_directplay;; - directx9) DIRECTX_WINDOWS=win2k ; load_directx9;; - directx9-beta) DIRECTX_WINDOWS=winxp ; load_directx9;; + directx9) load_directx9;; divx) load_divx;; dotnet1|dotnet11) load_dotnet11; load_fontfix;; - dotnet11sdk) load_dotnet11sdk;; - dotnet2|dotnet20) load_dotnet20;; - dotnet20sdk) load_dotnet20sdk;; - dotnet20sp2) load_dotnet20sp2; load_fontfix;; + dotnet2|dotnet20) load_dotnet20; load_fontfix;; dotnet3|dotnet30) load_dotnet30; load_fontfix;; - dotnet35) load_dotnet35; load_fontfix;; droid) load_droid;; - ffdshow) load_ffdshow;; firefox|firefox3) load_firefox;; + ffdshow) load_ffdshow;; flash) load_flash;; fontfix) load_fontfix;; - fontsmooth-bgr|fs-bgr) load_fs_bgr;; fontsmooth-disable|fs-disable) load_fs_disable;; fontsmooth-gray|fontsmooth-grayscale|fontsmooth-enable|fs-enable) load_fs_grayscale;; fontsmooth-rgb|fs-rgb|fs-cleartype) load_fs_rgb;; + fontsmooth-bgr|fs-bgr) load_fs_bgr;; gdiplus) load_gdiplus;; gecko) load_gecko;; gecko-dbg|geckodbg|gecko_dbg|geckodebug|gecko_debug|gecko-debug) load_gecko_dbg;; - glsl-disable) load_glsl_disable;; - glsl-enable) load_glsl_enable;; hosts) load_hosts;; icodecs) load_icodecs;; ie6) load_ie6;; - ie7) load_ie7;; jet40) load_jet40;; kde) load_kde;; liberation) load_liberation;; @@ -3425,18 +2424,14 @@ do mdac27) load_mdac27;; mdac28) load_mdac28;; mfc40) load_mfc40;; - mingw|mingw-min|mingw_min) load_mingw_min;; - mingw-gdb|mingw_gdb) load_mingw_gdb;; mono19|mono20) load_mono20;; mono22) load_mono22;; mono24) load_mono24;; - mozillabuild) load_mozillabuild;; mpc) load_mpc;; msi2) load_msi2;; mshflxgd) load_mshflxgd;; msls31) load_msls31;; msmask) load_msmask;; - mspaint|paint) load_mspaint;; msscript) load_msscript;; msxml3) load_msxml3;; msxml4) load_msxml4;; @@ -3445,90 +2440,53 @@ do ole2) load_ole2;; openwatcom|watcom) load_openwatcom;; pdh) load_pdh;; - physx) load_physx;; psdk2003) load_psdk2003;; psdkvista) load_psdkvista;; psdkwin7) load_psdkwin7;; python|python26) load_python26;; - python-comtypes|pythoncom|python-com|pythoncomtypes) load_python_comtypes;; quicktime72) load_quicktime72;; riched20) load_riched20;; riched30) load_riched30;; - richtx32) load_richtx32;; shockwave) load_shockwave;; tahoma) load_tahoma;; urlmon) load_urlmon;; - usp10) load_usp10;; vbrun200|vb2run) load_vb2run;; vbrun300|vb3run) load_vb3run;; vbrun400|vb4run) load_vb4run;; vbrun500|vbvm50|vb5run) load_vbvm50;; vbrun600|vbrun60|vb6run) load_vbrun60;; - vc2003toolkit) load_vc2003toolkit;; vc2005express) load_vc2005express;; - vc2005expresssp1) load_vc2005expresssp1;; - vc2005hotfix) load_vc2005hotfix;; - vc2005load) load_vc2005_tarball;; - vc2005save) save_vc2005_tarball;; - vc2005sp1) load_vc2005sp1;; - vc2008sp1) load_vc2008sp1;; vc2005trial) load_vc2005trial;; - vc2008trial) load_vc2008trial;; - vcrun600|vcrun60|vcrun6|mfc42) load_vcrun6;; - vcrun60sp6|vcrun6sp6) load_vcrun6sp6;; + vcrun600|vcrun6|mfc42) load_vcrun6;; vcrun2003) load_vcrun2003;; vcrun2005|vcrun2005sp1) load_vcrun2005;; vcrun2008|vcrun2008sp1) load_vcrun2008;; vjrun20) load_vjrun20;; vlc) load_vlc;; - wenquanyi) load_wenquanyi;; wininet) load_wininet;; wme9) load_wme9;; wmp9) load_wmp9;; wmp10) load_wmp10;; + wenquanyi) load_wenquanyi;; wsh56) load_wsh56;; wsh56js) load_wsh56js;; wsh56vb) load_wsh56vb;; xact|xactengine|x3daudio) load_xact;; xvid) load_xvid;; - allcodecs|allvcodecs) load_vcrun6; load_ffdshow; load_xvid; load_icodecs;; - allfonts) load_corefonts; load_tahoma; load_liberation; load_droid; load_wenquanyi;; - ddr=gdi) set_ddr gdi;; - ddr=opengl) set_ddr opengl;; fakeie6) set_fakeie6;; - heapcheck) set_heapcheck;; - multisampling=enabled|multisampling=on) set_multisampling enabled;; - multisampling=disabled|multisampling=off) set_multisampling disabled;; + allfonts) load_corefonts; load_tahoma; load_liberation; load_droid; load_wenquanyi;; + allvcodecs|allcodecs) load_vcrun6; load_ffdshow; load_xvid; load_icodecs;; + nt40|winver=nt40) set_winver nt40;; + win98|winver=win98) set_winver win98;; + win2k|winver=win2k) set_winver win2k;; + winxp|winver=winxp) set_winver winxp;; + vista|winver=vista) set_winver vista;; + winver=) unset_winver;; native_mdac) set_native_mdac;; native_oleaut32) override_dlls native,builtin oleaut32;; - nocrashdialog) disable_crashdialog;; - orm=backbuffer|backbuffer) set_orm backbuffer;; - orm=fbo|fbo) set_orm fbo;; - orm=pbuffer|pbuffer) set_orm pbuffer;; - rtlm=auto) set_rtlm auto;; - rtlm=disabled) set_rtlm disabled;; - rtlm=readdraw) set_rtlm readdraw;; - rtlm=readtex) set_rtlm readtex;; - rtlm=texdraw) set_rtlm texdraw;; - rtlm=textex) set_rtlm textex;; - sandbox) sandbox;; - sound=alsa|alsa) set_sound_driver alsa;; - sound=audioio|audioio) set_sound_driver audioio;; - sound=coreaudio|coreaudio) set_sound_driver coreaudio;; - sound=esound|esound) set_sound_driver esound;; - sound=jack|jack) set_sound_driver jack;; - sound=nas|nas) set_sound_driver nas;; - sound=oss|oss) set_sound_driver oss;; - sound=disabled|sound=) set_sound_driver "";; version) print_version;; volnum) volnum;; - winver=nt40|nt40) set_winver nt40;; - winver=win98|win98) set_winver win98;; - winver=win2k|win2k) set_winver win2k;; - winver=winxp|winxp) set_winver winxp;; - winver=vista|vista) set_winver vista;; - winver=) unset_winver;; *) echo Unknown arg $1; usage ; exit 1;; esac # Provide a bit of feedback @@ -3542,7 +2500,4 @@ do rm -rf "$WINETRICKS_TMP"/* done - # remove the temp directory - rm -rf "$WINETRICKS_TMP" - test "$WINETRICKS_QUIET" = "" && echo winetricks done. || true