Hello community, here is the log from the commit of package steam for openSUSE:Factory:NonFree checked in at 2016-08-17 12:06:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-07-12 23:54:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory:NonFree/.steam.new/steam.changes 2016-08-17 12:06:37.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Aug 15 10:28:47 UTC 2016 - r...@fthiessen.de + +- Added allow-non-root-controller-access.patch for fixing + boo#986901 +- Droped special handling of openSUSE <= 12.3 as it is not + maintained anymore. + +------------------------------------------------------------------- New: ---- allow-non-root-controller-access.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ steam.spec ++++++ --- /var/tmp/diff_new_pack.pMj3eF/_old 2016-08-17 12:06:38.000000000 +0200 +++ /var/tmp/diff_new_pack.pMj3eF/_new 2016-08-17 12:06:38.000000000 +0200 @@ -27,7 +27,9 @@ Source: http://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz Source1: steamruntime-fix # https://github.com/ValveSoftware/steam-for-linux/issues/3273 -Patch1: invoke-libstdc-removal-before-starting-steam.patch +Patch0: invoke-libstdc-removal-before-starting-steam.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 BuildRequires: shared-mime-info BuildRequires: update-desktop-files @@ -85,18 +87,9 @@ Requires: glibc%{dep_postfix} >= 2.15 Requires: openal-soft >= 1.13 Requires: zlib%{dep_postfix} >= 1.2.3.3 - -# openSUSE 12.3 changed the name of some libs -%if 0%{?suse_version} >= 1230 Requires: libgcc_s1%{dep_postfix} >= 4.1.1 Requires: libopenal1%{dep_postfix} >= 1.13 Requires: libstdc++6%{dep_postfix} >= 4.6 -%endif -%if 0%{?suse_version} < 1230 -Requires: libgcc47%{dep_postfix} >= 4.1.1 -Requires: libopenal1-soft%{dep_postfix} >= 1.13 -Requires: libstdc++47%{dep_postfix} >= 4.6 -%endif # from steamdeps.txt which uses Debian package syntax Requires: curl @@ -121,6 +114,8 @@ %description controller The Steam Controller features dual trackpads, HD haptic feedback, dual-stage triggers, back grip buttons, and fully-customizable control schemes. +Make sure that all users, which should have access to the steam-controller, +are in the "games" group. %package vr Summary: Steam VR @@ -132,6 +127,7 @@ %prep %setup -q -n steam +%patch0 -p1 %patch1 -p1 %build ++++++ allow-non-root-controller-access.patch ++++++ diff -Nur steam/lib/udev/rules.d/99-steam-controller-perms.rules new/lib/udev/rules.d/99-steam-controller-perms.rules --- steam/lib/udev/rules.d/99-steam-controller-perms.rules 2016-03-29 22:07:26.000000000 +0200 +++ new/lib/udev/rules.d/99-steam-controller-perms.rules 2016-08-15 12:59:17.929733469 +0200 @@ -1,6 +1,6 @@ # Valve USB devices SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666" # Steam Controller udev write access -KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess" +KERNEL=="uinput", GROUP="games", MODE:="0660", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput" # HTC Vive HID Sensor naming and permissioning