Hello community,

here is the log from the commit of package lutris for openSUSE:Factory checked 
in at 2019-07-02 10:38:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lutris (Old)
 and      /work/SRC/openSUSE:Factory/.lutris.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lutris"

Tue Jul  2 10:38:52 2019 rev:8 rq:712810 version:0.5.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/lutris/lutris.changes    2019-05-24 
11:33:36.853361550 +0200
+++ /work/SRC/openSUSE:Factory/.lutris.new.4615/lutris.changes  2019-07-02 
10:38:52.586625695 +0200
@@ -1,0 +2,7 @@
+Mon Jul  1 11:05:43 UTC 2019 - [email protected]
+
+- Update to 0.5.2.2:
+  * Fix installation of Wine Steam runner
+  * Restore and preserve original d3d .dll files when DXVK option is not active
+
+-------------------------------------------------------------------

Old:
----
  lutris_0.5.2.1.tar.xz

New:
----
  lutris_0.5.2.2.tar.xz

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

Other differences:
------------------
++++++ lutris.spec ++++++
--- /var/tmp/diff_new_pack.DJkEsd/_old  2019-07-02 10:38:53.150626553 +0200
+++ /var/tmp/diff_new_pack.DJkEsd/_new  2019-07-02 10:38:53.150626553 +0200
@@ -18,7 +18,7 @@
 
 %global appid net.lutris.Lutris
 Name:           lutris
-Version:        0.5.2.1
+Version:        0.5.2.2
 Release:        0
 Summary:        Manager for game installation and execution
 License:        GPL-3.0-or-later

++++++ lutris_0.5.2.1.tar.xz -> lutris_0.5.2.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lutris/debian/changelog new/lutris/debian/changelog
--- old/lutris/debian/changelog 2019-04-10 04:46:02.000000000 +0200
+++ new/lutris/debian/changelog 2019-06-27 06:20:13.000000000 +0200
@@ -1,3 +1,10 @@
+lutris (0.5.2.2) disco; urgency=high
+
+  * Fix installation of Wine Steam runner
+  * Restore and preserve original d3d .dll files when DXVK option is not active
+
+ -- Mathieu Comandon <[email protected]>  Wed, 26 Jun 2019 21:20:13 -0700
+
 lutris (0.5.2.1) cosmic; urgency=high
 
   * Handle distributions where ldconfig is not in $PATH, like Debian
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lutris/lutris/__init__.py 
new/lutris/lutris/__init__.py
--- old/lutris/lutris/__init__.py       2019-04-10 04:44:41.000000000 +0200
+++ new/lutris/lutris/__init__.py       2019-06-27 06:12:21.000000000 +0200
@@ -1,3 +1,3 @@
 """Main Lutris package"""
 
-__version__ = "0.5.2.1"
+__version__ = "0.5.2.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lutris/lutris/runners/winesteam.py 
new/lutris/lutris/runners/winesteam.py
--- old/lutris/lutris/runners/winesteam.py      2019-03-27 06:45:06.000000000 
+0100
+++ new/lutris/lutris/runners/winesteam.py      2019-06-27 06:10:36.000000000 
+0200
@@ -24,7 +24,7 @@
     install_cab_component,
 )
 
-STEAM_INSTALLER_URL = "http://lutris.net/files/runners/SteamInstall.msi";
+STEAM_INSTALLER_URL = 
"https://lutris.nyc3.cdn.digitaloceanspaces.com/runners/winesteam/SteamSetup.exe";
 
 
 def is_running():
@@ -275,7 +275,7 @@
             return system.fix_path_case(registry.get_unix_path(steam_path))
 
     def install(self, version=None, downloader=None, callback=None):
-        installer_path = os.path.join(settings.TMP_PATH, "SteamInstall.msi")
+        installer_path = os.path.join(settings.TMP_PATH, "SteamSetup.exe")
 
         def on_steam_downloaded(*_args):
             prefix = self.get_or_create_default_prefix()
@@ -286,13 +286,11 @@
                 prefix=prefix,
                 wine_path=self.get_executable()
             )
-            self.msi_exec(
+            wineexec(
                 installer_path,
-                quiet=True,
+                args="/S",
                 prefix=prefix,
                 wine_path=self.get_executable(),
-                working_dir="/tmp",
-                blocking=True,
             )
             if callback:
                 callback()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lutris/lutris/util/wine/dxvk.py 
new/lutris/lutris/util/wine/dxvk.py
--- old/lutris/lutris/util/wine/dxvk.py 2019-04-08 06:13:08.000000000 +0200
+++ new/lutris/lutris/util/wine/dxvk.py 2019-06-27 06:10:19.000000000 +0200
@@ -124,18 +124,20 @@
 
     def enable_dxvk_dll(self, system_dir, dxvk_arch, dll):
         """Copies DXVK dlls to the appropriate destination"""
-        wine_dll_path = os.path.join(system_dir, "%s.dll" % dll)
-        logger.info("Replacing %s/%s with DXVK version", system_dir, dll)
-        if not self.is_dxvk_dll(wine_dll_path):
-            # Backing up original version (may not be needed)
-            if system.path_exists(wine_dll_path):
-                shutil.move(wine_dll_path, wine_dll_path + ".orig")
         # Copying DXVK's version
         dxvk_dll_path = os.path.join(self.dxvk_path, dxvk_arch, "%s.dll" % dll)
         if system.path_exists(dxvk_dll_path):
+            wine_dll_path = os.path.join(system_dir, "%s.dll" % dll)
+            logger.info("Replacing %s/%s with DXVK version", system_dir, dll)
+            if not self.is_dxvk_dll(wine_dll_path):
+                # Backing up original version (may not be needed)
+                if system.path_exists(wine_dll_path):
+                    shutil.move(wine_dll_path, wine_dll_path + ".orig")
             if system.path_exists(wine_dll_path):
                 os.remove(wine_dll_path)
             os.symlink(dxvk_dll_path, wine_dll_path)
+        else:
+            self.disable_dxvk_dll(system_dir, dxvk_arch, dll)
 
     def disable_dxvk_dll(self, system_dir, dxvk_arch, dll):
         """Remove DXVK DLL from Wine prefix"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lutris/lutris.spec new/lutris/lutris.spec
--- old/lutris/lutris.spec      2019-04-10 04:44:56.000000000 +0200
+++ new/lutris/lutris.spec      2019-06-27 06:12:35.000000000 +0200
@@ -6,7 +6,7 @@
 %global appid net.lutris.Lutris
 
 Name:           lutris
-Version:        0.5.2.1
+Version:        0.5.2.2
 Release:        7%{?dist}
 Summary:        Install and play any video game easily
 


Reply via email to