From owner-dev-commits-ports-main@freebsd.org Wed Jun 23 18:15:19 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 1E835655206; Wed, 23 Jun 2021 18:15:19 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9BJQ6Y19z3Png; Wed, 23 Jun 2021 18:15:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C47C7CEA; Wed, 23 Jun 2021 18:15:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15NIFIMx007427; Wed, 23 Jun 2021 18:15:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15NIFIEZ007426; Wed, 23 Jun 2021 18:15:18 GMT (envelope-from git) Date: Wed, 23 Jun 2021 18:15:18 GMT Message-Id: <202106231815.15NIFIEZ007426@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 494d86231d8d - main - x11-toolkits/wlroots: expose Vulkan renderer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 494d86231d8dd3ceae7302676e5ff195d850510e Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2021 18:15:19 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=494d86231d8dd3ceae7302676e5ff195d850510e commit 494d86231d8dd3ceae7302676e5ff195d850510e Author: Jan Beich AuthorDate: 2021-06-23 17:31:33 +0000 Commit: Jan Beich CommitDate: 2021-06-23 18:13:35 +0000 x11-toolkits/wlroots: expose Vulkan renderer Example usage: $ WLR_RENDERER=vulkan sway --- x11-toolkits/wlroots/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile index dcb789f0f170..cd4304611c4b 100644 --- a/x11-toolkits/wlroots/Makefile +++ b/x11-toolkits/wlroots/Makefile @@ -1,5 +1,6 @@ PORTNAME= wlroots DISTVERSION= 0.14.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ @@ -31,8 +32,8 @@ USE_LDCONFIG= yes GH_ACCOUNT= swaywm MESON_ARGS= -Dexamples=false -Drenderers=${RENDERERS:ts,} -OPTIONS_DEFINE= NVIDIA OPENGL X11 -OPTIONS_DEFAULT=OPENGL X11 +OPTIONS_DEFINE= NVIDIA OPENGL VULKAN X11 +OPTIONS_DEFAULT=OPENGL VULKAN X11 OPTIONS_SUB= yes NVIDIA_DESC= EGLStreams support for DRM backend (experimental) @@ -47,6 +48,46 @@ OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri OPENGL_USE= GL=egl,glesv2 OPENGL_VARS= RENDERERS+=gles2 +VULKAN_DESC= Vulkan renderer (experimental) +VULKAN_PATCHFILES+= 8c700c534556.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 0464af8573f9.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= e3e9250ea6d8.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 1af1d1694195.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 93319aa2b633.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 0028938735d1.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 6885b636508c.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 76534695a8d3.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 445142e6a1f9.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= f029ae1dac4b.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= ad1fab0b3704.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 4407b8e5a3a7.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= e021c068d02f.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 2cc710bda83c.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= f0888604d6ce.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 4fdd5efc9260.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 59c119829f1c.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= cfbd8aa6cf24.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 3f6dbe428e8b.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= a83943798aef.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= f64a98d49d25.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 9885ccb4b0b1.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 71f9f33e3bf2.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= bd8c520dbd9a.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 2d89dc9b8651.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 8f9aeda46d8a.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= e3d16970433f.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 79f10d929b72.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= 1a16e8fc56a9.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_PATCHFILES+= dd039c56d93a.patch:-p1 # https://github.com/swaywm/wlroots/pull/2771 +VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ + vulkan-headers>0:graphics/vulkan-headers +VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader +VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri +VULKAN_USES= localbase # Silence -Werror=undef in +VULKAN_VARS= RENDERERS+=vulkan +VULKAN_PLIST_FILES= include/wlr/types/wlr_drm.h \ + %%VULKAN%%include/wlr/render/vulkan.h + X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm