Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] downgrade vscode
@ 2022-07-12 19:25 Johnnynator
  2022-07-12 22:10 ` sink666
  2022-07-12 22:12 ` [PR PATCH] [Closed]: " Johnnynator
  0 siblings, 2 replies; 3+ messages in thread
From: Johnnynator @ 2022-07-12 19:25 UTC (permalink / raw)
  To: ml

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

There is a new pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages downgrade-vscode
https://github.com/void-linux/void-packages/pull/38030

downgrade vscode
- electron19: mark broken
- Revert "vscode: update to 1.69.0"

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

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### 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/38030.patch is attached

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

From c26b93f2712e380c3c195fe21a46ab1e0a2d0fa7 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Tue, 12 Jul 2022 21:12:27 +0200
Subject: [PATCH 1/2] electron19: mark broken

---
 srcpkgs/electron19/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/electron19/template b/srcpkgs/electron19/template
index 1a8fbb2820ad..bf36cb2e467f 100644
--- a/srcpkgs/electron19/template
+++ b/srcpkgs/electron19/template
@@ -46,6 +46,7 @@ nopie=yes  # contains tools that are not PIE, enables PIE itself
 build_options="pulseaudio sndio clang pipewire"
 build_options_default="pulseaudio clang pipewire"
 
+broken="Runtime exhibits problems that make various apps unusable"
 #if [ "$build_option_clang" ]; then
 nocross="Yes"
 #elif [ "${XBPS_TARGET_MACHINE%%-musl}" = "aarch64" ]; then

From fc9891561674c27c85dd837b0cd78a1f218af653 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Tue, 12 Jul 2022 21:12:41 +0200
Subject: [PATCH 2/2] Revert "vscode: update to 1.69.0"

This reverts commit f92833e8c7ba8041390b8278210b6f7ba2e53f70.

see #38005
---
 srcpkgs/vscode/patches/fix_dir.patch | 10 +++++-----
 srcpkgs/vscode/patches/product.patch |  6 +++---
 srcpkgs/vscode/patches/ripgrep.patch |  6 +++---
 srcpkgs/vscode/template              | 17 +++++++++--------
 4 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/srcpkgs/vscode/patches/fix_dir.patch b/srcpkgs/vscode/patches/fix_dir.patch
index 62cef243e66e..da193e702524 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 5fe68cb4f3e..2f7eba7b9a3 100755
+index 06973937f14..78f72c9e9ed 100755
 --- a/resources/linux/bin/code.sh
 +++ b/resources/linux/bin/code.sh
-@@ -53,7 +53,7 @@ else
+@@ -44,7 +44,7 @@ else
  		VSCODE_PATH="$(dirname "$(readlink -f "$0")")/.."
  	else
  		# else use the standard install location
--		VSCODE_PATH="/usr/share/@@APPNAME@@"
-+		VSCODE_PATH="/usr/lib/@@APPNAME@@"
+-		VSCODE_PATH="/usr/share/@@NAME@@"
++		VSCODE_PATH="/usr/lib/@@NAME@@"
  	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 72488b67700..c16e815d59f 100755
+index ab3b79a011b..cdc88ef68a4 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 8ed252e575e7..624ca63afcbe 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 a50c00f6cf3..8dd13191377 100644
+index df18127dcc67..d3006752bd98 100644
 --- a/product.json
 +++ b/product.json
 @@ -27,7 +27,15 @@
@@ -9,7 +9,7 @@ index a50c00f6cf3..8dd13191377 100644
 +	"quality": "stable",
 +	"documentationUrl": "https://github.com/microsoft/vscode-docs",
 +	"requestFeatureUrl": "https://github.com/Microsoft/vscode/issues",
