Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 19:19:17 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564733 - head/sysutils/consolekit2
Message-ID:  <202102081919.118JJHLa070068@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Mon Feb  8 19:19:16 2021
New Revision: 564733
URL: https://svnweb.freebsd.org/changeset/ports/564733

Log:
  sysutils/consolekit2: enable drm/evdev, fix drm device recognition
  
  This makes it possible to launch a Wayland compositor using ConsoleKit2 as the
  session controller.
  
  Submitted by:	greg@unrelenting.technology
  Obtained from:	https://github.com/DankBSD/ports/commits/lite/sysutils/consolekit2
  Differential Revision:	https://reviews.freebsd.org/D18754

Modified:
  head/sysutils/consolekit2/Makefile
  head/sysutils/consolekit2/distinfo

Modified: head/sysutils/consolekit2/Makefile
==============================================================================
--- head/sysutils/consolekit2/Makefile	Mon Feb  8 18:27:41 2021	(r564732)
+++ head/sysutils/consolekit2/Makefile	Mon Feb  8 19:19:16 2021	(r564733)
@@ -3,22 +3,34 @@
 
 PORTNAME=	consolekit
 PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${PORTVERSION}/
 PKGNAMESUFFIX=	2
 DISTNAME=	ConsoleKit2-${PORTVERSION}
 
 MAINTAINER=	desktop@FreeBSD.org
+# Support for DRM/evdev
+PATCH_SITES=	https://github.com/myfreeweb/ConsoleKit2/commit/
+PATCHFILES=	03eaa9779f2c9c7b0acf0521a5547036bdec2245.patch:-p1 \
+		05f26e99539e7a442e57035ed6d64fdd9a50feb9.patch:-p1 \
+		ea4a569100dfa44a0c9d42b1cf7381fd8f88c837.patch:-p1 \
+		18a058576d118dec428d81c7e2e3369d9ec939d0.patch:-p1 \
+		42b8c93b2b7c2a57a74580531c73ab736e95336a.patch:-p1
+
+MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Framework for defining and tracking users
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libdbus-1.so:devel/dbus
+LIB_DEPENDS=	libdbus-1.so:devel/dbus \
+		libdrm.so:graphics/libdrm \
+		libevdev.so:devel/libevdev \
+		libudev.so:devel/libudev-devd
 
-OPTIONS_DEFINE=	POLKIT
-OPTIONS_DEFAULT=POLKIT
+OPTIONS_DEFINE=	POLKIT X11
+OPTIONS_DEFAULT=POLKIT X11
 OPTIONS_SUB=	yes
 
 POLKIT_DESC=	Build with Polkit support
@@ -26,11 +38,13 @@ POLKIT_DESC=	Build with Polkit support
 POLKIT_LIB_DEPENDS=	libpolkit-gobject-1.so:sysutils/polkit
 POLKIT_CONFIGURE_ENABLE=	polkit
 
+X11_USES=		xorg
+X11_USE=		XORG=x11
+
 WRKSRC=		${WRKDIR}/ConsoleKit2-${PORTVERSION}
-USES=		gettext gmake gnome libtool localbase pathfix pkgconfig \
-		tar:bzip2 xorg
+USES=		autoreconf gettext gmake gnome libtool localbase pathfix pkgconfig \
+		tar:bzip2
 USE_CSTD=	gnu99
-USE_XORG=	x11
 USE_GNOME=	glib20 libxslt introspection:build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
@@ -39,12 +53,12 @@ CONFIGURE_ARGS=	--with-pid-file=/var/run/${PORTNAME}.p
 		--with-pam-module-dir=${PREFIX}/lib \
 		--localstatedir=/var \
 		--enable-introspection \
+		--enable-libdrm \
+		--enable-libevdev \
+		--enable-libudev \
 		--without-html-dir \
 		--disable-udev-acl \
 		--disable-libcgmanager \
-		--disable-libdrm \
-		--disable-libevdev \
-		--disable-libudev \
 		--without-systemdsystemunitdir
 INSTALL_TARGET=	install-strip
 

Modified: head/sysutils/consolekit2/distinfo
==============================================================================
--- head/sysutils/consolekit2/distinfo	Mon Feb  8 18:27:41 2021	(r564732)
+++ head/sysutils/consolekit2/distinfo	Mon Feb  8 19:19:16 2021	(r564733)
@@ -1,3 +1,13 @@
-TIMESTAMP = 1516458395
+TIMESTAMP = 1612811434
 SHA256 (ConsoleKit2-1.2.1.tar.bz2) = 9af223096ece88b217bcd3fe85093390a8d1527b6492124b0e90ea7688ec934b
 SIZE (ConsoleKit2-1.2.1.tar.bz2) = 1182946
+SHA256 (03eaa9779f2c9c7b0acf0521a5547036bdec2245.patch) = efcf04ccaba47ad4c979fa694baab3abe7f04fc24c90838b6cbf1e7d709056e6
+SIZE (03eaa9779f2c9c7b0acf0521a5547036bdec2245.patch) = 1457
+SHA256 (05f26e99539e7a442e57035ed6d64fdd9a50feb9.patch) = 36eb5011e29173f955e27f9b6987eecae27e1793b24e09a09bacda7db9fc2296
+SIZE (05f26e99539e7a442e57035ed6d64fdd9a50feb9.patch) = 1409
+SHA256 (ea4a569100dfa44a0c9d42b1cf7381fd8f88c837.patch) = 37ce4fc9a2360089e3d3fadb1ea581fd2d4bcbc68d5981fdedf7baa1a6ad91e6
+SIZE (ea4a569100dfa44a0c9d42b1cf7381fd8f88c837.patch) = 2336
+SHA256 (18a058576d118dec428d81c7e2e3369d9ec939d0.patch) = 46a79687dd3736469086fa68928d4914152b0c00eee994e03b418700ba115e96
+SIZE (18a058576d118dec428d81c7e2e3369d9ec939d0.patch) = 810
+SHA256 (42b8c93b2b7c2a57a74580531c73ab736e95336a.patch) = 7a2a144352f137acbd933b48c1f465b3b3f17104eb163e7b2371220510ff2976
+SIZE (42b8c93b2b7c2a57a74580531c73ab736e95336a.patch) = 916



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