git: 9819a141fa27 - main - devel/electron32: update to 32.1.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Sep 2024 14:45:06 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=9819a141fa2730ded476358e5a5ac7e8dd62c3c3 commit 9819a141fa2730ded476358e5a5ac7e8dd62c3c3 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2024-09-26 14:43:34 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2024-09-26 14:44:59 +0000 devel/electron32: update to 32.1.2 Changelog: https://github.com/electron/electron/releases/tag/v32.1.2 Reported by: GitHub (watch releases) --- devel/electron32/Makefile | 16 +++++++++++++--- devel/electron32/Makefile.version | 2 +- devel/electron32/distinfo | 18 +++++++++++------- .../electron32/files/patch-v8_src_execution_isolate.cc | 4 ++-- 4 files changed, 27 insertions(+), 13 deletions(-) diff --git a/devel/electron32/Makefile b/devel/electron32/Makefile index 9a6003eb0bac..79feb711c73f 100644 --- a/devel/electron32/Makefile +++ b/devel/electron32/Makefile @@ -4,13 +4,17 @@ DISTVERSION= ${ELECTRON_VER} PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel -MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:chromium \ +MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v32.1.2/:chromium \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} -DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}:chromium \ +DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ + chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.1:chromium \ + chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.2:chromium \ pulseaudio-${PULSEV}.tar.gz:pulseaudio \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= chromium-${CHROMIUM_VER}${EXTRACT_SUFX} \ + ${DISTFILES:C/:[^:]+$//:C/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}\.[0-9]//} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS @@ -216,7 +220,7 @@ SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER -CHROMIUM_VER= 128.0.6613.137 +CHROMIUM_VER= 128.0.6613.162 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 20.17.0 # See ${WRKSRC}/electron/DEPS for NAN_VER @@ -316,6 +320,12 @@ pre-fetch: ${RM} -r ${WRKDIR}; \ fi +post-fetch: + @if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX} ]; then \ + ${CAT} ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.? > \ + ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}; \ + fi + post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} diff --git a/devel/electron32/Makefile.version b/devel/electron32/Makefile.version index 2e76fab336b9..5f53892338ae 100644 --- a/devel/electron32/Makefile.version +++ b/devel/electron32/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 32.1.1 +ELECTRON_VER= 32.1.2 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron32/distinfo b/devel/electron32/distinfo index e91abefab680..1bc89ec31b74 100644 --- a/devel/electron32/distinfo +++ b/devel/electron32/distinfo @@ -1,12 +1,16 @@ -TIMESTAMP = 1726749011 -SHA256 (electron/chromium-128.0.6613.137.tar.xz) = e1d39c170dfdc2627a7b003e11d77f04a578b8e1cfe41e714cdaa345c91f4943 -SIZE (electron/chromium-128.0.6613.137.tar.xz) = 6724182764 +TIMESTAMP = 1727263871 +SHA256 (electron/chromium-128.0.6613.162.tar.xz.0) = 2b349c25199eaa8e6820efb6db14bc2f3a0d8af68b26be47ab66247e3efa0096 +SIZE (electron/chromium-128.0.6613.162.tar.xz.0) = 2000000000 +SHA256 (electron/chromium-128.0.6613.162.tar.xz.1) = 70d55eb060af5470ce35a47d10e1ff0f79d995adf9854feae432c7fb282bd996 +SIZE (electron/chromium-128.0.6613.162.tar.xz.1) = 2000000000 +SHA256 (electron/chromium-128.0.6613.162.tar.xz.2) = 86a9672d1daa1f7f48d67b384852da2339a3684fdcca90b6fe0b10f67667f092 +SIZE (electron/chromium-128.0.6613.162.tar.xz.2) = 766577428 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (electron/electron-yarn-cache-32.1.1.tar.xz) = bad42b877269e05328dec2a1016a7ebe414338d7c8c81fab6d0eb3abd73a82f1 -SIZE (electron/electron-yarn-cache-32.1.1.tar.xz) = 31002508 -SHA256 (electron/electron-electron-v32.1.1_GH0.tar.gz) = a523b945d8e2d97a91cb65cf46694a08c92c297d9d44e40d3ef10d5b67662024 -SIZE (electron/electron-electron-v32.1.1_GH0.tar.gz) = 13850240 +SHA256 (electron/electron-yarn-cache-32.1.2.tar.xz) = bad42b877269e05328dec2a1016a7ebe414338d7c8c81fab6d0eb3abd73a82f1 +SIZE (electron/electron-yarn-cache-32.1.2.tar.xz) = 31002508 +SHA256 (electron/electron-electron-v32.1.2_GH0.tar.gz) = 1e18c02409ef127c93b9c2b907a8c950fe91586f97d039c183de92b6005e339c +SIZE (electron/electron-electron-v32.1.2_GH0.tar.gz) = 13854640 SHA256 (electron/nodejs-node-v20.17.0_GH0.tar.gz) = f0bdfe0e2c12524ebc24811e405926299241c11a829ef72562e14fee52eb385c SIZE (electron/nodejs-node-v20.17.0_GH0.tar.gz) = 115353463 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb diff --git a/devel/electron32/files/patch-v8_src_execution_isolate.cc b/devel/electron32/files/patch-v8_src_execution_isolate.cc index 42924b2fec9f..85b05d5cacfc 100644 --- a/devel/electron32/files/patch-v8_src_execution_isolate.cc +++ b/devel/electron32/files/patch-v8_src_execution_isolate.cc @@ -1,4 +1,4 @@ ---- v8/src/execution/isolate.cc.orig 2024-09-10 18:47:50 UTC +--- v8/src/execution/isolate.cc.orig 2024-09-25 09:19:35 UTC +++ v8/src/execution/isolate.cc @@ -159,6 +159,10 @@ #include "src/execution/simulator-base.h" @@ -11,7 +11,7 @@ extern "C" const uint8_t v8_Default_embedded_blob_code_[]; extern "C" uint32_t v8_Default_embedded_blob_code_size_; extern "C" const uint8_t v8_Default_embedded_blob_data_[]; -@@ -4803,6 +4807,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { +@@ -4828,6 +4832,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { uint32_t code_size = DefaultEmbeddedBlobCodeSize(); const uint8_t* data = DefaultEmbeddedBlobData(); uint32_t data_size = DefaultEmbeddedBlobDataSize();