Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2020 22:21:40 +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: r525679 - in head/x11-servers: . xwayland xwayland-devel
Message-ID:  <202002092221.019MLeAH078485@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Feb  9 22:21:40 2020
New Revision: 525679
URL: https://svnweb.freebsd.org/changeset/ports/525679

Log:
  x11-servers/xwayland-devel: add new port
  
  Current version in the tree is very old and buggy. Divorce from Xorg
  server to simplify QA and avoid numerious non-upstreamed patches.

Added:
  head/x11-servers/xwayland-devel/
  head/x11-servers/xwayland-devel/Makefile   (contents, props changed)
  head/x11-servers/xwayland-devel/distinfo   (contents, props changed)
  head/x11-servers/xwayland-devel/pkg-descr   (contents, props changed)
Modified:
  head/x11-servers/Makefile   (contents, props changed)
  head/x11-servers/xwayland/Makefile   (contents, props changed)

Modified: head/x11-servers/Makefile
==============================================================================
--- head/x11-servers/Makefile	Sun Feb  9 21:36:43 2020	(r525678)
+++ head/x11-servers/Makefile	Sun Feb  9 22:21:40 2020	(r525679)
@@ -12,5 +12,6 @@
     SUBDIR += xorg-server
     SUBDIR += xorg-vfbserver
     SUBDIR += xwayland
+    SUBDIR += xwayland-devel
 
 .include <bsd.port.subdir.mk>

Added: head/x11-servers/xwayland-devel/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-servers/xwayland-devel/Makefile	Sun Feb  9 22:21:40 2020	(r525679)
@@ -0,0 +1,52 @@
+# $FreeBSD$
+
+PORTNAME=	xwayland
+DISTVERSIONPREFIX=	xorg-server-
+DISTVERSION=	1.20.0-592
+DISTVERSIONSUFFIX=	-g${GL_COMMIT:C/(.{12}).*/\1/}
+CATEGORIES=	x11-servers
+PKGNAMESUFFIX=	-devel
+
+PATCH_SITES=	${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/commit/
+PATCHFILES+=	71749de24509.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/merge_requests/393
+PATCHFILES+=	1e897704c822.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/merge_requests/393
+PATCHFILES+=	83cda3ce3195.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/merge_requests/393
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	X11 server as Wayland client (development snapshot)
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+		${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri \
+		wayland-protocols>=1.18:graphics/wayland-protocols
+LIB_DEPENDS=	libdrm.so:graphics/libdrm \
+		libepoxy.so:graphics/libepoxy \
+		libwayland-client.so:graphics/wayland
+
+CONFLICTS_INSTALL=	${PORTNAME}
+
+USES=		gl meson pkgconfig xorg
+USE_GITLAB=	yes
+USE_GL=		gbm gl
+USE_XORG=	pixman xau xdmcp xfont2 xkbfile xshmfence xtrans
+GL_SITE=	https://gitlab.freedesktop.org
+GL_ACCOUNT=	xorg
+GL_PROJECT=	xserver
+GL_COMMIT=	1cfdd1a96580733df3625bcea3384ffee3dc92df
+MESON_ARGS=	-Dxwayland=true \
+		-Dxorg=false \
+		-Dxnest=false \
+		-Dxvfb=false \
+		-Dudev=false \
+		-Dudev_kms=false \
+		-Ddefault_font_path=${NONEXISTENT}
+PLIST_FILES=	bin/Xwayland
+
+do-install:
+# Wayland compositors only use the binary
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hw/xwayland/Xwayland \
+		${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/x11-servers/xwayland-devel/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-servers/xwayland-devel/distinfo	Sun Feb  9 22:21:40 2020	(r525679)
@@ -0,0 +1,9 @@
+TIMESTAMP = 1580946307
+SHA256 (xorg-xserver-1cfdd1a96580733df3625bcea3384ffee3dc92df_GL0.tar.gz) = a3c2b610e7d442692b85460c791b37048bfd33a5f529d7f0538149c7f01dffc1
+SIZE (xorg-xserver-1cfdd1a96580733df3625bcea3384ffee3dc92df_GL0.tar.gz) = 5107900
+SHA256 (71749de24509.patch) = b541c7ca7098ed624e815f0dc17e94d1dc48e70af55459e51a8f04b10bcd0116
+SIZE (71749de24509.patch) = 1392
+SHA256 (1e897704c822.patch) = b5c9e98a8596d4aa854c817f2f44ed7636cbc32de6773ade20e03970deb70717
+SIZE (1e897704c822.patch) = 969
+SHA256 (83cda3ce3195.patch) = 4b0bfd42d558d6634dbac3105d5744c8cb2a8410f3572033fe45211fb8d1ae71
+SIZE (83cda3ce3195.patch) = 4513

Added: head/x11-servers/xwayland-devel/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-servers/xwayland-devel/pkg-descr	Sun Feb  9 22:21:40 2020	(r525679)
@@ -0,0 +1,10 @@
+Wayland is a complete window system in itself, but even so, if we're
+migrating away from X, it makes sense to have a good backwards
+compatibility story. With a few changes, the Xorg server can be
+modified to use wayland input devices for input and forward either the
+root window or individual top-level windows as wayland surfaces. The
+server still runs the same 2D driver with the same acceleration code
+as it does when it runs natively. The main difference is that wayland
+handles presentation of the windows instead of KMS.
+
+WWW: https://wayland.freedesktop.org/xserver.html

Modified: head/x11-servers/xwayland/Makefile
==============================================================================
--- head/x11-servers/xwayland/Makefile	Sun Feb  9 21:36:43 2020	(r525678)
+++ head/x11-servers/xwayland/Makefile	Sun Feb  9 22:21:40 2020	(r525679)
@@ -15,6 +15,8 @@ BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/wayland-
 LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
 		libinput.so:x11/libinput
 
+CONFLICTS_INSTALL=	${PORTNAME}-devel
+
 MASTERDIR=	${.CURDIR}/../xorg-server
 DESCR=		${.CURDIR}/pkg-descr
 DISTINFO_FILE=	${.CURDIR}/distinfo



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