libudev-compatible interface for devd

Intended to work with xorg-server and libinput

WWW: https://github.com/FreeBSDDesktop/libudev-devd
This commit is contained in:
Baptiste Daroussin 2017-01-29 23:14:23 +00:00
parent 48bb3208c4
commit 8fdbd74615
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432806
5 changed files with 52 additions and 0 deletions

View File

@ -1448,6 +1448,7 @@
SUBDIR += libtpl
SUBDIR += libtuntap
SUBDIR += libublio
SUBDIR += libudev-devd
SUBDIR += libukcprog
SUBDIR += libunicode
SUBDIR += libuninum

View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= libudev-devd
PORTVERSION= 0.2
CATEGORIES= devel
MAINTAINER= x11@FreeBSD.org
COMMENT= libudev-compatible interface for devd
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat
LIB_DEPENDS= libevdev.so:devel/libevdev
USE_GITHUB= yes
GH_ACCOUNT= FreeBSDDesktop
GH_TAGNAME= 5a9d2b9
USES= dos2unix autoreconf gmake libtool localbase pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
PLIST_FILES= include/libudev.h \
lib/libudev.so \
lib/libudev.so.0 \
lib/libudev.so.0.0.0 \
libdata/pkgconfig/libudev.pc
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1485731600
SHA256 (FreeBSDDesktop-libudev-devd-0.2-5a9d2b9_GH0.tar.gz) = 847111e0e34b434d647f7f8ce5ebf3546cea539b29e124abccfe9606492348d8
SIZE (FreeBSDDesktop-libudev-devd-0.2-5a9d2b9_GH0.tar.gz) = 16411

View File

@ -0,0 +1,13 @@
--- utils.h.orig 2017-01-07 22:21:49 UTC
+++ utils.h
@@ -5,8 +5,8 @@
#include <unistd.h>
-#define ENABLE_TRACE
-#define LOG_LEVEL 1
+/* #define ENABLE_TRACE */
+#define LOG_LEVEL 0
/*
#ifndef LOG_LEVEL

View File

@ -0,0 +1,5 @@
libudev-compatible interface for devd
Intended to work with xorg-server and libinput
WWW: https://github.com/FreeBSDDesktop/libudev-devd