Github messages for voidlinux
 help / color / mirror / Atom feed
From: atk <atk@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] WIP: vscode: update to 1.67.2
Date: Sun, 10 Jul 2022 23:47:50 +0200	[thread overview]
Message-ID: <20220710214750.B8j98H0070FzKttrKOTQZilwFNGt_l3JxEWiq1Q1yzk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36991@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]

There is an updated pull request by atk against master on the void-packages repository

https://github.com/atk/void-packages vscode-1.67.0
https://github.com/void-linux/void-packages/pull/36991

WIP: vscode: update to 1.67.2
+ take care of new tracking server

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**, but one error was found: at the moment, the internal terminal does not work.

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- 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/36991.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vscode-1.67.0-36991.patch --]
[-- Type: text/x-diff, Size: 5807 bytes --]

From f743b03a3a12529f7e5df36b563f76b7a0cf3e5f Mon Sep 17 00:00:00 2001
From: Alex Lohr <alexthkloss@web.de>
Date: Thu, 5 May 2022 21:58:04 +0200
Subject: [PATCH] vscode: update to 1.69.0

take care of new tracking server
---
 srcpkgs/vscode/patches/fix_dir.patch | 10 +++++-----
 srcpkgs/vscode/patches/product.patch |  6 +++---
 srcpkgs/vscode/patches/ripgrep.patch |  6 +++---
 srcpkgs/vscode/template              | 14 +++++++-------
 4 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/srcpkgs/vscode/patches/fix_dir.patch b/srcpkgs/vscode/patches/fix_dir.patch
index da193e702524..62cef243e66e 100644
--- a/srcpkgs/vscode/patches/fix_dir.patch
+++ b/srcpkgs/vscode/patches/fix_dir.patch
@@ -1,13 +1,13 @@
 diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh
-index 06973937f14..78f72c9e9ed 100755
+index 5fe68cb4f3e..2f7eba7b9a3 100755
 --- a/resources/linux/bin/code.sh
 +++ b/resources/linux/bin/code.sh
-@@ -44,7 +44,7 @@ else
+@@ -53,7 +53,7 @@ else
  		VSCODE_PATH="$(dirname "$(readlink -f "$0")")/.."
  	else
  		# else use the standard install location
--		VSCODE_PATH="/usr/share/@@NAME@@"
-+		VSCODE_PATH="/usr/lib/@@NAME@@"
+-		VSCODE_PATH="/usr/share/@@APPNAME@@"
++		VSCODE_PATH="/usr/lib/@@APPNAME@@"
  	fi
  fi
  
@@ -25,7 +25,7 @@ index 7106e0e0969..faaff89d71c 100644
  Type=Application
  NoDisplay=true
 diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop
-index ab3b79a011b..cdc88ef68a4 100755
+index 72488b67700..c16e815d59f 100755
 --- a/resources/linux/code.desktop
 +++ b/resources/linux/code.desktop
 @@ -2,7 +2,7 @@
diff --git a/srcpkgs/vscode/patches/product.patch b/srcpkgs/vscode/patches/product.patch
index 624ca63afcbe..8ed252e575e7 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 df18127dcc67..d3006752bd98 100644
+index a50c00f6cf3..8dd13191377 100644
 --- a/product.json
 +++ b/product.json
 @@ -27,7 +27,15 @@
@@ -9,7 +9,7 @@ index df18127dcc67..d3006752bd98 100644
 +	"quality": "stable",
 +	"documentationUrl": "https://github.com/microsoft/vscode-docs",
 +	"requestFeatureUrl": "https://github.com/Microsoft/vscode/issues",
