[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 875833091fe65f3557059ec94321d22d521bb335 Author: Viorel Munteanu gentoo org> AuthorDate: Tue Jul 16 17:17:37 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Tue Jul 16 17:23:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87583309 games-util/xboxdrv: add 0.8.11 Closes: https://bugs.gentoo.org/936145 Closes: https://bugs.gentoo.org/919829 Signed-off-by: Viorel Munteanu gentoo.org> games-util/xboxdrv/Manifest | 1 + games-util/xboxdrv/xboxdrv-0.8.11.ebuild | 74 2 files changed, 75 insertions(+) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 794599666186..f7ba7e4a7cf6 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1 +1,2 @@ +DIST xboxdrv-0.8.11.tar.gz 323870 BLAKE2B 3cfc5441496e72226a00a82874b580dd7113ff52317cc63afeca94d53c0c20d0d2bd8c458adabdd0e2358746d43de8a2815788d9fd82b21c4e733638a07379f8 SHA512 d6503ee3a4b0388214dd866e479205d37fc9dcd4aa8e8a10edae5db7368d755e2dcc1e4217ecde234c5dd4d0aec3548fd1eea980aa7d6150895ed6dfa3673e5a DIST xboxdrv-v0.8.8.tar.bz2 268046 BLAKE2B 3092a0e1e1cf1ee351879e791212445c567772f4115eb09eeb0c28bc1692b1951837ae7f6488091eb57d06cd38edae4e964502524606370f1ccd8fc39b307db8 SHA512 9b90f866ab322aaf3223215c78120a7aeacb56970fedf2e603f14704bd517b8316a3e28edb6a75e1a47729e9ced4cde5cac3a2f7a95d8514b83219b8821eb9db diff --git a/games-util/xboxdrv/xboxdrv-0.8.11.ebuild b/games-util/xboxdrv/xboxdrv-0.8.11.ebuild new file mode 100644 index ..af98062d7b12 --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.11.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev + +DESCRIPTION="Userspace Xbox 360 Controller driver" +HOMEPAGE="https://github.com/xiota/xboxdrv https://xboxdrv.gitlab.io"; +SRC_URI="https://github.com/xiota/xboxdrv/archive/v$(ver_cut 1-3).tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/dbus-glib + dev-libs/glib:2 + sys-apps/dbus + virtual/libudev:= + virtual/libusb:1 + x11-libs/libX11 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig +" + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +pkg_setup() { + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_compile() { + escons \ + BUILD=custom \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + CXXFLAGS="-Wall ${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" +} + +src_install() { + dobin xboxdrv + doman doc/xboxdrv.1 + dodoc AUTHORS NEWS PROTOCOL README.md TODO + + newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv + newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv + + insinto /etc/dbus-1/system.d + doins "${FILESDIR}"/org.seul.Xboxdrv.conf + + udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules + systemd_dounit "${FILESDIR}"/xboxdrv.service +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/, games-util/xboxdrv/files/
commit: 29e6638615c6ae297d0af887b7644e76a766fd1a Author: Sam James gentoo org> AuthorDate: Tue Jul 16 07:45:34 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jul 16 07:45:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29e66386 games-util/xboxdrv: fix build w/ boost-1.85 Thanks to Bugs Bugs for the patch on the bug. It's kind of a stub but it's only for a debug message so not so bad until we can package the fork mentioned in the bug. Closes: https://bugs.gentoo.org/932747 Signed-off-by: Sam James gentoo.org> games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch | 12 games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild| 7 --- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch new file mode 100644 index ..77e910ababa3 --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-boost-1.85.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/932747#c4 +--- a/src/controller.cpp b/src/controller.cpp +@@ -98,7 +98,7 @@ Controller::set_active(bool v) + { + if (m_is_active != v) + { +-log_debug("activation status: " << v << " " << m_activation_cb); ++log_debug("activation status: " << v << " " << "unknown"); + m_is_active = v; + if (m_activation_cb) + { diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild index 45fe2ace917b..4a0f4935dcc0 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild @@ -37,9 +37,10 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch - "${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch - "${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch + "${FILESDIR}/xboxdrv-0.8.8-some-boost-fix.patch" + "${FILESDIR}/xboxdrv-0.8.8-Update-SConstruct-to-python3.patch" + "${FILESDIR}/xboxdrv-0.8.8-Updating-python-code-to-python3.patch" + "${FILESDIR}/xboxdrv-0.8.8-boost-1.85.patch" ) CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: c90f4447b567861d6c8370b12ecca83b628bce6d Author: Viorel Munteanu gentoo org> AuthorDate: Mon Apr 22 16:36:47 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Mon Apr 22 16:51:47 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90f4447 games-util/xboxdrv: drop 0.8.8_p20190118-r2 Signed-off-by: Viorel Munteanu gentoo.org> .../xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild | 83 -- 1 file changed, 83 deletions(-) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild deleted file mode 100644 index 8122a3913984.. --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev - -MY_P="${PN}-v$(ver_cut 1-3)" -DESCRIPTION="Userspace Xbox 360 Controller driver" -HOMEPAGE="https://xboxdrv.gitlab.io"; -SRC_URI="https://gitlab.com/xboxdrv/${PN}/-/archive/v$(ver_cut 1-3)/${MY_P}.tar.bz2" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-libs/boost:= - dev-libs/dbus-glib - dev-libs/glib:2 - sys-apps/dbus - virtual/libudev:= - virtual/libusb:1 - x11-libs/libX11 -" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - dev-util/glib-utils - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch - "${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch - "${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch -) - -CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" - -pkg_setup() { - linux-info_pkg_setup - python-any-r1_pkg_setup -} - -src_compile() { - escons \ - BUILD=custom \ - CXX="$(tc-getCXX)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - CXXFLAGS="-Wall ${CXXFLAGS}" \ - LINKFLAGS="${LDFLAGS}" -} - -src_install() { - dobin xboxdrv - doman doc/xboxdrv.1 - dodoc AUTHORS NEWS PROTOCOL README.md TODO - - newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv - newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv - - insinto /etc/dbus-1/system.d - doins "${FILESDIR}"/org.seul.Xboxdrv.conf - - udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules - systemd_dounit "${FILESDIR}"/xboxdrv.service -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 36603c9c6485d071666b1ece441a027336a6a7c4 Author: Viorel Munteanu gentoo org> AuthorDate: Mon Apr 22 16:35:34 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Mon Apr 22 16:51:47 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36603c9c games-util/xboxdrv: update EAPI 7 -> 8 Bump EAPI 7 -> 8 Enable Python 3.12. It is used only at build. Closes: https://bugs.gentoo.org/929600 Signed-off-by: Viorel Munteanu gentoo.org> .../xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild | 83 ++ 1 file changed, 83 insertions(+) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild new file mode 100644 index ..45fe2ace917b --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r3.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev + +MY_P="${PN}-v$(ver_cut 1-3)" +DESCRIPTION="Userspace Xbox 360 Controller driver" +HOMEPAGE="https://xboxdrv.gitlab.io"; +SRC_URI="https://gitlab.com/xboxdrv/${PN}/-/archive/v$(ver_cut 1-3)/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/boost:= + dev-libs/dbus-glib + dev-libs/glib:2 + sys-apps/dbus + virtual/libudev:= + virtual/libusb:1 + x11-libs/libX11 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch + "${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch + "${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch +) + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +pkg_setup() { + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_compile() { + escons \ + BUILD=custom \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + CXXFLAGS="-Wall ${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" +} + +src_install() { + dobin xboxdrv + doman doc/xboxdrv.1 + dodoc AUTHORS NEWS PROTOCOL README.md TODO + + newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv + newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv + + insinto /etc/dbus-1/system.d + doins "${FILESDIR}"/org.seul.Xboxdrv.conf + + udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules + systemd_dounit "${FILESDIR}"/xboxdrv.service +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 0b62ed64d22b407ce0d57c1c2ccce76e112dd06f Author: Viorel Munteanu gentoo org> AuthorDate: Mon Apr 22 16:36:52 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Mon Apr 22 16:51:47 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b62ed64 games-util/xboxdrv: drop 0.8.8_p20190118-r1 Signed-off-by: Viorel Munteanu gentoo.org> .../xboxdrv/xboxdrv-0.8.8_p20190118-r1.ebuild | 76 -- 1 file changed, 76 deletions(-) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r1.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r1.ebuild deleted file mode 100644 index 68a29564aeb8.. --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev - -DESCRIPTION="Userspace Xbox 360 Controller driver" -HOMEPAGE="https://xboxdrv.gitlab.io"; -SRC_URI="https://gitlab.com/xboxdrv/xboxdrv/-/archive/v0.8.8/xboxdrv-v0.8.8.tar.bz2"; -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-libs/boost:= - dev-libs/dbus-glib - dev-libs/glib:2 - sys-apps/dbus - virtual/libudev:= - virtual/libusb:1 - x11-libs/libX11 -" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - dev-util/glib-utils - virtual/pkgconfig -" - -S="${WORKDIR}/xboxdrv-v0.8.8" - -PATCHES=( "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch - "${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch - "${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch ) - -CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" - -pkg_setup() { - linux-info_pkg_setup - python_setup -} - -src_compile() { - escons \ - BUILD=custom \ - CXX="$(tc-getCXX)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - CXXFLAGS="-Wall ${CXXFLAGS}" \ - LINKFLAGS="${LDFLAGS}" -} - -src_install() { - dobin xboxdrv - doman doc/xboxdrv.1 - dodoc AUTHORS NEWS PROTOCOL README.md TODO - - newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv - newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv - - insinto /etc/dbus-1/system.d - doins "${FILESDIR}"/org.seul.Xboxdrv.conf - - udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules - systemd_dounit "${FILESDIR}"/xboxdrv.service -} - -pkg_postinst() { - udev_reload -}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 870a4b01fffabeb3985f9b9af3b55facd1d4f780 Author: John Helmert III gentoo org> AuthorDate: Sun Oct 30 02:07:36 2022 + Commit: John Helmert III gentoo org> CommitDate: Sun Oct 30 02:12:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870a4b01 games-util/xboxdrv: fix binpkg installation, udev_reload, add python3_11 Closes: https://bugs.gentoo.org/776601 Closes: https://bugs.gentoo.org/859325 Signed-off-by: John Helmert III gentoo.org> .../xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild | 83 ++ 1 file changed, 83 insertions(+) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild new file mode 100644 index ..7b11030a2c5e --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev + +MY_P="${PN}-v$(ver_cut 1-3)" +DESCRIPTION="Userspace Xbox 360 Controller driver" +HOMEPAGE="https://xboxdrv.gitlab.io"; +SRC_URI="https://gitlab.com/xboxdrv/${PN}/-/archive/v$(ver_cut 1-3)/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/boost:= + dev-libs/dbus-glib + dev-libs/glib:2 + sys-apps/dbus + virtual/libudev:= + virtual/libusb:1 + x11-libs/libX11 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch + "${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch + "${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch +) + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +pkg_setup() { + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_compile() { + escons \ + BUILD=custom \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + CXXFLAGS="-Wall ${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" +} + +src_install() { + dobin xboxdrv + doman doc/xboxdrv.1 + dodoc AUTHORS NEWS PROTOCOL README.md TODO + + newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv + newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv + + insinto /etc/dbus-1/system.d + doins "${FILESDIR}"/org.seul.Xboxdrv.conf + + udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules + systemd_dounit "${FILESDIR}"/xboxdrv.service +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: d045493001b7c9122851d78b6db46922c8042b52 Author: Joonas Niilola gentoo org> AuthorDate: Thu Aug 12 06:43:05 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Aug 12 06:45:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0454930 games-util/xboxdrv: drop 0.8.8_p20190118 Signed-off-by: Joonas Niilola gentoo.org> games-util/xboxdrv/Manifest | 1 - games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild | 80 --- 2 files changed, 81 deletions(-) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 484b4a26efb..79459966618 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1,2 +1 @@ -DIST xboxdrv-0.8.8_p20190118.tar.gz 322541 BLAKE2B ffa1021f974414ab9efebccf89e8be9137647ba7e1adf3bc9dad3b17b362b340f087fdac42c9b91a29a4cfe13295df6d3861fe953d9f96e80df08d4a6b1ce754 SHA512 ede650090c67642dc4729acc37630ae807f354d76f9bf31e23357668b6ae2b8d0261d2cf6e33090ab2120083b0664332dab22f1ed682bcdcbf1cac88b97e67af DIST xboxdrv-v0.8.8.tar.bz2 268046 BLAKE2B 3092a0e1e1cf1ee351879e791212445c567772f4115eb09eeb0c28bc1692b1951837ae7f6488091eb57d06cd38edae4e964502524606370f1ccd8fc39b307db8 SHA512 9b90f866ab322aaf3223215c78120a7aeacb56970fedf2e603f14704bd517b8316a3e28edb6a75e1a47729e9ced4cde5cac3a2f7a95d8514b83219b8821eb9db diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild deleted file mode 100644 index 2e7afb00a01..000 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev - -COMMIT="6e5e8a57628095d8d0c8bbb38187afb0f3a42112" -DESCRIPTION="Userspace Xbox 360 Controller driver" -HOMEPAGE="https://xboxdrv.gitlab.io"; -SRC_URI="https://github.com/chewi/xboxdrv/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-libs/boost:= - dev-libs/dbus-glib - dev-libs/glib:2 - sys-apps/dbus - virtual/libudev:= - virtual/libusb:1 - x11-libs/libX11 -" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - dev-util/glib-utils - virtual/pkgconfig -" - -S="${WORKDIR}/${PN}-${COMMIT}" - -CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" - -pkg_setup() { - linux-info_pkg_setup - python_setup -} - -src_prepare() { - default - - # Make it clearer that this is a patched fork. - echo -n "${PV%_*}.${PV#*_p}-gentoo" > VERSION || die -} - -src_compile() { - escons \ - BUILD=custom \ - CXX="$(tc-getCXX)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - CXXFLAGS="-Wall ${CXXFLAGS}" \ - LINKFLAGS="${LDFLAGS}" -} - -src_install() { - dobin xboxdrv - doman doc/xboxdrv.1 - dodoc AUTHORS NEWS PROTOCOL README.md TODO - - newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv - newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv - - insinto /etc/dbus-1/system.d - doins "${FILESDIR}"/org.seul.Xboxdrv.conf - - udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules - systemd_dounit "${FILESDIR}"/xboxdrv.service -} - -pkg_postinst() { - udev_reload -}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 75b5ae539cc4a991d2665da35668284a81101dae Author: Joonas Niilola gentoo org> AuthorDate: Thu Aug 12 06:44:22 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Aug 12 06:45:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b5ae53 games-util/xboxdrv: drop to maintainer-needed Signed-off-by: Joonas Niilola gentoo.org> games-util/xboxdrv/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml index 36f65aa6d47..20d04cebd59 100644 --- a/games-util/xboxdrv/metadata.xml +++ b/games-util/xboxdrv/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - -juip...@gentoo.org -Joonas Niilola - + chewi/xboxdrv xboxdrv/xboxdrv
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/files/, games-util/xboxdrv/
commit: d124cff10bbf1f7970b0e950c1f2eaba051c57a9 Author: Joonas Niilola gentoo org> AuthorDate: Mon Aug 2 13:15:03 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Aug 2 13:16:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d124cff1 games-util/xboxdrv: update with new scons - move back to non-forked upstream release, add patches so it builds. Closes: https://bugs.gentoo.org/806082 Signed-off-by: Joonas Niilola gentoo.org> games-util/xboxdrv/Manifest| 1 + ...boxdrv-0.8.8-Update-SConstruct-to-python3.patch | 79 +++ ...drv-0.8.8-Updating-python-code-to-python3.patch | 238 + .../files/xboxdrv-0.8.8-some-boost-fix.patch | 12 ++ .../xboxdrv/xboxdrv-0.8.8_p20190118-r1.ebuild | 76 +++ 5 files changed, 406 insertions(+) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 3e0cab33172..484b4a26efb 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1 +1,2 @@ DIST xboxdrv-0.8.8_p20190118.tar.gz 322541 BLAKE2B ffa1021f974414ab9efebccf89e8be9137647ba7e1adf3bc9dad3b17b362b340f087fdac42c9b91a29a4cfe13295df6d3861fe953d9f96e80df08d4a6b1ce754 SHA512 ede650090c67642dc4729acc37630ae807f354d76f9bf31e23357668b6ae2b8d0261d2cf6e33090ab2120083b0664332dab22f1ed682bcdcbf1cac88b97e67af +DIST xboxdrv-v0.8.8.tar.bz2 268046 BLAKE2B 3092a0e1e1cf1ee351879e791212445c567772f4115eb09eeb0c28bc1692b1951837ae7f6488091eb57d06cd38edae4e964502524606370f1ccd8fc39b307db8 SHA512 9b90f866ab322aaf3223215c78120a7aeacb56970fedf2e603f14704bd517b8316a3e28edb6a75e1a47729e9ced4cde5cac3a2f7a95d8514b83219b8821eb9db diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-Update-SConstruct-to-python3.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-Update-SConstruct-to-python3.patch new file mode 100644 index 000..accb4317fad --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-Update-SConstruct-to-python3.patch @@ -0,0 +1,79 @@ +From 39a334fbc0482626455f417e97308e52aa8746a7 Mon Sep 17 00:00:00 2001 +From: Ingo Ruhnke +Date: Sun, 24 Nov 2019 18:16:16 +0100 +Subject: [PATCH 1/3] Update SConstruct to python3 + +--- + SConstruct | 20 ++-- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git SConstruct SConstruct +index 4cd7970..54fa11f 100644 +--- a/SConstruct b/SConstruct +@@ -15,7 +15,7 @@ def build_dbus_glue(target, source, env): + "--mode=glib-server", + "--prefix=" + env['DBUS_PREFIX'], source[0].get_path()], +stdout=subprocess.PIPE).communicate()[0] +- ++xml = xml.decode() + xml = re.sub(r"callback = \(([A-Za-z_]+)\) \(marshal_data \? marshal_data : cc->callback\);", + r"union { \1 fn; void* obj; } conv;\n " + "conv.obj = (marshal_data ? marshal_data : cc->callback);\n " +@@ -29,14 +29,14 @@ def build_bin2h(target, source, env): + Takes a list of files and converts them into a C source that can be included + """ + def c_escape(str): +-return str.translate(string.maketrans("/.-", "___")) ++return str.translate(str.maketrans("/.-", "___")) + +-print target +-print source ++print(target) ++print(source) + with open(target[0].get_path(), "w") as fout: + fout.write("// autogenerated by scons Bin2H builder, do not edit by hand!\n\n") + +-if env.has_key("BIN2H_NAMESPACE"): ++if "BIN2H_NAMESPACE" in env: + fout.write("namespace %s {\n\n" % env["BIN2H_NAMESPACE"]) + + # write down data +@@ -45,8 +45,8 @@ def build_bin2h(target, source, env): + data = fin.read() + fout.write("// \"%s\"\n" % src.get_path()) + fout.write("const char %s[] = {" % c_escape(src.get_path())) +-bytes_arr = ["0x%02x" % ord(c) for c in data] +-for i in xrange(len(bytes_arr)): ++bytes_arr = ["0x%02x" % c for c in data] ++for i in range(len(bytes_arr)): + if i % 13 == 0: + fout.write("\n ") + fout.write(bytes_arr[i]) +@@ -62,7 +62,7 @@ def build_bin2h(target, source, env): + for src in source], ",\n")) + fout.write("\n}\n\n") + +-if env.has_key("BIN2H_NAMESPACE"): ++if "BIN2H_NAMESPACE" in env: + fout.write("} // namespace %s\n\n" % env["BIN2H_NAMESPACE"]) + + fout.write("/* EOF */\n") +@@ -131,12 +131,12 @@ env.Append(CPPDEFINES = { 'PACKAGE_VERSION': "'\"%s\"'" % package_version }) + conf = Configure(env) + + if not conf.env['CXX']: +-print "g++ must be installed!" ++print("g++ must be installed!") + Exit(1) + + # X11 checks + if not conf.CheckLibWithHeader('X11', 'X11/Xlib.h', 'C++'): +-print 'libx11-dev must be instal
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 73c7a6160971d212e5021b120f6da7a1ac8b4342 Author: Joonas Niilola gentoo org> AuthorDate: Fri Feb 26 06:16:31 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Feb 26 06:16:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c7a616 games-util/xboxdrv: add python-3.9 compatibility Signed-off-by: Joonas Niilola gentoo.org> games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild index af19df6ee66..2e7afb00a01 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 8b8167ba2d137c11ab0e9f1f088293428883dec0 Author: Joonas Niilola gentoo org> AuthorDate: Fri Jan 15 07:07:27 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jan 15 07:07:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8167ba games-util/xboxdrv: become the maintainer Acked-by: chewi Signed-off-by: Joonas Niilola gentoo.org> games-util/xboxdrv/metadata.xml | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml index fe838d30a8f..36f65aa6d47 100644 --- a/games-util/xboxdrv/metadata.xml +++ b/games-util/xboxdrv/metadata.xml @@ -1,16 +1,12 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - ch...@gentoo.org - James Le Cuirot - - - ga...@gentoo.org - Gentoo Games Project - - - chewi/xboxdrv - xboxdrv/xboxdrv - + +juip...@gentoo.org +Joonas Niilola + + +chewi/xboxdrv +xboxdrv/xboxdrv +
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 65e50f87e3f3ba312e57214a01a6b99cb10b5924 Author: Joonas Niilola gentoo org> AuthorDate: Fri Jan 15 07:06:08 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jan 15 07:07:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e50f87 games-util/xboxdrv: python-3.8 compatibility, fix kernel config checks Closes: https://bugs.gentoo.org/710848 Signed-off-by: Joonas Niilola gentoo.org> games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild index 76f9f0a91fc..fe9386eaac6 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev @@ -38,6 +38,11 @@ S="${WORKDIR}/${PN}-${COMMIT}" CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" +pkg_setup() { + linux-info_pkg_setup + python_setup +} + src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: b71061837cf82bd460aad41a0018488b0a7b302e Author: Joonas Niilola gentoo org> AuthorDate: Thu Jan 2 07:40:27 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 2 20:32:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7106183 games-util/xboxdrv: add python-3.7 support Signed-off-by: Joonas Niilola gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/14214 Signed-off-by: James Le Cuirot gentoo.org> games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild index e72f053eabf..1508c02753d 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python2_7 python3_{6,7} ) inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 900515f23f4d28575159f549334121ec3bde2bb8 Author: James Le Cuirot gentoo org> AuthorDate: Fri Jan 18 21:59:38 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Jan 18 21:59:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900515f2 games-util/xboxdrv: Bump to fix SCons under Python 2 I didn't realise that the patch to fix Python 3 had broken 2. Closes: https://bugs.gentoo.org/675766 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> games-util/xboxdrv/Manifest | 2 +- .../{xboxdrv-0.8.8_p20190116.ebuild => xboxdrv-0.8.8_p20190118.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 22664cac47a..3e0cab33172 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1 +1 @@ -DIST xboxdrv-0.8.8_p20190116.tar.gz 322469 BLAKE2B 8827cafb98235f7ad9d83204c808eb6bc25fdfd48321050ab79b561fc6a1a3b628e4bd667f7f1be511420514ef7906efc803db4f50130c393d7fa3cb498fed26 SHA512 3f9f8346a5a8486fb9f1af3e27a947e37c73ceab8f433639adf890144844f4fb6d005da3c4c6c1abf0a1550b71aba8b89001f58965d67fdc21e5f41e50a21436 +DIST xboxdrv-0.8.8_p20190118.tar.gz 322541 BLAKE2B ffa1021f974414ab9efebccf89e8be9137647ba7e1adf3bc9dad3b17b362b340f087fdac42c9b91a29a4cfe13295df6d3861fe953d9f96e80df08d4a6b1ce754 SHA512 ede650090c67642dc4729acc37630ae807f354d76f9bf31e23357668b6ae2b8d0261d2cf6e33090ab2120083b0664332dab22f1ed682bcdcbf1cac88b97e67af diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild similarity index 96% rename from games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild rename to games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild index 386182c312b..e72f053eabf 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_6 ) inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev -COMMIT="0c0143b59b0fd9718af4968992c96b6b6b2a2557" +COMMIT="6e5e8a57628095d8d0c8bbb38187afb0f3a42112" DESCRIPTION="Userspace Xbox 360 Controller driver" HOMEPAGE="https://xboxdrv.gitlab.io"; SRC_URI="https://github.com/chewi/xboxdrv/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 88317eb4ce5e1f55057e3aa93d15513eb98a8ddc Author: James Le Cuirot gentoo org> AuthorDate: Thu Jan 17 22:08:20 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 17 22:27:06 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88317eb4 games-util/xboxdrv: Add myself as explicit maintainer I'm already a member of the games team but I'm about to repoint this package to my own patched fork so I want to be informed of all changes. Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> games-util/xboxdrv/metadata.xml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml index 3c186688e26..9a8e14a39d4 100644 --- a/games-util/xboxdrv/metadata.xml +++ b/games-util/xboxdrv/metadata.xml @@ -1,7 +1,11 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ch...@gentoo.org + James Le Cuirot + + ga...@gentoo.org Gentoo Games Project
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/, games-util/xboxdrv/files/
commit: 6f5dd987d612e67babe6029c8db433a0184d2e31 Author: James Le Cuirot gentoo org> AuthorDate: Thu Jan 17 22:18:12 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 17 22:27:09 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5dd987 games-util/xboxdrv: Drop old 0.8.8 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> games-util/xboxdrv/Manifest| 1 - games-util/xboxdrv/files/github-144.patch | 15 -- .../xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch| 16 -- games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch | 13 - games-util/xboxdrv/xboxdrv-0.8.8.ebuild| 63 -- 5 files changed, 108 deletions(-) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index a08c7116294..22664cac47a 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1,2 +1 @@ DIST xboxdrv-0.8.8_p20190116.tar.gz 322469 BLAKE2B 8827cafb98235f7ad9d83204c808eb6bc25fdfd48321050ab79b561fc6a1a3b628e4bd667f7f1be511420514ef7906efc803db4f50130c393d7fa3cb498fed26 SHA512 3f9f8346a5a8486fb9f1af3e27a947e37c73ceab8f433639adf890144844f4fb6d005da3c4c6c1abf0a1550b71aba8b89001f58965d67fdc21e5f41e50a21436 -DIST xboxdrv-linux-0.8.8.tar.bz2 267919 BLAKE2B b6f09fc929ba561f0c18a777ca94f6972f366d29709d5fdcb168988311ca53eb813761df0f87d148795aa14d2d89b200e8123502c0b255ebe20e5f9caa18f8f1 SHA512 2978b33d23636431ee0cc393ea32d3d26ebe9f2b914f0bf8bc0e096f98202726768142e653bc5765ac55084b105ff3a6214bdf6e745fdd8aa167260c54c10494 diff --git a/games-util/xboxdrv/files/github-144.patch b/games-util/xboxdrv/files/github-144.patch deleted file mode 100644 index 5782e1a8cd5..000 --- a/games-util/xboxdrv/files/github-144.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp xboxdrv-linux-0.8.5/src/usb_gsource.cpp xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp 2013-04-07 18:27:49.0 +0100 -+++ xboxdrv-linux-0.8.5/src/usb_gsource.cpp2016-07-02 12:35:41.692355904 +0100 -@@ -174,7 +174,10 @@ - gboolean - USBGSource::on_source() - { -- libusb_handle_events(NULL); -+ struct timeval to; -+ to.tv_sec = 0; -+ to.tv_usec = 0; -+ libusb_handle_events_timeout_completed(NULL, &to, NULL); - return TRUE; - } - diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch deleted file mode 100644 index 80a8d8f550e..000 --- a/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch +++ /dev/null @@ -1,16 +0,0 @@ -Cast boost::shared_ptr explicitly for C++14. -See also: https://bugs.gentoo.org/show_bug.cgi?id=594674 - a/src/controller_slot.cpp -+++ b/src/controller_slot.cpp -@@ -67,9 +67,9 @@ ControllerSlot::disconnect() - } - - bool - ControllerSlot::is_connected() const - { -- return m_thread; -+ return static_cast(m_thread); - } - - /* EOF */ diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch deleted file mode 100644 index d6df8d99e32..000 --- a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://dev.gentoo.org/~vapier/scons-blows.txt - -diff -Naur xboxdrv-linux-0.8.8.orig/SConstruct xboxdrv-linux-0.8.8/SConstruct xboxdrv-linux-0.8.8.orig/SConstruct2015-11-09 10:19:35.0 + -+++ xboxdrv-linux-0.8.8/SConstruct 2016-07-02 16:13:52.560961836 +0100 -@@ -84,6 +84,7 @@ - opts.Add('CXXFLAGS', 'C++ Compiler flags') - opts.Add('LINKFLAGS', 'Linker Compiler flags') - opts.Add('AR', 'Library archiver') -+opts.Add('RANLIB', 'Archive indexer') - opts.Add('CC', 'C Compiler') - opts.Add('CXX', 'C++ Compiler') - opts.Add('BUILD', 'Build type: release, custom, development') diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild deleted file mode 100644 index a9324ad2dff..000 --- a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit linux-info scons-utils toolchain-funcs systemd udev - -MY_P=${PN}-linux-${PV} -DESCRIPTION="Userspace Xbox 360 Controller driver" -HOMEPAGE="https://pingus.seul.org/~grumbel/xboxdrv/"; -SRC_URI="https://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-libs/boost:= - dev-libs/dbus-glib:= - virtual/libudev:= - sys-apps/dbus:= - dev-libs/glib:2= - virtual/libusb:1= - x11-libs/libX11:=" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -PATCHES=( - "${FILESDIR}"/${P}-scons.patch - "${FILESDIR}"/github-144.patch - "${FILESDIR}"/${P}-fix-c++14.patch -) - -CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XP
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 9b4c30a2f534b64957da3a70b5af28faa09fbfb8 Author: James Le Cuirot gentoo org> AuthorDate: Thu Jan 17 22:19:56 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 17 22:27:10 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4c30a2 games-util/xboxdrv: Add missing dev-util/glib-utils dependency It is needed for glib-genmarshal. Closes: https://bugs.gentoo.org/668034 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild index 228c7cc3506..386182c312b 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild @@ -30,6 +30,7 @@ DEPEND=" " BDEPEND=" + dev-util/glib-utils virtual/pkgconfig "
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: c97ef8a7de6863914dd0b477de51f4a048397ad0 Author: James Le Cuirot gentoo org> AuthorDate: Thu Jan 17 22:16:21 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 17 22:27:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97ef8a7 games-util/xboxdrv: Repoint package to my own patched fork I've been sitting on a pile of patches for some years and I've finally got around to putting them all together for use here. Meanwhile upstream has been largely dormant. The situation there is unclear. The patches are a mixture of stability fixes, bug fixes, build fixes, and support for more devices, authored by me and others. They don't include my Steam Controller patch as this does not work very well. I am aware that the daemon does occasionally still crash but it's a lot better than it was. Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> games-util/xboxdrv/Manifest | 1 + games-util/xboxdrv/metadata.xml | 4 ++ games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild | 74 +++ 3 files changed, 79 insertions(+) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 77d64590223..a08c7116294 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1 +1,2 @@ +DIST xboxdrv-0.8.8_p20190116.tar.gz 322469 BLAKE2B 8827cafb98235f7ad9d83204c808eb6bc25fdfd48321050ab79b561fc6a1a3b628e4bd667f7f1be511420514ef7906efc803db4f50130c393d7fa3cb498fed26 SHA512 3f9f8346a5a8486fb9f1af3e27a947e37c73ceab8f433639adf890144844f4fb6d005da3c4c6c1abf0a1550b71aba8b89001f58965d67fdc21e5f41e50a21436 DIST xboxdrv-linux-0.8.8.tar.bz2 267919 BLAKE2B b6f09fc929ba561f0c18a777ca94f6972f366d29709d5fdcb168988311ca53eb813761df0f87d148795aa14d2d89b200e8123502c0b255ebe20e5f9caa18f8f1 SHA512 2978b33d23636431ee0cc393ea32d3d26ebe9f2b914f0bf8bc0e096f98202726768142e653bc5765ac55084b105ff3a6214bdf6e745fdd8aa167260c54c10494 diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml index 9a8e14a39d4..fe838d30a8f 100644 --- a/games-util/xboxdrv/metadata.xml +++ b/games-util/xboxdrv/metadata.xml @@ -9,4 +9,8 @@ ga...@gentoo.org Gentoo Games Project + + chewi/xboxdrv + xboxdrv/xboxdrv + diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild new file mode 100644 index 000..228c7cc3506 --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190116.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_6 ) + +inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev + +COMMIT="0c0143b59b0fd9718af4968992c96b6b6b2a2557" +DESCRIPTION="Userspace Xbox 360 Controller driver" +HOMEPAGE="https://xboxdrv.gitlab.io"; +SRC_URI="https://github.com/chewi/xboxdrv/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/boost:= + dev-libs/dbus-glib + dev-libs/glib:2 + sys-apps/dbus + virtual/libudev:= + virtual/libusb:1 + x11-libs/libX11 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}-${COMMIT}" + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +src_prepare() { + default + + # Make it clearer that this is a patched fork. + echo -n "${PV%_*}.${PV#*_p}-gentoo" > VERSION || die +} + +src_compile() { + escons \ + BUILD=custom \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + CXXFLAGS="-Wall ${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" +} + +src_install() { + dobin xboxdrv + doman doc/xboxdrv.1 + dodoc AUTHORS NEWS PROTOCOL README.md TODO + + newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv + newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv + + insinto /etc/dbus-1/system.d + doins "${FILESDIR}"/org.seul.Xboxdrv.conf + + udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules + systemd_dounit "${FILESDIR}"/xboxdrv.service +} + +pkg_postinst() { + udev_reload +}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/files/
commit: 0b0f686a875ae2df53c2c40346a80b3dcdba4611 Author: Rafael Kitover gmail com> AuthorDate: Sun Jan 13 14:26:26 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 17 22:27:11 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b0f686a games-util/xboxdrv: fix wireless pad udev match Add "Xbox 360 Wireless Adapter" to the ID_MODEL_FROM_DATABASE match patterns so that the wireless Xbox 360 controller adapter is detected. Signed-off-by: Rafael Kitover gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10823 Signed-off-by: James Le Cuirot gentoo.org> games-util/xboxdrv/files/xboxdrv.udev-rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-util/xboxdrv/files/xboxdrv.udev-rules b/games-util/xboxdrv/files/xboxdrv.udev-rules index c571b2b5ab0..85b1d57dd26 100644 --- a/games-util/xboxdrv/files/xboxdrv.udev-rules +++ b/games-util/xboxdrv/files/xboxdrv.udev-rules @@ -1,5 +1,5 @@ SUBSYSTEM=="usb", ACTION=="add",\ - ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S",\ + ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S|Xbox 360 Wireless Adapter",\ TAG+="systemd",\ ENV{SYSTEMD_ALIAS}="/sys/subsystem/usb/xbox/controller$number",\ ENV{SYSTEMD_WANTS}+="xboxdrv.service"
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: 24f2a6295efb423e183d021e7fae3db65333eb28 Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri May 11 12:51:17 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Fri May 11 20:39:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f2a629 games-util/xboxdrv: use HTTPS games-util/xboxdrv/xboxdrv-0.8.8.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild index ba30a6e3418..a9324ad2dff 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,8 +6,8 @@ inherit linux-info scons-utils toolchain-funcs systemd udev MY_P=${PN}-linux-${PV} DESCRIPTION="Userspace Xbox 360 Controller driver" -HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/"; -SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"; +HOMEPAGE="https://pingus.seul.org/~grumbel/xboxdrv/"; +SRC_URI="https://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"; LICENSE="GPL-3" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/, games-util/xboxdrv/files/
commit: 4749884d33af885c8218d2c958958e30f5b9ad8e Author: Michael Palimaka gentoo org> AuthorDate: Sat Sep 30 04:28:36 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Sat Sep 30 04:32:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4749884d games-util/xboxdrv: remove 0.8.5-r1 Package-Manager: Portage-2.3.8, Repoman-2.3.3 games-util/xboxdrv/Manifest| 1 - games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch | 13 -- games-util/xboxdrv/xboxdrv-0.8.5-r1.ebuild | 48 -- 3 files changed, 62 deletions(-) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index a5eaa4a4edc..33aa9c2375e 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1,2 +1 @@ -DIST xboxdrv-linux-0.8.5.tar.bz2 265805 SHA256 411195c4f5310a1a5f21f015daaf00b277f75da89df710308f8abfcf8f337e78 SHA512 954a3664462dfeff63a455f3dfea4bc14f8c3e07fa9b0c299bb523b4089faad7f8d634511eb66c023bd289adbbf18e96ce26cbcf5b8ffc9bb3088f1afe532601 WHIRLPOOL f47cdbcf40bd237715ff2b55354c6570ebbccd9cd0beb09b91869fa37db247c57019593b317d2acd767044fe92019defa01c9592bb3b63d2283103ff10dae844 DIST xboxdrv-linux-0.8.8.tar.bz2 267919 SHA256 f4fb8c09c0ce3841798f129ae4c2caf3f6db9786d78ad941994e425e3ffc168a SHA512 2978b33d23636431ee0cc393ea32d3d26ebe9f2b914f0bf8bc0e096f98202726768142e653bc5765ac55084b105ff3a6214bdf6e745fdd8aa167260c54c10494 WHIRLPOOL a27c0c68171cb08c6edc12aeafb84ae3a2edb14b8d4a87ad607f722581a58955d11808acb8c0b7169581850f52dd76be2c100de5e284a1521d10f0ae108a867d diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch deleted file mode 100644 index 3cc3649ca3d..000 --- a/games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://dev.gentoo.org/~vapier/scons-blows.txt - SConstruct -+++ SConstruct -@@ -85,6 +85,8 @@ - opts.Add('LINKFLAGS', 'Linker Compiler flags') - opts.Add('CC', 'C Compiler') - opts.Add('CXX', 'C++ Compiler') -+opts.Add('AR', 'Archiver') -+opts.Add('RANLIB', 'Archive indexer') - opts.Add('BUILD', 'Build type: release, custom, development') - - opts.Update(env) diff --git a/games-util/xboxdrv/xboxdrv-0.8.5-r1.ebuild b/games-util/xboxdrv/xboxdrv-0.8.5-r1.ebuild deleted file mode 100644 index 88a34e82347..000 --- a/games-util/xboxdrv/xboxdrv-0.8.5-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit base linux-info scons-utils toolchain-funcs - -MY_P=${PN}-linux-${PV} -DESCRIPTION="Userspace Xbox 360 Controller driver" -HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/"; -SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-libs/boost - virtual/udev - sys-apps/dbus - dev-libs/glib:2 - virtual/libusb:1 - x11-libs/libX11" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" -PATCHES=( "${FILESDIR}"/${P}-scons.patch ) - -src_compile() { - escons \ - BUILD=custom \ - CXX="$(tc-getCXX)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - CXXFLAGS="-Wall ${CXXFLAGS}" \ - LINKFLAGS="${LDFLAGS}" -} - -src_install() { - dobin xboxdrv - doman doc/xboxdrv.1 - dodoc AUTHORS NEWS PROTOCOL README TODO - - newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv - newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv -}
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: c508116f2e68ec0521a6fdc5163480c3b88e4e77 Author: Michael Palimaka gentoo org> AuthorDate: Sat Sep 30 04:26:21 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Sat Sep 30 04:26:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c508116f games-util/xboxdrv: stabilise 0.8.8 for amd64/x86 Closes: https://bugs.gentoo.org/632340 Package-Manager: Portage-2.3.8, Repoman-2.3.3 games-util/xboxdrv/xboxdrv-0.8.8.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild index 393f6021f3c..0e0a2083808 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND="dev-libs/boost:= dev-libs/dbus-glib:=
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/files/
commit: 92fc642e0ccb0481b193a592de891936e7471ff8 Author: Michał Górny gentoo org> AuthorDate: Wed Sep 6 21:19:49 2017 + Commit: Michał Górny gentoo org> CommitDate: Wed Sep 6 21:25:52 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92fc642e games-util/xboxdrv: Use https for dev.g.o games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch | 2 +- games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch index cb81f6d5147..3cc3649ca3d 100644 --- a/games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch +++ b/games-util/xboxdrv/files/xboxdrv-0.8.5-scons.patch @@ -1,4 +1,4 @@ -http://dev.gentoo.org/~vapier/scons-blows.txt +https://dev.gentoo.org/~vapier/scons-blows.txt --- SConstruct +++ SConstruct diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch index 7900b255ab1..d6df8d99e32 100644 --- a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch +++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch @@ -1,4 +1,4 @@ -http://dev.gentoo.org/~vapier/scons-blows.txt +https://dev.gentoo.org/~vapier/scons-blows.txt diff -Naur xboxdrv-linux-0.8.8.orig/SConstruct xboxdrv-linux-0.8.8/SConstruct --- xboxdrv-linux-0.8.8.orig/SConstruct2015-11-09 10:19:35.0 +
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/files/, games-util/xboxdrv/
commit: 946021f3cbce9688b84fa96a59a11b78a9594b9e Author: David Seifert gentoo org> AuthorDate: Fri Dec 16 10:31:25 2016 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 16 10:56:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946021f3 games-util/xboxdrv: Fix building with GCC 6 Gentoo-bug: 594674 Package-Manager: portage-2.3.3 games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch | 16 games-util/xboxdrv/xboxdrv-0.8.8.ebuild| 1 + 2 files changed, 17 insertions(+) diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch new file mode 100644 index ..80a8d8f --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch @@ -0,0 +1,16 @@ +Cast boost::shared_ptr explicitly for C++14. +See also: https://bugs.gentoo.org/show_bug.cgi?id=594674 + +--- a/src/controller_slot.cpp b/src/controller_slot.cpp +@@ -67,9 +67,9 @@ ControllerSlot::disconnect() + } + + bool + ControllerSlot::is_connected() const + { +- return m_thread; ++ return static_cast(m_thread); + } + + /* EOF */ diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild index 04d3c7d..804d3fa 100644 --- a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild +++ b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild @@ -29,6 +29,7 @@ S=${WORKDIR}/${MY_P} PATCHES=( "${FILESDIR}"/${P}-scons.patch "${FILESDIR}"/github-144.patch + "${FILESDIR}"/${P}-fix-c++14.patch ) CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
commit: efc6fe84fb83f1504e329a352382e33cb4699ba3 Author: Pacho Ramos gentoo org> AuthorDate: Fri Aug 19 13:19:22 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Fri Aug 19 13:21:04 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc6fe84 games-util/xboxdrv: Cleanup due to bug #143241 Package-Manager: portage-2.3.0 games-util/xboxdrv/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml index 268a234..3c18668 100644 --- a/games-util/xboxdrv/metadata.xml +++ b/games-util/xboxdrv/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - tris...@gentoo.org - Tristan Heaven - ga...@gentoo.org Gentoo Games Project
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/, games-util/xboxdrv/files/
commit: 1a467e8b2506662594afc28732a9249e8686c10e Author: James Le Cuirot gentoo org> AuthorDate: Sat Jul 2 15:33:32 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Jul 2 15:35:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a467e8b games-util/xboxdrv: Version bump to 0.8.8, EAPI bump to 6, bug #567182 Includes patch to fix 60 second delay, upstream GitHub issue #144. Package-Manager: portage-2.3.0 games-util/xboxdrv/Manifest| 1 + games-util/xboxdrv/files/github-144.patch | 15 ++ games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch | 13 + games-util/xboxdrv/xboxdrv-0.8.8.ebuild| 63 ++ 4 files changed, 92 insertions(+) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 4f53fe7..a5eaa4a 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1 +1,2 @@ DIST xboxdrv-linux-0.8.5.tar.bz2 265805 SHA256 411195c4f5310a1a5f21f015daaf00b277f75da89df710308f8abfcf8f337e78 SHA512 954a3664462dfeff63a455f3dfea4bc14f8c3e07fa9b0c299bb523b4089faad7f8d634511eb66c023bd289adbbf18e96ce26cbcf5b8ffc9bb3088f1afe532601 WHIRLPOOL f47cdbcf40bd237715ff2b55354c6570ebbccd9cd0beb09b91869fa37db247c57019593b317d2acd767044fe92019defa01c9592bb3b63d2283103ff10dae844 +DIST xboxdrv-linux-0.8.8.tar.bz2 267919 SHA256 f4fb8c09c0ce3841798f129ae4c2caf3f6db9786d78ad941994e425e3ffc168a SHA512 2978b33d23636431ee0cc393ea32d3d26ebe9f2b914f0bf8bc0e096f98202726768142e653bc5765ac55084b105ff3a6214bdf6e745fdd8aa167260c54c10494 WHIRLPOOL a27c0c68171cb08c6edc12aeafb84ae3a2edb14b8d4a87ad607f722581a58955d11808acb8c0b7169581850f52dd76be2c100de5e284a1521d10f0ae108a867d diff --git a/games-util/xboxdrv/files/github-144.patch b/games-util/xboxdrv/files/github-144.patch new file mode 100644 index 000..5782e1a --- /dev/null +++ b/games-util/xboxdrv/files/github-144.patch @@ -0,0 +1,15 @@ +diff -Naur xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp xboxdrv-linux-0.8.5/src/usb_gsource.cpp +--- xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp 2013-04-07 18:27:49.0 +0100 xboxdrv-linux-0.8.5/src/usb_gsource.cpp2016-07-02 12:35:41.692355904 +0100 +@@ -174,7 +174,10 @@ + gboolean + USBGSource::on_source() + { +- libusb_handle_events(NULL); ++ struct timeval to; ++ to.tv_sec = 0; ++ to.tv_usec = 0; ++ libusb_handle_events_timeout_completed(NULL, &to, NULL); + return TRUE; + } + diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch new file mode 100644 index 000..7900b25 --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch @@ -0,0 +1,13 @@ +http://dev.gentoo.org/~vapier/scons-blows.txt + +diff -Naur xboxdrv-linux-0.8.8.orig/SConstruct xboxdrv-linux-0.8.8/SConstruct +--- xboxdrv-linux-0.8.8.orig/SConstruct2015-11-09 10:19:35.0 + xboxdrv-linux-0.8.8/SConstruct 2016-07-02 16:13:52.560961836 +0100 +@@ -84,6 +84,7 @@ + opts.Add('CXXFLAGS', 'C++ Compiler flags') + opts.Add('LINKFLAGS', 'Linker Compiler flags') + opts.Add('AR', 'Library archiver') ++opts.Add('RANLIB', 'Archive indexer') + opts.Add('CC', 'C Compiler') + opts.Add('CXX', 'C++ Compiler') + opts.Add('BUILD', 'Build type: release, custom, development') diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild new file mode 100644 index 000..04d3c7d --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit linux-info scons-utils toolchain-funcs systemd udev + +MY_P=${PN}-linux-${PV} +DESCRIPTION="Userspace Xbox 360 Controller driver" +HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/"; +SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/boost:= + dev-libs/dbus-glib:= + virtual/libudev:= + sys-apps/dbus:= + dev-libs/glib:2= + virtual/libusb:1= + x11-libs/libX11:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}"/${P}-scons.patch + "${FILESDIR}"/github-144.patch +) + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +src_compile() { + escons \ + BUILD=custom \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + CXXFLAGS="-Wall ${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" +} + +src_install() { + dobin xboxdrv + doman doc/xboxdrv.1 + dodoc AUTHORS NEWS PROTOCOL README.md TODO + + newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv + newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv + + insinto /etc/dbus-1/system.d/ + doins "${FILESDIR}/org.seul
[gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/, games-util/xboxdrv/files/
commit: e3eae680d120f76bc3ee6c27618daa0b54cae3f9 Author: James Le Cuirot gentoo org> AuthorDate: Sat Jul 2 15:34:57 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Jul 2 15:35:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3eae680 games-util/xboxdrv: Remove old 0.8.5-r2 Package-Manager: portage-2.3.0 .../files/xboxdrv-0.8.4-libusbx-1.0.13-fix.patch | 340 - games-util/xboxdrv/xboxdrv-0.8.5-r2.ebuild | 63 2 files changed, 403 deletions(-) diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.4-libusbx-1.0.13-fix.patch b/games-util/xboxdrv/files/xboxdrv-0.8.4-libusbx-1.0.13-fix.patch deleted file mode 100644 index 5b8d2f4..000 --- a/games-util/xboxdrv/files/xboxdrv-0.8.4-libusbx-1.0.13-fix.patch +++ /dev/null @@ -1,340 +0,0 @@ -commit 27cdd9c6a994f3059b8ae683adb711169341ffa5 -Author: Ingo Ruhnke -Date: Wed Dec 19 11:39:31 2012 +0100 - -Added additional bookkeeping to USBController to allow clean shutdowns with libusbx - -Fixes #28 - a/src/firestorm_dual_controller.cpp -+++ b/src/firestorm_dual_controller.cpp -@@ -99,8 +99,6 @@ FirestormDualController::FirestormDualController(libusb_device* dev, bool is_vsb - - FirestormDualController::~FirestormDualController() - { -- usb_cancel_read(); -- usb_release_interface(0); - } - - void a/src/generic_usb_controller.cpp -+++ b/src/generic_usb_controller.cpp -@@ -62,8 +62,6 @@ GenericUSBController::GenericUSBController(libusb_device* dev, - - GenericUSBController::~GenericUSBController() - { -- usb_cancel_read(); -- usb_release_interface(m_interface); - } - - void a/src/playstation3_usb_controller.cpp -+++ b/src/playstation3_usb_controller.cpp -@@ -37,8 +37,6 @@ Playstation3USBController::Playstation3USBController(libusb_device* dev, bool tr - - Playstation3USBController::~Playstation3USBController() - { -- usb_cancel_read(); -- usb_release_interface(0); - } - - #define HID_GET_REPORT 0x01 a/src/saitek_p2500_controller.cpp -+++ b/src/saitek_p2500_controller.cpp -@@ -66,8 +66,6 @@ SaitekP2500Controller::SaitekP2500Controller(libusb_device* dev, bool try_detach - - SaitekP2500Controller::~SaitekP2500Controller() - { -- usb_cancel_read(); -- usb_release_interface(0); - } - - void a/src/usb_controller.cpp -+++ b/src/usb_controller.cpp -@@ -28,7 +28,8 @@ - USBController::USBController(libusb_device* dev) : - m_dev(dev), - m_handle(0), -- m_read_transfer(), -+ m_transfers(), -+ m_interfaces(), - m_usbpath(), - m_usbid(), - m_name() -@@ -78,7 +79,29 @@ USBController::USBController(libusb_device* dev) : - - USBController::~USBController() - { -- //log_tmp("~USBController"); -+ // cancel all transfers -+ for(std::set::iterator it = m_transfers.begin(); it != m_transfers.end(); ++it) -+ { -+libusb_cancel_transfer(*it); -+ } -+ -+ // wait for cancel to succeed -+ while (!m_transfers.empty()) -+ { -+int ret = libusb_handle_events(NULL); -+if (ret != 0) -+{ -+ log_error("libusb_handle_events() failure: " << ret); -+} -+ } -+ -+ // release all claimed interfaces -+ for(std::set::iterator it = m_interfaces.begin(); it != m_interfaces.end(); ++it) -+ { -+libusb_release_interface(m_handle, *it); -+ } -+ -+ // read and write transfers might still be going on and might need to be canceled - libusb_close(m_handle); - } - -@@ -103,23 +126,26 @@ USBController::get_name() const - void - USBController::usb_submit_read(int endpoint, int len) - { -- assert(!m_read_transfer); -- -- m_read_transfer = libusb_alloc_transfer(0); -+ libusb_transfer* transfer = libusb_alloc_transfer(0); - - uint8_t* data = static_cast(malloc(sizeof(uint8_t) * len)); -- m_read_transfer->flags |= LIBUSB_TRANSFER_FREE_BUFFER; -- libusb_fill_interrupt_transfer(m_read_transfer, m_handle, -+ transfer->flags |= LIBUSB_TRANSFER_FREE_BUFFER; -+ libusb_fill_interrupt_transfer(transfer, m_handle, - endpoint | LIBUSB_ENDPOINT_IN, - data, len, - &USBController::on_read_data_wrap, this, - 0); // timeout - int ret; -- ret = libusb_submit_transfer(m_read_transfer); -+ ret = libusb_submit_transfer(transfer); - if (ret != LIBUSB_SUCCESS) - { -+libusb_free_transfer(transfer); - raise_exception(std::runtime_error, "libusb_submit_transfer(): " << usb_strerror(ret)); - } -+ else -+ { -+m_transfers.insert(transfer); -+ } - } - - void -@@ -127,7 +153,6 @@ USBController::usb_write(int endpoint, uint8_t* data_in, int len) - { - libusb_transfer* transfer = libusb_alloc_transfer(0); - transfer->flags |= LIBUSB_TRANSFER_FREE_BUFFER; -- transfer->flags |= LIBUSB_TRANSFER_FREE_TRANSFER; - - // copy data into a newly allocated buffer - uint8_t* data = static_cast(malloc(sizeof(uint8_t) * len)); -@@ -143,8 +168,13 @@ USBController::usb_w