Hello community,

here is the log from the commit of package wine for openSUSE:Factory checked in 
at 2017-11-25 08:42:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wine (Old)
 and      /work/SRC/openSUSE:Factory/.wine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wine"

Sat Nov 25 08:42:24 2017 rev:236 rq:544939 version:2.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/wine/wine.changes        2017-11-13 
14:03:59.630338085 +0100
+++ /work/SRC/openSUSE:Factory/.wine.new/wine.changes   2017-11-25 
08:42:25.622764776 +0100
@@ -1,0 +2,12 @@
+Mon Nov 13 16:23:51 UTC 2017 - ji...@boombatower.com
+
+- switched to _multibuild packaging. include staging
+  and staging-nine variants.
+
+-------------------------------------------------------------------
+Mon Nov 13 15:05:05 UTC 2017 - meiss...@suse.com
+
+- recommend Mesa-GL1-32bit in baselibs, so we get opengl support.
+  (it is not directly required)
+
+-------------------------------------------------------------------

New:
----
  _multibuild
  _service
  wine-d3d9-patches-2.20.tar.xz
  wine-staging-2.21.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wine.spec ++++++
--- /var/tmp/diff_new_pack.NQL7Wn/_old  2017-11-25 08:42:27.166708524 +0100
+++ /var/tmp/diff_new_pack.NQL7Wn/_new  2017-11-25 08:42:27.170708378 +0100
@@ -16,7 +16,25 @@
 #
 
 
+%define projectname wine
+%global flavor @BUILD_FLAVOR@%nil
+%define staging 0
+%define nine 0
+
+%if "%flavor" == "staging" || "%flavor" == "staging-nine"
+%define staging 1
+%endif
+%if "%flavor" == "nine" || "%flavor" == "staging-nine"
+%define nine 1
+%endif
+
+%if "%{flavor}" != ""
+Name:           wine%{?flavor:-}%{?flavor}
+Provides:       wine = %{version}
+%else
 Name:           wine
+%endif
+Conflicts:      otherproviders(wine)
 BuildRequires:  Mesa-devel
 BuildRequires:  alsa-devel
 BuildRequires:  autoconf
@@ -68,9 +86,9 @@
 License:        LGPL-2.1+
 Group:          System/Emulators/PC
 Url:            http://www.winehq.org/
-Source0:        http://downloads.sourceforge.net/wine/wine-%{realver}.tar.xz
+Source0:        
http://downloads.sourceforge.net/wine/%{projectname}-%{realver}.tar.xz
 Source41:       wine.keyring
-Source42:       
http://downloads.sourceforge.net/wine/%{name}-%{realver}.tar.xz.sign
+Source42:       
http://downloads.sourceforge.net/wine/%{projectname}-%{realver}.tar.xz.sign
 Source1:        
https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
 Source11:       
https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.1
 Source2:        http://kegel.com/wine/wisotool
@@ -98,6 +116,22 @@
 Recommends:     unzip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %{ix86} x86_64 ppc %arm
+%if %{staging}
+# upstream patch target version
+%define staging_version 2.21
+Source100:      wine-staging-%{staging_version}.tar.xz
+BuildRequires:  gtk3-devel
+BuildRequires:  libOSMesa-devel
+BuildRequires:  libva-devel
+%endif
+%if %{nine}
+# upstream patch target version
+%define nine_version 2.20
+BuildRequires:  Mesa-libd3d-devel
+BuildRequires:  dri2proto-devel
+BuildRequires:  libOSMesa-devel
+Source110:      wine-d3d9-patches-%{nine_version}.tar.xz
+%endif
 
 %description
 Wine is a compatibility layer capable of running Windows
@@ -122,6 +156,10 @@
 %package devel
 Summary:        Files for Wine development
 Group:          Development/Libraries/C and C++
+%if "%{flavor}" != ""
+Provides:       wine-devel = %{version}
+%endif
+Conflicts:      otherproviders(wine-devel)
 
 %description devel
 This RPM contains the header files and development tools for the WINE