- 	"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-webview.net/insider/181b43c0e2949e36ecb623d8cc6de29d4fa2bae8/out/vs/workbench/contrib/webview/browser/pre/",
+ 	"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/",
 +	"extensionsGallery": {
 +		"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
 +		"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
@@ -17,4 +17,4 @@ index df18127dcc67..d3006752bd98 100644
 +	},
  	"builtInExtensions": [
  		{
- 			"name": "ms-vscode.references-view",
+ 			"name": "ms-vscode.js-debug-companion",
diff --git a/srcpkgs/vscode/patches/ripgrep.patch b/srcpkgs/vscode/patches/ripgrep.patch
index 3fdc568a9e54..f87bc5eaab5a 100644
--- a/srcpkgs/vscode/patches/ripgrep.patch
+++ b/srcpkgs/vscode/patches/ripgrep.patch
@@ -5,7 +5,7 @@ during build, which unbreaks build on platforms where MS deos not
 ship a prebuilt ripgrep.
 
 diff --git a/package.json b/package.json
-index de2cf9e04a9b..1995e3bb9a7e 100644
+index 39c3e9f5b10..198dbf3e421 100644
 --- a/package.json
 +++ b/package.json
 @@ -62,7 +62,7 @@
@@ -14,11 +14,11 @@ index de2cf9e04a9b..1995e3bb9a7e 100644
      "@vscode/iconv-lite-umd": "0.7.0",
 -    "@vscode/ripgrep": "^1.14.2",
 +    "@vscode/ripgrep": "https://github.com/atk/void-vscode-ripgrep.git",
-     "@vscode/sqlite3": "5.0.7",
+     "@vscode/sqlite3": "5.0.8",
      "@vscode/sudo-prompt": "9.3.1",
      "@vscode/vscode-languagedetection": "1.0.21",
 diff --git a/remote/package.json b/remote/package.json
-index c7fc7a2e931f..8842b784df2c 100644
+index 936aa5f5bab..152ba516795 100644
 --- a/remote/package.json
 +++ b/remote/package.json
 @@ -6,7 +6,7 @@
diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template
index 6d3b3d72d00c..9f11f7989152 100644
--- a/srcpkgs/vscode/template
+++ b/srcpkgs/vscode/template
@@ -1,18 +1,18 @@
 # Template file for 'vscode'
 pkgname=vscode
-version=1.66.2
+version=1.69.0
 revision=1
-_electronver=13.6.7
+_electronver=19.0.8
 _npmver=8.6.0
 hostmakedepends="pkg-config python3 nodejs yarn tar git ripgrep"
-makedepends="libxkbfile-devel libsecret-devel libxml2-devel ncurses-devel electron13"
-depends="libXtst ncurses nss dejavu-fonts-ttf xdg-utils ripgrep electron13"
+makedepends="libxkbfile-devel libsecret-devel libxml2-devel ncurses-devel electron19"
+depends="libXtst ncurses nss dejavu-fonts-ttf xdg-utils ripgrep electron19"
 short_desc="Microsoft Code for Linux"
 maintainer="shizonic <realtiaz@gmail.com>, Alex Lohr <alex.lohr@logmein.com>"
 license="MIT"
 homepage="https://code.visualstudio.com/"
-distfiles="https://github.com/Microsoft/vscode/archive/refs/tags/${version}.tar.gz"
-checksum=1b70f202b570763e85f67abd8693eeb9c88c6a066a4b579aca5c0c42ecb1b47f
+distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz"
+checksum=982af5d93198b5437c3c211276c7b5fd7e3ecf19359c9605df2d6feddee93151
 nocross=yes # x64 build does not cut it, it contains native code
 
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
@@ -29,7 +29,7 @@ do_configure() {
 
 	# redirect telemetry urls to 0.0.0.0
 	# src: vscodium/undo_telemetry.sh
-	_TELEMETRY_URLS="(dc\.services\.visualstudio\.com)|(vortex\.data\.microsoft\.com)"
+	_TELEMETRY_URLS="(dc\.services\.visualstudio\.com)|(vortex\.data\.microsoft\.com)|(mobile\.events\.data\.microsoft\.com)"
 	_REPLACEMENT="s/$_TELEMETRY_URLS/0\.0\.0\.0/g"
 	grep -rl --exclude-dir=.git -E $_TELEMETRY_URLS | xargs sed -i -E $_REPLACEMENT
 

  parent reply	other threads:[~2022-07-10 21:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-05 20:00 [PR PATCH] vscode: update to 1.67.0 atk
2022-05-05 20:48 ` WIP: " atk
2022-05-14 17:36 ` cevdetardaharan
2022-05-18 20:44 ` [PR PATCH] [Updated] " atk
2022-05-19  6:32 ` cevdetardaharan
2022-05-19  7:21 ` [PR PATCH] [Updated] " atk
2022-07-06  9:18 ` WIP: vscode: update to 1.67.2 shizonic
2022-07-06  9:27 ` atk
2022-07-06  9:44 ` shizonic
2022-07-06 10:24 ` atk
2022-07-10 19:48 ` paper42
2022-07-10 20:41 ` shizonic
2022-07-10 21:47 ` atk [this message]
2022-07-10 21:49 ` atk
2022-07-11  3:58 ` vscode: update to 1.69.0 shizonic
2022-07-11  7:37 ` [PR PATCH] [Merged]: " Johnnynator
2022-07-11 11:58 ` negativeExponent
2022-07-11 11:59 ` negativeExponent
2022-07-11 14:15 ` Johnnynator
2022-07-11 14:17 ` negativeExponent
2022-07-11 17:45 ` brxken128

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220710214750.B8j98H0070FzKttrKOTQZilwFNGt_l3JxEWiq1Q1yzk@z \
    --to=atk@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).