From d01cae055ea6c684bc1223ff48202dd0972da5597c6f3536da63a05988152f04 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 30 Oct 2016 18:32:58 +0000 Subject: [PATCH] - Updated to 1.9.22 development snapshot - macOS clipboard support adapted to the new design. - Initial implementation of bitmap rendering in Direct2D. - More WebServices implementation. - A few more steps towards HID support. - Various bug fixes. - updated winetricks OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=377 --- wine-1.9.21.tar.bz2 | 3 -- wine-1.9.21.tar.bz2.sign | 16 ------ wine-1.9.22.tar.bz2 | 3 ++ wine-1.9.22.tar.bz2.sign | 16 ++++++ wine.changes | 11 ++++ wine.spec | 4 +- winetricks | 108 ++++++++++++++++++++++++++++++++++----- 7 files changed, 126 insertions(+), 35 deletions(-) delete mode 100644 wine-1.9.21.tar.bz2 delete mode 100644 wine-1.9.21.tar.bz2.sign create mode 100644 wine-1.9.22.tar.bz2 create mode 100644 wine-1.9.22.tar.bz2.sign diff --git a/wine-1.9.21.tar.bz2 b/wine-1.9.21.tar.bz2 deleted file mode 100644 index 3a4e7f0..0000000 --- a/wine-1.9.21.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b6dd027021be9dd646d65bd19c0334c36dcf9403d8ed4a6e9460b6703efade1 -size 23561191 diff --git a/wine-1.9.21.tar.bz2.sign b/wine-1.9.21.tar.bz2.sign deleted file mode 100644 index 51e2303..0000000 --- a/wine-1.9.21.tar.bz2.sign +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIcBAABCAAGBQJYASbtAAoJEM76yOqvF1GdAxcQAJjS1H8P/gON34j1NpaU98z4 -toczEf04DdBJFjye3SkJY7ZE3GLcKjEl5q3n/0Zeg90OQVlZ/Z9FVSt2iXBxHkxB -Bb3n5ZKHcYta1EcfRNPzkloxgRoVycTg5keuJ+fOuqVHxyFp+NUY0VF8Xj/aQzip -FmJwf7kU3foV1ARvSUHbmI8iY8Cw8qJlc55606bMP04S2JrguYCGDRRkWgJLdlrD -I2eNnnjfmrfyDwKbYIC40a9JuROSFrGgGcwDdfJqrPr5wdItCPq7QIEJ4wUPI60T -G4wpVErCXsfi867DtUPdLF/N3eYOvQx9HXZ3FrQGhU4qeJv2F7RvLhxqHHdpW57O -EqOcIZqAvZGPi80l9cAogI9iXBvo2pS8JCbJV9XpdxwX6xfK9NwO1I4jjmeUdALI -54jPjJJlmj8mTxsNmmljs9Xi2Kru/6uZZ0iHwByvk+Af5yjv21DR8/vlrUOSzNUV -N6uy9vCLlTEJhVX/Q5QfZKLmrOgxE8rvysYdrqGRWhHn2IAl5/j3EEemFAJeFYkI -PEbFbw8HBVIGVPyXV19+Nc1kBQZ/Zm0ZxNiYgJ3Fv689CoDGFkL0pQ2oxfKEmtyC -OYOyvD3MiN1jSPWHC555WAPzB5AyZHPpEOhXhayumxyWJu2xnVo6DQRZnFP1HFrA -tJI1+5imrJd5Q2QNfd51 -=neSL ------END PGP SIGNATURE----- diff --git a/wine-1.9.22.tar.bz2 b/wine-1.9.22.tar.bz2 new file mode 100644 index 0000000..1178c73 --- /dev/null +++ b/wine-1.9.22.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3bf8e1ac7c7a742601e4215687c8374dda4050ea64c0fc90fb196645a41ec41 +size 23616095 diff --git a/wine-1.9.22.tar.bz2.sign b/wine-1.9.22.tar.bz2.sign new file mode 100644 index 0000000..fd3521a --- /dev/null +++ b/wine-1.9.22.tar.bz2.sign @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIcBAABCAAGBQJYE5wEAAoJEM76yOqvF1GdxboP/3lDlKNQdsoPP3k7x/SmZqm6 +vUPhgPfSfXuZpcvmn10kdqbCpd+X2WrAWV9JNmhCro8JtPQtovFjPYRG7AsOKRtC +ATrxI+oJI59OwR+1dRmxB3giMZQhXucP+w7W++TGVNDXAdQXDBtGFmvj0ilGiPFp +8Mg+hRTG9MN2L9uSMY8SMJ8Lq+wotPpI5SOsnWKMnOcQTixzZqiIVAZOMeyHOgSY +Y8FqNFPkouSCdP2TnU1yEvfPYYfsaP8ZmNZyN0mDJrjUMjwOEqwXYKsm3jh68gVo +EYMnD7Bf1viKu/1pSt3waEzTi9wBeSQYzqEDIm4fgeRhU60olgheIp9NsXDCsiCy +FVwPsYZaOiIFz5Y8Gp7U2LxKVeLMozZjQzdtndYRwS43FViu37CjnDWItUBMvH3T +SbPsOQiZfch6j4BD+VkUzCB6ji9GHkgeWnZmi2pDW2zkSx+ONbBWKZgwYJ5fZCh4 ++GTvKYkeArxwRC4sHxG6Ky1WkTSrMOCf9iUSJy4XZQfaGo662AFtZPyo8U5+sYtd +2qvY5BiL4IZCrRhaWk1MmJ2+e9Ypm2Sbq1gpwFJcgY5uJuwroWjcEchw5RwN527D +2LvS3R757FWcv4phkKef5uC6C3l+Dj0NHuG+cysTr6DeqKJNmz4SeOhE2DGlQVEF +vqHGsCfaz0Tpwg1dcT+G +=2aG1 +-----END PGP SIGNATURE----- diff --git a/wine.changes b/wine.changes index a2976f6..f62a5c6 100644 --- a/wine.changes +++ b/wine.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Oct 30 18:31:45 UTC 2016 - meissner@suse.com + +- Updated to 1.9.22 development snapshot + - macOS clipboard support adapted to the new design. + - Initial implementation of bitmap rendering in Direct2D. + - More WebServices implementation. + - A few more steps towards HID support. + - Various bug fixes. +- updated winetricks + ------------------------------------------------------------------- Tue Oct 18 21:54:12 UTC 2016 - meissner@suse.com diff --git a/wine.spec b/wine.spec index 9934078..e827c2c 100644 --- a/wine.spec +++ b/wine.spec @@ -53,8 +53,8 @@ BuildRequires: sane-backends-devel BuildRequires: update-desktop-files BuildRequires: valgrind-devel BuildRequires: xorg-x11-devel -%define realver 1.9.21 -Version: 1.9.21 +%define realver 1.9.22 +Version: 1.9.22 Release: 0 Summary: An MS Windows Emulator License: LGPL-2.1+ diff --git a/winetricks b/winetricks index 1a9cba7..c2e4fe5 100644 --- a/winetricks +++ b/winetricks @@ -139,6 +139,7 @@ WINETRICKS_VERSION=20161012 # #-------------------------------------------------------------------- +# FIXME: XDG_CACHE_HOME is defined twice, clean this up XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" @@ -148,7 +149,6 @@ W_PREFIXES_ROOT="${WINE_PREFIXES:-$XDG_DATA_HOME/wineprefixes}" if [ -x "$(which mktemp 2>/dev/null)" ] then W_TMP_EARLY="$(mktemp -d "${TMPDIR:-/tmp}/winetricks.XXXXXXXX")" - W_TMP_EARLY_CLEAN=1 elif [ -w "$TMPDIR" ] then W_TMP_EARLY="$TMPDIR" @@ -693,8 +693,24 @@ winetricks_selfupdate() _W_tmpdir="$(mktemp -d "$_W_tmpdir/$_W_filename.XXXXXXXX")" w_download_to "$_W_tmpdir" https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks - w_try mv "$_W_tmpdir/$_W_filename" "${_W_update_file}.gz" - w_try gunzip "${_W_update_file}.gz" + + # 2016/10/26: now file is uncompressed? Handle both cases: + update_file_type="$(file "$_W_tmpdir/$_W_filename")" + case "$update_file_type" in + *"POSIX shell script"*) + #echo "already decompressed!" + w_try mv "$_W_tmpdir/$_W_filename" "${_W_update_file}" + ;; + *"gzip compressed data"*) + w_try mv "$_W_tmpdir/$_W_filename" "${_W_update_file}.gz" + w_try gunzip "${_W_update_file}.gz" + ;; + *) + echo "Unknown file type: $update_file_type" + exit 1 + ;; + esac + w_try rmdir "$_W_tmpdir" w_try cp "$0" "$_W_rollback_file" @@ -748,7 +764,12 @@ w_download_to() then _W_file=$(basename "$_W_url") fi - _W_cache="$W_CACHE/$_W_packagename" + + if [ -z "${_W_packagename%%/*}" ] && pathchk -P "$_W_packagename" ; then + _W_cache="$_W_packagename" + else + _W_cache="$W_CACHE/$_W_packagename" + fi if test ! -d "$_W_cache" then @@ -2547,7 +2568,39 @@ winetricks_get_platform() fi } -winetricks_print_version() { +winetricks_latest_version_check() +{ + if [ "$WINETRICKS_LATEST_VERSION_CHECK" = 'disabled' ] || [ -f "${WINETRICKS_CONFIG}/disable-latest-version-check" ] ; then + w_info "winetricks latest version check update disabled" + return + fi + + latest_file="${W_TMP_EARLY}/LATEST" + + # Obviously, always redownload: + if [ -e "$latest_file" ] ; then + w_try rm "${latest_file}" + fi + + w_download_to ${W_TMP_EARLY} https://raw.githubusercontent.com/Winetricks/winetricks/master/files/LATEST + + latest_version="$(cat "${latest_file}")" + + if [ ! "$WINETRICKS_VERSION" = "${latest_version}" ] ; then + if [ -f "${WINETRICKS_CONFIG}/enable-auto-update" ] ; then + w_info "You are running winetricks-${WINETRICKS_VERSION}." + w_info "New upstream release winetricks-${latest_version} is available." + w_info "auto-update enabled: running winetricks_selfupdate" + winetricks_selfupdate + else + w_warn "You are running winetricks-${WINETRICKS_VERSION}, latest upstream is winetricks-${latest_version}!" + w_warn "You should update using your distribution's package manager, --self-update, or manually." + fi + fi +} + +winetricks_print_version() +{ # Normally done by winetricks_init, but we don't want to set up the WINEPREFIX # just to get the winetricks version: winetricks_get_sha1sum_prog @@ -4062,8 +4115,8 @@ winetricks_cleanup() fi test "$WINETRICKS_CACHE_SYMLINK" && rm -f "$WINETRICKS_CACHE_SYMLINK" test "$W_OPT_NOCLEAN" = 1 || rm -rf "$WINETRICKS_WORKDIR" - # if $W_TMP_EARLY was created by mktemp, remove it: - test "$W_OPT_NOCLEAN" = 1 || test "$W_TMP_EARLY_CLEAN" = 1 && rm -rf "$W_TMP_EARLY" + # if $W_TMP_EARLY was created by mktemp, remove it (but not if W_OPT_NOCLEAN is set to 1): + test "$W_OPT_NOCLEAN" = 1 || rm -rf "$W_TMP_EARLY" } winetricks_set_unattended() @@ -4311,13 +4364,18 @@ winetricks_init() # Where application installers are cached # See http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html - if test -d "$HOME/Library/Caches" + # OSX: https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html + + if test -d "$HOME/Library" then # OS X XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/Library/Caches}" + XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/Library/Preferences}" else XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" + XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" fi + # shellcheck disable=SC2153 if test "$WINETRICKS_DIR" then @@ -4328,9 +4386,14 @@ winetricks_init() W_CACHE="${W_CACHE:-$XDG_CACHE_HOME/winetricks}" WINETRICKS_POST="${WINETRICKS_POST:-$XDG_DATA_HOME/winetricks/postinstall}" fi - test -d "$W_CACHE" || mkdir -p "$W_CACHE" + WINETRICKS_AUTH="${WINETRICKS_AUTH:-$XDG_DATA_HOME/winetricks/auth}" + # Config options are currently opt-in and not required, so not creating the config + # directory unless there's demand: + WINETRICKS_CONFIG="${XDG_CONFIG_HOME}/winetricks" + #test -d "$WINETRICKS_CONFIG" || mkdir -p "$WINETRICKS_CONFIG" + # System-specific variables case "$W_PLATFORM" in windows_cmd) @@ -4419,6 +4482,8 @@ winetricks_init() WINETRICKS_WINE_MICRO=$(echo $WINETRICKS_WINE_VERSION | sed 's/wine-1.[0-9][0-9]*\.\([0-9]*\).*/\1/') echo "Using winetricks $(winetricks_print_version) with $WINETRICKS_WINE_VERSION" + + winetricks_latest_version_check } winetricks_usage() @@ -6138,10 +6203,13 @@ w_metadata dotnet35 dlls \ load_dotnet35() { case "$W_PLATFORM" in - windows_cmd) ;; - *) w_warn "dotnet35 does not yet fully work or install on wine. Caveat emptor." ;; + windows_cmd) ;; + *) w_warn "dotnet35 does not yet fully work or install on wine. Caveat emptor." ;; esac + # This will fail later if cabextract isn't installed, so check/fail now: + w_try_cabextract -v >/dev/null + # http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6 w_download http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe 0a271bb44531aadef902829f98dfad66e4a57586 @@ -6190,6 +6258,9 @@ load_dotnet35sp1() *) w_warn "dotnet35sp1 does not yet fully work or install on wine. Caveat emptor." ;; esac + # The installer will fail later in dotnet35 if cabextract isn't installed, so check/fail now: + w_try_cabextract -v >/dev/null + # http://www.microsoft.com/download/en/details.aspx?id=25150 w_download http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe 3dce66bae0dd71284ac7a971baed07030a186918 @@ -6303,6 +6374,9 @@ load_dotnet45() w_warn "This package may not work on a 64-bit installation" fi + # The installer will fail later in dotnet35 if cabextract isn't installed, so check/fail now: + w_try_cabextract -v >/dev/null + # http://www.microsoft.com/download/en/details.aspx?id=17718 w_download http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe b2ff712ca0947040ca0b8e9bd7436a3c3524bb5d @@ -6359,6 +6433,9 @@ load_dotnet452() w_warn "This package may not work on a 64-bit installation" fi + # The installer will fail later in dotnet35 if cabextract isn't installed, so check/fail now: + w_try_cabextract -v >/dev/null + # http://www.microsoft.com/download/en/details.aspx?id=17718 w_download http://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe 89f86f9522dc7a8a965facce839abb790a285a63 @@ -10171,16 +10248,16 @@ load_fontxplorer() #---------------------------------------------------------------- w_metadata foobar2000 apps \ - title="foobar2000 v1.3.10" \ + title="foobar2000 v1.3.12" \ publisher="Peter Pawlowski" \ year="2014" \ media="manual_download" \ - file1="foobar2000_v1.3.10.exe" \ + file1="foobar2000_v1.3.12.exe" \ installed_exe1="$W_PROGRAMS_X86_WIN/foobar2000/foobar2000.exe" load_foobar2000() { - w_download_manual http://www.foobar2000.org/download foobar2000_v1.3.10.exe d4d60effc26d3ead48ba6f9c5ad32b9066231807 + w_download_manual http://www.foobar2000.org/download foobar2000_v1.3.12.exe 9ea5c70f662c8bf3db6f02dbb20109fd05580f6c w_try_cd "$W_CACHE/$W_PACKAGE" w_try "$WINE" "$file1" $W_UNATTENDED_SLASH_S } @@ -11513,6 +11590,9 @@ w_metadata vc2008express apps \ load_vc2008express() { + # The installer will fail later in dotnet35 if cabextract isn't installed, so check/fail now: + w_try_cabextract -v >/dev/null + w_call dotnet35 # This is the version without SP1 baked in. (SP1 requires dotnet35sp1, which doesn't work yet.)