From f8c9f7c05afdd792ca1e8f56aa13c33404f459f1 Mon Sep 17 00:00:00 2001 From: Mate GABRI Date: Fri, 11 Oct 2019 11:56:43 +1100 Subject: [PATCH] vscode: update to 1.39.0 [ci skip] --- srcpkgs/vscode/patches/fix_dir.patch | 10 +++++----- srcpkgs/vscode/template | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/vscode/patches/fix_dir.patch b/srcpkgs/vscode/patches/fix_dir.patch index b2edcc729ca..685e04f71d0 100644 --- a/srcpkgs/vscode/patches/fix_dir.patch +++ b/srcpkgs/vscode/patches/fix_dir.patch @@ -1,8 +1,8 @@ diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh -index 55f50b6f1c14..16b73343e6ea 100755 +index 564f13ef95..0aa2b48fab 100755 --- a/resources/linux/bin/code.sh +++ b/resources/linux/bin/code.sh -@@ -26,7 +26,7 @@ else +@@ -35,7 +35,7 @@ else VSCODE_PATH="$(dirname $(readlink -f $0))/.." else # else use the standard install location @@ -12,14 +12,14 @@ index 55f50b6f1c14..16b73343e6ea 100755 fi diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop -index dbc7818cecf3..eefe01f43397 100644 +index 1273bb2db7..eefe01f433 100644 --- a/resources/linux/code.desktop +++ b/resources/linux/code.desktop @@ -2,7 +2,7 @@ Name=@@NAME_LONG@@ Comment=Code Editing. Redefined. GenericName=Text Editor --Exec=/usr/share/@@NAME@@/@@NAME@@ --unity-launch %F +-Exec=@@EXEC@@ --unity-launch %F +Exec=/usr/lib/@@NAME@@/@@NAME@@ --unity-launch %F Icon=@@ICON@@ Type=Application @@ -28,6 +28,6 @@ index dbc7818cecf3..eefe01f43397 100644 [Desktop Action new-empty-window] Name=New Empty Window --Exec=/usr/share/@@NAME@@/@@NAME@@ --new-window %F +-Exec=@@EXEC@@ --new-window %F +Exec=/usr/lib/@@NAME@@/@@NAME@@ --new-window %F Icon=@@ICON@@ diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index 47eb1f443a7..a428c44986a 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -1,6 +1,6 @@ # Template file for 'vscode' pkgname=vscode -version=1.38.1 +version=1.39.0 revision=1 hostmakedepends="pkg-config python nodejs-lts yarn" makedepends="libxkbfile-devel libsecret-devel" @@ -10,7 +10,7 @@ maintainer="shizonic " license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz" -checksum=@5702ba67623c02065ad0cc01f0c7179a963086d68f4dc60a1c51055f9290f729 +checksum=a2e3a718e3b10af4b4022315e35e6e144beea37b03deb3874054acbc9f86b514 patch_args="-Np1" # Due to electron