From nobody Sat Jul 08 06:52:05 2023 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 4QygtG0jJYz4m4by; Sat, 8 Jul 2023 06:52:06 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QygtG0F5lz3phW; Sat, 8 Jul 2023 06:52:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688799126; 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=KV3Ee1tCisY3f7z7pP7jHJ2wWSjUcz4+pmJ7h5FUVNM=; b=f2rQnh9c+JdGavlKe0QIBXrTmu9HvQ/v0wMMVorVW+cMaSAbZwDQqUnQPiASqgKw4IDroe bB99vz/vpMuopqUfHxDQy1SWaeb/pvzg/8JfViOSm11PJdmVk9rsJERJRovgombN8MKl4A EPOrsfnd0bLmGLWIwO8ruMCXP/vL3ZmyZUstqZZaMJ0ucPLd+RNsJCpF2Fd2wXIlDHztP+ MxnV3RHAnqa9RoVr8qMnIjfu4lePV8n+WoeyZvodRaKcM3gXzsoYuuZQG0WioebFB1FfHC 0nIAcOzqR+R6yAVH1LvlxXDRbqIBX/uGvfL08peYX30faCmwdJ0O9WYBZe13lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688799126; 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=KV3Ee1tCisY3f7z7pP7jHJ2wWSjUcz4+pmJ7h5FUVNM=; b=b4RC/dMhVT3eEkT6PQpiDe0FHO97M5GOL/IU7gzmmJB3KHi+FGV5NnHTHmLuKPJpm7TUKh XXKCoc7a6zI+y0W1AdBX1mJEB8sgGRAhhmygj0bBmVf2PXkHgmupGoeqHCpxKsuF1KepBW IeGALMh48dbpqC+4mnO2ZLXrQEmV8g6eMPm7A0w3iRW2jtdjNyL+53rnNOJtLAmj0In8zy ywNgyvYi1r67HbbRzeD5+cnwM5bk4kxkYlD335XxUKBg1TEVYwXQibef5UujRr0istDMSR IBipxQO2I29+oa614LPsNLC2xMDyQdEdg3XSIXiFbZzN8bLAc1OaVX7o6YaPnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688799126; a=rsa-sha256; cv=none; b=DrHzp2acBHOAYhFKs25IjrtX7rh2d9cLGUX4T/cvZJyPnYggG3q2TtgEYPvKvOqVadMOyd AA+CbCJKKO0T1jWkZkXODTYU2B9oM2Eryo5dZW3tz4Jj6ZGrywATE7KqTuBTWd1lLiT2LE 3pML+wTnh3iL0BVXELuK04SSqOfsycf28MUCzae7C2aT66Wmx5A1DybeLG56oyjtpY9dBP KL7s9BnLU1gMN9eTKU8M8+1vyLrCZ3FEJrSnFSjVyfMiUMmXXVcy0SvQfvOivgbKaj2isQ +igfDoDpVTHlZyogEjnMZ4im09Nr8jJ3pRgMDFPTp7rO5sQMYas/1VoieC0YBA== 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 4QygtF6R4kz19sy; Sat, 8 Jul 2023 06:52:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3686q5Hl004064; Sat, 8 Jul 2023 06:52:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3686q5Vk004047; Sat, 8 Jul 2023 06:52:05 GMT (envelope-from git) Date: Sat, 8 Jul 2023 06:52:05 GMT Message-Id: <202307080652.3686q5Vk004047@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 16c96886b0d1 - main - editors/vscode: update to 1.80.0 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 16c96886b0d14a2e6b32af90cd4a35d0b9d9c5a9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=16c96886b0d14a2e6b32af90cd4a35d0b9d9c5a9 commit 16c96886b0d14a2e6b32af90cd4a35d0b9d9c5a9 Author: Hiroki Tagato AuthorDate: 2023-07-08 06:50:22 +0000 Commit: Hiroki Tagato CommitDate: 2023-07-08 06:51:54 +0000 editors/vscode: update to 1.80.0 Changelog: https://code.visualstudio.com/updates/v1_80 Reported by: GitHub (watch releases) --- editors/vscode/Makefile | 14 ++++++++++---- editors/vscode/distinfo | 14 +++++++------- .../patch-node__modules_node-pty_src_unix_pty.cc | 11 ----------- .../patch-remote_node__modules_node-pty_src_unix_pty.cc | 11 ----------- editors/vscode/files/patch-build_gulpfile.extensions.js | 6 +++--- editors/vscode/files/patch-product.json | 6 +++--- editors/vscode/files/patch-src_main.js | 15 ++++++++++++--- editors/vscode/files/patch-src_vs_base_node_ps.ts | 6 +++--- .../vscode/files/patch-src_vs_code_electron-main_app.ts | 4 ++-- editors/vscode/pkg-plist | 8 ++++++++ 10 files changed, 48 insertions(+), 47 deletions(-) diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index ff89a2ab25b9..d74508b285ee 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,6 +1,5 @@ PORTNAME= vscode -DISTVERSION= 1.79.2 -PORTREVISION= 3 +DISTVERSION= 1.80.0 CATEGORIES= editors MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache DISTFILES= yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \ @@ -63,7 +62,7 @@ USES= desktop-file-utils gl gmake gnome iconv:wchar_t jpeg \ USE_GITHUB= yes GH_ACCOUNT= microsoft -SOURCE_COMMIT_HASH= 695af097c7bd098fbf017ce3ac85e09bbc5dda06 +SOURCE_COMMIT_HASH= 660393deaaa6d1996740ff4880f1bad43768c814 BINARY_ALIAS= python=${PYTHON_CMD} @@ -75,7 +74,7 @@ USE_GNOME= atk cairo pango gdkpixbuf2 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} # Keep NODE_VER in sync with www/node16 DISTVERSION -NODE_VER= 16.20.0 +NODE_VER= 16.20.1 NODE_VER_MAJOR= ${NODE_VER:C/\..*$//} SHEBANG_REGEX= ./(extensions|resources|scripts|src)/.*\.sh$$ @@ -113,6 +112,10 @@ pre-everything:: @${ECHO_MSG} "MAX_FILES_${PORTNAME}=4096" @${ECHO_MSG} "" +post-extract: + ${CP} ${WRKSRC}/build/.moduleignore.linux \ + ${WRKSRC}/build/.moduleignore.freebsd + post-patch: # force use of electron version matching port one ${REINPLACE_CMD} -E 's|^(target ").*(")$$|\1${ELECTRON_VER}\2|' \ @@ -207,6 +210,9 @@ do-build: cd ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} && \ ${SHA256} -r *-v${ELECTRON_VER}-linux-*.zip | \ ${SED} -e 's/ / */' > SHASUMS256.txt + cd ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} && \ + ${SHA256} -r *-v${ELECTRON_VER}-linux-*.zip | \ + ${SED} -e 's/ / */' >> ${WRKSRC}/build/checksums/electron.txt # build and package vscode cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} yarn run tsc -p build/tsconfig.build.json cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} yarn gulp vscode-linux-x64-min diff --git a/editors/vscode/distinfo b/editors/vscode/distinfo index 7883fe6a1b71..f17f4fb45172 100644 --- a/editors/vscode/distinfo +++ b/editors/vscode/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1686869185 -SHA256 (vscode/yarn-offline-cache-1.79.2.tar.gz) = 4074379bf852c7c20bf27e2beea1d77671c1a8ebcbaeaeb832ba91e28a0e3804 -SIZE (vscode/yarn-offline-cache-1.79.2.tar.gz) = 336482946 -SHA256 (vscode/vscode-marketplace-exts-1.79.2.tar.gz) = 0fb42d69195bfc51109141b44ee5b2ef8904d394de12d70b7f29b25650e73499 -SIZE (vscode/vscode-marketplace-exts-1.79.2.tar.gz) = 1726885 -SHA256 (vscode/microsoft-vscode-1.79.2_GH0.tar.gz) = 2719ccbb573f5b7c174bd5bbcad97d3fe4d917e16327a6b72162ff7014c17c9b -SIZE (vscode/microsoft-vscode-1.79.2_GH0.tar.gz) = 16478966 +TIMESTAMP = 1688687308 +SHA256 (vscode/yarn-offline-cache-1.80.0.tar.gz) = 98c82bc36da545cf0e163f64c3c443c1f84d5c751d5506d5b58df185e569cbeb +SIZE (vscode/yarn-offline-cache-1.80.0.tar.gz) = 339888369 +SHA256 (vscode/vscode-marketplace-exts-1.80.0.tar.gz) = 807a4e20d39be08fbace23db8831d65ee121555ae7e0a81b0fd3a2826ee530cc +SIZE (vscode/vscode-marketplace-exts-1.80.0.tar.gz) = 1743663 +SHA256 (vscode/microsoft-vscode-1.80.0_GH0.tar.gz) = 92145abba63cd0e36876bf4c1f79ee208dca5bd272ecc31e976028feaea97c73 +SIZE (vscode/microsoft-vscode-1.80.0_GH0.tar.gz) = 16708029 diff --git a/editors/vscode/files/node_modules/patch-node__modules_node-pty_src_unix_pty.cc b/editors/vscode/files/node_modules/patch-node__modules_node-pty_src_unix_pty.cc deleted file mode 100644 index c037e9ed555b..000000000000 --- a/editors/vscode/files/node_modules/patch-node__modules_node-pty_src_unix_pty.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- node_modules/node-pty/src/unix/pty.cc.orig 2023-05-05 07:40:15 UTC -+++ node_modules/node-pty/src/unix/pty.cc -@@ -36,6 +36,8 @@ - #include - #elif defined(__APPLE__) - #include -+#elif defined(__FreeBSD__) -+#include - #endif - - /* Some platforms name VWERASE and VDISCARD differently */ diff --git a/editors/vscode/files/node_modules/patch-remote_node__modules_node-pty_src_unix_pty.cc b/editors/vscode/files/node_modules/patch-remote_node__modules_node-pty_src_unix_pty.cc deleted file mode 100644 index 443e5ac03a3d..000000000000 --- a/editors/vscode/files/node_modules/patch-remote_node__modules_node-pty_src_unix_pty.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- remote/node_modules/node-pty/src/unix/pty.cc.orig 2023-05-05 07:41:23 UTC -+++ remote/node_modules/node-pty/src/unix/pty.cc -@@ -36,6 +36,8 @@ - #include - #elif defined(__APPLE__) - #include -+#elif defined(__FreeBSD__) -+#include - #endif - - /* Some platforms name VWERASE and VDISCARD differently */ diff --git a/editors/vscode/files/patch-build_gulpfile.extensions.js b/editors/vscode/files/patch-build_gulpfile.extensions.js index 324ed28578b7..2cbce609be10 100644 --- a/editors/vscode/files/patch-build_gulpfile.extensions.js +++ b/editors/vscode/files/patch-build_gulpfile.extensions.js @@ -1,11 +1,11 @@ ---- build/gulpfile.extensions.js.orig 2023-03-29 09:14:46 UTC +--- build/gulpfile.extensions.js.orig 2023-07-04 10:23:33 UTC +++ build/gulpfile.extensions.js @@ -237,7 +237,7 @@ exports.compileExtensionMediaBuildTask = compileExtens const cleanExtensionsBuildTask = task.define('clean-extensions-build', util.rimraf('.build/extensions')); const compileExtensionsBuildTask = task.define('compile-extensions-build', task.series( cleanExtensionsBuildTask, - task.define('bundle-marketplace-extensions-build', () => ext.packageMarketplaceExtensionsStream(false).pipe(gulp.dest('.build'))), -+// task.define('bundle-marketplace-extensions-build', () => ext.packageMarketplaceExtensionsStream(false).pipe(gulp.dest('.build'))), - task.define('bundle-extensions-build', () => ext.packageLocalExtensionsStream(false).pipe(gulp.dest('.build'))), ++ // task.define('bundle-marketplace-extensions-build', () => ext.packageMarketplaceExtensionsStream(false).pipe(gulp.dest('.build'))), + task.define('bundle-extensions-build', () => ext.packageLocalExtensionsStream(false, false).pipe(gulp.dest('.build'))), )); diff --git a/editors/vscode/files/patch-product.json b/editors/vscode/files/patch-product.json index bcaed7efd1c4..5f6914f55ce6 100644 --- a/editors/vscode/files/patch-product.json +++ b/editors/vscode/files/patch-product.json @@ -1,7 +1,7 @@ ---- product.json.orig 2023-05-03 19:37:04 UTC +--- product.json.orig 2023-07-04 10:23:33 UTC +++ product.json -@@ -32,6 +32,16 @@ - "reportIssueUrl": "https://github.com/microsoft/vscode/issues/new", +@@ -33,6 +33,16 @@ + "nodejsRepository": "https://nodejs.org", "urlProtocol": "code-oss", "webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/", + "documentationUrl": "https://go.microsoft.com/fwlink/?LinkID=533484", diff --git a/editors/vscode/files/patch-src_main.js b/editors/vscode/files/patch-src_main.js index cc43d1226b39..2375cc8af39e 100644 --- a/editors/vscode/files/patch-src_main.js +++ b/editors/vscode/files/patch-src_main.js @@ -1,7 +1,16 @@ ---- src/main.js.orig 2023-06-14 08:28:08 UTC +--- src/main.js.orig 2023-07-04 10:23:33 UTC +++ src/main.js -@@ -193,7 +193,7 @@ function configureCommandlineSwitchesSync(cliArgs) { - 'force-color-profile' +@@ -139,7 +139,7 @@ if (locale) { + // Pseudo Language Language Pack is being used. + // In that case, use `en` as the Electron locale. + +-if (process.platform === 'win32' || process.platform === 'linux') { ++if (process.platform === 'win32' || process.platform === 'linux' || process.platform === 'freebsd') { + const electronLocale = (!locale || locale === 'qps-ploc') ? 'en' : locale; + app.commandLine.appendSwitch('lang', electronLocale); + } +@@ -207,7 +207,7 @@ function configureCommandlineSwitchesSync(cliArgs) { + 'password-store' ]; - if (process.platform === 'linux') { diff --git a/editors/vscode/files/patch-src_vs_base_node_ps.ts b/editors/vscode/files/patch-src_vs_base_node_ps.ts index 3d9c6f18dd7e..85b75025a06e 100644 --- a/editors/vscode/files/patch-src_vs_base_node_ps.ts +++ b/editors/vscode/files/patch-src_vs_base_node_ps.ts @@ -1,6 +1,6 @@ ---- src/vs/base/node/ps.ts.orig 2023-05-03 19:37:04 UTC +--- src/vs/base/node/ps.ts.orig 2023-07-04 10:23:33 UTC +++ src/vs/base/node/ps.ts -@@ -217,7 +217,7 @@ export function listProcesses(rootPid: number): Promis +@@ -214,7 +214,7 @@ export function listProcesses(rootPid: number): Promis exec('which ps', {}, (err, stdout, stderr) => { if (err || stderr) { @@ -9,7 +9,7 @@ reject(err || new Error(stderr.toString())); } else { const cmd = JSON.stringify(FileAccess.asFileUri('vs/base/node/ps.sh').fsPath); -@@ -232,7 +232,8 @@ export function listProcesses(rootPid: number): Promis +@@ -229,7 +229,8 @@ export function listProcesses(rootPid: number): Promis } } else { const ps = stdout.toString().trim(); diff --git a/editors/vscode/files/patch-src_vs_code_electron-main_app.ts b/editors/vscode/files/patch-src_vs_code_electron-main_app.ts index 7c0998ec5569..6e62be9e09c1 100644 --- a/editors/vscode/files/patch-src_vs_code_electron-main_app.ts +++ b/editors/vscode/files/patch-src_vs_code_electron-main_app.ts @@ -1,6 +1,6 @@ ---- src/vs/code/electron-main/app.ts.orig 2023-06-07 13:23:47 UTC +--- src/vs/code/electron-main/app.ts.orig 2023-07-04 10:23:33 UTC +++ src/vs/code/electron-main/app.ts -@@ -872,7 +872,7 @@ export class CodeApplication extends Disposable { +@@ -899,7 +899,7 @@ export class CodeApplication extends Disposable { services.set(IUpdateService, new SyncDescriptor(Win32UpdateService)); break; diff --git a/editors/vscode/pkg-plist b/editors/vscode/pkg-plist index d9b76d053b7e..15f4086f188e 100644 --- a/editors/vscode/pkg-plist +++ b/editors/vscode/pkg-plist @@ -436,6 +436,7 @@ share/applications/code-oss.desktop %%DATADIR%%/resources/app/extensions/ms-vscode.js-debug-companion/resources/logo.png %%DATADIR%%/resources/app/extensions/ms-vscode.js-debug/LICENSE.txt %%DATADIR%%/resources/app/extensions/ms-vscode.js-debug/README.md +%%DATADIR%%/resources/app/extensions/ms-vscode.js-debug/ThirdPartyNotices.txt %%DATADIR%%/resources/app/extensions/ms-vscode.js-debug/package.json %%DATADIR%%/resources/app/extensions/ms-vscode.js-debug/package.nls.json %%DATADIR%%/resources/app/extensions/ms-vscode.js-debug/resources/dark/configure.svg @@ -860,6 +861,12 @@ share/applications/code-oss.desktop %%DATADIR%%/resources/app/out/vs/editor/common/services/editorSimpleWorker.nls.js %%DATADIR%%/resources/app/out/vs/loader.js %%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/break.mp3 +%%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/chatRequestSent.mp3 +%%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/chatResponsePending.mp3 +%%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/chatResponseReceived1.mp3 +%%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/chatResponseReceived2.mp3 +%%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/chatResponseReceived3.mp3 +%%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/chatResponseReceived4.mp3 %%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/diffLineDeleted.mp3 %%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/diffLineInserted.mp3 %%DATADIR%%/resources/app/out/vs/platform/audioCues/browser/media/diffLineModified.mp3 @@ -926,6 +933,7 @@ share/applications/code-oss.desktop %%DATADIR%%/resources/app/out/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookThemes/default.png %%DATADIR%%/resources/app/out/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookThemes/jupyter.png %%DATADIR%%/resources/app/out/vs/workbench/contrib/welcomeGettingStarted/common/media/openFolder.svg +%%DATADIR%%/resources/app/out/vs/workbench/contrib/welcomeGettingStarted/common/media/profiles.svg %%DATADIR%%/resources/app/out/vs/workbench/contrib/welcomeGettingStarted/common/media/runTask.svg %%DATADIR%%/resources/app/out/vs/workbench/contrib/welcomeGettingStarted/common/media/search.svg %%DATADIR%%/resources/app/out/vs/workbench/contrib/welcomeGettingStarted/common/media/settings.svg