@jenergy This package compiles fine on vanilla Arch with packages from the official repos. There's no workaround I know of that can be applied within this package to use alternate packages on other distros. Outside this package, you could make a dummy glib2-devel
package that depends on glib2
. Or edit PKGBUILDs as needed.
Search Criteria
Package Details: xboxdrv 0.8.11-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xboxdrv.git (read-only, click to copy) |
---|---|
Package Base: | xboxdrv |
Description: | Userspace Xbox gamepad driver and input remapper |
Upstream URL: | https://github.com/xiota/xboxdrv |
Licenses: | GPL-3.0-or-later |
Submitter: | None |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 263 |
Popularity: | 0.94 |
First Submitted: | 2009-11-17 12:07 (UTC) |
Last Updated: | 2024-06-21 02:33 (UTC) |
Dependencies (9)
- dbus-glib
- dbus-python (python-dbus)
- libusb (libusb-gitAUR)
- libx11 (libx11-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- git (git-gitAUR, git-glAUR) (make)
- glib2-devel (make)
- pkg-config (pkgconf-gitAUR, pkg-config-gitAUR, pkgconf) (make)
- scons (make)
Required by (6)
- 8bitdo-ultimate-controller-udev
- humble-lumpia-git (optional)
- proton-ge-custom-bin (optional)
- proton-ge-custom-rtsp-bin (optional)
- xbox-generic-controller
- xboxdrv-runit
Sources (3)
xiota commented on 2024-10-02 14:38 (UTC)
jenergy commented on 2024-10-02 10:38 (UTC)
@xiota yes, sorry, my message was an answer to yours. I posted result of ldd by thinking it would help you (as maintainer of this package for 'official' arch) to investigate if there are some ways or workarounds to compile actually xboxdrv in official repos. Maybe my post was not so helpful as I thought :-)
xiota commented on 2024-10-01 16:21 (UTC)
@jenergy Valve should update the Arch base for SteamOS. Maybe soon?
If you're trying to help other SteamOS users build packages, you should mention the distro in relevant comments. If you were replying to a previous comment, would be helpful to @ the user. Otherwise, you shouldn't expect changes to packages for distros other than vanilla Arch.
jenergy commented on 2024-10-01 11:08 (UTC) (edited on 2024-10-01 11:09 (UTC) by jenergy)
I have steamOS on a steamDeck, and with the deprecated dbus-glib installed (and tons of other packages installed) I created executable in that way. I don't know if this can be helpful:
(deck@steamdeck ~)$ ldd /bin/xboxdrv
linux-vdso.so.1 (0x00007ffcc43fe000)
libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00007f524bd7e000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f524bd2d000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f524bccb000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f524bb81000)
libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f524bb63000)
libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f524bb2f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f524b9ea000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f524b600000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f524b8fd000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f524b8d8000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f524b416000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f524b240000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f524b158000)
libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f524b8cb000)
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f524b0bd000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f524bf04000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f524b8bf000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f524b894000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f524b88b000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f524b0a3000)
libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f524b053000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f524af0b000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f524aed8000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f524ae05000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f524ade3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f524b884000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f524b87c000)
libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f524ada7000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f524ad81000)
xiota commented on 2024-09-30 20:04 (UTC)
glib2-devel
is still needed to build on Arch Linux. glib2
alone is insufficient, producing the following error:
error: ‘dbus_glib_xboxdrv_daemon_object_info’ was not declared in this scope
Manjaro now provides glib2-devel
. I do not know about other Arch-based distros.
jenergy commented on 2024-09-30 19:21 (UTC)
If you edit PKGBUILD of the snapshot and change dependency glib2-devel with glib2, compilation works
fyoory commented on 2024-06-21 12:01 (UTC)
@Xiota/@Scattershot Most likely is using Manjaro, a clone of arch but does not presently have glib2-devel available. Perhaps it will in the next release update.
xiota commented on 2024-06-21 11:14 (UTC)
@Scattershot Are you using a distro that isn't fully synced with Arch?
Scattershot commented on 2024-06-21 11:07 (UTC)
glib2-devel dependencies is no longer available
makepkg -i
==> Making package: xboxdrv 0.8.11-1 (Fri 21 Jun 2024 12:05:48 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> glib2-devel
==> ERROR: Could not resolve all dependencies.
flxrbr commented on 2024-06-20 22:46 (UTC)
Can't compile on Arch:
/usr/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: note: ‘#pragma message: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84. Please open an issue in https://github.com/boostorg/smart_ptr if you want it retained.’
19 | BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84. Please open an issue in https://github.com/boostorg/smart_ptr if you want it retained.")
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: note: ‘#pragma message: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84. Please open an issue in https://github.com/boostorg/smart_ptr if you want it retained.’
19 | BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84. Please open an issue in https://github.com/boostorg/smart_ptr if you want it retained.")
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/bind/detail/requires_cxx11.hpp:18:1: note: ‘#pragma message: C++03 support was deprecated in Boost.Bind 1.82 and will be removed in Boost.Bind 1.84. Please open an issue in https://github.com/boostorg/bind if you want it retained.’
18 | BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Bind 1.82 and will be removed in Boost.Bind 1.84. Please open an issue in https://github.com/boostorg/bind if you want it retained.")
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/bind/detail/requires_cxx11.hpp:18:1: note: ‘#pragma message: C++03 support was deprecated in Boost.Bind 1.82 and will be removed in Boost.Bind 1.84. Please open an issue in https://github.com/boostorg/bind if you want it retained.’
18 | BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Bind 1.82 and will be removed in Boost.Bind 1.84. Please open an issue in https://github.com/boostorg/bind if you want it retained.")
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: note: ‘#pragma message: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84. Please open an issue in https://github.com/boostorg/smart_ptr if you want it retained.’
19 | BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84. Please open an issue in https://github.com/boostorg/smart_ptr if you want it retained.")
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/lexical_cast.hpp:40:1: note: ‘#pragma message: C++03 support is deprecated in Boost.LexicalCast 1.82 and will be removed in Boost.LexicalCast 1.84.’
40 | BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.LexicalCast 1.82 and will be removed in Boost.LexicalCast 1.84.")
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/detail/requires_cxx11.hpp:18:1: note: ‘#pragma message: C++03 support was deprecated in Boost.Function 1.82 and will be removed in Boost.Function 1.84. Please open an issue in https://github.com/boostorg/function if you want it retained.’
18 | BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Function 1.82 and will be removed in Boost.Function 1.84. Please open an issue in https://github.com/boostorg/function if you want it retained.")
| ^~~~~~~~~~~~~~~~~~~~
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
xiota commented on 2024-04-02 11:20 (UTC) (edited on 2024-09-30 20:11 (UTC) by xiota)
Although other Xbox gamepad drivers are now available, this package is still useful as an input remapper for programs that support only Xbox controllers.
This package is now based on a fork that aims to keep the program working. (Original project ceased development around Sep 2022.)