Hi, Here are two complete ports which allows better support for wacom tables and other input devices supported by Linux: svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/ports/x11-drivers/xf86-input-evdev/ svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/ports/comms/libevdev You need to fix /usr/local/include/xorg/xf86str.h where it says #if defined(__linux__) and it uncomment some typedefs. You'll see very easily. --HPS
Can you provide a patch please? For the sake of history in bugzilla, security (you are not using https with published fingerprint), and the fact that some PR may sit for a year and you may no longer have your SVN up, it's better to submit full patches here.
Hi, Yes, I can make you a patch. What format do you want? These are new ports and should just be copied from my SVN? --HPS
Any kind of diff is fine. svn diff -c <your import revision' or a shar.
Created attachment 151994 [details] Patch for ports Can you use this patch?
Yup, thanks!
Created attachment 160722 [details] cleanup Let's land this regardless of bug 196678 as these ports aren't tied to a specific implementation, only absence of libudev. Proposed changes as part of cleanup before commit: - libevdev: update libevdev to 1.4.4 - libevdev: replace GPLv2 headers with v4l_compat (already patched) - libevdev: fix python shebang - libevdev: drop empty "Created by" - xf86-input-evdev: update to 2.9.2 - xf86-input-evdev: unbreak build when v4l_compat already installed - xf86-input-evdev: define LICENSE - Improve dependency specifications (no gettext, python:run, gmake in xf86) - Properly leverage USES=pathfix - Strip binaries - Other mostly cosmetic changes poudriere bulk -t logs: libevdev-1.4.4.log - http://sprunge.us/AFEf xf86-input-evdev-2.9.2.log - http://sprunge.us/dSYG $ svn st M comms/libevdev/Makefile M comms/libevdev/distinfo M comms/libevdev/files/patch-Makefile.am M comms/libevdev/pkg-descr M comms/libevdev/pkg-plist M x11-drivers/xf86-input-evdev/Makefile M x11-drivers/xf86-input-evdev/distinfo D x11-drivers/xf86-input-evdev/files/patch-Makefile.am M x11-drivers/xf86-input-evdev/files/patch-configure.ac D x11-drivers/xf86-input-evdev/files/patch-src-evdev.c > moved to x11-drivers/xf86-input-evdev/files/patch-src_evdev.c A + x11-drivers/xf86-input-evdev/files/patch-src_evdev.c > moved from x11-drivers/xf86-input-evdev/files/patch-src-evdev.c A x11-drivers/xf86-input-evdev/files/patch-src_evdev.h M x11-drivers/xf86-input-evdev/pkg-plist ports-mgmt/portlint seems to shows only false positives. $ (cd x11-drivers/xf86-input-evdev; portlint -AC) WARN: /a/overlay/hselasky/x11-drivers/xf86-input-evdev/pkg-plist: There are only 4 items in the plist. Consider using PLIST_FILES instead of pkg-plist when installing less than 6 items. WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy. 0 fatal errors and 2 warnings found. $ (cd comms/libevdev; portlint -AC) WARN: Makefile: [29]: use ${VARIABLE}, instead of $(VARIABLE). WARN: Makefile: [15]: the options to USES are not sorted. Please consider sorting them. WARN: Makefile: [21]: possible direct use of command "python" found. use ${PYTHON_CMD} instead. WARN: Makefile: possible use of absolute pathname "/usr/bin/env". 0 fatal errors and 4 warnings found.
Created attachment 161107 [details] cleanup, v2 More changes: - Move comms/libevdev to devel/libevdev; libevdev is more similar to libusb than phone/fax, radio, serial and morse ports residing in comms/ directory; - Remove USES=autoreconf for faster builds - Better descriptions for pkg-descr - libevdev: make doxygen docs unconditionally disabled - libevdev: drop USES=shebangfix, the script isn't installed - libevdev: unexpand $(LOCALBASE) in libevdev/Makefile.in for clarity - libevdev: run-depend on v4l_compat as <libevdev.h> includes <linux/input.h> - libmtdev: add new port, assigned to hselasky@ - xf86-input-evdev: run-depend on webcamd that provides /dev/input/event%d - xf86-input-evdev: use #ifdef HAVE_LIBUDEV for clarity (hint for upstreaming) - xf86-input-evdev: replace Makefile.am patch with empty UDEV_{CFLAGS,LIBS} - xf86-input-evdev: add MULTITOUCH option, disabled by default[1] [1] With MULTITOUCH=on the touch input on my Bamboo Pen&Touch no longer works but the pad still does. Xorg.0.log new lines: (--) evdev: input/event0: Found absolute multitouch axes (II) evdev: input/event0: No buttons found, faking one. (**) evdev: input/event0: YAxisMapping: buttons 4 and 5 (**) evdev: input/event0: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
Created attachment 161109 [details] cleanup, v2 (shar, 3 ports) |svn patch| vs. |svn diff| can be a PITA. Here's a shar for easier testing.
Your changes look good! Approved.
A commit references this bug: Author: jbeich Date: Wed Sep 16 10:27:39 UTC 2015 New revision: 397048 URL: https://svnweb.freebsd.org/changeset/ports/397048 Log: devel/libevdev: add new port PR: 196978 Submitted by: hselasky libevdev is a wrapper library for evdev devices. It moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc. The eventual goal is that libevdev wraps all ioctls available to evdev devices, thus making direct access unnecessary. http://www.freedesktop.org/wiki/Software/libevdev/ Changes: head/devel/Makefile head/devel/libevdev/ head/devel/libevdev/Makefile head/devel/libevdev/distinfo head/devel/libevdev/pkg-descr head/devel/libevdev/pkg-plist
A commit references this bug: Author: jbeich Date: Wed Sep 16 10:28:16 UTC 2015 New revision: 397049 URL: https://svnweb.freebsd.org/changeset/ports/397049 Log: devel/libmtdev: add new port PR: 196978 Approved by: hselasky mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See Linux kernel documentation for further details. http://bitmath.org/code/mtdev/ Changes: head/devel/Makefile head/devel/libmtdev/ head/devel/libmtdev/Makefile head/devel/libmtdev/distinfo head/devel/libmtdev/files/ head/devel/libmtdev/files/patch-src_common.h head/devel/libmtdev/pkg-descr head/devel/libmtdev/pkg-plist
A commit references this bug: Author: jbeich Date: Wed Sep 16 10:28:46 UTC 2015 New revision: 397050 URL: https://svnweb.freebsd.org/changeset/ports/397050 Log: x11-drivers/xf86-input-evdev: add new port PR: 196978 Submitted by: hselasky This package contains the X.Org xf86-input-evdev driver. It supports all input devices that webcamd knows about, including tablets, touchscreens, joysticks and HIDs. Changes: head/x11-drivers/Makefile head/x11-drivers/xf86-input-evdev/ head/x11-drivers/xf86-input-evdev/Makefile head/x11-drivers/xf86-input-evdev/distinfo head/x11-drivers/xf86-input-evdev/files/ head/x11-drivers/xf86-input-evdev/files/patch-src_evdev.c head/x11-drivers/xf86-input-evdev/files/patch-src_evdev.h head/x11-drivers/xf86-input-evdev/pkg-descr head/x11-drivers/xf86-input-evdev/pkg-plist
Thanks. Done. Our bugzilla is too pedantic, so let's swap dependencies. Bug 196978 has 1 unresolved dependency. They must either be resolved or removed from the "Depends on" field before you can resolve this bug as FIXED.