Date: Mon, 30 Dec 2024 07:55:56 GMT From: Zsolt Udvari <uzsolt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1fd119f88290 - main - x11/virglrenderer: Update to 1.0.1 Message-ID: <202412300755.4BU7tuhF082257@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=1fd119f88290800e193ae06163cb18472ca8d621 commit 1fd119f88290800e193ae06163cb18472ca8d621 Author: Thibault Payet <monwarez@mailoo.org> AuthorDate: 2024-12-30 07:54:19 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-12-30 07:55:28 +0000 x11/virglrenderer: Update to 1.0.1 Add USE_XORG variable. Pet portfmt. Submitter takes maintainership. PR: 283723 --- x11/virglrenderer/Makefile | 14 +++++++------- x11/virglrenderer/distinfo | 6 +++--- x11/virglrenderer/files/patch-src_mesa_util_libsync.h | 12 ++++++++++++ x11/virglrenderer/files/patch-src_mesa_util_u__thread.h | 13 +++++++++++++ x11/virglrenderer/files/patch-vtest_vtest__renderer.c | 14 ++++++-------- x11/virglrenderer/pkg-plist | 3 ++- 6 files changed, 43 insertions(+), 19 deletions(-) diff --git a/x11/virglrenderer/Makefile b/x11/virglrenderer/Makefile index bca55d489ecc..70cea57d4121 100644 --- a/x11/virglrenderer/Makefile +++ b/x11/virglrenderer/Makefile @@ -1,27 +1,27 @@ PORTNAME= virglrenderer -DISTVERSION= 0.8.2 -PORTREVISION= 1 +DISTVERSION= 1.0.1 CATEGORIES= x11 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= monwarez@mailoo.org COMMENT= VirGL virtual OpenGL renderer WWW= https://virgil3d.github.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_riscv64= fails to build: ../src/gallium/include/pipe/p_config.h:171:2: Unknown Endianness +BROKEN_riscv64= fails to build: ../src/gallium/include/pipe/p_config.h:171:2: Unknown Endianness LIB_DEPENDS= libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy -USES= cmake:indirect compiler:c++11-lang cpe gl meson pkgconfig python +USES= cmake:indirect compiler:c++11-lang cpe gl meson pkgconfig \ + python xorg CPE_VENDOR= ${PORTNAME}_project USE_GITLAB= yes -USE_GL= gbm GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= virgl -GL_TAGNAME= 7d204f3927be65fb3365dce01dbcd04d447a4985 +USE_GL= gbm +USE_XORG= x11 BINARY_ALIAS= python3=${PYTHON_CMD} diff --git a/x11/virglrenderer/distinfo b/x11/virglrenderer/distinfo index df16f07245f8..4d4c14842818 100644 --- a/x11/virglrenderer/distinfo +++ b/x11/virglrenderer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1617892719 -SHA256 (virgl-virglrenderer-7d204f3927be65fb3365dce01dbcd04d447a4985_GL0.tar.gz) = e18f150cd5c350b30deba0346193fdb99b4fc83d3611ddb568a606be5388892f -SIZE (virgl-virglrenderer-7d204f3927be65fb3365dce01dbcd04d447a4985_GL0.tar.gz) = 2698626 +TIMESTAMP = 1735478130 +SHA256 (virglrenderer-1.0.1.tar.bz2) = 53cb8fadd08f5260ee57833fc2488565481438bc7a8e34f3e114d12cc9d9db9a +SIZE (virglrenderer-1.0.1.tar.bz2) = 718061 diff --git a/x11/virglrenderer/files/patch-src_mesa_util_libsync.h b/x11/virglrenderer/files/patch-src_mesa_util_libsync.h new file mode 100644 index 000000000000..b14ede02dea9 --- /dev/null +++ b/x11/virglrenderer/files/patch-src_mesa_util_libsync.h @@ -0,0 +1,12 @@ +--- src/mesa/util/libsync.h.orig 2024-01-08 20:00:59 UTC ++++ src/mesa/util/libsync.h +@@ -30,6 +30,9 @@ + + #include <assert.h> + #include <errno.h> ++#ifndef ETIME ++#define ETIME ETIMEDOUT ++#endif + #include <stdbool.h> + #include <stdint.h> + #include <string.h> diff --git a/x11/virglrenderer/files/patch-src_mesa_util_u__thread.h b/x11/virglrenderer/files/patch-src_mesa_util_u__thread.h new file mode 100644 index 000000000000..06f469e1c878 --- /dev/null +++ b/x11/virglrenderer/files/patch-src_mesa_util_u__thread.h @@ -0,0 +1,13 @@ +--- src/mesa/util/u_thread.h.orig 2024-01-08 20:00:59 UTC ++++ src/mesa/util/u_thread.h +@@ -43,6 +43,10 @@ + #endif + #endif + ++#ifdef __FreeBSD__ ++#include <pthread_np.h> ++#endif ++ + #ifdef __HAIKU__ + #include <OS.h> + #endif diff --git a/x11/virglrenderer/files/patch-vtest_vtest__renderer.c b/x11/virglrenderer/files/patch-vtest_vtest__renderer.c index 17187fe3c316..86f2c28d7163 100644 --- a/x11/virglrenderer/files/patch-vtest_vtest__renderer.c +++ b/x11/virglrenderer/files/patch-vtest_vtest__renderer.c @@ -1,16 +1,14 @@ ---- vtest/vtest_renderer.c.orig 2020-05-16 19:25:05 UTC +--- vtest/vtest_renderer.c.orig 2024-01-08 20:00:59 UTC +++ vtest/vtest_renderer.c -@@ -35,7 +35,9 @@ +@@ -40,6 +40,7 @@ #include <sys/uio.h> #include <sys/socket.h> #include <sys/mman.h> +#include <sys/stat.h> - -+ - #include "vtest.h" - #include "vtest_shm.h" - #include "vtest_protocol.h" -@@ -158,7 +160,7 @@ int vtest_block_read(struct vtest_input *input, void * + #ifdef HAVE_EVENTFD_H + #include <sys/eventfd.h> + #endif +@@ -368,7 +369,7 @@ int vtest_block_read(struct vtest_input *input, void * if (getenv("VTEST_SAVE")) { if (savefd == -1) { savefd = open(getenv("VTEST_SAVE"), diff --git a/x11/virglrenderer/pkg-plist b/x11/virglrenderer/pkg-plist index bdb037758544..1fdabc6cff7f 100644 --- a/x11/virglrenderer/pkg-plist +++ b/x11/virglrenderer/pkg-plist @@ -1,6 +1,7 @@ bin/virgl_test_server +include/virgl/virgl-version.h include/virgl/virglrenderer.h lib/libvirglrenderer.so lib/libvirglrenderer.so.1 -lib/libvirglrenderer.so.1.4.2 +lib/libvirglrenderer.so.1.8.9 libdata/pkgconfig/virglrenderer.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412300755.4BU7tuhF082257>