[steam/el7] Require xdg-desktop-portal for Proton
by Simone Caronni
commit ce6a8908ea65dd9dc551b984fe7bd0fd4abe3a45
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Dec 4 09:17:44 2020 +0100
Require xdg-desktop-portal for Proton
steam.spec | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/steam.spec b/steam.spec
index 46b885b..ca6cd01 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.68
-Release: 1%{?dist}
+Release: 2%{?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
@@ -111,9 +111,16 @@ Requires: alsa-plugins-pulseaudio%{?_isa}
# Game performance is increased with gamemode (for games that support it)
%if 0%{?fedora} || 0%{?rhel} >= 8
-Recommends: gamemode
-Recommends: gamemode%{?_isa}
-Recommends: (gnome-shell-extension-gamemode if gnome-shell)
+Recommends: gamemode
+Recommends: gamemode%{?_isa}
+Recommends: (gnome-shell-extension-gamemode if gnome-shell)
+%endif
+
+# Proton uses xdg-desktop-portal to open URLs from inside a container
+%if 0%{?fedora}
+Requires: xdg-desktop-portal
+Recommends: (xdg-desktop-portal-gtk if gnome-shell)
+Recommends: (xdg-desktop-portal-kde if kwin)
%endif
Provides: steam-noruntime = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -197,6 +204,9 @@ fi
%{_prefix}/lib/systemd/user.conf.d/01-steam.conf
%changelog
+* Fri Dec 04 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-2
+- Require xdg-desktop-portal for Proton.
+
* Fri Dec 04 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-1
- Update to 1.0.0.68.
- Update Steam udev input rules.
3 years, 11 months
[steam] Update to 1.0.0.68
by Simone Caronni
Summary of changes:
9dcc918... Update to 1.0.0.68 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 11 months
[steam/f33] Update to 1.0.0.68
by Simone Caronni
Summary of changes:
9dcc918... Update to 1.0.0.68 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 11 months
[steam/f32] Update to 1.0.0.68
by Simone Caronni
Summary of changes:
9dcc918... Update to 1.0.0.68 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 11 months
[steam/f31] Update to 1.0.0.68
by Simone Caronni
Summary of changes:
9dcc918... Update to 1.0.0.68 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 11 months
[steam/el8] Update to 1.0.0.68
by Simone Caronni
commit 9dcc9180297a90b6bd4aa8a5714ac3cc62a682e0
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Dec 4 08:55:48 2020 +0100
Update to 1.0.0.68
.gitignore | 1 +
60-steam-input.rules | 9 +++++++++
sources | 2 +-
steam.spec | 8 ++++++--
4 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 97b03b1..042230b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/steam_1.0.0.62.tar.gz
/steam_1.0.0.64.tar.gz
/steam_1.0.0.66.tar.gz
+/steam_1.0.0.68.tar.gz
diff --git a/60-steam-input.rules b/60-steam-input.rules
index c157d44..58600fe 100644
--- a/60-steam-input.rules
+++ b/60-steam-input.rules
@@ -25,12 +25,21 @@ KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess"
# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
+# PS5 DualSense controller over USB hidraw
+KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess"
+
+# PS5 DualSense controller over bluetooth hidraw
+KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess"
+
# Nintendo Switch Pro Controller over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
# Nintendo Switch Pro Controller over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"
+# Faceoff Wired Pro Controller for Nintendo Switch
+KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0180", MODE="0660", TAG+="uaccess"
+
# PowerA Wired Controller for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="20d6", ATTRS{idProduct}=="a711", MODE="0660", TAG+="uaccess"
diff --git a/sources b/sources
index fa553d5..66a923d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (steam_1.0.0.66.tar.gz) = 1871dba51229cbc220e19df3f8af06ea6c0d71e1bbdea39ef66c4f5d0ce29486974cb1cdb7f5e78f6a0e2f69d256f4c2034848d3efd68b088635eb11a2ae96ba
+SHA512 (steam_1.0.0.68.tar.gz) = 73c541e77e9e294b0ea1b991b73980b5a74f83516f95b15f93fce49459b49124d167d59261ed7522adf7b42d2a8e58d4ace12f8fe06f4cdd49347a742fd3afc0
diff --git a/steam.spec b/steam.spec
index 44ed0c0..1a863fc 100644
--- a/steam.spec
+++ b/steam.spec
@@ -2,8 +2,8 @@
%global debug_package %{nil}
Name: steam
-Version: 1.0.0.66
-Release: 3%{?dist}
+Version: 1.0.0.68
+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
@@ -197,6 +197,10 @@ fi
%{_prefix}/lib/systemd/user.conf.d/01-steam.conf
%changelog
+* Fri Dec 04 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-1
+- Update to 1.0.0.68.
+- Update Steam udev input rules.
+
* Thu Nov 12 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.66-3
- Raise file descriptor limit again for Proton (#5834).
- Fix libxcrypt compatibility with CentOS/RHEL 7+ (5825).
3 years, 11 months
[steam/el7] Update to 1.0.0.68
by Simone Caronni
commit 1a363e3c3de2300cd7a9c47b95096698e1e14c10
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Dec 4 08:55:48 2020 +0100
Update to 1.0.0.68
.gitignore | 1 +
60-steam-input.rules | 9 +++++++++
sources | 2 +-
steam.spec | 8 ++++++--
4 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 97b03b1..042230b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/steam_1.0.0.62.tar.gz
/steam_1.0.0.64.tar.gz
/steam_1.0.0.66.tar.gz
+/steam_1.0.0.68.tar.gz
diff --git a/60-steam-input.rules b/60-steam-input.rules
index c157d44..58600fe 100644
--- a/60-steam-input.rules
+++ b/60-steam-input.rules
@@ -25,12 +25,21 @@ KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess"
# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
+# PS5 DualSense controller over USB hidraw
+KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess"
+
+# PS5 DualSense controller over bluetooth hidraw
+KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess"
+
# Nintendo Switch Pro Controller over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
# Nintendo Switch Pro Controller over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"
+# Faceoff Wired Pro Controller for Nintendo Switch
+KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0180", MODE="0660", TAG+="uaccess"
+
# PowerA Wired Controller for Nintendo Switch
KERNEL=="hidraw*", ATTRS{idVendor}=="20d6", ATTRS{idProduct}=="a711", MODE="0660", TAG+="uaccess"
diff --git a/sources b/sources
index fa553d5..66a923d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (steam_1.0.0.66.tar.gz) = 1871dba51229cbc220e19df3f8af06ea6c0d71e1bbdea39ef66c4f5d0ce29486974cb1cdb7f5e78f6a0e2f69d256f4c2034848d3efd68b088635eb11a2ae96ba
+SHA512 (steam_1.0.0.68.tar.gz) = 73c541e77e9e294b0ea1b991b73980b5a74f83516f95b15f93fce49459b49124d167d59261ed7522adf7b42d2a8e58d4ace12f8fe06f4cdd49347a742fd3afc0
diff --git a/steam.spec b/steam.spec
index 9deb9a9..46b885b 100644
--- a/steam.spec
+++ b/steam.spec
@@ -2,8 +2,8 @@
%global debug_package %{nil}
Name: steam
-Version: 1.0.0.66
-Release: 3%{?dist}
+Version: 1.0.0.68
+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
@@ -197,6 +197,10 @@ fi
%{_prefix}/lib/systemd/user.conf.d/01-steam.conf
%changelog
+* Fri Dec 04 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-1
+- Update to 1.0.0.68.
+- Update Steam udev input rules.
+
* Thu Nov 12 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.66-3
- Raise file descriptor limit again for Proton (#5834).
- Fix libxcrypt compatibility with CentOS/RHEL 7+ (5825).
3 years, 11 months
[wl-kmod] Add patch for kernel >= 5.10 - get_fs and set_fs macros removed - first attempt
by Nicolas Viéville
commit d18601cec354466a11aae2e9598121519fd8c74e
Author: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
Date: Fri Dec 4 08:31:49 2020 +0100
Add patch for kernel >= 5.10 - get_fs and set_fs macros removed - first attempt
wl-kmod-020_kernel_5.10_get_set_fs_removed.patch | 93 ++++++++++++++++++++++++
wl-kmod.spec | 7 +-
2 files changed, 99 insertions(+), 1 deletion(-)
---
diff --git a/wl-kmod-020_kernel_5.10_get_set_fs_removed.patch b/wl-kmod-020_kernel_5.10_get_set_fs_removed.patch
new file mode 100644
index 0000000..7d886cd
--- /dev/null
+++ b/wl-kmod-020_kernel_5.10_get_set_fs_removed.patch
@@ -0,0 +1,93 @@
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_hybrid.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_hybrid.c 2019-10-16 16:33:57.319456000 +0200
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c 2020-11-12 14:33:56.075438464 +0100
+@@ -477,7 +477,9 @@
+ {
+ struct ifreq ifr;
+ struct wl_ioctl ioc;
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
+ mm_segment_t fs;
++#endif
+ s32 err = 0;
+
+ BUG_ON(len < sizeof(int));
+@@ -489,18 +491,22 @@
+ strcpy(ifr.ifr_name, dev->name);
+ ifr.ifr_data = (caddr_t)&ioc;
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
+ fs = get_fs();
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
+ set_fs(KERNEL_DS);
+ #else
+ set_fs(get_ds());
+ #endif
++#endif
+ #if defined(WL_USE_NETDEV_OPS)
+ err = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+ #else
+ err = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+ #endif
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
+ set_fs(fs);
++#endif
+
+ return err;
+ }
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_iw.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_iw.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_iw.c 2019-05-30 01:32:34.421426000 +0200
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_iw.c 2020-11-12 14:33:56.101438714 +0100
+@@ -105,7 +105,9 @@
+ {
+ struct ifreq ifr;
+ wl_ioctl_t ioc;
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
+ mm_segment_t fs;
++#endif
+ int ret;
+
+ memset(&ioc, 0, sizeof(ioc));
+@@ -116,18 +118,22 @@
+ strcpy(ifr.ifr_name, dev->name);
+ ifr.ifr_data = (caddr_t) &ioc;
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
+ fs = get_fs();
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
+ set_fs(KERNEL_DS);
+ #else
+ set_fs(get_ds());
+ #endif
++#endif
+ #if defined(WL_USE_NETDEV_OPS)
+ ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+ #else
+ ret = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+ #endif
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
+ set_fs(fs);
++#endif
+
+ return ret;
+ }
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_linux.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_linux.c 2020-11-11 13:39:00.579562572 +0100
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_linux.c 2020-11-11 23:14:57.451165706 +0100
+@@ -1659,6 +1659,7 @@
+ goto done2;
+ }
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0)
+ if (uaccess_kernel())
+ #else
+@@ -1667,6 +1668,9 @@
+ buf = ioc.buf;
+
+ else if (ioc.buf) {
++#else
++ if (ioc.buf) {
++#endif
+ if (!(buf = (void *) MALLOC(wl->osh, MAX(ioc.len, WLC_IOCTL_MAXLEN)))) {
+ bcmerror = BCME_NORESOURCE;
+ goto done2;
diff --git a/wl-kmod.spec b/wl-kmod.spec
index b58f209..fbb6e31 100644
--- a/wl-kmod.spec
+++ b/wl-kmod.spec
@@ -10,7 +10,7 @@
Name: wl-kmod
Version: 6.30.223.271
-Release: 34%{?dist}
+Release: 35%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -37,6 +37,7 @@ Patch15: wl-kmod-016_fix_unsupported_mesh_point.patch
Patch16: wl-kmod-017_fix_gcc_fallthrough_warning.patch
Patch17: wl-kmod-018_kernel_5.6_adaptations.patch
Patch18: wl-kmod-019_kernel_5.9_segment_eq_removed.patch
+Patch19: wl-kmod-020_kernel_5.10_get_set_fs_removed.patch
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: i686 x86_64
@@ -96,6 +97,7 @@ pushd %{name}-%{version}-src
%patch16 -p1 -b .fix_gcc_fallthrough_warning.patch
%patch17 -p1 -b .kernel_5.6_adaptations.patch
%patch18 -p1 -b .kernel_5.9_segment_eq_removed
+%patch19 -p1 -b .kernel_5.10_get_set_fs_removed
# Manual patching to build for RHEL - inspired by CentOS wl-kmod.spec
# Actually works for RHEL 6.x and 7.x
@@ -285,6 +287,9 @@ chmod 0755 $RPM_BUILD_ROOT%{kmodinstdir_prefix}*%{kmodinstdir_postfix}/* || :
rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Nov 28 2020 Nicolas Viéville <nicolas.vieville(a)uphf.fr> - 6.30.223.271-35
+- Add patch for kernel >= 5.10 - get_fs and set_fs macros removed - first attempt
+
* Wed Nov 11 2020 Nicolas Viéville <nicolas.vieville(a)uphf.fr> - 6.30.223.271-34
- Add patch for kernel >= 5.9 - fixes RFBZ#5835
3 years, 11 months