SHA256
1
0
forked from pool/wine

- Update to 3.5 development release

- More Vulkan support, including the vulkan-1 loader.
  - Support for RSA and ECDSA cryptographic keys.
  - Improved manifest file parser.
  - Support for the Places toolbar in file dialogs.
  - Various bug fixes.
- updated winetricks
- updated staging to 3.5

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=491
This commit is contained in:
Marcus Meissner 2018-03-30 19:32:30 +00:00 committed by Git OBS Bridge
parent 2a4a112928
commit ec84f2c6d1
5 changed files with 111 additions and 25 deletions

View File

@ -3,7 +3,7 @@
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="url">https://github.com/wine-staging/wine-staging.git</param> <param name="url">https://github.com/wine-staging/wine-staging.git</param>
<param name="revision">refs/tags/v3.4</param> <param name="revision">refs/tags/v3.5</param>
<param name="match-tag">v*.*</param> <param name="match-tag">v*.*</param>
<param name="scm">git</param> <param name="scm">git</param>
</service> </service>
@ -11,7 +11,7 @@
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">wined3d9(.*)</param> <param name="versionrewrite-pattern">wined3d9(.*)</param>
<param name="url">https://github.com/sarnex/wine-d3d9-patches.git</param> <param name="url">https://github.com/sarnex/wine-d3d9-patches.git</param>
<param name="revision">refs/tags/wine-d3d9-3.4</param> <param name="revision">refs/tags/wine-d3d9-3.5</param>
<param name="scm">git</param> <param name="scm">git</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Mar 30 19:31:00 UTC 2018 - meissner@suse.com
- Update to 3.5 development release
- More Vulkan support, including the vulkan-1 loader.
- Support for RSA and ECDSA cryptographic keys.
- Improved manifest file parser.
- Support for the Places toolbar in file dialogs.
- Various bug fixes.
- updated winetricks
- updated staging to 3.5
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 16 19:28:06 UTC 2018 - meissner@suse.com Fri Mar 16 19:28:06 UTC 2018 - meissner@suse.com

View File

@ -101,8 +101,8 @@ BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%define realver 3.4 %define realver 3.5
Version: 3.4 Version: 3.5
Release: 0 Release: 0
Summary: An MS Windows Emulator Summary: An MS Windows Emulator
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -140,7 +140,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64 ppc %arm ExclusiveArch: %{ix86} x86_64 ppc %arm
%if %{staging} %if %{staging}
# upstream patch target version # upstream patch target version
%define staging_version 3.4 %define staging_version 3.5
Source100: wine-staging-%{staging_version}.tar.xz Source100: wine-staging-%{staging_version}.tar.xz
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
BuildRequires: libOSMesa-devel BuildRequires: libOSMesa-devel
@ -148,7 +148,7 @@ BuildRequires: libva-devel
%endif %endif
%if %{nine} %if %{nine}
# upstream patch target version # upstream patch target version
%define nine_version 3.4 %define nine_version 3.5
BuildRequires: Mesa-libd3d-devel BuildRequires: Mesa-libd3d-devel
BuildRequires: dri2proto-devel BuildRequires: dri2proto-devel
BuildRequires: libOSMesa-devel BuildRequires: libOSMesa-devel

View File

