From 2e36f6c2b9d9b849b2f8dc104d8f462f700e1fef Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Fri, 9 Mar 2018 07:29:19 +0100 Subject: development/vscode: Updated for version 1.21.0. Signed-off-by: Andreas Guldstrand --- development/vscode/product.json.patch | 30 ++++++++++++++---------------- development/vscode/vscode.SlackBuild | 10 +++++----- development/vscode/vscode.info | 8 ++++---- 3 files changed, 23 insertions(+), 25 deletions(-) (limited to 'development/vscode') diff --git a/development/vscode/product.json.patch b/development/vscode/product.json.patch index 9cfbbc84fc..ee84cd99d7 100644 --- a/development/vscode/product.json.patch +++ b/development/vscode/product.json.patch @@ -1,22 +1,21 @@ -diff -rupN a/product.json b/product.json ---- a/product.json 2016-09-08 14:48:45.419566181 -0700 -+++ b/product.json 2016-09-08 14:49:43.000000000 -0700 +--- a/product.json 2018-03-09 06:31:57.240781519 +0100 ++++ b/product.json 2018-03-09 06:35:38.671467882 +0100 @@ -1,6 +1,6 @@ { - "nameShort": "Code - OSS", + "nameShort": "Code - OSS", - "nameLong": "Code - OSS", + "nameLong": "Visual Studio Code - OSS", - "applicationName": "code-oss", - "dataFolderName": ".vscode-oss", - "win32MutexName": "vscodeoss", -@@ -12,5 +12,19 @@ - "win32AppUserModelId": "Microsoft.CodeOSS", - "darwinBundleIdentifier": "com.visualstudio.code.oss", - "reportIssueUrl": "https://github.com/Microsoft/vscode/issues/new", -- "urlProtocol": "code-oss" + "applicationName": "code-oss", + "dataFolderName": ".vscode-oss", + "win32MutexName": "vscodeoss", +@@ -19,5 +19,19 @@ + "extensionAllowedProposedApi": [ + "ms-vscode.node-debug", + "ms-vscode.node-debug2" +- ] -} \ No newline at end of file -+ "urlProtocol": "code-oss", ++ ], + "welcomePage": "http://go.microsoft.com/fwlink/?LinkId=723048", + "quality": "stable", + "extensionsGallery": { @@ -29,7 +28,6 @@ diff -rupN a/product.json b/product.json + "twitterUrl": "http://go.microsoft.com/fwlink/?LinkID=533687", + "requestFeatureUrl": "http://go.microsoft.com/fwlink/?LinkID=533482", + "privacyStatementUrl": "http://go.microsoft.com/fwlink/?LinkID=528096&clcid=0x409", -+ "commit": "2648980a697a4c8fb5777dcfb2ab110cec8a2f58", -+ "date": "2017-06-14T03:04:00Z" ++ "commit": "9a199d77c82fcb82f39c68bb33c614af01c111ba", ++ "date": "2018-03-09T05:35:00Z" +} - diff --git a/development/vscode/vscode.SlackBuild b/development/vscode/vscode.SlackBuild index 7d31f82b32..0c6f69beaa 100644 --- a/development/vscode/vscode.SlackBuild +++ b/development/vscode/vscode.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Microsoft VSCode -# Copyright 2017 Andre Barboza, Belo Horizonte +# Copyright 2017-2018 Andre Barboza, Belo Horizonte, Andreas Guldstrand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vscode -VERSION=${VERSION:-1.16.1} -COMMIT=${COMMIT:-27492b6bf3acb0775d82d2f87b25a93490673c6d} +VERSION=${VERSION:-1.21.0} +COMMIT=${COMMIT:-9a199d77c82fcb82f39c68bb33c614af01c111ba} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,7 +53,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCDIR +rm -rf $PRGNAM-$VERSION VSCode-linux-$BUILDARCH tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -64,7 +64,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < ${CWD}/product.json.patch -./scripts/npm.sh install --arch=$BUILDARCH --unsafe-perm +yarn node --max_old_space_size=2048 ./node_modules/.bin/gulp vscode-linux-${BUILDARCH} cd $TMP/VSCode-linux-$BUILDARCH diff --git a/development/vscode/vscode.info b/development/vscode/vscode.info index 714a6f806a..509ce972e1 100644 --- a/development/vscode/vscode.info +++ b/development/vscode/vscode.info @@ -1,10 +1,10 @@ PRGNAM="vscode" -VERSION="1.16.1" +VERSION="1.21.0" HOMEPAGE="https://code.visualstudio.com/" -DOWNLOAD="https://github.com/Microsoft/vscode/archive/1.16.1/vscode-1.16.1.tar.gz" -MD5SUM="599c1864c6e5f48e958b25fb128bf3f5" +DOWNLOAD="https://github.com/Microsoft/vscode/archive/1.21.0/vscode-1.21.0.tar.gz" +MD5SUM="2628b6a7ae38504e73fc082930daf343" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="nodejs6" +REQUIRES="yarn" MAINTAINER="Andreas Guldstrand" EMAIL="andreas.guldstrand@gmail.com" -- cgit v1.2.3