Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2020 19:40:39 +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: r550738 - in head/devel/libevdev: . files
Message-ID:  <202009301940.08UJedPa045394@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Wed Sep 30 19:40:39 2020
New Revision: 550738
URL: https://svnweb.freebsd.org/changeset/ports/550738

Log:
  devel/libevdev: Update to teh lastest snapshot
  
  Update devel/libevdev to the latest snapshot.
  This snapshot is comparable to libevdev 1.9.1 with added FreeBSD support and
  some minor fixes.
  Remove local patches for FreeBSD support, as FreeBSD support has been
  developed and committed upstream.
  Switch to use meson instead of autotools for builds
  Use bundled files instead of evdev-proto, similar to how x11/libinput is
  done.
  Pass maintainership to x11@, since this port is used in the xorg and wayland
  input stack.
  
  PR:		249961
  Submitted by:	zeising
  Approved by:	hselasky (maintainer)
  Obtained from:	FreeBSD Graphics Team git repo

Deleted:
  head/devel/libevdev/files/
Modified:
  head/devel/libevdev/Makefile
  head/devel/libevdev/distinfo
  head/devel/libevdev/pkg-plist

Modified: head/devel/libevdev/Makefile
==============================================================================
--- head/devel/libevdev/Makefile	Wed Sep 30 19:36:57 2020	(r550737)
+++ head/devel/libevdev/Makefile	Wed Sep 30 19:40:39 2020	(r550738)
@@ -1,43 +1,25 @@
 # $FreeBSD$
 
 PORTNAME=	libevdev
-PORTVERSION=	1.5.9
-PORTREVISION=	2
+PORTVERSION=	1.9.1.20200928
 CATEGORIES=	devel
-MASTER_SITES=	http://freedesktop.org/software/${PORTNAME}/
+#MASTER_SITES=	http://freedesktop.org/software/${PORTNAME}/
 
-MAINTAINER=	hselasky@FreeBSD.org
+MAINTAINER=	x11@FreeBSD.org
 COMMENT=	Linux Event Device library
 
 LICENSE=	MIT # without linux/*.h
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
-LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim
-
-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="" ac_cv_path_VALGRIND=""
-CPPFLAGS+=	-I${LOCALBASE}/include/libepoll-shim
-INSTALL_TARGET=	install-strip
+USES=		meson pkgconfig python:3.5+,build shebangfix
 USE_LDCONFIG=	yes
 
-# Test requires /dev/uinput and should be run as root
-.if exists(/dev/uinput)
-TEST_DEPENDS=	checkmk:devel/check
-TEST_TARGET=	check
-TEST_WRKSRC=	${WRKSRC}/test
-.endif
+USE_GITLAB=	yes
+GL_SITE=	https://gitlab.freedesktop.org
+GL_COMMIT=	6ea230bc72353c54fac628987b87cc1d3b6fd842
 
-post-patch:
-	@${REINPLACE_CMD} -e '/input\.h/s,top_srcdir,LOCALBASE,g' \
-		${WRKSRC}/libevdev/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
+MESON_ARGS=	-Ddocumentation=disabled -Dtests=disabled
+
+BINARY_ALIAS=	python3=${PYTHON_CMD}
 
 .include <bsd.port.mk>

Modified: head/devel/libevdev/distinfo
==============================================================================
--- head/devel/libevdev/distinfo	Wed Sep 30 19:36:57 2020	(r550737)
+++ head/devel/libevdev/distinfo	Wed Sep 30 19:40:39 2020	(r550738)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522696039
-SHA256 (libevdev-1.5.9.tar.xz) = e1663751443bed9d3e76a4fe2caf6fa866a79705d91cacad815c04e706198a75
-SIZE (libevdev-1.5.9.tar.xz) = 408200
+TIMESTAMP = 1601324574
+SHA256 (libevdev-libevdev-6ea230bc72353c54fac628987b87cc1d3b6fd842_GL0.tar.gz) = 05964dc64500ff48bd2227178e1220d7c32d2c1757e5b8248226d867ab47d6bf
+SIZE (libevdev-libevdev-6ea230bc72353c54fac628987b87cc1d3b6fd842_GL0.tar.gz) = 166196

Modified: head/devel/libevdev/pkg-plist
==============================================================================
--- head/devel/libevdev/pkg-plist	Wed Sep 30 19:36:57 2020	(r550737)
+++ head/devel/libevdev/pkg-plist	Wed Sep 30 19:40:39 2020	(r550738)
@@ -3,9 +3,8 @@ 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.21
+lib/libevdev.so.2.3.0
 libdata/pkgconfig/libevdev.pc
 man/man3/libevdev.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009301940.08UJedPa045394>