From owner-svn-ports-all@freebsd.org Wed Jun 14 12:04:12 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B05BAD8C7FE; Wed, 14 Jun 2017 12:04:12 +0000 (UTC) (envelope-from kwm@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 mx1.freebsd.org (Postfix) with ESMTPS id 8C487395; Wed, 14 Jun 2017 12:04:12 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5EC4B7v057840; Wed, 14 Jun 2017 12:04:11 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5EC4BeM057836; Wed, 14 Jun 2017 12:04:11 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201706141204.v5EC4BeM057836@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Wed, 14 Jun 2017 12:04:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443565 - in head/graphics/libepoxy: . files X-SVN-Group: ports-head 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.23 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, 14 Jun 2017 12:04:12 -0000 Author: kwm Date: Wed Jun 14 12:04:11 2017 New Revision: 443565 URL: https://svnweb.freebsd.org/changeset/ports/443565 Log: Update libepoxy to 1.4.3. * Switch to meson build system * This release makes EGL support switchable. Make it a option and disable it on mips and sparc64, due to not having libEGL in mesa-libs. Added: head/graphics/libepoxy/files/ head/graphics/libepoxy/files/patch-test_dlwrap.c (contents, props changed) Modified: head/graphics/libepoxy/Makefile head/graphics/libepoxy/distinfo head/graphics/libepoxy/pkg-plist Modified: head/graphics/libepoxy/Makefile ============================================================================== --- head/graphics/libepoxy/Makefile Wed Jun 14 11:09:27 2017 (r443564) +++ head/graphics/libepoxy/Makefile Wed Jun 14 12:04:11 2017 (r443565) @@ -1,10 +1,9 @@ # $FreeBSD$ PORTNAME= libepoxy -PORTVERSION= 1.3.1 -PORTREVISION= 1 -DISTVERSIONPREFIX= v +PORTVERSION= 1.4.3 CATEGORIES= graphics +MASTER_SITES= https://github.com/anholt/${PORTNAME}/releases/download/${PORTVERSION}/ MAINTAINER= x11@FreeBSD.org COMMENT= Library to handle OpenGL function pointer management @@ -12,13 +11,20 @@ COMMENT= Library to handle OpenGL function pointer man LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USE_GITHUB= yes -GH_ACCOUNT= anholt +USES= localbase meson pkgconfig python:3.3+,build tar:xz +USE_XORG= x11 +USE_GL= gl glesv2 +USE_LDCONFIG= yes -USES= autoreconf libtool pathfix pkgconfig python:build -USE_XORG= xorg-macros x11 -USE_GL= egl glesv2 -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip +OPTIONS_SUB= yes +OPTIONS_DEFINE= EGL +OPTIONS_DEFAULT=EGL + +OPTIONS_EXCLUDE_sparc64= EGL +OPTIONS_EXCLUDE_mips= EGL + +EGL_DESC= Build EGL support +EGL_USE= GL=egl +EGL_MESON_YES= enable-egl .include Modified: head/graphics/libepoxy/distinfo ============================================================================== --- head/graphics/libepoxy/distinfo Wed Jun 14 11:09:27 2017 (r443564) +++ head/graphics/libepoxy/distinfo Wed Jun 14 12:04:11 2017 (r443565) @@ -1,2 +1,3 @@ -SHA256 (anholt-libepoxy-v1.3.1_GH0.tar.gz) = 6700ddedffb827b42c72cce1e0be6fba67b678b19bf256e1b5efd3ea38cc2bb4 -SIZE (anholt-libepoxy-v1.3.1_GH0.tar.gz) = 284227 +TIMESTAMP = 1496777736 +SHA256 (libepoxy-1.4.3.tar.xz) = 0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6 +SIZE (libepoxy-1.4.3.tar.xz) = 783624 Added: head/graphics/libepoxy/files/patch-test_dlwrap.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libepoxy/files/patch-test_dlwrap.c Wed Jun 14 12:04:11 2017 (r443565) @@ -0,0 +1,11 @@ +--- test/dlwrap.c.orig 2017-03-28 08:56:46 UTC ++++ test/dlwrap.c +@@ -34,6 +34,8 @@ + + /* dladdr is a glibc extension */ + #define _GNU_SOURCE ++/* FreeBSD needs this to make asprintf() and dlvsym() visible */ ++#define __BSD_VISIBLE 1 + #include + + #include Modified: head/graphics/libepoxy/pkg-plist ============================================================================== --- head/graphics/libepoxy/pkg-plist Wed Jun 14 11:09:27 2017 (r443564) +++ head/graphics/libepoxy/pkg-plist Wed Jun 14 12:04:11 2017 (r443565) @@ -1,5 +1,6 @@ -include/epoxy/egl.h -include/epoxy/egl_generated.h +include/epoxy/common.h +%%EGL%%include/epoxy/egl.h +%%EGL%%include/epoxy/egl_generated.h include/epoxy/gl.h include/epoxy/gl_generated.h include/epoxy/glx.h