public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-03-16 14:51 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-03-16 14:51 UTC (permalink / raw
  To: gentoo-commits

commit:     992a35642a2f076882ba39cf10799186c35da36d
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Jan 24 22:13:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 14:50:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992a3564

games-util/xpadneo: new package 0.9

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19203
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/Manifest            |  1 +
 games-util/xpadneo/metadata.xml        | 15 ++++++++
 games-util/xpadneo/xpadneo-0.9.ebuild  | 62 ++++++++++++++++++++++++++++++++
 games-util/xpadneo/xpadneo-9999.ebuild | 64 ++++++++++++++++++++++++++++++++++
 4 files changed, 142 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
new file mode 100644
index 00000000000..4cb0f0f85a8
--- /dev/null
+++ b/games-util/xpadneo/Manifest
@@ -0,0 +1 @@
+DIST xpadneo-0.9.tar.gz 1351003 BLAKE2B dd41e687a44415c9c44d70ae4df9c858a7218eca301e61421cee4b9e80d912f9336dad15636dc38cb79128a635e33bb2b795fadebe2f53ebe42d192212364cb0 SHA512 0819af24bfa556dd330abeb1180b0a46105428b6b2c8529bb357cd5b578fe6f21e057f3f457994b21b6d5d6b207d46bdf0ff80a6415f833396595ba5e7309389

diff --git a/games-util/xpadneo/metadata.xml b/games-util/xpadneo/metadata.xml
new file mode 100644
index 00000000000..32782d0fcfb
--- /dev/null
+++ b/games-util/xpadneo/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>sudinave@gmail.com</email>
+		<name>Ionen Wolkens</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">atar-axis/xpadneo</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/games-util/xpadneo/xpadneo-0.9.ebuild b/games-util/xpadneo/xpadneo-0.9.ebuild
new file mode 100644
index 00000000000..33ed81817a2
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod toolchain-funcs udev
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S+="/hid-${PN}"
+MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KERNEL_DIR}"'
+BUILD_TARGETS="modules"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_prepare() {
+	default
+	sed -i "s/@DO_NOT_CHANGE@/v${PV}/" src/version.h || die
+}
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /etc/modprobe.d
+	doins etc-modprobe.d/${PN}.conf
+
+	udev_dorules etc-udev-rules.d/98-${PN}.rules
+
+	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	udev_reload
+
+	local ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if ! [[ ${REPLACING_VERSIONS} && $(<${ertm}) == Y ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}"
+		elog
+		elog "Be warned that bluetooth's ERTM (Enhanced ReTransmission Mode) can"
+		elog "cause the gamepad to enter a re-connection loop."
+		elog "- To disable immediately:"
+		elog "    echo Y > ${ertm}"
+		elog "- To disable for next and subsequent boot:"
+		elog "    echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "- Or, if bluetooth isn't a module, add to the kernel's command line:"
+		elog "    bluetooth.disable_ertm=y"
+	fi
+}
+
+pkg_postrm() {
+	linux-mod_pkg_postrm
+	udev_reload
+}

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
new file mode 100644
index 00000000000..a40a337a991
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod toolchain-funcs udev
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
+	EGIT_MIN_CLONE_TYPE="single"
+else
+	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+S+="/hid-${PN}"
+MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KERNEL_DIR}"'
+BUILD_TARGETS="src/version.h modules"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /etc/modprobe.d
+	doins etc-modprobe.d/${PN}.conf
+
+	udev_dorules etc-udev-rules.d/98-${PN}.rules
+
+	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	udev_reload
+
+	local ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if ! [[ ${REPLACING_VERSIONS} && $(<${ertm}) == Y ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}"
+		elog
+		elog "Be warned that bluetooth's ERTM (Enhanced ReTransmission Mode) can"
+		elog "cause the gamepad to enter a re-connection loop."
+		elog "- To disable immediately:"
+		elog "    echo Y > ${ertm}"
+		elog "- To disable for next and subsequent boot:"
+		elog "    echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "- Or, if bluetooth isn't a module, add to the kernel's command line:"
+		elog "    bluetooth.disable_ertm=y"
+	fi
+}
+
+pkg_postrm() {
+	linux-mod_pkg_postrm
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-03-22  5:18 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-03-22  5:18 UTC (permalink / raw
  To: gentoo-commits

commit:     a9f74c458168cee87861b41b174af8325f522782
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Mon Mar 22 04:21:26 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 05:18:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f74c45

games-util/xpadneo: fix using KERNEL_DIR as output dir

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20051
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.ebuild  | 2 +-
 games-util/xpadneo/xpadneo-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.ebuild b/games-util/xpadneo/xpadneo-0.9.ebuild
index 33ed81817a2..c6cc408ad12 100644
--- a/games-util/xpadneo/xpadneo-0.9.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
 
 S+="/hid-${PN}"
 MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KERNEL_DIR}"'
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
 BUILD_TARGETS="modules"
 
 CONFIG_CHECK="INPUT_FF_MEMLESS"

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index a40a337a991..e47959acf20 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
 
 S+="/hid-${PN}"
 MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KERNEL_DIR}"'
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
 BUILD_TARGETS="src/version.h modules"
 
 CONFIG_CHECK="INPUT_FF_MEMLESS"


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-03-26 15:55 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-03-26 15:55 UTC (permalink / raw
  To: gentoo-commits

commit:     8297581d9780e4334da584b6b70589f469ddd462
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Thu Mar 25 19:47:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 15:54:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8297581d

games-util/xpadneo: fix to use renamed udev rule

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20106
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index e47959acf20..01ec44c55d4 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -33,7 +33,7 @@ src_install() {
 	insinto /etc/modprobe.d
 	doins etc-modprobe.d/${PN}.conf
 
-	udev_dorules etc-udev-rules.d/98-${PN}.rules
+	udev_dorules etc-udev-rules.d/60-${PN}.rules
 
 	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
 }


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-04-04  9:52 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-04-04  9:52 UTC (permalink / raw
  To: gentoo-commits

commit:     f68b5e7cf43be7ec61ebc58fdeff4cc492442612
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:18:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:51:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68b5e7c

games-util/xpadneo: toolchain-funcs--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.ebuild  | 2 +-
 games-util/xpadneo/xpadneo-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.ebuild b/games-util/xpadneo/xpadneo-0.9.ebuild
index c6cc408ad12..6e38c45ca02 100644
--- a/games-util/xpadneo/xpadneo-0.9.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-mod toolchain-funcs udev
+inherit linux-mod udev
 
 DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
 HOMEPAGE="https://atar-axis.github.io/xpadneo/"

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index 01ec44c55d4..81efc50b45a 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-mod toolchain-funcs udev
+inherit linux-mod udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-04-05 15:03 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-04-05 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     55ff042dd744e17b18f9c9c4f30d5343d32b26b7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  5 15:03:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  5 15:03:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ff042d

games-util/xpadneo: Revert "toolchain-funcs--" (used in global scope)

This reverts commit f68b5e7cf43be7ec61ebc58fdeff4cc492442612.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.ebuild  | 2 +-
 games-util/xpadneo/xpadneo-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.ebuild b/games-util/xpadneo/xpadneo-0.9.ebuild
index 6e38c45ca02..c6cc408ad12 100644
--- a/games-util/xpadneo/xpadneo-0.9.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-mod udev
+inherit linux-mod toolchain-funcs udev
 
 DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
 HOMEPAGE="https://atar-axis.github.io/xpadneo/"

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index 81efc50b45a..01ec44c55d4 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-mod udev
+inherit linux-mod toolchain-funcs udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-04-11 15:03 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-04-11 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     33e37f202cda55cc0e39f8bc610cb5ca31655b1a
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sat Apr  3 16:23:47 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 15:02:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e37f20

games-util/xpadneo: drop 0.9

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20247
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/Manifest           |  1 -
 games-util/xpadneo/xpadneo-0.9.ebuild | 62 -----------------------------------
 2 files changed, 63 deletions(-)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 49e09598d88..0443f9124fb 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1,2 +1 @@
 DIST xpadneo-0.9.1.tar.gz 1353080 BLAKE2B fc2207e005cae629da50048330cbaa7d27183b0bbb083d35c3c144e91470273b8c7006c4b62d10b947dbe4fd003ca39623630923e477aa4eff3c243405d876bd SHA512 51063d104f165018b8430e26d2ab5a622c214efaaba3f7706cc99892b2054f57667b419672de5c2696189d389401b07024658c36a88343d980de9802789bcb10
-DIST xpadneo-0.9.tar.gz 1351003 BLAKE2B dd41e687a44415c9c44d70ae4df9c858a7218eca301e61421cee4b9e80d912f9336dad15636dc38cb79128a635e33bb2b795fadebe2f53ebe42d192212364cb0 SHA512 0819af24bfa556dd330abeb1180b0a46105428b6b2c8529bb357cd5b578fe6f21e057f3f457994b21b6d5d6b207d46bdf0ff80a6415f833396595ba5e7309389

diff --git a/games-util/xpadneo/xpadneo-0.9.ebuild b/games-util/xpadneo/xpadneo-0.9.ebuild
deleted file mode 100644
index c6cc408ad12..00000000000
--- a/games-util/xpadneo/xpadneo-0.9.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-mod toolchain-funcs udev
-
-DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
-HOMEPAGE="https://atar-axis.github.io/xpadneo/"
-SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-S+="/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
-CONFIG_CHECK="INPUT_FF_MEMLESS"
-
-src_prepare() {
-	default
-	sed -i "s/@DO_NOT_CHANGE@/v${PV}/" src/version.h || die
-}
-
-src_install() {
-	linux-mod_src_install
-
-	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/98-${PN}.rules
-
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
-}
-
-pkg_postinst() {
-	linux-mod_pkg_postinst
-	udev_reload
-
-	local ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if ! [[ ${REPLACING_VERSIONS} && $(<${ertm}) == Y ]]; then
-		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}"
-		elog
-		elog "Be warned that bluetooth's ERTM (Enhanced ReTransmission Mode) can"
-		elog "cause the gamepad to enter a re-connection loop."
-		elog "- To disable immediately:"
-		elog "    echo Y > ${ertm}"
-		elog "- To disable for next and subsequent boot:"
-		elog "    echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "- Or, if bluetooth isn't a module, add to the kernel's command line:"
-		elog "    bluetooth.disable_ertm=y"
-	fi
-}
-
-pkg_postrm() {
-	linux-mod_pkg_postrm
-	udev_reload
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-04-11 15:03 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-04-11 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     0ac30ebcd70816e5fad5d4432283a12512322873
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sat Apr  3 16:23:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 15:02:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac30ebc

games-util/xpadneo: sync live with 0.9.1

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index 01ec44c55d4..75edf29d395 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -23,7 +23,7 @@ SLOT="0"
 S+="/hid-${PN}"
 MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
 BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="src/version.h modules"
+BUILD_TARGETS="modules"
 
 CONFIG_CHECK="INPUT_FF_MEMLESS"
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-04-11 15:03 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-04-11 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     15e69ded7cdadb256a0d3e54c4284af4b79f0bba
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sat Apr  3 16:23:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 15:02:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e69ded

games-util/xpadneo: add 0.9.1

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 +
 games-util/xpadneo/xpadneo-0.9.1.ebuild | 64 +++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 4cb0f0f85a8..49e09598d88 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1 +1,2 @@
+DIST xpadneo-0.9.1.tar.gz 1353080 BLAKE2B fc2207e005cae629da50048330cbaa7d27183b0bbb083d35c3c144e91470273b8c7006c4b62d10b947dbe4fd003ca39623630923e477aa4eff3c243405d876bd SHA512 51063d104f165018b8430e26d2ab5a622c214efaaba3f7706cc99892b2054f57667b419672de5c2696189d389401b07024658c36a88343d980de9802789bcb10
 DIST xpadneo-0.9.tar.gz 1351003 BLAKE2B dd41e687a44415c9c44d70ae4df9c858a7218eca301e61421cee4b9e80d912f9336dad15636dc38cb79128a635e33bb2b795fadebe2f53ebe42d192212364cb0 SHA512 0819af24bfa556dd330abeb1180b0a46105428b6b2c8529bb357cd5b578fe6f21e057f3f457994b21b6d5d6b207d46bdf0ff80a6415f833396595ba5e7309389

diff --git a/games-util/xpadneo/xpadneo-0.9.1.ebuild b/games-util/xpadneo/xpadneo-0.9.1.ebuild
new file mode 100644
index 00000000000..75edf29d395
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod toolchain-funcs udev
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
+	EGIT_MIN_CLONE_TYPE="single"
+else
+	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+S+="/hid-${PN}"
+MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
+BUILD_TARGETS="modules"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /etc/modprobe.d
+	doins etc-modprobe.d/${PN}.conf
+
+	udev_dorules etc-udev-rules.d/60-${PN}.rules
+
+	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	udev_reload
+
+	local ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if ! [[ ${REPLACING_VERSIONS} && $(<${ertm}) == Y ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}"
+		elog
+		elog "Be warned that bluetooth's ERTM (Enhanced ReTransmission Mode) can"
+		elog "cause the gamepad to enter a re-connection loop."
+		elog "- To disable immediately:"
+		elog "    echo Y > ${ertm}"
+		elog "- To disable for next and subsequent boot:"
+		elog "    echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "- Or, if bluetooth isn't a module, add to the kernel's command line:"
+		elog "    bluetooth.disable_ertm=y"
+	fi
+}
+
+pkg_postrm() {
+	linux-mod_pkg_postrm
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-05-09  4:42 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-05-09  4:42 UTC (permalink / raw
  To: gentoo-commits

commit:     26cac706a340884d68ff3ccc25c0606ad22d512f
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Fri Apr 30 00:57:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  9 04:42:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26cac706

games-util/xpadneo: update ERTM messages for kernel 5.12

The L2CAP patch is upstreamed in >=5.12, and ERTM is now instead
recommended by upstream to help with rumble stability.

For non-live, also install the L2CAP patch in docs/ as reference.

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20610
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.1.ebuild | 38 ++++++++++++++++++++++-----------
 games-util/xpadneo/xpadneo-9999.ebuild  | 35 +++++++++++++++++++-----------
 2 files changed, 47 insertions(+), 26 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.1.ebuild b/games-util/xpadneo/xpadneo-0.9.1.ebuild
index 75edf29d395..bf7685af800 100644
--- a/games-util/xpadneo/xpadneo-0.9.1.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-mod toolchain-funcs udev
+inherit linux-info linux-mod toolchain-funcs udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
@@ -36,25 +36,37 @@ src_install() {
 	udev_dorules etc-udev-rules.d/60-${PN}.rules
 
 	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+	newdoc ../misc/kernel_patches/0001-fix_bluetooth_reconnect.patch \
+		L2CAP-fix-for-kernel-5.11-or-older.patch
 }
 
 pkg_postinst() {
 	linux-mod_pkg_postinst
 	udev_reload
 
-	local ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if ! [[ ${REPLACING_VERSIONS} && $(<${ertm}) == Y ]]; then
+	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if kernel_is -ge 5 12; then
+		if [[ $(<${disable_ertm}) == Y ]]; then
+			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
+			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
+			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
+			elog "  echo N > ${disable_ertm}"
+			elog "After changing, may need to re-pair the gamepad with bluetooth."
+		fi
+	elif [[ $(<${disable_ertm}) == N ]]; then
+		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
+		elog "While keeping enabled is recommended for rumble usage stability, it can"
+		elog "cause connection issues without kernel >=5.12 or the L2CAP kernel patch"
+		elog "provided in ${EROOT}/usr/share/doc/${PF}/"
+		elog "If needed, this mode can be disabled by running:"
+		elog "  echo Y > ${disable_ertm}"
+		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "After changing, may need to re-pair the gamepad with bluetooth."
+	fi
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
 		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}"
-		elog
-		elog "Be warned that bluetooth's ERTM (Enhanced ReTransmission Mode) can"
-		elog "cause the gamepad to enter a re-connection loop."
-		elog "- To disable immediately:"
-		elog "    echo Y > ${ertm}"
-		elog "- To disable for next and subsequent boot:"
-		elog "    echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "- Or, if bluetooth isn't a module, add to the kernel's command line:"
-		elog "    bluetooth.disable_ertm=y"
+		elog "  ${EROOT}/usr/share/doc/${PF}/"
 	fi
 }
 

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index 75edf29d395..6ee1277444a 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit linux-mod toolchain-funcs udev
+inherit linux-info linux-mod toolchain-funcs udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
@@ -42,19 +42,28 @@ pkg_postinst() {
 	linux-mod_pkg_postinst
 	udev_reload
 
-	local ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if ! [[ ${REPLACING_VERSIONS} && $(<${ertm}) == Y ]]; then
+	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if kernel_is -ge 5 12; then
+		if [[ $(<${disable_ertm}) == Y ]]; then
+			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
+			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
+			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
+			elog "  echo N > ${disable_ertm}"
+			elog "After changing, may need to re-pair the gamepad with bluetooth."
+		fi
+	elif [[ $(<${disable_ertm}) == N ]]; then
+		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
+		elog "While keeping enabled is recommended for rumble usage stability, it can"
+		elog "cause connection issues without a fix included in kernel >=5.12"
+		elog "If needed, this mode can be disabled by running:"
+		elog "  echo Y > ${disable_ertm}"
+		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "After changing, may need to re-pair the gamepad with bluetooth."
+	fi
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
 		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}"
-		elog
-		elog "Be warned that bluetooth's ERTM (Enhanced ReTransmission Mode) can"
-		elog "cause the gamepad to enter a re-connection loop."
-		elog "- To disable immediately:"
-		elog "    echo Y > ${ertm}"
-		elog "- To disable for next and subsequent boot:"
-		elog "    echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "- Or, if bluetooth isn't a module, add to the kernel's command line:"
-		elog "    bluetooth.disable_ertm=y"
+		elog "  ${EROOT}/usr/share/doc/${PF}/"
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-08-07  2:36 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2021-08-07  2:36 UTC (permalink / raw
  To: gentoo-commits

commit:     5021a8a1efa5584583ba3803dff75bc0f36bb329
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  7 02:19:45 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Aug  7 02:34:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5021a8a1

games-util/xpadneo: fix S technical VariableScope

Overlooked that S is not guaranteed to be set in global scope per PMS.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.1.ebuild | 2 +-
 games-util/xpadneo/xpadneo-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.1.ebuild b/games-util/xpadneo/xpadneo-0.9.1.ebuild
index bf7685af800..f97c7ef760e 100644
--- a/games-util/xpadneo/xpadneo-0.9.1.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.1.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/"
 LICENSE="GPL-3"
 SLOT="0"
 
-S+="/hid-${PN}"
+S="${WORKDIR}/${P}/hid-${PN}"
 MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
 BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
 BUILD_TARGETS="modules"

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index 6ee1277444a..3e4b4f05d40 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/"
 LICENSE="GPL-3"
 SLOT="0"
 
-S+="/hid-${PN}"
+S="${WORKDIR}/${P}/hid-${PN}"
 MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
 BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
 BUILD_TARGETS="modules"


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2021-09-03  4:40 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2021-09-03  4:40 UTC (permalink / raw
  To: gentoo-commits

commit:     eba59040332daba0702ac4912caa8d817a614e00
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  3 04:34:18 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Sep  3 04:39:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba59040

games-util/xpadneo: drop linux-info, note about toolchain-funcs

If new @PROVIDES makes InheritsCheck more widespread/default,
toolchain-funcs will likely have (more) people confused and think
it needs to be removed, so adding a short note.

BUILD_PARAMS is evaluated and as much as possible want to avoid
expanding variables pre-eval, this confuses pkgcheck into thinking
$(tc-getLD) is not in the ebuild with single quotes. May eventually
change approach to fix LD issues, but for now.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.1.ebuild | 3 ++-
 games-util/xpadneo/xpadneo-9999.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.1.ebuild b/games-util/xpadneo/xpadneo-0.9.1.ebuild
index f97c7ef760e..828d24913b9 100644
--- a/games-util/xpadneo/xpadneo-0.9.1.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.1.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-inherit linux-info linux-mod toolchain-funcs udev
+# pkgcheck note: toolchain-funcs is not unused
+inherit linux-mod toolchain-funcs udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index 3e4b4f05d40..5927d40b027 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-inherit linux-info linux-mod toolchain-funcs udev
+# pkgcheck note: toolchain-funcs is not unused
+inherit linux-mod toolchain-funcs udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-05-26  6:21 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-05-26  6:21 UTC (permalink / raw
  To: gentoo-commits

commit:     7db42ee464748943cf610170db40d15f151a22a1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 06:13:22 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu May 26 06:17:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db42ee4

games-util/xpadneo: add 0.9.2

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 +
 games-util/xpadneo/xpadneo-0.9.2.ebuild | 74 +++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 0443f9124fb2..4f6a7bd9839e 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1 +1,2 @@
 DIST xpadneo-0.9.1.tar.gz 1353080 BLAKE2B fc2207e005cae629da50048330cbaa7d27183b0bbb083d35c3c144e91470273b8c7006c4b62d10b947dbe4fd003ca39623630923e477aa4eff3c243405d876bd SHA512 51063d104f165018b8430e26d2ab5a622c214efaaba3f7706cc99892b2054f57667b419672de5c2696189d389401b07024658c36a88343d980de9802789bcb10
+DIST xpadneo-0.9.2.tar.gz 1342249 BLAKE2B de8ed5314d84cb8d4b90c893938f36cc680617ace10eba5d1a86b5acb66747a9c9214896c8375136681c40b988501d9426e1b18eb4ff01d565219c2d7c10c37f SHA512 84470e37e9e44e84a85a91a0df1bca24e109cf2209ae1b131530539202d00242997f1f069989df79a6345387de62c4651c70c641b533deab8ad9a9246841d12d

diff --git a/games-util/xpadneo/xpadneo-0.9.2.ebuild b/games-util/xpadneo/xpadneo-0.9.2.ebuild
new file mode 100644
index 000000000000..b193e5517951
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# pkgcheck note: toolchain-funcs is not unused
+inherit linux-mod toolchain-funcs udev
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
+	EGIT_MIN_CLONE_TYPE="single"
+else
+	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+S="${WORKDIR}/${P}/hid-${PN}"
+MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
+BUILD_TARGETS="modules"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /etc/modprobe.d
+	doins etc-modprobe.d/${PN}.conf
+
+	udev_dorules etc-udev-rules.d/60-${PN}.rules
+
+	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	udev_reload
+
+	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if kernel_is -ge 5 12; then
+		if [[ $(<${disable_ertm}) == Y ]]; then
+			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
+			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
+			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
+			elog "  echo N > ${disable_ertm}"
+			elog "After changing, may need to re-pair the gamepad with bluetooth."
+		fi
+	elif [[ $(<${disable_ertm}) == N ]]; then
+		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
+		elog "While keeping enabled is recommended for rumble usage stability, it can"
+		elog "cause connection issues without a fix included in kernel >=5.12"
+		elog "If needed, this mode can be disabled by running:"
+		elog "  echo Y > ${disable_ertm}"
+		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "After changing, may need to re-pair the gamepad with bluetooth."
+	fi
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}/"
+	fi
+}
+
+pkg_postrm() {
+	linux-mod_pkg_postrm
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-05-26  6:21 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-05-26  6:21 UTC (permalink / raw
  To: gentoo-commits

commit:     9f63acb718582c0c41d0e4f3f1df6d818f8d8649
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 06:13:34 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu May 26 06:17:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f63acb7

games-util/xpadneo: sync live

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/xpadneo-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index 5927d40b0273..b193e5517951 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 # pkgcheck note: toolchain-funcs is not unused
 inherit linux-mod toolchain-funcs udev


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-05-30  3:09 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-05-30  3:09 UTC (permalink / raw
  To: gentoo-commits

commit:     3c4d6cf2d04e66e62a6914e7515fa2641ca4fddb
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 03:07:42 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon May 30 03:08:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4d6cf2

games-util/xpadneo: add 0.9.3

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 +
 games-util/xpadneo/xpadneo-0.9.3.ebuild | 74 +++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 4f6a7bd9839e..875c4aa114a4 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1,2 +1,3 @@
 DIST xpadneo-0.9.1.tar.gz 1353080 BLAKE2B fc2207e005cae629da50048330cbaa7d27183b0bbb083d35c3c144e91470273b8c7006c4b62d10b947dbe4fd003ca39623630923e477aa4eff3c243405d876bd SHA512 51063d104f165018b8430e26d2ab5a622c214efaaba3f7706cc99892b2054f57667b419672de5c2696189d389401b07024658c36a88343d980de9802789bcb10
 DIST xpadneo-0.9.2.tar.gz 1342249 BLAKE2B de8ed5314d84cb8d4b90c893938f36cc680617ace10eba5d1a86b5acb66747a9c9214896c8375136681c40b988501d9426e1b18eb4ff01d565219c2d7c10c37f SHA512 84470e37e9e44e84a85a91a0df1bca24e109cf2209ae1b131530539202d00242997f1f069989df79a6345387de62c4651c70c641b533deab8ad9a9246841d12d
+DIST xpadneo-0.9.3.tar.gz 1342315 BLAKE2B 040f16e949a301926cc8e4c38212a658ffbc52832e1cd310ce5ae8bc568e2fd0fadad630771812f8b7ff76eaf5ad0f7ea8f158673a834aa1bd4d9407674acea7 SHA512 dd95e4bdbead8c8d93eca7d574989261e12bce232c1845e9bf11b5acdf3b9e47d62afb90f5a4208c788cf02ccaa73e99dc505f35679631119ba014a1f7796562

diff --git a/games-util/xpadneo/xpadneo-0.9.3.ebuild b/games-util/xpadneo/xpadneo-0.9.3.ebuild
new file mode 100644
index 000000000000..b193e5517951
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# pkgcheck note: toolchain-funcs is not unused
+inherit linux-mod toolchain-funcs udev
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
+	EGIT_MIN_CLONE_TYPE="single"
+else
+	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+S="${WORKDIR}/${P}/hid-${PN}"
+MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
+BUILD_TARGETS="modules"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /etc/modprobe.d
+	doins etc-modprobe.d/${PN}.conf
+
+	udev_dorules etc-udev-rules.d/60-${PN}.rules
+
+	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	udev_reload
+
+	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if kernel_is -ge 5 12; then
+		if [[ $(<${disable_ertm}) == Y ]]; then
+			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
+			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
+			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
+			elog "  echo N > ${disable_ertm}"
+			elog "After changing, may need to re-pair the gamepad with bluetooth."
+		fi
+	elif [[ $(<${disable_ertm}) == N ]]; then
+		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
+		elog "While keeping enabled is recommended for rumble usage stability, it can"
+		elog "cause connection issues without a fix included in kernel >=5.12"
+		elog "If needed, this mode can be disabled by running:"
+		elog "  echo Y > ${disable_ertm}"
+		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "After changing, may need to re-pair the gamepad with bluetooth."
+	fi
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}/"
+	fi
+}
+
+pkg_postrm() {
+	linux-mod_pkg_postrm
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-06-02 15:07 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-06-02 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     5a9e3ff8496d9b93f3d95899d6608837b5f4ef30
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 13:34:35 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 14:56:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9e3ff8

games-util/xpadneo: drop 0.9.1, 0.9.2

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  2 -
 games-util/xpadneo/xpadneo-0.9.1.ebuild | 77 ---------------------------------
 games-util/xpadneo/xpadneo-0.9.2.ebuild | 74 -------------------------------
 3 files changed, 153 deletions(-)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 875c4aa114a4..f915eab4944a 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1,3 +1 @@
-DIST xpadneo-0.9.1.tar.gz 1353080 BLAKE2B fc2207e005cae629da50048330cbaa7d27183b0bbb083d35c3c144e91470273b8c7006c4b62d10b947dbe4fd003ca39623630923e477aa4eff3c243405d876bd SHA512 51063d104f165018b8430e26d2ab5a622c214efaaba3f7706cc99892b2054f57667b419672de5c2696189d389401b07024658c36a88343d980de9802789bcb10
-DIST xpadneo-0.9.2.tar.gz 1342249 BLAKE2B de8ed5314d84cb8d4b90c893938f36cc680617ace10eba5d1a86b5acb66747a9c9214896c8375136681c40b988501d9426e1b18eb4ff01d565219c2d7c10c37f SHA512 84470e37e9e44e84a85a91a0df1bca24e109cf2209ae1b131530539202d00242997f1f069989df79a6345387de62c4651c70c641b533deab8ad9a9246841d12d
 DIST xpadneo-0.9.3.tar.gz 1342315 BLAKE2B 040f16e949a301926cc8e4c38212a658ffbc52832e1cd310ce5ae8bc568e2fd0fadad630771812f8b7ff76eaf5ad0f7ea8f158673a834aa1bd4d9407674acea7 SHA512 dd95e4bdbead8c8d93eca7d574989261e12bce232c1845e9bf11b5acdf3b9e47d62afb90f5a4208c788cf02ccaa73e99dc505f35679631119ba014a1f7796562

diff --git a/games-util/xpadneo/xpadneo-0.9.1.ebuild b/games-util/xpadneo/xpadneo-0.9.1.ebuild
deleted file mode 100644
index 828d24913b9c..000000000000
--- a/games-util/xpadneo/xpadneo-0.9.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# pkgcheck note: toolchain-funcs is not unused
-inherit linux-mod toolchain-funcs udev
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
-	EGIT_MIN_CLONE_TYPE="single"
-else
-	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
-HOMEPAGE="https://atar-axis.github.io/xpadneo/"
-
-LICENSE="GPL-3"
-SLOT="0"
-
-S="${WORKDIR}/${P}/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
-CONFIG_CHECK="INPUT_FF_MEMLESS"
-
-src_install() {
-	linux-mod_src_install
-
-	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/60-${PN}.rules
-
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
-	newdoc ../misc/kernel_patches/0001-fix_bluetooth_reconnect.patch \
-		L2CAP-fix-for-kernel-5.11-or-older.patch
-}
-
-pkg_postinst() {
-	linux-mod_pkg_postinst
-	udev_reload
-
-	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if kernel_is -ge 5 12; then
-		if [[ $(<${disable_ertm}) == Y ]]; then
-			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
-			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
-			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
-			elog "  echo N > ${disable_ertm}"
-			elog "After changing, may need to re-pair the gamepad with bluetooth."
-		fi
-	elif [[ $(<${disable_ertm}) == N ]]; then
-		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
-		elog "While keeping enabled is recommended for rumble usage stability, it can"
-		elog "cause connection issues without kernel >=5.12 or the L2CAP kernel patch"
-		elog "provided in ${EROOT}/usr/share/doc/${PF}/"
-		elog "If needed, this mode can be disabled by running:"
-		elog "  echo Y > ${disable_ertm}"
-		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "After changing, may need to re-pair the gamepad with bluetooth."
-	fi
-
-	if [[ ! ${REPLACING_VERSIONS} ]]; then
-		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}/"
-	fi
-}
-
-pkg_postrm() {
-	linux-mod_pkg_postrm
-	udev_reload
-}

diff --git a/games-util/xpadneo/xpadneo-0.9.2.ebuild b/games-util/xpadneo/xpadneo-0.9.2.ebuild
deleted file mode 100644
index b193e5517951..000000000000
--- a/games-util/xpadneo/xpadneo-0.9.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# pkgcheck note: toolchain-funcs is not unused
-inherit linux-mod toolchain-funcs udev
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
-	EGIT_MIN_CLONE_TYPE="single"
-else
-	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
-HOMEPAGE="https://atar-axis.github.io/xpadneo/"
-
-LICENSE="GPL-3"
-SLOT="0"
-
-S="${WORKDIR}/${P}/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
-CONFIG_CHECK="INPUT_FF_MEMLESS"
-
-src_install() {
-	linux-mod_src_install
-
-	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/60-${PN}.rules
-
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
-}
-
-pkg_postinst() {
-	linux-mod_pkg_postinst
-	udev_reload
-
-	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if kernel_is -ge 5 12; then
-		if [[ $(<${disable_ertm}) == Y ]]; then
-			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
-			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
-			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
-			elog "  echo N > ${disable_ertm}"
-			elog "After changing, may need to re-pair the gamepad with bluetooth."
-		fi
-	elif [[ $(<${disable_ertm}) == N ]]; then
-		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
-		elog "While keeping enabled is recommended for rumble usage stability, it can"
-		elog "cause connection issues without a fix included in kernel >=5.12"
-		elog "If needed, this mode can be disabled by running:"
-		elog "  echo Y > ${disable_ertm}"
-		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "After changing, may need to re-pair the gamepad with bluetooth."
-	fi
-
-	if [[ ! ${REPLACING_VERSIONS} ]]; then
-		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}/"
-	fi
-}
-
-pkg_postrm() {
-	linux-mod_pkg_postrm
-	udev_reload
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-06-28  1:29 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-06-28  1:29 UTC (permalink / raw
  To: gentoo-commits

commit:     1a35262fc0d609ff4a9a2d028244e3a3844bdae2
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 01:25:37 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 01:28:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a35262f

games-util/xpadneo: add 0.9.4

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 +
 games-util/xpadneo/xpadneo-0.9.4.ebuild | 74 +++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index f915eab4944a..5d771b210a90 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1 +1,2 @@
 DIST xpadneo-0.9.3.tar.gz 1342315 BLAKE2B 040f16e949a301926cc8e4c38212a658ffbc52832e1cd310ce5ae8bc568e2fd0fadad630771812f8b7ff76eaf5ad0f7ea8f158673a834aa1bd4d9407674acea7 SHA512 dd95e4bdbead8c8d93eca7d574989261e12bce232c1845e9bf11b5acdf3b9e47d62afb90f5a4208c788cf02ccaa73e99dc505f35679631119ba014a1f7796562
+DIST xpadneo-0.9.4.tar.gz 1342566 BLAKE2B 82c5bd4e9d68e0b9465047d446a1ffe0c95b9590d76f1c6cec2d6e1c770a6c3f7c6c47cffef5ce27c449f1ada854dd9b6e6413791360c0d8eee8a697718bb320 SHA512 347b0a066044926681863b342a71e5a9a03e9ca58b5f1c5e20b5d7d68d92b373c14ec809b3bd6e0d719f53792b146966a03e169f997a5f65cef762d6058d0d01

diff --git a/games-util/xpadneo/xpadneo-0.9.4.ebuild b/games-util/xpadneo/xpadneo-0.9.4.ebuild
new file mode 100644
index 000000000000..b193e5517951
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# pkgcheck note: toolchain-funcs is not unused
+inherit linux-mod toolchain-funcs udev
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
+	EGIT_MIN_CLONE_TYPE="single"
+else
+	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+S="${WORKDIR}/${P}/hid-${PN}"
+MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
+BUILD_TARGETS="modules"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /etc/modprobe.d
+	doins etc-modprobe.d/${PN}.conf
+
+	udev_dorules etc-udev-rules.d/60-${PN}.rules
+
+	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	udev_reload
+
+	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if kernel_is -ge 5 12; then
+		if [[ $(<${disable_ertm}) == Y ]]; then
+			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
+			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
+			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
+			elog "  echo N > ${disable_ertm}"
+			elog "After changing, may need to re-pair the gamepad with bluetooth."
+		fi
+	elif [[ $(<${disable_ertm}) == N ]]; then
+		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
+		elog "While keeping enabled is recommended for rumble usage stability, it can"
+		elog "cause connection issues without a fix included in kernel >=5.12"
+		elog "If needed, this mode can be disabled by running:"
+		elog "  echo Y > ${disable_ertm}"
+		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "After changing, may need to re-pair the gamepad with bluetooth."
+	fi
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}/"
+	fi
+}
+
+pkg_postrm() {
+	linux-mod_pkg_postrm
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-06-28  1:29 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-06-28  1:29 UTC (permalink / raw
  To: gentoo-commits

commit:     9205115c593d73d895b563be85a22d4fbf8946e8
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 01:25:46 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 01:28:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9205115c

games-util/xpadneo: drop 0.9.3

Virtual identical to 0.9.4 beside a version string fix.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 -
 games-util/xpadneo/xpadneo-0.9.3.ebuild | 74 ---------------------------------
 2 files changed, 75 deletions(-)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 5d771b210a90..5f03162043d5 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1,2 +1 @@
-DIST xpadneo-0.9.3.tar.gz 1342315 BLAKE2B 040f16e949a301926cc8e4c38212a658ffbc52832e1cd310ce5ae8bc568e2fd0fadad630771812f8b7ff76eaf5ad0f7ea8f158673a834aa1bd4d9407674acea7 SHA512 dd95e4bdbead8c8d93eca7d574989261e12bce232c1845e9bf11b5acdf3b9e47d62afb90f5a4208c788cf02ccaa73e99dc505f35679631119ba014a1f7796562
 DIST xpadneo-0.9.4.tar.gz 1342566 BLAKE2B 82c5bd4e9d68e0b9465047d446a1ffe0c95b9590d76f1c6cec2d6e1c770a6c3f7c6c47cffef5ce27c449f1ada854dd9b6e6413791360c0d8eee8a697718bb320 SHA512 347b0a066044926681863b342a71e5a9a03e9ca58b5f1c5e20b5d7d68d92b373c14ec809b3bd6e0d719f53792b146966a03e169f997a5f65cef762d6058d0d01

diff --git a/games-util/xpadneo/xpadneo-0.9.3.ebuild b/games-util/xpadneo/xpadneo-0.9.3.ebuild
deleted file mode 100644
index b193e5517951..000000000000
--- a/games-util/xpadneo/xpadneo-0.9.3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# pkgcheck note: toolchain-funcs is not unused
-inherit linux-mod toolchain-funcs udev
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
-	EGIT_MIN_CLONE_TYPE="single"
-else
-	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
-HOMEPAGE="https://atar-axis.github.io/xpadneo/"
-
-LICENSE="GPL-3"
-SLOT="0"
-
-S="${WORKDIR}/${P}/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
-CONFIG_CHECK="INPUT_FF_MEMLESS"
-
-src_install() {
-	linux-mod_src_install
-
-	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/60-${PN}.rules
-
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
-}
-
-pkg_postinst() {
-	linux-mod_pkg_postinst
-	udev_reload
-
-	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if kernel_is -ge 5 12; then
-		if [[ $(<${disable_ertm}) == Y ]]; then
-			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
-			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
-			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
-			elog "  echo N > ${disable_ertm}"
-			elog "After changing, may need to re-pair the gamepad with bluetooth."
-		fi
-	elif [[ $(<${disable_ertm}) == N ]]; then
-		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
-		elog "While keeping enabled is recommended for rumble usage stability, it can"
-		elog "cause connection issues without a fix included in kernel >=5.12"
-		elog "If needed, this mode can be disabled by running:"
-		elog "  echo Y > ${disable_ertm}"
-		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "After changing, may need to re-pair the gamepad with bluetooth."
-	fi
-
-	if [[ ! ${REPLACING_VERSIONS} ]]; then
-		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}/"
-	fi
-}
-
-pkg_postrm() {
-	linux-mod_pkg_postrm
-	udev_reload
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-09-17 23:14 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-09-17 23:14 UTC (permalink / raw
  To: gentoo-commits

commit:     757576078f8bb360018a22e8ff765788eb9ff471
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 17 23:14:01 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Sep 17 23:14:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75757607

games-util/xpadneo: add 0.9.5

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 +
 games-util/xpadneo/xpadneo-0.9.5.ebuild | 74 +++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 5f03162043d5..79e3e12d0a71 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1 +1,2 @@
 DIST xpadneo-0.9.4.tar.gz 1342566 BLAKE2B 82c5bd4e9d68e0b9465047d446a1ffe0c95b9590d76f1c6cec2d6e1c770a6c3f7c6c47cffef5ce27c449f1ada854dd9b6e6413791360c0d8eee8a697718bb320 SHA512 347b0a066044926681863b342a71e5a9a03e9ca58b5f1c5e20b5d7d68d92b373c14ec809b3bd6e0d719f53792b146966a03e169f997a5f65cef762d6058d0d01
+DIST xpadneo-0.9.5.tar.gz 1341366 BLAKE2B d04a3e1b626af1f1a9ec114f0a8ed44c50ec8cde9da71483491d1afd7688611fd7548186ea68ef8a144aecec06acba816e81e9f0708c8dceb96fa1d40985bb44 SHA512 e7e299faf78c139d4cd189c4adc9bcbd52e1e1011ff90513cc09fc3e6cac1961018883933ad1db23dc02c8d5006f3166fbb42ae66150dff71138f2ed95f4576c

diff --git a/games-util/xpadneo/xpadneo-0.9.5.ebuild b/games-util/xpadneo/xpadneo-0.9.5.ebuild
new file mode 100644
index 000000000000..b193e5517951
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# pkgcheck note: toolchain-funcs is not unused
+inherit linux-mod toolchain-funcs udev
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
+	EGIT_MIN_CLONE_TYPE="single"
+else
+	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+S="${WORKDIR}/${P}/hid-${PN}"
+MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
+BUILD_TARGETS="modules"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_install() {
+	linux-mod_src_install
+
+	insinto /etc/modprobe.d
+	doins etc-modprobe.d/${PN}.conf
+
+	udev_dorules etc-udev-rules.d/60-${PN}.rules
+
+	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	udev_reload
+
+	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
+	if kernel_is -ge 5 12; then
+		if [[ $(<${disable_ertm}) == Y ]]; then
+			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
+			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
+			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
+			elog "  echo N > ${disable_ertm}"
+			elog "After changing, may need to re-pair the gamepad with bluetooth."
+		fi
+	elif [[ $(<${disable_ertm}) == N ]]; then
+		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
+		elog "While keeping enabled is recommended for rumble usage stability, it can"
+		elog "cause connection issues without a fix included in kernel >=5.12"
+		elog "If needed, this mode can be disabled by running:"
+		elog "  echo Y > ${disable_ertm}"
+		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
+		elog "After changing, may need to re-pair the gamepad with bluetooth."
+	fi
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}/"
+	fi
+}
+
+pkg_postrm() {
+	linux-mod_pkg_postrm
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-09-27 23:46 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-09-27 23:46 UTC (permalink / raw
  To: gentoo-commits

commit:     77b78874b096e817974d825449712b0aaabc304a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 27 21:18:45 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 23:44:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b78874

games-util/xpadneo: drop 0.9.4

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 -
 games-util/xpadneo/xpadneo-0.9.4.ebuild | 74 ---------------------------------
 2 files changed, 75 deletions(-)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 79e3e12d0a71..163427b7e98b 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1,2 +1 @@
-DIST xpadneo-0.9.4.tar.gz 1342566 BLAKE2B 82c5bd4e9d68e0b9465047d446a1ffe0c95b9590d76f1c6cec2d6e1c770a6c3f7c6c47cffef5ce27c449f1ada854dd9b6e6413791360c0d8eee8a697718bb320 SHA512 347b0a066044926681863b342a71e5a9a03e9ca58b5f1c5e20b5d7d68d92b373c14ec809b3bd6e0d719f53792b146966a03e169f997a5f65cef762d6058d0d01
 DIST xpadneo-0.9.5.tar.gz 1341366 BLAKE2B d04a3e1b626af1f1a9ec114f0a8ed44c50ec8cde9da71483491d1afd7688611fd7548186ea68ef8a144aecec06acba816e81e9f0708c8dceb96fa1d40985bb44 SHA512 e7e299faf78c139d4cd189c4adc9bcbd52e1e1011ff90513cc09fc3e6cac1961018883933ad1db23dc02c8d5006f3166fbb42ae66150dff71138f2ed95f4576c

diff --git a/games-util/xpadneo/xpadneo-0.9.4.ebuild b/games-util/xpadneo/xpadneo-0.9.4.ebuild
deleted file mode 100644
index b193e5517951..000000000000
--- a/games-util/xpadneo/xpadneo-0.9.4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# pkgcheck note: toolchain-funcs is not unused
-inherit linux-mod toolchain-funcs udev
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
-	EGIT_MIN_CLONE_TYPE="single"
-else
-	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
-HOMEPAGE="https://atar-axis.github.io/xpadneo/"
-
-LICENSE="GPL-3"
-SLOT="0"
-
-S="${WORKDIR}/${P}/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
-CONFIG_CHECK="INPUT_FF_MEMLESS"
-
-src_install() {
-	linux-mod_src_install
-
-	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/60-${PN}.rules
-
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
-}
-
-pkg_postinst() {
-	linux-mod_pkg_postinst
-	udev_reload
-
-	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if kernel_is -ge 5 12; then
-		if [[ $(<${disable_ertm}) == Y ]]; then
-			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
-			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
-			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
-			elog "  echo N > ${disable_ertm}"
-			elog "After changing, may need to re-pair the gamepad with bluetooth."
-		fi
-	elif [[ $(<${disable_ertm}) == N ]]; then
-		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
-		elog "While keeping enabled is recommended for rumble usage stability, it can"
-		elog "cause connection issues without a fix included in kernel >=5.12"
-		elog "If needed, this mode can be disabled by running:"
-		elog "  echo Y > ${disable_ertm}"
-		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "After changing, may need to re-pair the gamepad with bluetooth."
-	fi
-
-	if [[ ! ${REPLACING_VERSIONS} ]]; then
-		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}/"
-	fi
-}
-
-pkg_postrm() {
-	linux-mod_pkg_postrm
-	udev_reload
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2022-12-02  3:18 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2022-12-02  3:18 UTC (permalink / raw
  To: gentoo-commits

commit:     fcac2e200188840b2cb38245bfab1477a739e55a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 20:07:54 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 03:14:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcac2e20

games-util/xpadneo: stabilize 0.9.5 for amd64

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.5.ebuild b/games-util/xpadneo/xpadneo-0.9.5.ebuild
index b193e5517951..79cd580942bb 100644
--- a/games-util/xpadneo/xpadneo-0.9.5.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.5.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_MIN_CLONE_TYPE="single"
 else
 	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2023-05-29 13:05 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2023-05-29 13:05 UTC (permalink / raw
  To: gentoo-commits

commit:     75a8a620b0087105c1b2f132b8008a952341f8a2
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 09:50:18 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon May 29 13:03:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a8a620

games-util/xpadneo: migrate to linux-mod-r1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 ...xpadneo-9999.ebuild => xpadneo-0.9.5-r1.ebuild} | 29 +++++++++++-----------
 games-util/xpadneo/xpadneo-9999.ebuild             | 29 +++++++++++-----------
 2 files changed, 28 insertions(+), 30 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
similarity index 78%
copy from games-util/xpadneo/xpadneo-9999.ebuild
copy to games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
index b193e5517951..c1de2e3d642d 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-# pkgcheck note: toolchain-funcs is not unused
-inherit linux-mod toolchain-funcs udev
+inherit linux-mod-r1 udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
@@ -21,26 +20,27 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/"
 LICENSE="GPL-3"
 SLOT="0"
 
-S="${WORKDIR}/${P}/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
 CONFIG_CHECK="INPUT_FF_MEMLESS"
 
+src_compile() {
+	local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
+	local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )
+
+	linux-mod-r1_src_compile
+}
+
 src_install() {
-	linux-mod_src_install
+	local DOCS=( docs/{[^i]*.md,descriptors,reports} NEWS.md )
+	linux-mod-r1_src_install
 
 	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/60-${PN}.rules
+	doins hid-${PN}/etc-modprobe.d/${PN}.conf
 
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+	udev_dorules hid-${PN}/etc-udev-rules.d/60-${PN}.rules
 }
 
 pkg_postinst() {
-	linux-mod_pkg_postinst
+	linux-mod-r1_pkg_postinst
 	udev_reload
 
 	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
@@ -69,6 +69,5 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-	linux-mod_pkg_postrm
 	udev_reload
 }

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index b193e5517951..c1de2e3d642d 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-# pkgcheck note: toolchain-funcs is not unused
-inherit linux-mod toolchain-funcs udev
+inherit linux-mod-r1 udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
@@ -21,26 +20,27 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/"
 LICENSE="GPL-3"
 SLOT="0"
 
-S="${WORKDIR}/${P}/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
 CONFIG_CHECK="INPUT_FF_MEMLESS"
 
+src_compile() {
+	local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
+	local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )
+
+	linux-mod-r1_src_compile
+}
+
 src_install() {
-	linux-mod_src_install
+	local DOCS=( docs/{[^i]*.md,descriptors,reports} NEWS.md )
+	linux-mod-r1_src_install
 
 	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/60-${PN}.rules
+	doins hid-${PN}/etc-modprobe.d/${PN}.conf
 
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
+	udev_dorules hid-${PN}/etc-udev-rules.d/60-${PN}.rules
 }
 
 pkg_postinst() {
-	linux-mod_pkg_postinst
+	linux-mod-r1_pkg_postinst
 	udev_reload
 
 	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
@@ -69,6 +69,5 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-	linux-mod_pkg_postrm
 	udev_reload
 }


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2023-06-08 12:24 Arthur Zamarin
  0 siblings, 0 replies; 27+ messages in thread
From: Arthur Zamarin @ 2023-06-08 12:24 UTC (permalink / raw
  To: gentoo-commits

commit:     f30284db8e5f6281b05221ee6eaba7af9ab647e8
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 12:24:08 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 12:24:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30284db

games-util/xpadneo: Stabilize 0.9.5-r1 amd64, #908055

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild b/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
index c1de2e3d642d..73dc0c67259d 100644
--- a/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_MIN_CLONE_TYPE="single"
 else
 	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2023-07-14 21:32 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2023-07-14 21:32 UTC (permalink / raw
  To: gentoo-commits

commit:     de170f6bc2c76d634d0f7222f62f2984f7985d0a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 14 21:06:18 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 21:19:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de170f6b

games-util/xpadneo: drop 0.9.5

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.5.ebuild | 74 ---------------------------------
 1 file changed, 74 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.5.ebuild b/games-util/xpadneo/xpadneo-0.9.5.ebuild
deleted file mode 100644
index 79cd580942bb..000000000000
--- a/games-util/xpadneo/xpadneo-0.9.5.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# pkgcheck note: toolchain-funcs is not unused
-inherit linux-mod toolchain-funcs udev
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
-	EGIT_MIN_CLONE_TYPE="single"
-else
-	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64 ~x86"
-fi
-
-DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
-HOMEPAGE="https://atar-axis.github.io/xpadneo/"
-
-LICENSE="GPL-3"
-SLOT="0"
-
-S="${WORKDIR}/${P}/hid-${PN}"
-MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="modules"
-
-CONFIG_CHECK="INPUT_FF_MEMLESS"
-
-src_install() {
-	linux-mod_src_install
-
-	insinto /etc/modprobe.d
-	doins etc-modprobe.d/${PN}.conf
-
-	udev_dorules etc-udev-rules.d/60-${PN}.rules
-
-	dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md
-}
-
-pkg_postinst() {
-	linux-mod_pkg_postinst
-	udev_reload
-
-	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if kernel_is -ge 5 12; then
-		if [[ $(<${disable_ertm}) == Y ]]; then
-			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
-			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
-			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
-			elog "  echo N > ${disable_ertm}"
-			elog "After changing, may need to re-pair the gamepad with bluetooth."
-		fi
-	elif [[ $(<${disable_ertm}) == N ]]; then
-		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
-		elog "While keeping enabled is recommended for rumble usage stability, it can"
-		elog "cause connection issues without a fix included in kernel >=5.12"
-		elog "If needed, this mode can be disabled by running:"
-		elog "  echo Y > ${disable_ertm}"
-		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "After changing, may need to re-pair the gamepad with bluetooth."
-	fi
-
-	if [[ ! ${REPLACING_VERSIONS} ]]; then
-		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}/"
-	fi
-}
-
-pkg_postrm() {
-	linux-mod_pkg_postrm
-	udev_reload
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2024-02-13  6:17 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2024-02-13  6:17 UTC (permalink / raw
  To: gentoo-commits

commit:     657d03d60c06428c80d22dd9d0f0e79848c85343
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 13 06:06:08 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 06:07:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=657d03d6

games-util/xpadneo: remove ertm warning

Kernel 5.12 is rather far away now, and defaults should work
fine. Otherwise can refer to xpadneo's documentation itself
for troubleshooting.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/xpadneo-9999.ebuild | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index c1de2e3d642d..d57edd3bce17 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -43,25 +43,6 @@ pkg_postinst() {
 	linux-mod-r1_pkg_postinst
 	udev_reload
 
-	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if kernel_is -ge 5 12; then
-		if [[ $(<${disable_ertm}) == Y ]]; then
-			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
-			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
-			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
-			elog "  echo N > ${disable_ertm}"
-			elog "After changing, may need to re-pair the gamepad with bluetooth."
-		fi
-	elif [[ $(<${disable_ertm}) == N ]]; then
-		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
-		elog "While keeping enabled is recommended for rumble usage stability, it can"
-		elog "cause connection issues without a fix included in kernel >=5.12"
-		elog "If needed, this mode can be disabled by running:"
-		elog "  echo Y > ${disable_ertm}"
-		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "After changing, may need to re-pair the gamepad with bluetooth."
-	fi
-
 	if [[ ! ${REPLACING_VERSIONS} ]]; then
 		elog "To pair the gamepad and view module options, see documentation in:"
 		elog "  ${EROOT}/usr/share/doc/${PF}/"


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2024-02-13  6:17 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2024-02-13  6:17 UTC (permalink / raw
  To: gentoo-commits

commit:     6366d88efec6f14a27a0b6879a7f02f5e205cadf
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 13 06:16:31 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 06:16:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6366d88e

games-util/xpadneo: add 0.9.6

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 +
 games-util/xpadneo/xpadneo-0.9.6.ebuild | 54 +++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 163427b7e98b..8b085b23eedf 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1 +1,2 @@
 DIST xpadneo-0.9.5.tar.gz 1341366 BLAKE2B d04a3e1b626af1f1a9ec114f0a8ed44c50ec8cde9da71483491d1afd7688611fd7548186ea68ef8a144aecec06acba816e81e9f0708c8dceb96fa1d40985bb44 SHA512 e7e299faf78c139d4cd189c4adc9bcbd52e1e1011ff90513cc09fc3e6cac1961018883933ad1db23dc02c8d5006f3166fbb42ae66150dff71138f2ed95f4576c
+DIST xpadneo-0.9.6.tar.gz 1344171 BLAKE2B 22a85732de2894d310e0994c101ed62b7358f1b6b8ba5b389fc273bfd48a1ce619ebc04f3699818290f61833234d4c444fff25ea852d9dcf420b99ab28687a03 SHA512 f423fb89cf911c727917591d79909acaecc9fdb68ca10c5cc2a128bd66174799f3efb2b9a87e43bb315ab92ddb7513f79300f06d347fabc9de11e63fc1d25689

diff --git a/games-util/xpadneo/xpadneo-0.9.6.ebuild b/games-util/xpadneo/xpadneo-0.9.6.ebuild
new file mode 100644
index 000000000000..d57edd3bce17
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1 udev
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
+	EGIT_MIN_CLONE_TYPE="single"
+else
+	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_compile() {
+	local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
+	local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )
+
+	linux-mod-r1_src_compile
+}
+
+src_install() {
+	local DOCS=( docs/{[^i]*.md,descriptors,reports} NEWS.md )
+	linux-mod-r1_src_install
+
+	insinto /etc/modprobe.d
+	doins hid-${PN}/etc-modprobe.d/${PN}.conf
+
+	udev_dorules hid-${PN}/etc-udev-rules.d/60-${PN}.rules
+}
+
+pkg_postinst() {
+	linux-mod-r1_pkg_postinst
+	udev_reload
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "To pair the gamepad and view module options, see documentation in:"
+		elog "  ${EROOT}/usr/share/doc/${PF}/"
+	fi
+}
+
+pkg_postrm() {
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2024-03-14 19:19 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2024-03-14 19:19 UTC (permalink / raw
  To: gentoo-commits

commit:     1074a4b0b73c673c54d85c4e66b862f2bb45cab6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 19:17:57 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 19:17:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1074a4b0

games-util/xpadneo: Stabilize 0.9.6 amd64, #926181

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/xpadneo/xpadneo-0.9.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-util/xpadneo/xpadneo-0.9.6.ebuild b/games-util/xpadneo/xpadneo-0.9.6.ebuild
index d57edd3bce17..54ecc4aad8c5 100644
--- a/games-util/xpadneo/xpadneo-0.9.6.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.6.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_MIN_CLONE_TYPE="single"
 else
 	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/
@ 2024-03-20  7:17 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2024-03-20  7:17 UTC (permalink / raw
  To: gentoo-commits

commit:     44307f1624d5c9f8865a37b8fade699c0b30afe9
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 20 05:16:44 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 07:01:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44307f16

games-util/xpadneo: drop 0.9.5-r1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest                |  1 -
 games-util/xpadneo/xpadneo-0.9.5-r1.ebuild | 73 ------------------------------
 2 files changed, 74 deletions(-)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 8b085b23eedf..eb4635d595c1 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1,2 +1 @@
-DIST xpadneo-0.9.5.tar.gz 1341366 BLAKE2B d04a3e1b626af1f1a9ec114f0a8ed44c50ec8cde9da71483491d1afd7688611fd7548186ea68ef8a144aecec06acba816e81e9f0708c8dceb96fa1d40985bb44 SHA512 e7e299faf78c139d4cd189c4adc9bcbd52e1e1011ff90513cc09fc3e6cac1961018883933ad1db23dc02c8d5006f3166fbb42ae66150dff71138f2ed95f4576c
 DIST xpadneo-0.9.6.tar.gz 1344171 BLAKE2B 22a85732de2894d310e0994c101ed62b7358f1b6b8ba5b389fc273bfd48a1ce619ebc04f3699818290f61833234d4c444fff25ea852d9dcf420b99ab28687a03 SHA512 f423fb89cf911c727917591d79909acaecc9fdb68ca10c5cc2a128bd66174799f3efb2b9a87e43bb315ab92ddb7513f79300f06d347fabc9de11e63fc1d25689

diff --git a/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild b/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
deleted file mode 100644
index 73dc0c67259d..000000000000
--- a/games-util/xpadneo/xpadneo-0.9.5-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-mod-r1 udev
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git"
-	EGIT_MIN_CLONE_TYPE="single"
-else
-	SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64 ~x86"
-fi
-
-DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
-HOMEPAGE="https://atar-axis.github.io/xpadneo/"
-
-LICENSE="GPL-3"
-SLOT="0"
-
-CONFIG_CHECK="INPUT_FF_MEMLESS"
-
-src_compile() {
-	local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
-	local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )
-
-	linux-mod-r1_src_compile
-}
-
-src_install() {
-	local DOCS=( docs/{[^i]*.md,descriptors,reports} NEWS.md )
-	linux-mod-r1_src_install
-
-	insinto /etc/modprobe.d
-	doins hid-${PN}/etc-modprobe.d/${PN}.conf
-
-	udev_dorules hid-${PN}/etc-udev-rules.d/60-${PN}.rules
-}
-
-pkg_postinst() {
-	linux-mod-r1_pkg_postinst
-	udev_reload
-
-	local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
-	if kernel_is -ge 5 12; then
-		if [[ $(<${disable_ertm}) == Y ]]; then
-			elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
-			elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
-			elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
-			elog "  echo N > ${disable_ertm}"
-			elog "After changing, may need to re-pair the gamepad with bluetooth."
-		fi
-	elif [[ $(<${disable_ertm}) == N ]]; then
-		elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
-		elog "While keeping enabled is recommended for rumble usage stability, it can"
-		elog "cause connection issues without a fix included in kernel >=5.12"
-		elog "If needed, this mode can be disabled by running:"
-		elog "  echo Y > ${disable_ertm}"
-		elog "  echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
-		elog "After changing, may need to re-pair the gamepad with bluetooth."
-	fi
-
-	if [[ ! ${REPLACING_VERSIONS} ]]; then
-		elog "To pair the gamepad and view module options, see documentation in:"
-		elog "  ${EROOT}/usr/share/doc/${PF}/"
-	fi
-}
-
-pkg_postrm() {
-	udev_reload
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2024-03-20  7:17 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20  7:17 [gentoo-commits] repo/gentoo:master commit in: games-util/xpadneo/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2024-03-14 19:19 Sam James
2024-02-13  6:17 Ionen Wolkens
2024-02-13  6:17 Ionen Wolkens
2023-07-14 21:32 Ionen Wolkens
2023-06-08 12:24 Arthur Zamarin
2023-05-29 13:05 Ionen Wolkens
2022-12-02  3:18 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-09-17 23:14 Ionen Wolkens
2022-06-28  1:29 Ionen Wolkens
2022-06-28  1:29 Ionen Wolkens
2022-06-02 15:07 Ionen Wolkens
2022-05-30  3:09 Ionen Wolkens
2022-05-26  6:21 Ionen Wolkens
2022-05-26  6:21 Ionen Wolkens
2021-09-03  4:40 Ionen Wolkens
2021-08-07  2:36 Ionen Wolkens
2021-05-09  4:42 Sam James
2021-04-11 15:03 Sam James
2021-04-11 15:03 Sam James
2021-04-11 15:03 Sam James
2021-04-05 15:03 Sam James
2021-04-04  9:52 Sam James
2021-03-26 15:55 Sam James
2021-03-22  5:18 Sam James
2021-03-16 14:51 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox