From owner-svn-ports-all@freebsd.org Wed May 27 07:41:42 2020 Return-Path: Delivered-To: svn-ports-all@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 5F25C32A0D3; Wed, 27 May 2020 07:41:42 +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 49X2pG1wKLz3ZQj; Wed, 27 May 2020 07:41:42 +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 3D39411471; Wed, 27 May 2020 07:41:42 +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 04R7fg10059950; Wed, 27 May 2020 07:41:42 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04R7ffj7059945; Wed, 27 May 2020 07:41:41 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202005270741.04R7ffj7059945@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 27 May 2020 07:41:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536673 - in head/graphics: . libglvnd mesa-libs X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/graphics: . libglvnd mesa-libs X-SVN-Commit-Revision: 536673 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 07:41:42 -0000 Author: jbeich Date: Wed May 27 07:41:40 2020 New Revision: 536673 URL: https://svnweb.freebsd.org/changeset/ports/536673 Log: graphics/libglvnd: add new port Submitted by: Greg V libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors. It allows multiple drivers from different vendors to coexist on the same filesystem, and determines which vendor to dispatch each API call to at runtime. Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES. https://gitlab.freedesktop.org/glvnd/libglvnd Added: head/graphics/libglvnd/ head/graphics/libglvnd/Makefile (contents, props changed) head/graphics/libglvnd/distinfo (contents, props changed) head/graphics/libglvnd/pkg-descr (contents, props changed) head/graphics/libglvnd/pkg-plist (contents, props changed) Modified: head/graphics/Makefile (contents, props changed) head/graphics/mesa-libs/Makefile (contents, props changed) Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Wed May 27 07:24:32 2020 (r536672) +++ head/graphics/Makefile Wed May 27 07:41:40 2020 (r536673) @@ -441,6 +441,7 @@ SUBDIR += libgfx SUBDIR += libgltext SUBDIR += libgltf + SUBDIR += libglvnd SUBDIR += libgnomecanvas SUBDIR += libgnomecanvas-reference SUBDIR += libgnomecanvasmm26 Added: head/graphics/libglvnd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/Makefile Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= libglvnd +DISTVERSION= 1.3.1 +CATEGORIES= graphics + +MAINTAINER= greg@unrelenting.technology +COMMENT= GL Vendor-Neutral Dispatch library + +LICENSE= APACHE20 MIT +LICENSE_COMB= multi + +CONFLICTS_INSTALL= mesa-libs # include/GL/gl.h + +USES= compiler:c++11-lib localbase meson pkgconfig +USE_LDCONFIG= yes + +USE_GITLAB= yes +GL_SITE= https://gitlab.freedesktop.org +GL_ACCOUNT= glvnd +GL_COMMIT= 1c32de07074fee8edcb274899948b6551081ed54 + +OPTIONS_DEFINE= X11 +OPTIONS_DEFAULT=X11 +OPTIONS_SUB= yes + +X11_USES= xorg +X11_USE= XORG=x11,xext,xorgproto +X11_MESON_ENABLED= x11 glx + +# Lots of software expects gl.pc even when it can build with EGL only +post-install-X11-off: + ${LN} -s opengl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc + ${REINPLACE_CMD} -e '/Cflags:/s/$$/ -DEGL_NO_X11/' \ + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/egl.pc + +.include Added: head/graphics/libglvnd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/distinfo Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,3 @@ +TIMESTAMP = 1582320527 +SHA256 (glvnd-libglvnd-1c32de07074fee8edcb274899948b6551081ed54_GL0.tar.gz) = 2a33254c697d1a74f9637ab0427281604b93a4fc1f9e6ff60ba8e1fd5ea5ff52 +SIZE (glvnd-libglvnd-1c32de07074fee8edcb274899948b6551081ed54_GL0.tar.gz) = 1031605 Added: head/graphics/libglvnd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/pkg-descr Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,8 @@ +libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls +between multiple vendors. It allows multiple drivers from different vendors to +coexist on the same filesystem, and determines which vendor to dispatch each +API call to at runtime. + +Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES. + +WWW: https://gitlab.freedesktop.org/glvnd/libglvnd Added: head/graphics/libglvnd/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libglvnd/pkg-plist Wed May 27 07:41:40 2020 (r536673) @@ -0,0 +1,52 @@ +include/EGL/egl.h +include/EGL/eglext.h +include/EGL/eglplatform.h +include/GL/gl.h +include/GL/glcorearb.h +include/GL/glext.h +%%X11%%include/GL/glx.h +%%X11%%include/GL/glxext.h +include/GLES/egl.h +include/GLES/gl.h +include/GLES/glext.h +include/GLES/glplatform.h +include/GLES2/gl2.h +include/GLES2/gl2ext.h +include/GLES2/gl2platform.h +include/GLES3/gl3.h +include/GLES3/gl31.h +include/GLES3/gl32.h +include/GLES3/gl3ext.h +include/GLES3/gl3platform.h +include/KHR/khrplatform.h +include/glvnd/GLdispatchABI.h +include/glvnd/libeglabi.h +include/glvnd/libglxabi.h +lib/libEGL.so +lib/libEGL.so.1 +lib/libEGL.so.1.1.0 +%%X11%%lib/libGL.so +%%X11%%lib/libGL.so.1 +%%X11%%lib/libGL.so.1.7.0 +lib/libGLESv1_CM.so +lib/libGLESv1_CM.so.1 +lib/libGLESv1_CM.so.1.2.0 +lib/libGLESv2.so +lib/libGLESv2.so.2 +lib/libGLESv2.so.2.1.0 +%%X11%%lib/libGLX.so +%%X11%%lib/libGLX.so.0 +%%X11%%lib/libGLX.so.0.0.0 +lib/libGLdispatch.so +lib/libGLdispatch.so.0 +lib/libGLdispatch.so.0.0.0 +lib/libOpenGL.so +lib/libOpenGL.so.0 +lib/libOpenGL.so.0.0.0 +libdata/pkgconfig/egl.pc +libdata/pkgconfig/gl.pc +libdata/pkgconfig/glesv1_cm.pc +libdata/pkgconfig/glesv2.pc +%%X11%%libdata/pkgconfig/glx.pc +libdata/pkgconfig/libglvnd.pc +libdata/pkgconfig/opengl.pc Modified: head/graphics/mesa-libs/Makefile ============================================================================== --- head/graphics/mesa-libs/Makefile Wed May 27 07:24:32 2020 (r536672) +++ head/graphics/mesa-libs/Makefile Wed May 27 07:41:40 2020 (r536673) @@ -7,6 +7,8 @@ CATEGORIES= graphics COMMENT= OpenGL libraries that support GLX and EGL clients +CONFLICTS_INSTALL= libglvnd # include/GL/gl.h + USES= xorg USE_XORG= xorgproto x11 xcb xdamage xext \ xfixes xshmfence xxf86vm