Date: Wed, 19 Dec 2018 09:09:11 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487789 - in head: audio/ardour comms/lirc comms/svxlink devel devel/evdev-proto devel/evemu devel/evemu/files devel/libevdev devel/libevdev/files devel/libmtdev devel/libmtdev/files de... Message-ID: <201812190909.wBJ99BqD035343@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Wed Dec 19 09:09:11 2018 New Revision: 487789 URL: https://svnweb.freebsd.org/changeset/ports/487789 Log: Split out evdev headers from multimedia/v4l_compat Split out evdev headers (input.h, input-event-codes.h, uinput.h) into their own port, devel/evdev-proto, and update those to be current with the Linux 4.19 kernel. This is done in order to be able to update the rest of the FreeBSD input stack, which is forthcoming. By splititng out the evdev headers we can update them independent of other updates in v4l_compat, which makes it easier for the graphics team to keep track of them and keep them updated as needed. Update devel/libevdev from 1.4.4 to 1.5.9 instead of trying to make it work with the updated headers. This will be further updated. Update devel/py-evdev from 0.5.0 to 0.8.1 instead of trying to make it work with the updated evdev headers. Update consumers to use devel/evdev-proto rather than multimedia/v4l_compat as needed, and bump portrevisions. This is the first step in getting the FreeBSD input stack (libevdev, libinput and so on) updated to newer versions. Many thanks to all who have helped out with testing, code and exp-runs. Apologies if I've forgotten to add any names. PR: 222905, 217248, (based on, in part), 233787 (exp-run) Submitted by: Greg V, wulf Tested by: tcberner, kde Exp-run by: antoine Approved by: portmgr (antoine) Obtained from: FreeBSDDesktop development repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input-ports Added: head/devel/evdev-proto/ head/devel/evdev-proto/Makefile (contents, props changed) head/devel/evdev-proto/distinfo (contents, props changed) head/devel/evdev-proto/pkg-descr (contents, props changed) head/devel/libevdev/files/ head/devel/libevdev/files/patch-libevdev_libevdev-uinput.c (contents, props changed) head/devel/libevdev/files/patch-test_test-libevdev-events.c (contents, props changed) head/devel/libevdev/files/patch-test_test-libevdev-has-event.c (contents, props changed) head/devel/libevdev/files/patch-test_test-libevdev-init.c (contents, props changed) head/devel/libevdev/files/patch-test_test-main.c (contents, props changed) head/devel/libmtdev/files/patch-test_mtdev-test.c (contents, props changed) Deleted: head/devel/evemu/files/patch-tools_evemu-record.c head/x11/libinput/files/patch-include_linux_input.h Modified: head/audio/ardour/Makefile head/comms/lirc/Makefile head/comms/svxlink/Makefile head/devel/Makefile head/devel/evemu/Makefile head/devel/libevdev/Makefile head/devel/libevdev/distinfo head/devel/libevdev/pkg-plist head/devel/libmtdev/Makefile head/devel/libudev-devd/Makefile head/devel/py-evdev/Makefile head/devel/py-evdev/distinfo head/devel/sdl20/Makefile head/games/flightgear/Makefile head/multimedia/dvb-apps/Makefile head/multimedia/gstreamer1-plugins/Makefile.common head/multimedia/kdenlive/Makefile head/multimedia/lives/Makefile head/multimedia/mpv/Makefile head/multimedia/v4l_compat/Makefile head/multimedia/v4l_compat/pkg-plist head/net/freerdp/Makefile head/x11-drivers/xf86-input-evdev/Makefile head/x11-drivers/xf86-input-libinput/Makefile head/x11-drivers/xf86-input-synaptics/Makefile head/x11-drivers/xf86-input-wacom/Makefile head/x11-drivers/xf86-input-wacom/files/patch-src-wcmConfig.c head/x11-drivers/xf86-input-wacom/files/patch-src-wcmISDV4.c head/x11-drivers/xf86-input-wacom/files/patch-src-wcmUSB.c head/x11-drivers/xf86-input-wacom/files/patch-src-wcmValidateDevice.c head/x11-drivers/xf86-video-qxl/Makefile head/x11-servers/xwayland/Makefile head/x11-toolkits/wlc/Makefile head/x11-wm/plasma5-kwin/Makefile head/x11/kde-workspace-kde4/Makefile head/x11/kf5-kwayland/Makefile head/x11/libinput/Makefile head/x11/plasma5-kwayland-integration/Makefile Modified: head/audio/ardour/Makefile ============================================================================== --- head/audio/ardour/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/audio/ardour/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -3,7 +3,7 @@ PORTNAME= ardour PORTVERSION= 2.8.16 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= audio MASTER_SITES= http://freebsd.nsu.ru/distfiles/ @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= Does not build -BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libaubio.so:audio/aubio \ libboost_date_time.so:devel/boost-libs \ libcurl.so:ftp/curl \ Modified: head/comms/lirc/Makefile ============================================================================== --- head/comms/lirc/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/comms/lirc/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -3,7 +3,7 @@ PORTNAME= lirc PORTVERSION= 0.9.0 -PORTREVISION= 9 +PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= comms MASTER_SITES= SF/${PORTNAME}/LIRC/${PORTVERSION} @@ -11,7 +11,7 @@ MASTER_SITES= SF/${PORTNAME}/LIRC/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Linux Infrared Remote Control -BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= alias autoreconf gmake libtool localbase python tar:bzip2 USE_XORG= sm x11 ice Modified: head/comms/svxlink/Makefile ============================================================================== --- head/comms/svxlink/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/comms/svxlink/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -3,7 +3,7 @@ PORTNAME?= svxlink PORTVERSION= 15.11 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= comms hamradio MAINTAINER= hamradio@FreeBSD.org @@ -20,7 +20,7 @@ LIB_DEPENDS?= libgsm.so:audio/gsm \ libopus.so:audio/opus \ librtlsdr.so:comms/rtl-sdr BUILD_DEPENDS= pkg-config:devel/pkgconf \ - ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES+= cmake compiler:c++11-lang tcl groff USE_GITHUB= yes Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -612,6 +612,7 @@ SUBDIR += etcd33 SUBDIR += etl SUBDIR += euca2ools + SUPDIR += evdev-proto SUBDIR += evemu SUBDIR += eventxx SUBDIR += evolution-gconf-tools Added: head/devel/evdev-proto/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/evdev-proto/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= evdev-proto +PORTVERSION= 4.19 +CATEGORIES= devel +MASTER_SITES= https://github.com/torvalds/linux/raw/v${PORTVERSION}/include/uapi/linux/ +DISTNAME= input.h input-event-codes.h uinput.h +EXTRACT_SUFX= # empty + +MAINTAINER= x11@FreeBSD.org +COMMENT= Input event device header files + +LICENSE= GPLv2 + +NO_BUILD= yes +NO_ARCH= yes +WRKSRC= ${WRKDIR} + +PLIST_FILES= ${DISTNAME:S|^|include/linux/|} + +do-extract: + @${MKDIR} ${WRKSRC} +.for i in ${DISTNAME} + @${CP} ${DISTDIR}/${i} ${WRKSRC} +.endfor + +post-patch: + @${REINPLACE_CMD} -i '' -E -e \ + 's/__u([[:digit:]]+)/uint\1_t/g ; \ + s/__s([[:digit:]]+)/int\1_t/g ; \ + /# *include/ s|<sys/ioctl.h>|<sys/ioccom.h>| ; \ + /# *include[[:space:]]+<linux\/types.h>/d ; \ + /EVIOC(RMFF|GRAB|REVOKE)/ s/_IOW(.*), *int/_IOWINT\1/ ; \ + /EVIOCGKEYCODE/ s/_IOR/_IOWR/ ; \ + /EVIOCGMASK/ s/_IOR/_IOW/ ; \ + /EVIOCGMTSLOTS/ s/_IOC_READ/IOC_INOUT/ ; \ + /#define/ s/_IOC_READ/IOC_OUT/ ; \ + /#define/ s/_IOC_WRITE/IOC_IN/ ; \ + s/[[:space:]]+__user[[:space:]]+/ / ; \ + /__USE_TIME_BITS64/ s|^#if (.*)$$|#if 1 /* \1 */|' \ + ${WRKSRC}/input.h + @${REINPLACE_CMD} -i '' -E -e \ + 's/__u([[:digit:]]+)/uint\1_t/g ; \ + s/__s([[:digit:]]+)/int\1_t/g ; \ + /# *include/s|<linux/types.h>|<sys/types.h>| ; \ + /#define/ s/_IOW(.*), *int/_IOWINT\1/ ; \ + /#define/ s/_IOW(.*), *char\*/_IO\1/ ; \ + /#define/ s/_IOC_READ/IOC_OUT/' \ + ${WRKSRC}/uinput.h + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include/linux/ +.for i in ${DISTNAME} + ${INSTALL_DATA} ${WRKSRC}/${i} \ + ${STAGEDIR}${PREFIX}/include/linux/ +.endfor + +.include <bsd.port.mk> Added: head/devel/evdev-proto/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/evdev-proto/distinfo Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,7 @@ +TIMESTAMP = 1544273147 +SHA256 (input.h) = 6daff6404fe93484d1c53f8f8bd49d3ae2094f3c1b41871e05a9ba5c8eecc420 +SIZE (input.h) = 15929 +SHA256 (input-event-codes.h) = a736ca688b6d5fd5d0f52d77b620387dd1f0d360ebba53106ca7be96a8231249 +SIZE (input-event-codes.h) = 24313 +SHA256 (uinput.h) = 9123b078f13047c34797332c4f835e5f1e418387e9a950024920faa5a1186974 +SIZE (uinput.h) = 9276 Added: head/devel/evdev-proto/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/evdev-proto/pkg-descr Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1 @@ +This port installs the input event device header files. Modified: head/devel/evemu/Makefile ============================================================================== --- head/devel/evemu/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/evemu/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -3,7 +3,7 @@ PORTNAME= evemu PORTVERSION= 2.6.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://www.freedesktop.org/software/${PORTNAME}/ @@ -12,7 +12,7 @@ COMMENT= Records and replays EVDEV descriptions and ev LICENSE= GPLv3 -BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libevdev.so:devel/libevdev USES= tar:xz pathfix libtool pkgconfig localbase Modified: head/devel/libevdev/Makefile ============================================================================== --- head/devel/libevdev/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/libevdev/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= libevdev -PORTVERSION= 1.4.4 -PORTREVISION= 1 +PORTVERSION= 1.5.9 CATEGORIES= devel MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/ @@ -12,22 +11,33 @@ COMMENT= Linux Event Device library LICENSE= MIT # without linux/*.h LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat -RUN_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto +LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim -USES= gmake libtool pathfix python:build tar:xz +USES= gmake libtool localbase pathfix pkgconfig python:build tar:xz EXTRACT_AFTER_ARGS= --exclude include # v4l_compat GNU_CONFIGURE= yes -CONFIGURE_ENV= ac_cv_path_DOXYGEN="" -CPPFLAGS+= -I${LOCALBASE}/include # v4l_compat +CONFIGURE_ENV= ac_cv_path_DOXYGEN="" ac_cv_path_VALGRIND="" +CPPFLAGS+= -I${LOCALBASE}/include/libepoll-shim INSTALL_TARGET= install-strip USE_LDCONFIG= yes +# Test requires /dev/uinput and should be run as root +.if exists(/dev/uinput) +TEST_USES+= pkgconfig +TEST_DEPENDS= checkmk:devel/check +TEST_TARGET= check +TEST_WRKSRC= ${WRKSRC}/test +.endif + post-patch: - @${REINPLACE_CMD} -e '/input\.h/s,top_srcdir,LOCALBASE,' \ + @${REINPLACE_CMD} -e '/input\.h/s,top_srcdir,LOCALBASE,g' \ ${WRKSRC}/libevdev/Makefile.in -# XXX tools require signalfd(2), test require /dev/uinput - @${REINPLACE_CMD} -e '/^SUBDIRS/s,tools test,,' \ - ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^LIBS = /s/$$/ -pthread -lrt -lepoll-shim/' \ + ${WRKSRC}/tools/Makefile.in + @${REINPLACE_CMD} -e 's|program_invocation_short_name|getprogname()|' \ + ${WRKSRC}/tools/mouse-dpi-tool.c \ + ${WRKSRC}/tools/touchpad-edge-detector.c \ + ${WRKSRC}/tools/libevdev-tweak-device.c .include <bsd.port.mk> Modified: head/devel/libevdev/distinfo ============================================================================== --- head/devel/libevdev/distinfo Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/libevdev/distinfo Wed Dec 19 09:09:11 2018 (r487789) @@ -1,2 +1,3 @@ -SHA256 (libevdev-1.4.4.tar.xz) = ed9979369b6a6e28f5897d099538549ecffb2b7c00c1b717eb77c31d85bc45a9 -SIZE (libevdev-1.4.4.tar.xz) = 409856 +TIMESTAMP = 1522696039 +SHA256 (libevdev-1.5.9.tar.xz) = e1663751443bed9d3e76a4fe2caf6fa866a79705d91cacad815c04e706198a75 +SIZE (libevdev-1.5.9.tar.xz) = 408200 Added: head/devel/libevdev/files/patch-libevdev_libevdev-uinput.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libevdev/files/patch-libevdev_libevdev-uinput.c Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,40 @@ +--- libevdev/libevdev-uinput.c.orig 2017-05-04 00:37:30 UTC ++++ libevdev/libevdev-uinput.c +@@ -182,6 +182,7 @@ libevdev_uinput_get_fd(const struct libevdev_uinput *u + return uinput_dev->fd; + } + ++#if defined(linux) + static int is_event_device(const struct dirent *dent) { + return strncmp("event", dent->d_name, 5) == 0; + } +@@ -213,10 +214,12 @@ fetch_device_node(const char *path) + static int is_input_device(const struct dirent *dent) { + return strncmp("input", dent->d_name, 5) == 0; + } ++#endif + + static int + fetch_syspath_and_devnode(struct libevdev_uinput *uinput_dev) + { ++#if defined(linux) + struct dirent **namelist; + int ndev, i; + int rc; +@@ -290,6 +293,16 @@ fetch_syspath_and_devnode(struct libevdev_uinput *uinp + free(namelist); + + return uinput_dev->devnode ? 0 : -1; ++#elif defined(__FreeBSD__) ++ char devnode[80]; ++ if (ioctl(uinput_dev->fd, UI_GET_SYSNAME(sizeof(devnode)), devnode) < 0) ++ return -1; ++ asprintf(&uinput_dev->devnode, "/dev/input/%s", devnode); ++ uinput_dev->syspath = strdup(uinput_dev->devnode); ++ return 0; ++#else ++ return -1; ++#endif + } + + static int Added: head/devel/libevdev/files/patch-test_test-libevdev-events.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libevdev/files/patch-test_test-libevdev-events.c Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,20 @@ +--- test/test-libevdev-events.c.orig 2017-05-04 00:37:30 UTC ++++ test/test-libevdev-events.c +@@ -1057,7 +1057,7 @@ START_TEST(test_syn_delta_late_sync) + } while (rc >= 0); + + /* force enough events to trigger a SYN_DROPPED */ +- for (i = 0; i < 100; i++) { ++ for (i = 0; i < 200; i++) { + uinput_device_event(uidev, EV_ABS, ABS_X, 100 + i); + uinput_device_event(uidev, EV_ABS, ABS_Y, 500 + i); + uinput_device_event(uidev, EV_ABS, ABS_MT_POSITION_X, 100 + i); +@@ -1152,7 +1152,7 @@ START_TEST(test_syn_delta_late_sync) + } while (rc >= 0); + + /* force enough events to trigger a SYN_DROPPED */ +- for (i = 0; i < 100; i++) { ++ for (i = 0; i < 200; i++) { + uinput_device_event(uidev, EV_ABS, ABS_X, 100 + i); + uinput_device_event(uidev, EV_ABS, ABS_Y, 500 + i); + uinput_device_event(uidev, EV_ABS, ABS_MT_POSITION_X, 100 + i); Added: head/devel/libevdev/files/patch-test_test-libevdev-has-event.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libevdev/files/patch-test_test-libevdev-has-event.c Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,16 @@ +--- test/test-libevdev-has-event.c.orig 2017-05-04 00:37:30 UTC ++++ test/test-libevdev-has-event.c +@@ -116,6 +116,13 @@ START_TEST(test_event_codes) + evbit++; + continue; + } ++#ifdef __FreeBSD__ ++ /* Force feedback events are not supported by FreeBSD */ ++ if (*evbit == EV_FF) { ++ evbit++; ++ continue; ++ } ++#endif + + max = libevdev_event_type_get_max(*evbit); + Added: head/devel/libevdev/files/patch-test_test-libevdev-init.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libevdev/files/patch-test_test-libevdev-init.c Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,11 @@ +--- test/test-libevdev-init.c.orig 2018-03-08 05:27:35 UTC ++++ test/test-libevdev-init.c +@@ -577,7 +577,7 @@ START_TEST(test_set_clock_id) + rc = libevdev_set_clock_id(dev, CLOCK_MONOTONIC); + ck_assert_int_eq(rc, 0); + +- rc = libevdev_set_clock_id(dev, CLOCK_MONOTONIC_RAW); ++ rc = libevdev_set_clock_id(dev, CLOCK_MONOTONIC_FAST); + ck_assert_int_eq(rc, -EINVAL); + + uinput_device_free(uidev); Added: head/devel/libevdev/files/patch-test_test-main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libevdev/files/patch-test_test-main.c Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,26 @@ +--- test/test-main.c.orig 2018-03-08 05:27:35 UTC ++++ test/test-main.c +@@ -43,6 +43,7 @@ extern Suite *uinput_suite(void); + static int + is_debugger_attached(void) + { ++#if defined (linux) + int status; + int rc; + int pid = fork(); +@@ -66,6 +67,15 @@ is_debugger_attached(void) + } + + return rc; ++#else ++ /* ++ * Skip useless gdb test as setting CK_FORK environment variable in ++ * absence of attached debugger gives no harm to user. ++ * Moreover this test is broken on most nonlinux systems, look at ++ * discussion here: http://stackoverflow.com/questions/3596781/ ++ */ ++ return 1; ++#endif + } + + int main(void) Modified: head/devel/libevdev/pkg-plist ============================================================================== --- head/devel/libevdev/pkg-plist Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/libevdev/pkg-plist Wed Dec 19 09:09:11 2018 (r487789) @@ -1,8 +1,11 @@ +bin/libevdev-tweak-device +bin/mouse-dpi-tool +bin/touchpad-edge-detector include/libevdev-1.0/libevdev/libevdev-uinput.h include/libevdev-1.0/libevdev/libevdev.h lib/libevdev.a lib/libevdev.so lib/libevdev.so.2 -lib/libevdev.so.2.1.10 +lib/libevdev.so.2.1.21 libdata/pkgconfig/libevdev.pc man/man3/libevdev.3.gz Modified: head/devel/libmtdev/Makefile ============================================================================== --- head/devel/libmtdev/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/libmtdev/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= mtdev PORTVERSION= 1.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://bitmath.org/code/${PORTNAME}/ PKGNAMEPREFIX= lib @@ -13,12 +13,11 @@ COMMENT= Multitouch Protocol Translation Library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat -RUN_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= libtool pathfix tar:bz2 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include # v4l_compat +CPPFLAGS+= -I${LOCALBASE}/include # evdev-proto INSTALL_TARGET= install-strip USE_LDCONFIG= yes Added: head/devel/libmtdev/files/patch-test_mtdev-test.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libmtdev/files/patch-test_mtdev-test.c Wed Dec 19 09:09:11 2018 (r487789) @@ -0,0 +1,16 @@ +--- test/mtdev-test.c.orig 2014-02-28 18:48:23 UTC ++++ test/mtdev-test.c +@@ -28,11 +28,12 @@ + + #include <mtdev.h> + #include <stdio.h> ++#include <stdint.h> + #include <unistd.h> + #include <fcntl.h> + + /* year-proof millisecond event time */ +-typedef __u64 mstime_t; ++typedef uint64_t mstime_t; + + static int use_event(const struct input_event *ev) + { Modified: head/devel/libudev-devd/Makefile ============================================================================== --- head/devel/libudev-devd/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/libudev-devd/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= libudev-devd PORTVERSION= 0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= x11@FreeBSD.org @@ -10,14 +10,13 @@ COMMENT= libudev-compatible interface for devd LICENSE= BSD2CLAUSE -BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat -LIB_DEPENDS= libevdev.so:devel/libevdev +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USE_GITHUB= yes GH_ACCOUNT= FreeBSDDesktop GH_TAGNAME= b7aa09f -USES= dos2unix autoreconf gmake libtool localbase pathfix pkgconfig +USES= autoreconf gmake libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip Modified: head/devel/py-evdev/Makefile ============================================================================== --- head/devel/py-evdev/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/py-evdev/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= evdev -PORTVERSION= 0.5.0 -PORTREVISION= 1 +PORTVERSION= 0.8.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,15 +12,22 @@ COMMENT= Bindings to the Linux input handling subsyste LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= python USE_PYTHON= autoplist distutils CPPFLAGS+= -I${LOCALBASE}/include # v4l_compat -post-patch: - @${REINPLACE_CMD} -e '/header/s,/usr,${LOCALBASE},' \ - ${WRKSRC}/${PYSETUP} +EVDEV_INCLUDES= ${LOCALBASE}/include + +PYDISTUTILS_BUILD_TARGET= build_ecodes +PYDISTUTILS_BUILDARGS+= --evdev-headers ${EVDEV_INCLUDES}/linux/input.h:${EVDEV_INCLUDES}/linux/input-event-codes.h +PYDISTUTILS_BUILDARGS+= build_ext +PYDISTUTILS_BUILDARGS+= --include-dirs ${EVDEV_INCLUDES} + +# Supply install target with evdev headers path +PYDISTUTILS_INSTALL_TARGET= ${PYDISTUTILS_BUILD_TARGET} \ + ${PYDISTUTILS_BUILDARGS} install post-install: ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ Modified: head/devel/py-evdev/distinfo ============================================================================== --- head/devel/py-evdev/distinfo Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/py-evdev/distinfo Wed Dec 19 09:09:11 2018 (r487789) @@ -1,2 +1,3 @@ -SHA256 (evdev-0.5.0.tar.gz) = 509f0f6ce5a12315fcad0b7f9b41cbdfc5c5f49a7cecdd6a88ce5c1d04f6827c -SIZE (evdev-0.5.0.tar.gz) = 23931 +TIMESTAMP = 1522711809 +SHA256 (evdev-0.8.1.tar.gz) = 3f10c22f15ffedb34519e4af2201f1a088a958efedfd50da0da1aa3887283dff +SIZE (evdev-0.8.1.tar.gz) = 22680 Modified: head/devel/sdl20/Makefile ============================================================================== --- head/devel/sdl20/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/devel/sdl20/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= sdl2 PORTVERSION= 2.0.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.libsdl.org/release/ DISTNAME= SDL2-${PORTVERSION} @@ -260,7 +260,7 @@ IGNORE= option VIDEO_WAYLAND requires VIDEO_OPENGLES2 CONFIGURE_ARGS+= --enable-video-wayland \ --enable-wayland-shared BUILD_DEPENDS+= wayland-protocols>0:graphics/wayland-protocols \ - ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS+= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon .else Modified: head/games/flightgear/Makefile ============================================================================== --- head/games/flightgear/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/games/flightgear/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -3,6 +3,7 @@ PORTNAME= flightgear PORTVERSION= 2018.3.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/flightgear/release-${PORTVERSION:R} @@ -21,7 +22,8 @@ LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl \ libudev.so:devel/libudev-devd BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \ - ${LOCALBASE}/lib/libSimGearCore.a:devel/simgear + ${LOCALBASE}/lib/libSimGearCore.a:devel/simgear \ + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \ ${LOCALBASE}/lib/libSimGearCore.a:devel/simgear \ ${LOCALBASE}/share/flightgear/version:games/flightgear-data Modified: head/multimedia/dvb-apps/Makefile ============================================================================== --- head/multimedia/dvb-apps/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/multimedia/dvb-apps/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,6 +2,7 @@ PORTNAME= dvb-apps PORTVERSION= 1.1.2.1505 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= LOCAL/decke DISTNAME= ${PORTNAME}-3d43b280298c @@ -12,7 +13,8 @@ COMMENT= Linux DVB API applications and utilities LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL -BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/version.h:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/version.h:multimedia/v4l_compat \ + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= gmake iconv perl5 tar:bzip2 Modified: head/multimedia/gstreamer1-plugins/Makefile.common ============================================================================== --- head/multimedia/gstreamer1-plugins/Makefile.common Wed Dec 19 09:00:14 2018 (r487788) +++ head/multimedia/gstreamer1-plugins/Makefile.common Wed Dec 19 09:09:11 2018 (r487789) @@ -273,7 +273,7 @@ gst_gdk_pixbuf_PLIST_FILES= ${GST_LIB_DIR}/libgstgdkpi # gl gst_gl_USES= gl gst_gl_USE_GL= gl glu glesv2 egl -gst_gl_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat +gst_gl_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto gst_gl_LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene gst_gl_CONFIGURE_ARGS= --enable-gl --enable-glx \ --enable-egl --enable-gles2 Modified: head/multimedia/kdenlive/Makefile ============================================================================== --- head/multimedia/kdenlive/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/multimedia/kdenlive/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,6 +2,7 @@ PORTNAME= kdenlive DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= multimedia kde kde-applications MAINTAINER= kde@FreeBSD.org @@ -10,7 +11,7 @@ COMMENT= KDE professional quality non-linear video edi LICENSE= GPLv2 LIB_DEPENDS= libmlt.so:multimedia/mlt -BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \ ${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt5 Modified: head/multimedia/lives/Makefile ============================================================================== --- head/multimedia/lives/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/multimedia/lives/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -3,7 +3,7 @@ PORTNAME= lives PORTVERSION= 2.8.7 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia MASTER_SITES= http://lives-video.com/releases/ DISTNAME= LiVES-${PORTVERSION} @@ -14,7 +14,7 @@ COMMENT= Video editing system LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat \ +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/bin/analyseplugin:audio/ladspa LIB_DEPENDS= libasound.so:audio/alsa-lib \ libjack.so:audio/jack \ Modified: head/multimedia/mpv/Makefile ============================================================================== --- head/multimedia/mpv/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/multimedia/mpv/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -4,7 +4,7 @@ PORTNAME= mpv PORTVERSION= 0.29.1 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= multimedia audio MASTER_SITES= https://waf.io/:waf @@ -143,7 +143,8 @@ VAAPI_CONFIGURE_OFF= --disable-vaapi VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau -WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols +WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols \ + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon Modified: head/multimedia/v4l_compat/Makefile ============================================================================== --- head/multimedia/v4l_compat/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/multimedia/v4l_compat/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= v4l_compat -PORTREVISION= 2 +PORTREVISION= 3 COMMENT= Video4Linux IOCTL header files @@ -14,7 +14,7 @@ DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist LIBV4L_SLAVE= compat -BASE_HEADERS= input.h uinput.h ivtv.h v4l2-controls.h \ +BASE_HEADERS= ivtv.h v4l2-controls.h \ v4l2-common.h videodev2.h DVB_HEADERS= audio.h dmx.h frontend.h video.h EXTRA_HEADERS= ca.h net.h osd.h version.h Modified: head/multimedia/v4l_compat/pkg-plist ============================================================================== --- head/multimedia/v4l_compat/pkg-plist Wed Dec 19 09:00:14 2018 (r487788) +++ head/multimedia/v4l_compat/pkg-plist Wed Dec 19 09:09:11 2018 (r487789) @@ -6,9 +6,7 @@ include/linux/dvb/frontend.h include/linux/dvb/osd.h include/linux/dvb/version.h include/linux/dvb/video.h -include/linux/input.h include/linux/ivtv.h -include/linux/uinput.h include/linux/v4l2-common.h include/linux/v4l2-controls.h include/linux/videodev.h Modified: head/net/freerdp/Makefile ============================================================================== --- head/net/freerdp/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/net/freerdp/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -3,7 +3,7 @@ PORTNAME= freerdp DISTVERSION= 2.0.0-rc3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net comms ipv6 PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ @@ -75,7 +75,7 @@ PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SSE_CMAKE_BOOL= WITH_SSE2 WAYLAND_DESC= Build FreeRDP Wayland client -WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat +WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon Modified: head/x11-drivers/xf86-input-evdev/Makefile ============================================================================== --- head/x11-drivers/xf86-input-evdev/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-evdev/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= xf86-input-evdev PORTVERSION= 2.10.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org @@ -11,7 +11,7 @@ COMMENT= X.Org event device input driver LICENSE= MIT # various styles LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libevdev.so:devel/libevdev \ libmtdev.so:devel/libmtdev RUN_DEPENDS= webcamd>=3.1.0.1:multimedia/webcamd Modified: head/x11-drivers/xf86-input-libinput/Makefile ============================================================================== --- head/x11-drivers/xf86-input-libinput/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-libinput/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= xf86-input-libinput PORTVERSION= 0.25.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org @@ -11,6 +11,7 @@ COMMENT= X.Org libinput input driver LICENSE= MIT # various styles LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libinput.so:x11/libinput XORG_CAT= driver Modified: head/x11-drivers/xf86-input-synaptics/Makefile ============================================================================== --- head/x11-drivers/xf86-input-synaptics/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-synaptics/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= xf86-input-synaptics PORTVERSION= 1.9.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org @@ -19,7 +19,7 @@ OPTIONS_DEFINE= EVDEV EVDEV_DESC= Use evdev for input events (requires kernel support) EVDEV_CONFIGURE_ENV= BUILD_EVENTCOMM=yes -EVDEV_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat +EVDEV_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto EVDEV_LIB_DEPENDS= libevdev.so:devel/libevdev .include <bsd.port.mk> Modified: head/x11-drivers/xf86-input-wacom/Makefile ============================================================================== --- head/x11-drivers/xf86-input-wacom/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-wacom/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= xf86-input-wacom PORTVERSION= 0.36.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-drivers MASTER_SITES= https://github.com/linuxwacom/${PORTNAME}/releases/download/${DISTNAME}/ @@ -11,7 +11,7 @@ COMMENT= X.Org Wacom tablet driver LICENSE= GPLv2+ -BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto RUN_DEPENDS= webcamd>=3.1.0.1:multimedia/webcamd USES= gmake pathfix Modified: head/x11-drivers/xf86-input-wacom/files/patch-src-wcmConfig.c ============================================================================== --- head/x11-drivers/xf86-input-wacom/files/patch-src-wcmConfig.c Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-wacom/files/patch-src-wcmConfig.c Wed Dec 19 09:09:11 2018 (r487789) @@ -1,6 +1,6 @@ ---- src/wcmConfig.c~ +--- src/wcmConfig.c.orig 2018-02-12 16:43:12 UTC +++ src/wcmConfig.c -@@ -307,7 +307,7 @@ out: +@@ -311,7 +311,7 @@ out: */ static void wcmSplitName(char* devicename, char *basename, char *subdevice, char *tool, size_t len) { @@ -9,7 +9,7 @@ char *a, *b; *basename = *subdevice = *tool = '\0'; -@@ -325,6 +325,7 @@ static void wcmSplitName(char* devicenam +@@ -338,6 +338,7 @@ static void wcmSplitName(char* devicename, char *basen strncat(tool, a+1, len-1); } strncat(basename, name, len-1); Modified: head/x11-drivers/xf86-input-wacom/files/patch-src-wcmISDV4.c ============================================================================== --- head/x11-drivers/xf86-input-wacom/files/patch-src-wcmISDV4.c Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-wacom/files/patch-src-wcmISDV4.c Wed Dec 19 09:09:11 2018 (r487789) @@ -1,4 +1,4 @@ ---- src/wcmISDV4.c~ +--- src/wcmISDV4.c.orig 2017-05-30 18:42:52 UTC +++ src/wcmISDV4.c @@ -24,14 +24,19 @@ #include "xf86Wacom.h" @@ -22,7 +22,7 @@ #define RESET_RELATIVE(ds) do { (ds).relwheel = 0; } while (0) /* resolution in points/m */ -@@ -192,10 +197,15 @@ static int wcmSerialValidate(InputInfoPt +@@ -195,10 +200,15 @@ static int wcmSerialValidate(InputInfoPtr pInfo, const static Bool isdv4Detect(InputInfoPtr pInfo) { @@ -39,7 +39,7 @@ if (rc == -1) return FALSE; -@@ -959,6 +969,7 @@ static Bool get_keys_vendor_tablet_id(ch +@@ -968,6 +978,7 @@ static Bool get_keys_vendor_tablet_id(char *name, Waco return TRUE; } @@ -47,7 +47,7 @@ /** * Return the content of id file from sysfs: /sys/.../device/id * -@@ -1004,6 +1015,7 @@ out: +@@ -1017,6 +1028,7 @@ out: return ret; } @@ -55,7 +55,7 @@ /** * Query the device's fd for the key bits and the tablet ID. Returns the ID -@@ -1018,11 +1030,16 @@ out: +@@ -1031,11 +1043,16 @@ out: */ static int isdv4ProbeKeys(InputInfoPtr pInfo) { @@ -73,7 +73,7 @@ return 0; common->tablet_id = 0x90; -@@ -1037,9 +1054,11 @@ static int isdv4ProbeKeys(InputInfoPtr p +@@ -1050,9 +1067,11 @@ static int isdv4ProbeKeys(InputInfoPtr pInfo) common->wcmProtocolLevel = WCM_PROTOCOL_GENERIC; if (!get_keys_vendor_tablet_id(pInfo->name, common)) { Modified: head/x11-drivers/xf86-input-wacom/files/patch-src-wcmUSB.c ============================================================================== --- head/x11-drivers/xf86-input-wacom/files/patch-src-wcmUSB.c Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-wacom/files/patch-src-wcmUSB.c Wed Dec 19 09:09:11 2018 (r487789) @@ -1,4 +1,4 @@ ---- src/wcmUSB.c~ +--- src/wcmUSB.c.orig 2018-03-12 16:31:49 UTC +++ src/wcmUSB.c @@ -23,10 +23,17 @@ @@ -18,15 +18,15 @@ #define MAX_USB_EVENTS 32 -@@ -276,6 +283,11 @@ static struct WacomModelDesc +@@ -280,6 +287,11 @@ static struct WacomModelDesc + { WACOM_VENDOR_ID, 0x314,200000, 200000, &usbIntuosPro, "Intuos Pro S" }, { WACOM_VENDOR_ID, 0x315,200000, 200000, &usbIntuosPro, "Intuos Pro M" }, { WACOM_VENDOR_ID, 0x317,200000, 200000, &usbIntuosPro, "Intuos Pro L" }, - ++ + { WACOM_VENDOR_ID, 0x33B,200000, 200000, &usbIntuos5, "Intuos Draw small" }, + { WACOM_VENDOR_ID, 0x33C,200000, 200000, &usbIntuos5, "Intuos Art/Photo/Comic small"}, + { WACOM_VENDOR_ID, 0x33D,200000, 200000, &usbIntuos5, "Intuos Draw medium" }, + { WACOM_VENDOR_ID, 0x33E,200000, 200000, &usbIntuos5, "Intuos Art medium" }, -+ + { WACOM_VENDOR_ID, 0x3F, 200000, 200000, &usbCintiqV5, "Cintiq 21UX" }, { WACOM_VENDOR_ID, 0xC5, 200000, 200000, &usbCintiqV5, "Cintiq 20WSX" }, - { WACOM_VENDOR_ID, 0xC6, 200000, 200000, &usbCintiqV5, "Cintiq 12WX" }, Modified: head/x11-drivers/xf86-input-wacom/files/patch-src-wcmValidateDevice.c ============================================================================== --- head/x11-drivers/xf86-input-wacom/files/patch-src-wcmValidateDevice.c Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-input-wacom/files/patch-src-wcmValidateDevice.c Wed Dec 19 09:09:11 2018 (r487789) @@ -1,6 +1,6 @@ ---- src/wcmValidateDevice.c.orig 2015-10-23 17:26:33 UTC +--- src/wcmValidateDevice.c.orig 2018-02-13 17:35:29 UTC +++ src/wcmValidateDevice.c -@@ -34,6 +34,7 @@ static Bool wcmCheckSource(InputInfoPtr +@@ -34,6 +34,7 @@ static Bool wcmCheckSource(InputInfoPtr pInfo, dev_t m { int match = 0; InputInfoPtr pDevices = xf86FirstLocalDevice(); @@ -8,7 +8,7 @@ for (; !match && pDevices != NULL; pDevices = pDevices->next) { -@@ -51,7 +52,6 @@ static Bool wcmCheckSource(InputInfoPtr +@@ -51,7 +52,6 @@ static Bool wcmCheckSource(InputInfoPtr pInfo, dev_t m if (pInfo != pDevices) { WacomCommonPtr pCommon = ((WacomDevicePtr)pDevices->private)->common; @@ -16,7 +16,7 @@ char* psource = xf86CheckStrOption(pDevices->options, "_source", ""); if (pCommon->min_maj && -@@ -62,10 +62,11 @@ static Bool wcmCheckSource(InputInfoPtr +@@ -62,10 +62,11 @@ static Bool wcmCheckSource(InputInfoPtr pInfo, dev_t m if (strcmp(fsource, psource)) match = 1; } @@ -29,7 +29,16 @@ if (match) xf86Msg(X_WARNING, "%s: device file already in use by %s. " "Ignoring.\n", pInfo->name, pDevices->name); -@@ -205,6 +206,10 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo +@@ -123,7 +124,7 @@ ret: + static struct + { + const char* type; +- __u16 tool[3]; /* tool array is terminated by 0 */ ++ uint16_t tool[3]; /* tool array is terminated by 0 */ + } wcmType [] = + { + { "stylus", { BTN_TOOL_PEN, 0 } }, +@@ -212,6 +213,10 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo) case 0x314: /* Intuos Pro S */ case 0x315: /* Intuos Pro M */ case 0x317: /* Intuos Pro L */ @@ -40,7 +49,7 @@ case 0x26: /* I5 */ case 0x27: /* I5 */ case 0x28: /* I5 */ -@@ -623,8 +628,10 @@ int wcmNeedAutoHotplug(InputInfoPtr pInf +@@ -659,8 +664,10 @@ int wcmNeedAutoHotplug(InputInfoPtr pInfo, char **type if (!source) /* xorg.conf device, don't auto-pick type */ goto out; Modified: head/x11-drivers/xf86-video-qxl/Makefile ============================================================================== --- head/x11-drivers/xf86-video-qxl/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-drivers/xf86-video-qxl/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= xf86-video-qxl DISTVERSION= 0.1.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-drivers MAINTAINER= ports@FreeBSD.org @@ -11,7 +11,7 @@ COMMENT= X.Org X server -- QXL display driver LICENSE= MIT BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol \ - ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libspice-server.so:devel/libspice-server USES= localbase:ldflags pkgconfig python:2.7 shebangfix Modified: head/x11-servers/xwayland/Makefile ============================================================================== --- head/x11-servers/xwayland/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-servers/xwayland/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,12 +2,14 @@ PORTNAME= xwayland PORTVERSION= 1.19.1 +PORTREVISION= 1 COMMENT= X Clients under Wayland LICENSE= MIT -BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols \ + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libinput.so:x11/libinput Modified: head/x11-toolkits/wlc/Makefile ============================================================================== --- head/x11-toolkits/wlc/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-toolkits/wlc/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= wlc PORTVERSION= 0.0.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits wayland MAINTAINER= x11@FreeBSD.org @@ -14,7 +14,8 @@ EXPIRATION_DATE= 2018-12-31 LICENSE= MIT LICENSE_FILES= ${WRKSRC}/LISENSE -BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols +BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols \ + ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \ libxcb-ewmh.so:x11/xcb-util-wm \ libwayland-server.so:graphics/wayland \ Modified: head/x11-wm/plasma5-kwin/Makefile ============================================================================== --- head/x11-wm/plasma5-kwin/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11-wm/plasma5-kwin/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= kwin DISTVERSION= ${KDE_PLASMA_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-wm kde kde-plasma MAINTAINER= kde@FreeBSD.org @@ -24,7 +24,7 @@ LIB_DEPENDS= libXcursor.so:x11/libXcursor \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon -BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat \ +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ Xwayland:x11-servers/xwayland RUN_DEPENDS= Xwayland:x11-servers/xwayland Modified: head/x11/kde-workspace-kde4/Makefile ============================================================================== --- head/x11/kde-workspace-kde4/Makefile Wed Dec 19 09:00:14 2018 (r487788) +++ head/x11/kde-workspace-kde4/Makefile Wed Dec 19 09:09:11 2018 (r487789) @@ -2,7 +2,7 @@ PORTNAME= kde-workspace PORTVERSION= ${KDE4_WORKSPACE_VERSION} -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= x11 kde kde-applications PKGNAMESUFFIX= -kde4 *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812190909.wBJ99BqD035343>