From owner-svn-ports-head@freebsd.org Fri Nov 27 22:11:13 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F94D46A5D6; Fri, 27 Nov 2020 22:11:13 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CjTNd3hbHz4Wp0; Fri, 27 Nov 2020 22:11:13 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 71A0C1C98E; Fri, 27 Nov 2020 22:11:13 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0ARMBDvV082362; Fri, 27 Nov 2020 22:11:13 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0ARMBCCC082359; Fri, 27 Nov 2020 22:11:12 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202011272211.0ARMBCCC082359@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 27 Nov 2020 22:11:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r556458 - in head/x11-servers: . xarcan X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/x11-servers: . xarcan X-SVN-Commit-Revision: 556458 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2020 22:11:13 -0000 Author: jbeich Date: Fri Nov 27 22:11:12 2020 New Revision: 556458 URL: https://svnweb.freebsd.org/changeset/ports/556458 Log: x11-servers/xarcan: add new port This is a patched Xserver with a KDrive backend that uses the arcan-shmif to map Xlib/Xcb/X clients to a running Arcan instance. It currently works as a 'desktop in a window', where you supply the window manager and so on, and use the X side as normal. Some Arcan features will be lost, particularly any customizations done to the keybindings - normal X controls for defining keyboard maps and overrides are needed. https://github.com/letoram/xarcan Added: head/x11-servers/xarcan/ head/x11-servers/xarcan/Makefile (contents, props changed) head/x11-servers/xarcan/distinfo (contents, props changed) head/x11-servers/xarcan/pkg-descr (contents, props changed) Modified: head/x11-servers/Makefile (contents, props changed) Modified: head/x11-servers/Makefile ============================================================================== --- head/x11-servers/Makefile Fri Nov 27 21:40:14 2020 (r556457) +++ head/x11-servers/Makefile Fri Nov 27 22:11:12 2020 (r556458) @@ -6,6 +6,7 @@ SUBDIR += Xfstt SUBDIR += x2vnc SUBDIR += x2x + SUBDIR += xarcan SUBDIR += xephyr SUBDIR += xorg-dmx SUBDIR += xorg-nestserver Added: head/x11-servers/xarcan/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-servers/xarcan/Makefile Fri Nov 27 22:11:12 2020 (r556458) @@ -0,0 +1,63 @@ +# $FreeBSD$ + +PORTNAME= xarcan +DISTVERSION= 0.5.4-1 +DISTVERSIONSUFFIX= -g8f075d78b +CATEGORIES= x11-servers + +PATCH_SITES= https://github.com/freedesktop/xorg-xserver/commit/ +PATCHFILES+= 98dc1228f407.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/292 +PATCHFILES+= c7486613b0dc.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/304 +PATCHFILES+= 3340ddf37743.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/305 +PATCHFILES+= 622eea366aaf.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/318 +PATCHFILES+= 741bd73429e3.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/322 +PATCHFILES+= f2cf236da8e8.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/393 +PATCHFILES+= be731e0bdc7d.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/393 +PATCHFILES+= b5b529799a20.patch:-p1 # https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/393 +PATCHFILES+= fb310852f67d.patch:-p1 # https://github.com/letoram/xarcan/pull/7 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= X11 server as Arcan client + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri +LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ + libarcan_shmif_ext.so:multimedia/arcan +RUN_DEPENDS= xkbcomp:x11/xkbcomp \ + xkeyboard-config>0:x11/xkeyboard-config + +USES= compiler:c11 gl meson pkgconfig xorg +USE_GITHUB= yes +USE_GL= gbm gl +USE_XORG= pixman xau xdmcp xfont2 xkbfile xshmfence xtrans +GH_ACCOUNT= letoram +MESON_ARGS= -D${PORTNAME}=true \ + -Dxorg=false \ + -Dxnest=false \ + -Dxvfb=false \ + -Dxwayland=false \ + -Dudev=false \ + -Dudev_kms=false \ + -Ddefault_font_path="${DEFAULT_FONTPATH_LIST:ts,}" +PLIST_FILES= bin/Xarcan + +# Keep in sync with xorg-server +FONTPATH_ROOT?= ${LOCALBASE}/share/fonts +FONTPATHD?= ${PREFIX}/etc/X11/fontpath.d +DEFAULT_FONTPATH_LIST= \ + ${FONTPATH_ROOT}/misc/ \ + ${FONTPATH_ROOT}/TTF/ \ + ${FONTPATH_ROOT}/OTF/ \ + ${FONTPATH_ROOT}/Type1/ \ + ${FONTPATH_ROOT}/100dpi/ \ + ${FONTPATH_ROOT}/75dpi/ \ + catalogue:${FONTPATHD} + +do-install: +# XXX Prevent Meson from installing unrelated files + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hw/kdrive/arcan/Xarcan \ + ${STAGEDIR}${PREFIX}/bin + +.include Added: head/x11-servers/xarcan/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-servers/xarcan/distinfo Fri Nov 27 22:11:12 2020 (r556458) @@ -0,0 +1,21 @@ +TIMESTAMP = 1564316190 +SHA256 (letoram-xarcan-0.5.4-1-g8f075d78b_GH0.tar.gz) = eb923b332074c4076218c7e1bb42a3d687972fc364db175beb89b95710a69544 +SIZE (letoram-xarcan-0.5.4-1-g8f075d78b_GH0.tar.gz) = 5083988 +SHA256 (98dc1228f407.patch) = 463cbe0a7f81410d73e2a3b5563a1790ab3af4ab4fd0b4d0c769b739a3946037 +SIZE (98dc1228f407.patch) = 1422 +SHA256 (c7486613b0dc.patch) = 451be598799b4d306533664e6b74013f54b24fe3b85459d2efea7c5db98516cf +SIZE (c7486613b0dc.patch) = 707 +SHA256 (3340ddf37743.patch) = f7f19d2772499ba8bbebbd114278c2eca1133c0fb8696cb1f046c40d966cf380 +SIZE (3340ddf37743.patch) = 664 +SHA256 (622eea366aaf.patch) = 8057a6dcbdc59b746a9f5ff7664a4288e980d7f788ff1d7b137ee82db3ffbd48 +SIZE (622eea366aaf.patch) = 5537 +SHA256 (741bd73429e3.patch) = 46888acb4f377ee0066c6e119b87a058262d903ebc584e70c7380a7c1ae4cdef +SIZE (741bd73429e3.patch) = 3465 +SHA256 (f2cf236da8e8.patch) = 562c7d358803cf617a7fdafff037fd982b8e000c3dda6d6b2b8b54acb61437ca +SIZE (f2cf236da8e8.patch) = 1380 +SHA256 (be731e0bdc7d.patch) = 0f69ec23cf3c8a6c2024a48d3f1b12d5851547b6c923ad3f233bf425ad3847bf +SIZE (be731e0bdc7d.patch) = 1540 +SHA256 (b5b529799a20.patch) = a53167a35a3f416242156b134147530e303dc80db7516d9192cb96538ac89a10 +SIZE (b5b529799a20.patch) = 4501 +SHA256 (fb310852f67d.patch) = 8d8a4b58a084607bfe6149ab07d7d288c4b41cf40623912055f16276de14473f +SIZE (fb310852f67d.patch) = 2136 Added: head/x11-servers/xarcan/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-servers/xarcan/pkg-descr Fri Nov 27 22:11:12 2020 (r556458) @@ -0,0 +1,10 @@ +This is a patched Xserver with a KDrive backend that uses the +arcan-shmif to map Xlib/Xcb/X clients to a running Arcan instance. + +It currently works as a 'desktop in a window', where you supply the +window manager and so on, and use the X side as normal. Some Arcan +features will be lost, particularly any customizations done to the +keybindings - normal X controls for defining keyboard maps and +overrides are needed. + +WWW: https://github.com/letoram/xarcan