summaryrefslogtreecommitdiff
path: root/editors/vscode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vscode/Makefile')
-rw-r--r--editors/vscode/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
index ad4015344afb..79dad0e62717 100644
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -1,6 +1,5 @@
PORTNAME= vscode
-DISTVERSION= 1.103.2
-PORTREVISION= 1
+DISTVERSION= 1.104.1
CATEGORIES= editors
MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:node_modules
DISTFILES= vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX}:node_modules \
@@ -30,7 +29,6 @@ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \
libopus.so:audio/opus \
libsndio.so:audio/sndio \
libdbus-1.so:devel/dbus \
- libicuuc.so:devel/icu \
libepoll-shim.so:devel/libepoll-shim \
libevent.so:devel/libevent \
libffi.so:devel/libffi \
@@ -69,7 +67,7 @@ USES= desktop-file-utils gl gmake gnome gssapi:mit iconv:wchar_t \
USE_GITHUB= yes
GH_ACCOUNT= microsoft
-SOURCE_COMMIT_HASH= 6f17636121051a53c88d3e605c491d22af2ba755
+SOURCE_COMMIT_HASH= 0f0d87fa9e96c856c5212fc86db137ac0d783365
BINARY_ALIAS= python=${PYTHON_CMD}
@@ -287,15 +285,21 @@ build-remote-extension-host: configure pre-build
# cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run gulp vscode-reh-web-linux-${ELECTRON_ARCH}-min
### targets for port maintainer(s)
-make-node-modules-archive: extract
+patch-package-json: extract
+# add node module for signature verification of extensions from Open VSX Registry
+ @${PATCH} -s -p0 -d ${WRKSRC} < ${FILESDIR}/patch-package.json
+
+make-node-modules-archive: extract patch-package-json
@${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}"
@cd ${WRKSRC} && \
- ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \
+ ${SETENV} ${MAKE_ENV} npm install \
+ --ignore-scripts --no-progress --no-audit --no-fund --no-update-notifier && \
${TAR} -czf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} node_modules
@for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \
cd ${WRKSRC}/$${dir} && \
${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}/$${dir}" && \
- ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \
+ ${SETENV} ${MAKE_ENV} npm install \
+ --ignore-scripts --no-progress --no-audit --no-fund --no-update-notifier && \
if [ -d node_modules ]; then \
${TAR} -czf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} node_modules; \
fi; \