* [PR PATCH] vscode: update to 1.57.0.
@ 2021-06-11 9:58 shizonic
2021-06-11 12:59 ` [PR PATCH] [Merged]: " ericonr
0 siblings, 1 reply; 2+ messages in thread
From: shizonic @ 2021-06-11 9:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1588 bytes --]
There is a new pull request by shizonic against master on the void-packages repository
https://github.com/shizonic/void-packages vscode
https://github.com/void-linux/void-packages/pull/31424
vscode: update to 1.57.0.
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/31424.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vscode-31424.patch --]
[-- Type: text/x-diff, Size: 4401 bytes --]
From 17b80bef8bf46f2f24b372d785a54b2652eabd21 Mon Sep 17 00:00:00 2001
From: Toby Merz <realtiaz@gmail.com>
Date: Fri, 11 Jun 2021 11:54:35 +0200
Subject: [PATCH] vscode: update to 1.57.0.
---
srcpkgs/vscode/patches/fix_dir.patch | 12 ++++++------
srcpkgs/vscode/patches/product.patch | 10 +++++-----
srcpkgs/vscode/template | 6 +++---
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/vscode/patches/fix_dir.patch b/srcpkgs/vscode/patches/fix_dir.patch
index f27e7c283047..12ed8beec2d2 100644
--- a/srcpkgs/vscode/patches/fix_dir.patch
+++ b/srcpkgs/vscode/patches/fix_dir.patch
@@ -1,5 +1,5 @@
diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh
-index 06973937f14..78f72c9e9ed 100755
+index 06973937f149..78f72c9e9ed5 100755
--- a/resources/linux/bin/code.sh
+++ b/resources/linux/bin/code.sh
@@ -44,7 +44,7 @@ else
@@ -12,27 +12,27 @@ index 06973937f14..78f72c9e9ed 100755
fi
diff --git a/resources/linux/code-url-handler.desktop b/resources/linux/code-url-handler.desktop
-index b85525fbd04..bab6df4eeb5 100644
+index 7106e0e0969b..bab6df4eeb53 100644
--- a/resources/linux/code-url-handler.desktop
+++ b/resources/linux/code-url-handler.desktop
@@ -2,7 +2,7 @@
Name=@@NAME_LONG@@ - URL Handler
Comment=Code Editing. Redefined.
GenericName=Text Editor
--Exec=@@EXEC@@ --no-sandbox --open-url %U
+-Exec=@@EXEC@@ --open-url %U
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --open-url %U
Icon=@@ICON@@
Type=Application
NoDisplay=true
diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop
-index 62d6bfc47b4..a014f6748d0 100755
+index ab3b79a011b7..a014f6748d0b 100755
--- 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=@@EXEC@@ --no-sandbox --unity-launch %F
+-Exec=@@EXEC@@ --unity-launch %F
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --unity-launch %F
Icon=@@ICON@@
Type=Application
@@ -41,6 +41,6 @@ index 62d6bfc47b4..a014f6748d0 100755
[Desktop Action new-empty-window]
Name=New Empty Window
--Exec=@@EXEC@@ --no-sandbox --new-window %F
+-Exec=@@EXEC@@ --new-window %F
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --no-sandbox --new-window %F
Icon=@@ICON@@
diff --git a/srcpkgs/vscode/patches/product.patch b/srcpkgs/vscode/patches/product.patch
index eb7b91d8b977..47440585d5de 100644
--- a/srcpkgs/vscode/patches/product.patch
+++ b/srcpkgs/vscode/patches/product.patch
@@ -1,5 +1,5 @@
diff --git a/product.json b/product.json
-index 3facf29bc27..45e3fab95a7 100644
+index 9010521ca351..3abefe7bd69a 100644
--- a/product.json
+++ b/product.json
@@ -22,6 +22,9 @@
@@ -9,12 +9,12 @@ index 3facf29bc27..45e3fab95a7 100644
+ "quality": "stable",
+ "documentationUrl": "https://github.com/microsoft/vscode-docs",
+ "requestFeatureUrl": "https://github.com/Microsoft/vscode/issues",
+ "webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-webview.net/{{quality}}/{{commit}}/out/vs/workbench/contrib/webview/browser/pre/",
"extensionAllowedProposedApi": [
"ms-vscode.vscode-js-profile-flame",
- "ms-vscode.vscode-js-profile-table",
-@@ -30,6 +33,11 @@
- "ms-vscode.remotehub",
- "ms-vscode.remotehub-insiders"
+@@ -31,6 +34,11 @@
+ "GitHub.remotehub",
+ "GitHub.remotehub-insiders"
],
+ "extensionsGallery": {
+ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template
index b3f667cf30cc..11b5f3eea411 100644
--- a/srcpkgs/vscode/template
+++ b/srcpkgs/vscode/template
@@ -1,8 +1,8 @@
# Template file for 'vscode'
pkgname=vscode
-version=1.56.2
+version=1.57.0
revision=1
-_electronver=12.0.4
+_electronver=12.0.9
hostmakedepends="pkg-config python nodejs yarn tar git"
makedepends="libxkbfile-devel libsecret-devel electron12"
depends="libXtst libxkbfile nss dejavu-fonts-ttf xdg-utils ripgrep electron12"
@@ -11,7 +11,7 @@ maintainer="shizonic <realtiaz@gmail.com>"
license="MIT"
homepage="https://code.visualstudio.com/"
distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz"
-checksum=d1963dd3aeb600c34a246dfc35ff36c0f8b3ddbd3e2c92775a50e84f159b6014
+checksum=36d3062740125ea4477ba671c53c27293660a1ae61d712d936af12c7f89ab17e
patch_args="-Np1"
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-11 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11 9:58 [PR PATCH] vscode: update to 1.57.0 shizonic
2021-06-11 12:59 ` [PR PATCH] [Merged]: " ericonr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).