From nobody Mon Dec 30 07:55:56 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YM7hF3wsBz5jc0B; Mon, 30 Dec 2024 07:55:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YM7hF1sJ6z43Q0; Mon, 30 Dec 2024 07:55:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735545357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZCo8hR5XCbqklL38xM7nnYFEp9H9MWKwTxcj/2zSdrw=; b=R5yXBx6rT8fZUnH+8Ye0/SeW0zlKyEjNRezXKIxRg+AS38nW2phUiEZptyV7KM9yHqCEnS Njs7nHn8hN2fsFUUCLfhdmM+WHqvclozO2oHXOHJ6EXb2zHgalzQrv9E4KnIS65OLv9E9b co2rf74cBs2v/K3ryMqDGF5SR/T+LLdKEHiNX2freyTl5gwBe+2/S+lgo4yjUd1NO8bQhY Fw1dFK9Do6jCHvXvaOm3LHK96npvS5X8hbJyFrD7aLgVD+O2tUwLGy3RNENtXS5xMvf1qE Af2EXCRez9bIBwUE5NqZoiO0uENRneviYhEmXQ24GkirmOfaQ5z3h1RTHxnCOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735545357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZCo8hR5XCbqklL38xM7nnYFEp9H9MWKwTxcj/2zSdrw=; b=fwGQiHOM6nU8dJMlA8SuBFVVAUTrj+/QI310CAR8o0X0Gma29lBjsaUXNyDFQWVe5B2Vgp r5FzpM29P54Om44kIdejbrqDeSEXBTLTL6Vr2SmAUO1d9Reu21ceJrjdojdCKvsBwGQOPz TUzGLz96kBxMkdXNsU6PcehvCLNUujo2LuvylDjdzU34mQlsMF0KNV04MqGYFZSYX7o6Z4 L2ks+E9bTemQF+nwptFiYZ3+FIvy6H1fio9GmNyXqfTQJJM8P8crZK8QErRiQntGiPbPPt Gfx49Uwp4wNEeLORDTxJvjtwjx+Ntg787CFDuwiupZ9qqLAkgfNJhfMz005wIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735545357; a=rsa-sha256; cv=none; b=N2azxGbqdxtqDxrPQha8FGvDSyYj2U+WviO8+79F82LaoLM6vPx5woxVfyKhEObiEevsDp 6J2pwcIAl4BTNbb1oFOECr3/Q4abDZkROvdJ/IrmJNozaewh9VXzt3Qtygk9fh0e17Abx7 O68CT1DRAMlqSbavmgZB7yP1h3KUJKdOknfsFjy2zgXoM4fEOcPuG2fLmTIrwgqbzW8ov3 8+6GpUqO5K5NvOdAC2OI1WenL8kxl/qeZhUUZoN1jQ15vX1CJrU87huEywW099rQh5L/+s xJ9ggsvbWoa9WSdudu7k1j/E8ZrHE4WTOwi67dvnTqhLq1ItNr3hK2JubMKViA== 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 4YM7hD5zylzm4M; Mon, 30 Dec 2024 07:55:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BU7tuCb082260; Mon, 30 Dec 2024 07:55:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BU7tuhF082257; Mon, 30 Dec 2024 07:55:56 GMT (envelope-from git) Date: Mon, 30 Dec 2024 07:55:56 GMT Message-Id: <202412300755.4BU7tuhF082257@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 1fd119f88290 - main - x11/virglrenderer: Update to 1.0.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1fd119f88290800e193ae06163cb18472ca8d621 Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=1fd119f88290800e193ae06163cb18472ca8d621 commit 1fd119f88290800e193ae06163cb18472ca8d621 Author: Thibault Payet AuthorDate: 2024-12-30 07:54:19 +0000 Commit: Zsolt Udvari 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 + #include ++#ifndef ETIME ++#define ETIME ETIMEDOUT ++#endif + #include + #include + #include 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 ++#endif ++ + #ifdef __HAIKU__ + #include + #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 #include #include +#include - -+ - #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 + #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