Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2019 04:33:04 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507840 - head/x11-toolkits/wlroots
Message-ID:  <201908020433.x724X4i5045229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Aug  2 04:33:04 2019
New Revision: 507840
URL: https://svnweb.freebsd.org/changeset/ports/507840

Log:
  x11-toolkits/wlroots: add CONSOLEKIT option
  
  Allows to avoid root and direct session bugs. Upstream wants a more
  lightweight solution but when that will materialize isn't clear.
  
  Requires D18754 at runtime.

Modified:
  head/x11-toolkits/wlroots/Makefile   (contents, props changed)
  head/x11-toolkits/wlroots/distinfo   (contents, props changed)

Modified: head/x11-toolkits/wlroots/Makefile
==============================================================================
--- head/x11-toolkits/wlroots/Makefile	Fri Aug  2 04:32:54 2019	(r507839)
+++ head/x11-toolkits/wlroots/Makefile	Fri Aug  2 04:33:04 2019	(r507840)
@@ -33,9 +33,19 @@ MESON_ARGS=	-Dexamples=false
 LLD_UNSAFE=	yes
 .endif
 
-OPTIONS_DEFINE=	FREERDP X11
+OPTIONS_DEFINE=	CONSOLEKIT FREERDP X11
 OPTIONS_DEFAULT=FREERDP X11
 OPTIONS_SUB=	yes
+
+CONSOLEKIT_DESC=	DRM sessions without root using ConsoleKit2
+CONSOLEKIT_PATCH_SITES=	https://github.com/myfreeweb/${GH_PROJECT}/commit/:ck2
+CONSOLEKIT_PATCHFILES=	ac65ec72a2f2.patch:-p1:ck2 # see #1467 upstream
+CONSOLEKIT_LIB_DEPENDS=	libdbus-1.so:devel/dbus \
+			libconsolekit.so:sysutils/consolekit2
+CONSOLEKIT_MESON_ENABLED=	consolekit2
+.if make(makesum)
+.MAKEFLAGS:		WITH+=CONSOLEKIT
+.endif
 
 FREERDP_DESC=	RDP backend with freerdp
 FREERDP_LIB_DEPENDS=	libfreerdp2.so:net/freerdp

Modified: head/x11-toolkits/wlroots/distinfo
==============================================================================
--- head/x11-toolkits/wlroots/distinfo	Fri Aug  2 04:32:54 2019	(r507839)
+++ head/x11-toolkits/wlroots/distinfo	Fri Aug  2 04:33:04 2019	(r507840)
@@ -1,3 +1,5 @@
 TIMESTAMP = 1556898946
 SHA256 (swaywm-wlroots-0.6.0_GH0.tar.gz) = 9cf3716f3683d800df8b150f256ff66dad65faf13a9d67c284f67a9444d28c70
 SIZE (swaywm-wlroots-0.6.0_GH0.tar.gz) = 497934
+SHA256 (ac65ec72a2f2.patch) = 83a1995d99f042a12e4b523cfab9e59089fcf1567086350e0e56f59eb507dff5
+SIZE (ac65ec72a2f2.patch) = 28370



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