Index: head/graphics/piglit/Makefile =================================================================== --- head/graphics/piglit/Makefile (revision 548591) +++ head/graphics/piglit/Makefile (revision 548592) @@ -1,62 +1,61 @@ # Created by: Jean-Sébastien Pédron # $FreeBSD$ PORTNAME= piglit -PORTVERSION= 20180910 -PORTREVISION= 3 +PORTVERSION= 20200910 CATEGORIES= graphics MAINTAINER= x11@FreeBSD.org COMMENT= Automated OpenGL and OpenCL testsuite LICENSE= MIT GPLv2 GPLv3 LGPL20 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING -DEPRECATED= Uses deprecated version of python -EXPIRATION_DATE= 2020-09-15 - -BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl \ - ${PYNUMPY} \ +BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} -LIB_DEPENDS= libcaca.so:graphics/libcaca \ - libdrm.so:graphics/libdrm \ - libOpenCL.so:devel/ocl-icd \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ + vulkan-headers>0:devel/vulkan-headers \ + wayland-protocols>=0:graphics/wayland-protocols +LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ - libwaffle-1.so:graphics/waffle + libvulkan.so:graphics/vulkan-loader \ + libwaffle-1.so:graphics/waffle \ + libwayland-egl.so:graphics/wayland \ + libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} -USE_GITHUB= yes -GH_ACCOUNT= dumbbell -GH_PROJECT= piglit -GH_TAGNAME= a0db4427446ab50882a721ae3084fa26cc9e751a +USE_GITLAB= yes +GL_SITE= https://gitlab.freedesktop.org +GL_ACCOUNT= mesa +GL_PROJECT= piglit +GL_COMMIT= 136a7f5fa0703603be1ffb338abe4865e76a8058 -USES= cmake compiler:c11 gl pkgconfig python:2.7 shebangfix xorg +PATCH_SITES= https://gitlab.freedesktop.org/mesa/piglit/-/commit/ +PATCH_DIST_STRIP= -p1 +PATCHFILES+= 7f1916da04fc.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 +PATCHFILES+= c6a4d8aa8e68.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 +PATCHFILES+= 0443b6a18648.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 +PATCHFILES+= 96d8ddd0a658.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 +PATCHFILES+= d5f4cfd3b0da.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 +PATCHFILES+= 64c468c6c7e3.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 +PATCHFILES+= 681e86f53c2e.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 + +USES= cmake compiler:c11 gl pkgconfig python:3.5+ shebangfix xorg USE_GL= egl gbm gl glu USE_XORG= x11 xcb xext xrender SHEBANG_FILES= piglit -CMAKE_ARGS+= -DPIGLIT_BUILD_CL_TESTS:BOOL=ON - -CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW +CMAKE_ON= PIGLIT_BUILD_GLES2_TESTS PIGLIT_BUILD_GLES3_TESTS LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message DATADIR= ${PREFIX}/lib/piglit PORTDATA= * -OPTIONS_DEFINE= DOCS WAYLAND -OPTIONS_DEFAULT=WAYLAND - -WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ - libxkbcommon.so:x11/libxkbcommon - -post-patch-WAYLAND-off: - @${REINPLACE_CMD} -e '/pkg_check_modules.*wayland/d' \ - ${WRKSRC}/CMakeLists.txt +OPTIONS_DEFINE= DOCS .include Index: head/graphics/piglit/distinfo =================================================================== --- head/graphics/piglit/distinfo (revision 548591) +++ head/graphics/piglit/distinfo (revision 548592) @@ -1,3 +1,17 @@ -TIMESTAMP = 1536577804 -SHA256 (dumbbell-piglit-20180910-a0db4427446ab50882a721ae3084fa26cc9e751a_GH0.tar.gz) = 68dd9a924438dd0a7b12d2f003340c7726523c333b6da86ee6ee33f99d4840da -SIZE (dumbbell-piglit-20180910-a0db4427446ab50882a721ae3084fa26cc9e751a_GH0.tar.gz) = 24171368 +TIMESTAMP = 1599721915 +SHA256 (mesa-piglit-136a7f5fa0703603be1ffb338abe4865e76a8058_GL0.tar.gz) = ead4e41d9aeb694eeb2a0790a7415446e421e41dd72d1fa899a50db6c4195c59 +SIZE (mesa-piglit-136a7f5fa0703603be1ffb338abe4865e76a8058_GL0.tar.gz) = 24433616 +SHA256 (7f1916da04fc.patch) = 78a30b68c59cc9aaf6bbcccfde2d12e9f43d4e49153c8710dc99362c81d8ca17 +SIZE (7f1916da04fc.patch) = 774 +SHA256 (c6a4d8aa8e68.patch) = 6bccb2b4f1beba22e842b5883f7b1ec0fa53e971dc96d1a51a9d7fe66970e01e +SIZE (c6a4d8aa8e68.patch) = 840 +SHA256 (0443b6a18648.patch) = bf74233898eeb709e0c79f9603d0be5b857d16fbac66ac7069033f7cf2eb7c8a +SIZE (0443b6a18648.patch) = 718 +SHA256 (96d8ddd0a658.patch) = d6c362350f727066a6b03a9e12fbdb09ea3cc2df45bac8196c63b25d827d51eb +SIZE (96d8ddd0a658.patch) = 928 +SHA256 (d5f4cfd3b0da.patch) = 5fdbd103f3a8a5e64c6ea49c1476b414323568bd8f2f33aea475be69cf956b3a +SIZE (d5f4cfd3b0da.patch) = 1100 +SHA256 (64c468c6c7e3.patch) = 478ef23ccf707bb01536505509e6a09f97ab8a9c076fdd833972d626df4a8795 +SIZE (64c468c6c7e3.patch) = 760 +SHA256 (681e86f53c2e.patch) = 9a118396d6b7c893105354ab3b8e5c684b4e3683f87bbcaae9ccd74b63c21286 +SIZE (681e86f53c2e.patch) = 854 Index: head/graphics/piglit/files/patch-CMakeLists.txt =================================================================== --- head/graphics/piglit/files/patch-CMakeLists.txt (revision 548591) +++ head/graphics/piglit/files/patch-CMakeLists.txt (nonexistent) @@ -1,11 +0,0 @@ ---- CMakeLists.txt.orig 2017-09-22 14:56:21 UTC -+++ CMakeLists.txt -@@ -222,8 +222,6 @@ IF(PIGLIT_BUILD_GLX_TESTS) - pkg_check_modules(GLPROTO REQUIRED glproto) - ENDIF() - --set(Python_ADDITIONAL_VERSIONS -- 3.7 3.6 3.5 3.4 2.7) - find_package(PythonInterp REQUIRED) - find_package(PythonSix 1.5.2 REQUIRED) - find_package(PythonNumpy 1.7.0 REQUIRED) Property changes on: head/graphics/piglit/files/patch-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-not-in-block.shader__test =================================================================== --- head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-not-in-block.shader__test (revision 548591) +++ head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-not-in-block.shader__test (nonexistent) @@ -1,16 +0,0 @@ ---- tests/spec/oes_geometry_shader/sso_validation/user-defined-gs-input-not-in-block.shader_test.orig 2016-08-09 20:28:45 UTC -+++ tests/spec/oes_geometry_shader/sso_validation/user-defined-gs-input-not-in-block.shader_test -@@ -1,5 +1,5 @@ - [require] --GL ES >= 3.1 -+GL ES >= 3.0 - GLSL ES >= 3.10 - GL_OES_geometry_shader - SSO ENABLED -@@ -62,4 +62,4 @@ void main() - - [test] - draw rect -1 -1 2 2 --probe all rgba 0.0 1.0 0.0 1.0 -\ No newline at end of file -+probe all rgba 0.0 1.0 0.0 1.0 Property changes on: head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-not-in-block.shader__test ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/piglit/files/patch-tests_egl_egl-context-priority.c =================================================================== --- head/graphics/piglit/files/patch-tests_egl_egl-context-priority.c (revision 548591) +++ head/graphics/piglit/files/patch-tests_egl_egl-context-priority.c (nonexistent) @@ -1,13 +0,0 @@ ---- tests/egl/egl-context-priority.c.orig 2019-12-26 13:24:57 UTC -+++ tests/egl/egl-context-priority.c -@@ -24,6 +24,10 @@ - #include "piglit-util-egl.h" - #include "piglit-util-gl.h" - -+#ifndef EGL_NO_CONFIG_MESA -+#define EGL_NO_CONFIG_MESA ((EGLConfig)0) -+#endif -+ - /** - * @file egl-context-priority.c - * Property changes on: head/graphics/piglit/files/patch-tests_egl_egl-context-priority.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-in-block.shader__test =================================================================== --- head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-in-block.shader__test (revision 548591) +++ head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-in-block.shader__test (nonexistent) @@ -1,16 +0,0 @@ ---- tests/spec/oes_geometry_shader/sso_validation/user-defined-gs-input-in-block.shader_test.orig 2016-08-09 20:28:45 UTC -+++ tests/spec/oes_geometry_shader/sso_validation/user-defined-gs-input-in-block.shader_test -@@ -1,5 +1,5 @@ - [require] --GL ES >= 3.1 -+GL ES >= 3.0 - GLSL ES >= 3.10 - GL_OES_geometry_shader - SSO ENABLED -@@ -67,4 +67,4 @@ void main() - - [test] - draw rect -1 -1 2 2 --probe all rgba 0.0 1.0 0.0 1.0 -\ No newline at end of file -+probe all rgba 0.0 1.0 0.0 1.0 Property changes on: head/graphics/piglit/files/patch-tests_spec_oes__geometry__shader_sso__validation_user-defined-gs-input-in-block.shader__test ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/piglit/files/pkg-message.in =================================================================== --- head/graphics/piglit/files/pkg-message.in (revision 548591) +++ head/graphics/piglit/files/pkg-message.in (revision 548592) @@ -1,16 +1,16 @@ [ { type: install message: <