From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46D8615808B for ; Fri, 16 Feb 2024 10:51:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4670EE29D1; Fri, 16 Feb 2024 10:51:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FE8BE29D1 for ; Fri, 16 Feb 2024 10:51:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4C69342FFC for ; Fri, 16 Feb 2024 10:51:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45A4513DB for ; Fri, 16 Feb 2024 10:51:02 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1708080645.bd830da1d6808098a20bffd01559cbda993b95b4.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/wine-staging/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/wine-staging/wine-staging-9.1.ebuild app-emulation/wine-staging/wine-staging-9.2.ebuild app-emulation/wine-staging/wine-staging-9999.ebuild X-VCS-Directories: app-emulation/wine-staging/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: bd830da1d6808098a20bffd01559cbda993b95b4 X-VCS-Branch: master Date: Fri, 16 Feb 2024 10:51:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8efa0522-8318-4d78-a09c-e187e36ab085 X-Archives-Hash: ed4faa277853e1e08bb29f4cf553ef96 commit: bd830da1d6808098a20bffd01559cbda993b95b4 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Feb 16 10:31:37 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Feb 16 10:50:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd830da1 app-emulation/wine-staging: optfeature on game-device-udev-rules In 9.1+, wine defaults to using /dev/hidraw* for some extra gamepads, most notably Sony DualShock4 which may come as unexpected. /dev/hidraw* access is restricted to root by default leaving users with a situation that seem like a wine regression. Only a optfeature since most gamepads do not need this (xbox one, about any 3rd party gamepads, etc...). Hopefully the optfeature is noticed by affected users. Signed-off-by: Ionen Wolkens gentoo.org> app-emulation/wine-staging/wine-staging-9.1.ebuild | 5 ++++- app-emulation/wine-staging/wine-staging-9.2.ebuild | 5 ++++- app-emulation/wine-staging/wine-staging-9999.ebuild | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app-emulation/wine-staging/wine-staging-9.1.ebuild b/app-emulation/wine-staging/wine-staging-9.1.ebuild index f9096affab24..4ec95df08d29 100644 --- a/app-emulation/wine-staging/wine-staging-9.1.ebuild +++ b/app-emulation/wine-staging/wine-staging-9.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -inherit autotools edo flag-o-matic multilib multilib-build +inherit autotools edo flag-o-matic optfeature multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper WINE_GECKO=2.47.4 @@ -461,6 +461,9 @@ pkg_postinst() { ewarn "applications under ${PN} will likely not be usable." fi + optfeature "/dev/hidraw* access used for *some* controllers (e.g. DualShock4)" \ + games-util/game-device-udev-rules + eselect wine update --if-unset || die } diff --git a/app-emulation/wine-staging/wine-staging-9.2.ebuild b/app-emulation/wine-staging/wine-staging-9.2.ebuild index 9790d6480e7e..6b83fcb60f31 100644 --- a/app-emulation/wine-staging/wine-staging-9.2.ebuild +++ b/app-emulation/wine-staging/wine-staging-9.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -inherit autotools edo flag-o-matic multilib multilib-build +inherit autotools edo flag-o-matic optfeature multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper WINE_GECKO=2.47.4 @@ -461,6 +461,9 @@ pkg_postinst() { ewarn "applications under ${PN} will likely not be usable." fi + optfeature "/dev/hidraw* access used for *some* controllers (e.g. DualShock4)" \ + games-util/game-device-udev-rules + eselect wine update --if-unset || die } diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index 9790d6480e7e..6b83fcb60f31 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -inherit autotools edo flag-o-matic multilib multilib-build +inherit autotools edo flag-o-matic optfeature multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper WINE_GECKO=2.47.4 @@ -461,6 +461,9 @@ pkg_postinst() { ewarn "applications under ${PN} will likely not be usable." fi + optfeature "/dev/hidraw* access used for *some* controllers (e.g. DualShock4)" \ + games-util/game-device-udev-rules + eselect wine update --if-unset || die }