From nobody Sun Sep 08 02:13:08 2024 X-Original-To: dev-commits-ports-all@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 4X1YQr1nTMz5VSQL; Sun, 08 Sep 2024 02:13:08 +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 4X1YQr1CJjz4hXQ; Sun, 8 Sep 2024 02:13:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725761588; 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=dXyS7u58Zw5ONGb374++IvbGjq7eD0Ce7W7TNc7gfyA=; b=Q9+EI0LvMBZ4/SexqJP9ueNkXjzu3/bnJ8sKWt8Jf1HGEHR6Pkf+g/xU/JDE+eLySCqHwc MD7O19ICefTtMU35LIwcsxEKhJzjn80tpqIXdsq45qjPpEZ6Hpe5L109/jkTAQlV7X0ODO NaXuBzRFR4edAAbjlKOHn9LHAhPieMbbDI7D4tWP/hGr1zhLMwM5HDbNTfmLRd7kjwBLKp GXMW6sH2BMNUnIo6ABz9fDXHDrVPdVyKI7BYjpaqe/ShlopXrf2ImrLnRaguPTKewE4p5v SXYFVzYDFPo++qcKpSiPPxktNR+OYjPfIPPEE9pwZs38ukgVBcDc0O72UEWk3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725761588; a=rsa-sha256; cv=none; b=qDA4yPEkWg/j9DfNS48drpcx1xPQWJ2BQyae4h6+gZirlob3jnKBS8vlDatcj8mw2otLl2 7Y5fct+JKdylfZpZeKfoB8pKO8aQ6tOlRzOhUQBhflazWMEW8qBmZaVeJLIaOk3csZgP3N 8bb0T7CLoafvIX8do9OpcAlwDJrxyOh+a4XVIa69iAQ54SpFB7uYrnw+TNnow6pvc/8/Tp jCtn7r4YC5/EhUgva1NLP3RIthGcCZ/W+k9409ncss8Qc2KToIPOcGvFdojBMrpaWi2QXc 8hdp3NZtOAIIc+k/GIlzq3+rSkX1WGCwpTZY7TuaZn6mTcsIQhOI86y9QNOFUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725761588; 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=dXyS7u58Zw5ONGb374++IvbGjq7eD0Ce7W7TNc7gfyA=; b=tLVkllkyxoZqW3O13gCcPDemrUgiSnLZAeGigxwIs1N0GlfnjBSsMf5Z+/rUfVJfahIUS8 gP4BauEaM360TZFPWYJYUpB2fhg1EpbUAFtH1vRAc3VUzpZkHgHiMI4eXTWGBnloOvL1hm 0kPmwJVdHizbfrodGQPILXjh1XeGvn0TnxqVZadDLj5A9n5EkcoBxYFZikr/GOdxgkZA1N ZZB6KRl2LGfDm/XS2BjbAdWMe5cJkVVvIknJKYyYJ/dAE78x9wKuig2wBJRwAHwirYwAw7 tpPyeQ2GMeUdYki8PwpDZjZK0hdKklzCRYKCDi2Eqn+nVxEy4ChBkja6FbFV9A== 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 4X1YQr0pr0z10wn; Sun, 8 Sep 2024 02:13:08 +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 4882D8hY047784; Sun, 8 Sep 2024 02:13:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4882D8eh047781; Sun, 8 Sep 2024 02:13:08 GMT (envelope-from git) Date: Sun, 8 Sep 2024 02:13:08 GMT Message-Id: <202409080213.4882D8eh047781@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 9234242213a2 - main - textproc/quarto: Fix "Unsupported platform" error in "quarto check" List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9234242213a238adf97bfaf176bc64f6be40f9cd Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9234242213a238adf97bfaf176bc64f6be40f9cd commit 9234242213a238adf97bfaf176bc64f6be40f9cd Author: Yuri Victorovich AuthorDate: 2024-09-07 16:59:26 +0000 Commit: Yuri Victorovich CommitDate: 2024-09-07 19:10:44 +0000 textproc/quarto: Fix "Unsupported platform" error in "quarto check" --- textproc/quarto/Makefile | 2 +- ...-land_x_puppeteer_9-0-2_src_deno_BrowserFetcher.ts | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/textproc/quarto/Makefile b/textproc/quarto/Makefile index e3e7d7d46c27..b115a0383df2 100644 --- a/textproc/quarto/Makefile +++ b/textproc/quarto/Makefile @@ -1,6 +1,6 @@ PORTNAME= quarto DISTVERSION= 1.6.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= https://github.com/quarto-dev/quarto-cli/releases/download/v${DISTVERSION}/ DISTFILES= quarto-${DISTVERSION}-linux-amd64.tar.gz # same for all architectures diff --git a/textproc/quarto/files/patch-bin_vendor_deno-land_x_puppeteer_9-0-2_src_deno_BrowserFetcher.ts b/textproc/quarto/files/patch-bin_vendor_deno-land_x_puppeteer_9-0-2_src_deno_BrowserFetcher.ts new file mode 100644 index 000000000000..7035e319e365 --- /dev/null +++ b/textproc/quarto/files/patch-bin_vendor_deno-land_x_puppeteer_9-0-2_src_deno_BrowserFetcher.ts @@ -0,0 +1,19 @@ +--- bin/vendor/deno-land/x/puppeteer@9-0-2/src/deno/BrowserFetcher.ts.orig 2024-09-07 16:50:53 UTC ++++ bin/vendor/deno-land/x/puppeteer@9-0-2/src/deno/BrowserFetcher.ts +@@ -197,6 +197,7 @@ export class BrowserFetcher { + const platform = Deno.build.os; + if (platform === "darwin") this._platform = "mac"; + else if (platform === "linux") this._platform = "linux"; ++ else if (platform === "freebsd") this._platform = "linux"; // use _platform=linux for now + else if (platform === "windows") { + this._platform = Deno.build.arch === "x86_64" ? "win64" : "win32"; + } else assert(this._platform, "Unsupported platform: " + Deno.build.os); +@@ -370,6 +371,8 @@ export class BrowserFetcher { + "firefox" + ); + } else if (this._platform === "linux") { ++ executablePath = pathJoin(folderPath, "firefox", "firefox"); ++ } else if (this._platform === "freebsd") { + executablePath = pathJoin(folderPath, "firefox", "firefox"); + } else if (this._platform === "win32" || this._platform === "win64") { + executablePath = pathJoin(folderPath, "firefox", "firefox.exe");