Hello community,

here is the log from the commit of package steam for openSUSE:Factory:NonFree 
checked in at 2017-01-31 12:48:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/steam (Old)
 and      /work/SRC/openSUSE:Factory:NonFree/.steam.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "steam"

Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/steam/steam.changes      2016-12-17 
11:19:32.989436715 +0100
+++ /work/SRC/openSUSE:Factory:NonFree/.steam.new/steam.changes 2017-02-04 
23:59:13.227699456 +0100
@@ -1,0 +2,7 @@
+Wed Dec 21 13:48:18 UTC 2016 - [email protected]
+
+- Replace steamruntime-fix with steamtricks.
+  invoke-libstdc-removal-before-starting-steam.patch
+  steam-invoke_steamtricks.patch
+
+-------------------------------------------------------------------

Old:
----
  invoke-libstdc-removal-before-starting-steam.patch
  steamruntime-fix

New:
----
  steam-invoke_steamtricks.patch

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

Other differences:
------------------
++++++ steam.spec ++++++
--- /var/tmp/diff_new_pack.0pL4hi/_old  2017-02-04 23:59:13.623643181 +0100
+++ /var/tmp/diff_new_pack.0pL4hi/_new  2017-02-04 23:59:13.627642613 +0100
@@ -25,10 +25,8 @@
 Group:          Amusements/Games/Other
 Url:            http://www.steampowered.com/
 Source:         
http://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz
-Source1:        steamruntime-fix
 Source2:        steam.appdata.xml
-# https://github.com/ValveSoftware/steam-for-linux/issues/3273
-Patch0:         invoke-libstdc-removal-before-starting-steam.patch
+Patch0:         
https://raw.githubusercontent.com/steamtricks/steamtricks/master/dist/patch/steam-invoke_steamtricks.patch
 # PATCH-FEATURE-OPENSUSE allow-non-root-controller-access.patch -- Allow non 
root users to access the steam-controller
 Patch1:         allow-non-root-controller-access.patch
 BuildRequires:  hicolor-icon-theme
@@ -105,6 +103,9 @@
 Requires:       libxcb-dri2-0%{dep_postfix}
 Requires:       libxcb-glx0%{dep_postfix}
 
+# replaces steamruntime-fix and is required for steam to boot
+Requires:       steamtricks
+
 %description
 Steam is a software distribution service with an online store, automated
 installation, automatic updates, achievements, SteamCloud synchronized
@@ -148,9 +149,6 @@
 mkdir -p %{buildroot}%{_udevrulesdir}
 cp lib/udev/rules.d/* %{buildroot}%{_udevrulesdir}
 
-cp %{SOURCE1} %{buildroot}%{_bindir}
-chmod +x %{buildroot}%{_bindir}/steamruntime-fix
-
 %suse_update_desktop_file -n -r steam Game Amusement
 
 dos2unix %{buildroot}%{_datadir}/doc/steam/steam_install_agreement.txt
@@ -185,7 +183,6 @@
 %files
 %defattr(-,root,root)
 %{_bindir}/steam
-%{_bindir}/steamruntime-fix
 %dir %{_prefix}/lib/steam
 %{_prefix}/lib/steam/bootstraplinux_ubuntu12_32.tar.xz
 %{_datadir}/pixmaps/steam_tray_mono.png

++++++ steam-invoke_steamtricks.patch ++++++
>From 8a02a97757127a529178397647cbd71bc769d5bc Mon Sep 17 00:00:00 2001
From: boombatower <[email protected]>
Date: Sat, 8 Oct 2016 23:19:22 -0500
Subject: [PATCH] Invoke steamtricks if available.

---
 steam | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/steam b/steam
index 1b71982..847ee0d 100755
--- a/steam
+++ b/steam
@@ -1,4 +1,13 @@
 #!/usr/bin/env bash
+if ! test "$NO_STEAMTRICKS" == 1 && [ -x "$(which steamtricks)" ] ; then
+  # does not seem to be a better place to daemon-reload since install time runs
+  # as root and does not have user context available
+  systemctl --user daemon-reload
+  systemctl --user import-environment DISPLAY
+  systemctl --user import-environment XDG_CURRENT_DESKTOP
+  systemctl --user start steamtricksd
+fi
+
 #
 # This is the Steam script that typically resides in /usr/bin
 # It will create the Steam bootstrap if necessary and then launch steam.
-- 
2.10.0


Reply via email to