Vladimir Kondratyev

Results 120 comments of Vladimir Kondratyev

They both use SDL2. I just checked ports tree and found out that devel/sdl20 does not support evdev yet, so you need to apply one of following patches and rebuild...

> I've tested a few Linux native games from my GoG collection under FreeBSD that run great under FreeBSD and have gamepad support but don't detect that a gamepad is...

> Hollow Knight. It doesn't even detect that a controller is plugged in. Do you know which interface it uses to communicate with game controller: evdev, input/js or hidraw? and...

> SDL normally works with libudev I ported libudev-devd to Linux: https://github.com/wulf7/libudev-devd. At least it compiles on Fedora 32 and Ubuntu 20. I did not try LD_PRELOAD it before start...

> we need at least GCC 4.9 for stdatomic.h I dropped atomics as systemd does not use them. Also I resurrected autotools configuration scripts to remove meson dependency. Now installation...

Finally, I was able to build it from my home directory using following sequence of commands: ``` $ ./autogen.sh $ export CFLAGS=-nostdinc\ -I/compat/linux/usr/include\ -I/compat/linux/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include $ /compat/linux/bin/bash ./configure $ /compat/linux/bin/make ```...

Simple bundled test program also works under linux emulation: ``` $ sudo /compat/linux/bin/bash udev-test Device Node Path: /dev/input/event0 Device Node Path: /dev/input/event1 Device Node Path: /dev/input/event2 Device Node Path: /dev/input/event3...

> I think getting rid of Meson is a bit of overreaction, it doesn't really interfere with our intended usage. No one got rid of Meson configurator. It still exists....

> It works! Thanks! It looks like ``` env PATH=/compat/linux/bin CC="/compat/linux/bin/gcc" CFLAGS="--sysroot /compat/linux" ./configure make ``` works too. So PATH variable is important as well.

2 @PaddyMac: I just added some notes how to build and use libudev-devd under Linuxolator. Just copy them here: 7. Build and install libudev-devd for Linuxolator install devel/linux-c7-devtools, devel/autoconf and...