- 	"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/",
+ 	"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-webview.net/insider/181b43c0e2949e36ecb623d8cc6de29d4fa2bae8/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 a50c00f6cf3..8dd13191377 100644
 +	},
  	"builtInExtensions": [
  		{
- 			"name": "ms-vscode.js-debug-companion",
+ 			"name": "ms-vscode.references-view",
diff --git a/srcpkgs/vscode/patches/ripgrep.patch b/srcpkgs/vscode/patches/ripgrep.patch
index f87bc5eaab5a..3fdc568a9e54 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 39c3e9f5b10..198dbf3e421 100644
+index de2cf9e04a9b..1995e3bb9a7e 100644
 --- a/package.json
 +++ b/package.json
 @@ -62,7 +62,7 @@
@@ -14,11 +14,11 @@ index 39c3e9f5b10..198dbf3e421 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.8",
+     "@vscode/sqlite3": "5.0.7",
      "@vscode/sudo-prompt": "9.3.1",
      "@vscode/vscode-languagedetection": "1.0.21",
 diff --git a/remote/package.json b/remote/package.json
-index 936aa5f5bab..152ba516795 100644
+index c7fc7a2e931f..8842b784df2c 100644
 --- a/remote/package.json
 +++ b/remote/package.json
 @@ -6,7 +6,7 @@
diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template
index 9f11f7989152..77b41cc9d1bc 100644
--- a/srcpkgs/vscode/template
+++ b/srcpkgs/vscode/template
@@ -1,18 +1,19 @@
 # Template file for 'vscode'
 pkgname=vscode
-version=1.69.0
-revision=1
-_electronver=19.0.8
+reverts="1.69.0_1"
+version=1.66.2
+revision=2
+_electronver=13.6.7
 _npmver=8.6.0
 hostmakedepends="pkg-config python3 nodejs yarn tar git ripgrep"
-makedepends="libxkbfile-devel libsecret-devel libxml2-devel ncurses-devel electron19"
-depends="libXtst ncurses nss dejavu-fonts-ttf xdg-utils ripgrep electron19"
+makedepends="libxkbfile-devel libsecret-devel libxml2-devel ncurses-devel electron13"
+depends="libXtst ncurses nss dejavu-fonts-ttf xdg-utils ripgrep electron13"
 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=982af5d93198b5437c3c211276c7b5fd7e3ecf19359c9605df2d6feddee93151
+distfiles="https://github.com/Microsoft/vscode/archive/refs/tags/${version}.tar.gz"
+checksum=1b70f202b570763e85f67abd8693eeb9c88c6a066a4b579aca5c0c42ecb1b47f
 nocross=yes # x64 build does not cut it, it contains native code
 
 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
@@ -29,7 +30,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)|(mobile\.events\.data\.microsoft\.com)"
+	_TELEMETRY_URLS="(dc\.services\.visualstudio\.com)|(vortex\.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
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: downgrade vscode
  2022-07-12 19:25 [PR PATCH] downgrade vscode Johnnynator
@ 2022-07-12 22:10 ` sink666
  2022-07-12 22:12 ` [PR PATCH] [Closed]: " Johnnynator
  1 sibling, 0 replies; 3+ messages in thread
From: sink666 @ 2022-07-12 22:10 UTC (permalink / raw)
  To: ml

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

New comment by sink666 on void-packages repository

https://github.com/void-linux/void-packages/pull/38030#issuecomment-1182545618

Comment:
The x86_64 build seems to fail for the reason mentioned here: https://github.com/conwnet/github1s/issues/420 . will have to pull the reference view extension from its new location at https://github.com/microsoft/vscode/tree/main/extensions/references-view

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: downgrade vscode
  2022-07-12 19:25 [PR PATCH] downgrade vscode Johnnynator
  2022-07-12 22:10 ` sink666
@ 2022-07-12 22:12 ` Johnnynator
  1 sibling, 0 replies; 3+ messages in thread
From: Johnnynator @ 2022-07-12 22:12 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

downgrade vscode
https://github.com/void-linux/void-packages/pull/38030

Description:
- electron19: mark broken
- Revert "vscode: update to 1.69.0"

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

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### 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
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-12 22:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 19:25 [PR PATCH] downgrade vscode Johnnynator
2022-07-12 22:10 ` sink666
2022-07-12 22:12 ` [PR PATCH] [Closed]: " Johnnynator

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).