commit 1357489e8ee4e23efaae854a1a3dcc3a566bcda7
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Mon Jun 29 07:42:49 2020 +0200
Update to 1.0.0.64, add vulkan drivers to el7
60-steam-input.rules | 7 +++++++
steam-no-icon-on-desktop.patch | 33 ++++++++++++++++++---------------
steam.spec | 16 ++++++++++------
3 files changed, 35 insertions(+), 21 deletions(-)
---
diff --git a/60-steam-input.rules b/60-steam-input.rules
index 1cbf258..342f02b 100644
--- a/60-steam-input.rules
+++ b/60-steam-input.rules
@@ -34,6 +34,13 @@ KERNEL=="hidraw*", KERNELS=="*057E:2009*",
MODE="0660", TAG+="uaccess"
# PowerA Wired Controller for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="20d6",
ATTRS{idProduct}=="a711", MODE="0660", TAG+="uaccess"
+# PowerA Wireless Controller for Nintendo Switch we have to use
+# ATTRS{name} since VID/PID are reported as zeros. We use /bin/sh
+# instead of udevadm directly becuase we need to use '*' glob at the
+# end of "hidraw" name since we don't know the index it'd have.
+#
+KERNEL=="input*", ATTRS{name}=="Lic Pro Controller",
RUN{program}+="/bin/sh -c \"udevadm test-builtin uaccess
/sys/%p/../../hidraw/hidraw*\""
+
# Nacon PS4 Revolution Pro Controller
KERNEL=="hidraw*", ATTRS{idVendor}=="146b",
ATTRS{idProduct}=="0d01", MODE="0660", TAG+="uaccess"
diff --git a/steam-no-icon-on-desktop.patch b/steam-no-icon-on-desktop.patch
index cc99249..452bd32 100644
--- a/steam-no-icon-on-desktop.patch
+++ b/steam-no-icon-on-desktop.patch
@@ -1,7 +1,7 @@
diff -Naur steam-launcher.old/bin_steam.sh steam-launcher/bin_steam.sh
---- steam-launcher.old/bin_steam.sh 2020-04-15 11:51:24.202660348 +0200
-+++ steam-launcher/bin_steam.sh 2020-04-15 20:20:00.581536078 +0200
-@@ -110,29 +110,6 @@
+--- steam-launcher.old/bin_steam.sh 2020-06-29 07:37:51.655884908 +0200
++++ steam-launcher/bin_steam.sh 2020-06-29 07:38:20.635411806 +0200
+@@ -110,32 +110,6 @@
ln -fns "$STEAMDIR" "$STEAMDATALINK"
setup_variables
@@ -13,18 +13,21 @@ diff -Naur steam-launcher.old/bin_steam.sh
steam-launcher/bin_steam.sh
- DESKTOP_DIR="${XDG_DESKTOP_DIR:-$HOME/Desktop}"
-
- if [ -d "$DESKTOP_DIR" ] && [ "x$bootstrapdir" =
"x/usr/lib/$STEAMPACKAGE" ]; then
-- cp "$bootstrapdir/$STEAMPACKAGE.desktop" "$DESKTOP_DIR"
-- # Older .desktop implementations used the execute bits as
-- # a marker for a .desktop being safe to treat as a shortcut
-- chmod a+x "$DESKTOP_DIR/$STEAMPACKAGE.desktop"
-- if command -v gio >/dev/null; then
-- # Making it executable is not enough in recent
-- # (Ubuntu 20.04) versions of
-- #
https://gitlab.gnome.org/World/ShellExtensions/desktop-icons
-- gio set --type=string "$DESKTOP_DIR/$STEAMPACKAGE.desktop"
metadata::trusted true || :
-- # Generate an inotify event so the desktop
-- # implementation reloads it
-- touch "$DESKTOP_DIR/$STEAMPACKAGE.desktop"
+- # There might be a symlink in place already, in such case we do nothing
+- if [ ! -L "$DESKTOP_DIR/$STEAMPACKAGE.desktop" ]; then
+- cp "$bootstrapdir/$STEAMPACKAGE.desktop" "$DESKTOP_DIR"
+- # Older .desktop implementations used the execute bits as
+- # a marker for a .desktop being safe to treat as a shortcut
+- chmod a+x "$DESKTOP_DIR/$STEAMPACKAGE.desktop"
+- if command -v gio >/dev/null; then
+- # Making it executable is not enough in recent
+- # (Ubuntu 20.04) versions of
+- #
https://gitlab.gnome.org/World/ShellExtensions/desktop-icons
+- gio set --type=string "$DESKTOP_DIR/$STEAMPACKAGE.desktop"
metadata::trusted true || :
+- # Generate an inotify event so the desktop
+- # implementation reloads it
+- touch "$DESKTOP_DIR/$STEAMPACKAGE.desktop"
+- fi
- fi
- fi
-
diff --git a/steam.spec b/steam.spec
index 69fe3f2..c50c81b 100644
--- a/steam.spec
+++ b/steam.spec
@@ -2,8 +2,8 @@
%global debug_package %{nil}
Name: steam
-Version: 1.0.0.62
-Release: 3%{?dist}
+Version: 1.0.0.64
+Release: 1%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file. udev rules are
MIT.
License: Steam License Agreement and MIT
@@ -51,12 +51,12 @@ Requires: zenity
# for both i686 and x86_64 games.
Requires: mesa-dri-drivers%{?_isa}
Requires: mesa-dri-drivers
-%if 0%{?fedora} || 0%{?rhel} > 7
-# vulkan-drivers is only provided as x86_64 on EL7
-# So CentOS altarch i386 will have none
-# Just drop vulkan dependency there for now
Requires: mesa-vulkan-drivers%{?_isa}
Requires: mesa-vulkan-drivers
+%if 0%{?rhel} == 7
+Requires: vulkan%{?_isa}
+Requires: vulkan
+%else
Requires: vulkan-loader%{?_isa}
Requires: vulkan-loader
%endif
@@ -202,6 +202,10 @@ fi
%endif
%changelog
+* Mon Jun 29 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.64-1
+- Update to 1.0.0.64.
+- RHEL / CentOS 7 x86_64 has 32/64 bit Mesa Vulkan drivers.
+
* Sun May 24 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.0.0.62-3
- Use boolean conditional for gnome-shell-extension-gamemode (rfbz#5659)