Permalink
Browse files

x11-servers/xorg-server: Add UDEV option to support evdev devices aut…

  • Loading branch information...
myfreeweb committed Sep 25, 2017
1 parent 42bc888 commit 3a917bcb52c7944218aee6e52e83bdc058dfb9f5
Showing with 15 additions and 3 deletions.
  1. +5 −1 README.md
  2. +10 −2 x11-servers/xorg-server/Makefile
View
@@ -45,6 +45,11 @@ sway on KMS/DRM used to work on amdgpu, but broke very recently (kernel panic).
GTK/Qt already had Wayland options in the GNOME/KDE ports branches that were merged in.
### Xorg
- `x11-servers/xorg-server`: added `UDEV` option to support evdev devices autodetection [222609](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222609)
- `x11/xcape`: [Useful X11 keyboard utility](https://github.com/alols/xcape) [222602](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222602)
### Morrowind
YOU CAN PLAY IT AGAIN!
@@ -54,7 +59,6 @@ YOU CAN PLAY IT AGAIN!
### Misc
- `x11/xcape`: [Useful X11 keyboard utility](https://github.com/alols/xcape) [222602](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222602)
- `java/jamvm`: update to 2.0.0 [192305](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192305)
## Kernel patches
@@ -23,9 +23,10 @@ SLAVE_PORT?= no
OPTIONS_SUB= yes
OPTIONS_DEFINE= SUID
OPTIONS_RADIO= CONF
OPTIONS_RADIO_CONF= DEVD HAL
OPTIONS_RADIO_CONF= DEVD HAL UDEV
DEVD_DESC= Use devd for autoconfiguration of input devices
HAL_DESC= Use hald for autoconfiguration of input devices
UDEV_DESC= Use udev for autoconfiguration of input devices
SUID_DESC= Install the Xorg server with setuid bit set
OPTIONS_DEFAULT=DEVD SUID
@@ -44,7 +45,7 @@ USE_XORG+= bigreqsproto compositeproto damageproto dri2proto dri3proto \
xineramaproto xkbfile xproto xshmfence xtrans
CONFIGURE_ARGS+=--without-doxygen --without-xmlto --without-fop \
--localstatedir=/var --with-shared-memory-dir=/tmp \
--disable-config-udev --disable-config-udev-kms \
--disable-config-udev-kms --disable-systemd-logind \
--without-dtrace --enable-glamor
INSTALL_TARGET= install-strip
@@ -84,6 +85,13 @@ CONFIGURE_ARGS+= --enable-config-hal
CONFIGURE_ARGS+= --disable-config-hal
.endif
.if ${PORT_OPTIONS:MUDEV}
LIB_DEPENDS+= libudev.so:devel/libudev-devd
CONFIGURE_ARGS+= --enable-config-udev
.else
CONFIGURE_ARGS+= --disable-config-udev
.endif
# We handle Xorg setuid in the plist. This allows to build xorg-server as a user.
CONFIGURE_ARGS+=--disable-install-setuid

0 comments on commit 3a917bc

Please sign in to comment.