aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-03-09 07:29:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-10 07:11:06 +0700
commit2e36f6c2b9d9b849b2f8dc104d8f462f700e1fef (patch)
tree3001cc37189345c0712778eb8e3093439c329931 /development
parentc4a61bf167d3616cf5830201c92c84eff7ab79ac (diff)
development/vscode: Updated for version 1.21.0.
Signed-off-by: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Diffstat (limited to 'development')
-rw-r--r--development/vscode/product.json.patch30
-rw-r--r--development/vscode/vscode.SlackBuild10
-rw-r--r--development/vscode/vscode.info8
3 files changed, 23 insertions, 25 deletions
diff --git a/development/vscode/product.json.patch b/development/vscode/product.json.patch
index 9cfbbc84fcf4b..ee84cd99d7cc6 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 7d31f82b32dfd..0c6f69beaaaba 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 714a6f806a8b1..509ce972e14af 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"