@ -4951,6 +4951,11 @@ winetricks_init()
WINETRICKS_CONFIG="${XDG_CONFIG_HOME}/winetricks" WINETRICKS_CONFIG="${XDG_CONFIG_HOME}/winetricks"
#test -d "$WINETRICKS_CONFIG" || mkdir -p "$WINETRICKS_CONFIG" #test -d "$WINETRICKS_CONFIG" || mkdir -p "$WINETRICKS_CONFIG"
# Load country code from config file only when "--country=" option is not specified
if test -z "$W_COUNTRY" -a -f "${WINETRICKS_CONFIG}"/country; then
W_COUNTRY="$(cat "${WINETRICKS_CONFIG}"/country)"
fi
# Pin a task to a single cpu. Helps prevent race conditions. # Pin a task to a single cpu. Helps prevent race conditions.
# #
# Linux/FreeBSD: supported # Linux/FreeBSD: supported
@ -5129,6 +5134,7 @@ Usage: $0 [options] [command|verb|path-to-verb] ...
Executes given verbs. Each verb installs an application or changes a setting. Executes given verbs. Each verb installs an application or changes a setting.
Options: Options:
--country=CC Set country code to CC and don't detect your IP address
--force Don't check whether packages were already installed --force Don't check whether packages were already installed
--gui Show gui diagnostics even when driven by commandline --gui Show gui diagnostics even when driven by commandline
--isolate Install each app or game in its own bottle (WINEPREFIX) --isolate Install each app or game in its own bottle (WINEPREFIX)
@ -5166,6 +5172,7 @@ _EOF_
winetricks_handle_option() winetricks_handle_option()
{ {
case "$1" in case "$1" in
--country=*) W_COUNTRY="${1##--country=}" ;;
--force) WINETRICKS_FORCE=1;; --force) WINETRICKS_FORCE=1;;
--gui) winetricks_detect_gui;; --gui) winetricks_detect_gui;;
-h|--help) winetricks_usage ; exit 0 ;; -h|--help) winetricks_usage ; exit 0 ;;
@ -8212,13 +8219,17 @@ w_metadata kindle apps \
publisher="Amazon" \ publisher="Amazon" \
year="2017" \ year="2017" \
media="download" \ media="download" \
file1="KindleForPC-installer-1.20.47037.exe" \ file1="KindleForPC-installer-1.16.44025.exe" \
installed_exe1="$W_PROGRAMS_WIN/Amazon/Kindle/Kindle.exe" \ installed_exe1="$W_PROGRAMS_WIN/Amazon/Kindle/Kindle.exe" \
homepage="https://www.amazon.com/kindle-dbs/fd/kcp" homepage="https://www.amazon.com/kindle-dbs/fd/kcp"
load_kindle() load_kindle()
{ {
w_download https://s3.amazonaws.com/kindleforpc/47037/KindleForPC-installer-1.20.47037.exe cb20581d3455d458c7ac4bafa5c67dcfc5186c7b35951168efcf5a8263706b47 if w_workaround_wine_bug 43508; then
w_warn "Using an older version of Kindle (1.16.44025) to work around https://bugs.winehq.org/show_bug.cgi?id=43508"
fi
w_download https://s3.amazonaws.com/kindleforpc/44025/KindleForPC-installer-1.16.44025.exe
w_try_cd "$W_CACHE/$W_PACKAGE" w_try_cd "$W_CACHE/$W_PACKAGE"
w_try "$WINE" "$file1" ${W_OPT_UNATTENDED:+ /S} w_try "$WINE" "$file1" ${W_OPT_UNATTENDED:+ /S}
@ -10089,10 +10100,10 @@ load_windowscodecs()
fi fi
# Avoid a file existence check. # Avoid a file existence check.
w_try rm -f "$W_SYSTEM32_DLLS"/windowscodecs.dll "$W_SYSTEM32_DLLS"/windowscodecsext.dll "$W_SYSTEM32_DLLS"/photometadatahandler.dll w_try rm -f "$W_SYSTEM32_DLLS"/windowscodecs.dll "$W_SYSTEM32_DLLS"/windowscodecsext.dll "$W_SYSTEM32_DLLS"/wmphoto.dll "$W_SYSTEM32_DLLS"/photometadatahandler.dll
if [ "$W_ARCH" = "win64" ]; then if [ "$W_ARCH" = "win64" ]; then
w_try rm -f "$W_SYSTEM64_DLLS"/windowscodecs.dll "$W_SYSTEM64_DLLS"/windowscodecsext.dll "$W_SYSTEM64_DLLS"/photometadatahandler.dll w_try rm -f "$W_SYSTEM64_DLLS"/windowscodecs.dll "$W_SYSTEM64_DLLS"/windowscodecsext.dll "$W_SYSTEM64_DLLS"/wmphoto.dll "$W_SYSTEM64_DLLS"/photometadatahandler.dll
fi fi
# AF says in AppDB entry for .NET 3.0 that windowscodecs has to be native only # AF says in AppDB entry for .NET 3.0 that windowscodecs has to be native only
@ -10256,17 +10267,12 @@ load_xact()
w_try_cabextract -d "$W_SYSTEM32_DLLS" -L -F 'xapofx*.dll' "$x" w_try_cabextract -d "$W_SYSTEM32_DLLS" -L -F 'xapofx*.dll' "$x"
done done
if test "$W_ARCH" = "win64" ; then # Don't install 64-bit xact DLLs. They are broken in Wine, see:
w_try_cabextract -d "$W_TMP" -L -F '*_xact_*x64*' "$W_CACHE/directx9/$DIRECTX_NAME" # https://bugs.winehq.org/show_bug.cgi?id=41618#c5
w_try_cabextract -d "$W_TMP" -L -F '*_x3daudio_*x64*' "$W_CACHE/directx9/$DIRECTX_NAME"
w_try_cabextract -d "$W_TMP" -L -F '*_xaudio_*x64*' "$W_CACHE/directx9/$DIRECTX_NAME" w_override_dlls native,builtin xaudio2_0 xaudio2_1 xaudio2_2 xaudio2_3 xaudio2_4 xaudio2_5 xaudio2_6 xaudio2_7
for x in "$W_TMP"/*x64.cab ; do w_override_dlls native,builtin x3daudio1_0 x3daudio1_1 x3daudio1_2 x3daudio1_3 x3daudio1_4 x3daudio1_5 x3daudio1_6 x3daudio1_7
w_try_cabextract -d "$W_SYSTEM64_DLLS" -L -F 'xactengine*.dll' "$x" w_override_dlls native,builtin xapofx1_1 xapofx1_2 xapofx1_3 xapofx1_4 xapofx1_5
w_try_cabextract -d "$W_SYSTEM64_DLLS" -L -F 'xaudio*.dll' "$x"
w_try_cabextract -d "$W_SYSTEM64_DLLS" -L -F 'x3daudio*.dll' "$x"
w_try_cabextract -d "$W_SYSTEM64_DLLS" -L -F 'xapofx*.dll' "$x"
done
fi
# Register xactengine?_?.dll # Register xactengine?_?.dll
for x in "$W_SYSTEM32_DLLS"/xactengine* ; do for x in "$W_SYSTEM32_DLLS"/xactengine* ; do
@ -12250,6 +12256,69 @@ __EOF__
#---------------------------------------------------------------- #----------------------------------------------------------------
w_metadata office2013pro apps \
title="Microsoft Office 2013 Professional" \
publisher="Microsoft" \
year="2013" \
media="download" \
file1="setup.exe" \
installed_file1="$W_PROGRAMS_X86_WIN/Microsoft Office/Office15/WINWORD.EXE"
load_office2013pro()
{
w_package_unsupported_win64
if [ ! -x "$(which ntlm_auth 2>/dev/null)" ]; then
w_die "winbind (part of samba) is required for the installation"
fi
# link from https://www.askvg.com/direct-download-link-microsoft-office-2013-professional-plus-free-trial/
w_download http://care.dlservice.microsoft.com/dl/download/2/9/C/29CC45EF-4CDA-4710-9FB3-1489786570A1/OfficeProfessionalPlus_x86_en-us.img 236f8faae3f979ec72592a63784bba2f0d614916350c44631221b88ae9dae206 "OFFICE15.iso"
w_set_winver win7
w_call corefonts
w_call tahoma
w_call riched20
if w_workaround_wine_bug 43581 "Wine has problems parsing some regex strings during installation"; then
w_call msxml6
fi
if w_workaround_wine_bug 38648 "DirectX < 11 has problems with black window after installation" ,3.0; then
cat > "$W_TMP"/MaxVersionGL.reg <<_EOF_
REGEDIT4
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"MaxVersionGL"=dword:00030002
_EOF_
w_try_regedit "$W_TMP_WIN"\\MaxVersionGL.reg
fi
w_mount OFFICE15
if test $W_OPT_UNATTENDED; then
cat > "$W_TMP"/config.xml <<_EOF_
<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
</Configuration>
_EOF_
w_try "$WINE" "${W_ISO_MOUNT_LETTER}:${file1}" /config "$W_TMP_WIN"\\config.xml
else
w_try "$WINE" "${W_ISO_MOUNT_LETTER}:${file1}"
fi
w_wineserver -w
w_umount
w_warn "Microsoft Office 2013 is far away from running stable under wine 3.3. It should not be used in a productive environment."
}
#----------------------------------------------------------------
w_metadata picasa39 apps \ w_metadata picasa39 apps \
title="Picasa 3.9" \ title="Picasa 3.9" \
publisher="Google" \ publisher="Google" \
@ -18546,11 +18615,11 @@ load_cfc()
# CSMT settings # CSMT settings
w_metadata csmt=on settings \ w_metadata csmt=on settings \
title_uk="Увімкнути Command Stream Multithreading" \ title_uk="Увімкнути Command Stream Multithreading (за замовчуванням)" \
title="Enable Command Stream Multithreading" title="Enable Command Stream Multithreading (default)"
w_metadata csmt=off settings \ w_metadata csmt=off settings \
title_uk="Вимкнути Command Stream Multithreading (за замовчуванням)" \ title_uk="Вимкнути Command Stream Multithreading"\
title="Disable Command Stream Multithreading (default)" title="Disable Command Stream Multithreading"
load_csmt() load_csmt()
{ {

View File

@ -22,6 +22,11 @@ with no arguments displays a GUI using either Zenity or Kdialog.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B .B
\-\-country=CC
Set country code to CC and don't detect your IP address
when retrying downloads
.TP
.B
\-\-force \-\-force
Don't check whether packages were already installed Don't check whether packages were already installed
.TP .TP