@@ -133,6 +171,21 @@
 #
 cp %{S:3} .
 #
+%if %{staging}
+# apply wine staging patch set on top of the wine release.
+tar xf %{SOURCE100}
+bash ./wine-staging-%staging_version/patches/patchinstall.sh --all
+%endif
+
+%if %{nine}
+tar xf %{SOURCE110}
+%if %{staging}
+patch --no-backup-if-mismatch -p1 -i 
./wine-d3d9-patches-%nine_version/staging-helper.patch
+%else
+patch --no-backup-if-mismatch -p1 -i 
./wine-d3d9-patches-%nine_version/d3d9-helper.patch
+%endif
+patch --no-backup-if-mismatch -p1 -i 
./wine-d3d9-patches-%nine_version/wine-d3d9.patch
+%endif
 
 %build
 cat VERSION
@@ -142,6 +195,9 @@
 export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'`
 %endif
 
+%if %{staging} || %{nine}
+autoreconf -i -f
+%endif
 # keep just for susepatches with configure changes
 #autoconf
 #autoheader -I include
@@ -151,6 +207,9 @@
 %ifarch x86_64
         --enable-win64 \
 %endif
+%if %{nine}
+    --with-d3d9-nine \
+%endif
        --verbose
 
 grep "have_x=yes" config.log || exit 1
@@ -165,6 +224,7 @@
 grep SONAME_ config.log|grep -v 'so"'|sed -e 's/^.*\(".*"\).*$/ requires 
\1/;'|sort -u >>%SOURCE7
 echo " recommends \"alsa-plugins-pulse-32bit\""        >> %SOURCE7
 echo " recommends \"alsa-plugins-32bit\""      >> %SOURCE7
+echo " recommends \"Mesa-libGL1-32bit\""       >> %SOURCE7
 %if 0%{?suse_version} >= 1330
 echo " obsoletes \"wine-mp3-32bit\""           >> %SOURCE7
 %else
@@ -173,8 +233,16 @@
 %if 0%{?suse_version} >= 1310
 echo " requires \"p11-kit-32bit\""             >> %SOURCE7
 %endif
+%if "%{flavor}" != ""
+echo " provides \"wine-<targettype> = <version>\""             >> %SOURCE7
+%endif
+echo " conflicts \"otherproviders(wine-<targettype>)\""                >> 
%SOURCE7
 echo "%name-devel" >> %SOURCE7
 echo "  +^/usr/lib/wine/.*def" >> %SOURCE7
+%if "%{flavor}" != ""
+echo " provides \"wine-devel-<targettype> = <version>\""               >> 
%SOURCE7
+%endif
+echo " conflicts \"otherproviders(wine-devel-<targettype>)\""          >> 
%SOURCE7
 cat %SOURCE7
 %endif
 make %{?_smp_mflags} all
@@ -229,7 +297,7 @@
 cd ..
 
 # find the implicit dependencies
-%define winedir %_builddir/%name-%realver/
+%define winedir %_builddir/%projectname-%realver
 cat >%winedir/my-find-requires.sh <<EOF
 #!/bin/bash
 %{__find_requires}
@@ -253,6 +321,9 @@
 %defattr(-,root,root)
 %doc ANNOUNCE AUTHORS LICENSE LICENSE.OLD README* 
 %{_bindir}/function_grep.pl
+%if %{staging}
+%{_bindir}/msidb
+%endif
 %{_bindir}/msiexec
 %{_bindir}/notepad
 %{_bindir}/regedit

++++++ _multibuild ++++++
<multibuild>
  <package>nine</package>
  <package>staging</package>
  <package>staging-nine</package>
</multibuild>
++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="versionrewrite-pattern">v(.*)</param>
    <param name="url">https://github.com/wine-compholio/wine-staging.git</param>
    <param name="revision">refs/tags/v2.21</param>
    <param name="match-tag">v*.*</param>
    <param name="scm">git</param>
  </service>
  <service name="tar_scm" mode="disabled">
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="versionrewrite-pattern">wined3d9(.*)</param>
    <param name="url">https://github.com/sarnex/wine-d3d9-patches.git</param>
    <param name="revision">refs/tags/wine-d3d9-2.20</param>
    <param name="scm">git</param>
  </service>
  <service name="recompress" mode="disabled">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
</services>


++++++ winetricks ++++++
--- /var/tmp/diff_new_pack.NQL7Wn/_old  2017-11-25 08:42:27.330702549 +0100
+++ /var/tmp/diff_new_pack.NQL7Wn/_new  2017-11-25 08:42:27.334702404 +0100
@@ -2741,14 +2741,25 @@
     w_try w_do_call "$@"
 }
 
+w_backup_reg_file()
+{
+    W_reg_file=$1
+
+    w_get_sha256sum "$W_reg_file"
+
+    w_try cp "$W_reg_file" "$W_TMP_EARLY/_reg_$(echo "$_W_gotsha256sum" | cut 
-c1-8)"_$$.reg
+
+    unset W_reg_file _W_gotsha256sum
+}
+
 w_register_font()
 {
-    file=$1
+    W_file=$1
     shift
-    font=$1
+    W_font=$1
 
-    case "$file" in
-        *.TTF|*.ttf) font="$font (TrueType)";;
+    case "$W_file" in
+        *.TTF|*.ttf) W_font="$W_font (TrueType)";;
     esac
 
     # Kludge: use _r to avoid \r expansion in w_try
@@ -2756,23 +2767,25 @@
 REGEDIT4
 
 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
-"$font"="$file"
+"$W_font"="$W_file"
 _EOF_
     # too verbose
     w_try_regedit "$W_TMP_WIN"\\_register-font.reg
     # shellcheck disable=SC1037
-    cp "$W_TMP"/*.reg "$W_TMP_EARLY"/_reg$$.reg
+    w_backup_reg_file "$W_TMP"/_register-font.reg
 
     # Wine also updates the win9x fonts key, so let's do that, too
     cat > "$W_TMP"/_register-font.reg <<_EOF_
 REGEDIT4
 
 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Fonts]
-"$font"="$file"
+"$W_font"="$W_file"
 _EOF_
     w_try_regedit "$W_TMP_WIN"\\_register-font.reg
     # shellcheck disable=SC1037
-    cp "$W_TMP"/*.reg "$W_TMP_EARLY"/_reg$$-2.reg
+    w_backup_reg_file "$W_TMP"/_register-font.reg
+
+    unset W_file W_font
 }
 
 w_register_font_replacement()
@@ -2788,6 +2801,9 @@
 "$_W_alias"="$_W_font"
 _EOF_
     w_try_regedit "$W_TMP_WIN"\\_register-font-replacements.reg
+
+    w_backup_reg_file "$W_TMP"/_register-font-replacements.reg
+
     unset _W_alias _W_font
 }
 
@@ -4743,6 +4759,11 @@
         USERNAME="$LOGNAME"
     fi
 
+    # Running Wine as root is (generally) bad, mmkay?
+    if [ "$(id -u)" = 0 ]; then
+        w_warn "Running Wine/winetricks as root is highly discouraged. See 
https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F";
+    fi
+
     # Ephemeral files for this run
     WINETRICKS_WORKDIR="$W_TMP_EARLY/w.$LOGNAME.$$"
     test "$W_OPT_NOCLEAN" = 1 || rm -rf "$WINETRICKS_WORKDIR"
@@ -6309,7 +6330,7 @@
 
 load_dxsdk_jun2010()
 {
-    w_download 
https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe
 11a0ddeb293040f8b99eeb1bdf6197ae1b26fdb74c036e5717d8e45db9c1576e
+    w_download 
https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe
 9f818a977c32b254af5d649a4cec269ed8762f8a49ae67a9f01101a7237ae61a
 
     # Without dotnet20, install aborts halfway through
     w_call dotnet20


Reply via email to