Github messages for voidlinux
 help / color / mirror / Atom feed
From: ssnailed <ssnailed@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] element-desktop: update to 1.11.82
Date: Tue, 29 Oct 2024 11:09:53 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52829@inbox.vuxu.org> (raw)

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

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

https://github.com/ssnailed/void-packages master
https://github.com/void-linux/void-packages/pull/52829

element-desktop: update to 1.11.82
The patch is no longer necessary since sentry is now imported conditionally.

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

A patch file from https://github.com/void-linux/void-packages/pull/52829.patch is attached

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

From 505025a93b52fb949c7d8ae62ab63451ea263f12 Mon Sep 17 00:00:00 2001
From: Luca Bilke <luca@bil.ke>
Date: Tue, 29 Oct 2024 11:03:14 +0100
Subject: [PATCH] element-desktop: update to 1.11.82

The patch is no longer necessary since sentry is now imported
conditionally.
---
 ...web_0001-remove-dependency-on-sentry.patch | 43 -------------------
 ...001-remove-dependency-on-sentry.patch.args |  1 -
 srcpkgs/element-desktop/template              | 15 ++-----
 3 files changed, 3 insertions(+), 56 deletions(-)
 delete mode 100644 srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch
 delete mode 100644 srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch.args

diff --git a/srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch b/srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch
deleted file mode 100644
index 9919c3963c09e6..00000000000000
--- a/srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git a/package.json b/package.json
-index 02a59ee45..b5dd89a2f 100644
---- a/package.json
-+++ b/package.json
-@@ -101,7 +101,6 @@
-         "@babel/runtime": "^7.12.5",
-         "@casualbot/jest-sonar-reporter": "^2.2.5",
-         "@principalstudio/html-webpack-inject-preload": "^1.2.7",
--        "@sentry/webpack-plugin": "^2.0.0",
-         "@svgr/webpack": "^5.5.0",
-         "@testing-library/react": "^12.1.5",
-         "@types/jest": "^29.0.0",
-diff --git a/webpack.config.js b/webpack.config.js
-index 514bf32d0..a17a561b7 100644
---- a/webpack.config.js
-+++ b/webpack.config.js
-@@ -8,7 +8,6 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
- const TerserPlugin = require("terser-webpack-plugin");
- const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin");
- const HtmlWebpackInjectPreload = require("@principalstudio/html-webpack-inject-preload");
--const { sentryWebpackPlugin } = require("@sentry/webpack-plugin");
- const crypto = require("crypto");
- 
- // XXX: mangle Crypto::createHash to replace md4 with sha256, output.hashFunction is insufficient as multiple bits
-@@ -658,18 +657,6 @@ module.exports = (env, argv) => {
-                 files: [{ match: /.*Inter.*\.woff2$/ }],
-             }),
- 
--            // upload to sentry if sentry env is present
--            process.env.SENTRY_DSN &&
--                sentryWebpackPlugin({
--                    release: process.env.VERSION,
--                    sourcemaps: {
--                        paths: "./webapp/bundles/**",
--                    },
--                    errorHandler: (err, invokeErr, compilation) => {
--                        compilation.warnings.push("Sentry CLI Plugin: " + err.message);
--                        console.log(`::warning title=Sentry error::${err.message}`);
--                    },
--                }),
-             new webpack.EnvironmentPlugin(["VERSION"]),
-         ].filter(Boolean),
- 
diff --git a/srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch.args b/srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch.args
deleted file mode 100644
index 1f64306266fb6c..00000000000000
--- a/srcpkgs/element-desktop/patches/element-web_0001-remove-dependency-on-sentry.patch.args
+++ /dev/null
@@ -1 +0,0 @@
--Np1 -d element-web
diff --git a/srcpkgs/element-desktop/template b/srcpkgs/element-desktop/template
index aa187913ebbd8f..34f02cb34062c8 100644
--- a/srcpkgs/element-desktop/template
+++ b/srcpkgs/element-desktop/template
@@ -1,6 +1,6 @@
 # Template file for 'element-desktop'
 pkgname=element-desktop
-version=1.11.43
+version=1.11.82
 revision=1
 create_wrksrc=yes
 conf_files="/etc/${pkgname}/config.json"
@@ -17,8 +17,8 @@ homepage="https://element.io"
 changelog="https://raw.githubusercontent.com/vector-im/element-desktop/develop/CHANGELOG.md"
 distfiles="https://github.com/vector-im/element-desktop/archive/v${version}.tar.gz>element-desktop-v${version}.tar.gz
  https://github.com/vector-im/element-web/archive/v${version}.tar.gz>element-web-v${version}.tar.gz"
-checksum="9a090dad94096e57ceb6629f41650fbb70c3efb2d36a7354ec3902463495633e
- c7395f14a7747ece79ade9ab1133e95abf9c35c73fa430220e4a5d8868cd5028"
+checksum="eb8b94aca6bacbb4e9b21d2c81e6e5a46bb343f8266ee8987d6137cfd2d6928b
+ 465d420c75207026d4e9cbc3988d427b3320e13e984745a08c7d60bdb978281f"
 
 export USE_SYSTEM_APP_BUILDER=true
 
@@ -27,15 +27,6 @@ post_extract() {
 	mv ${pkgname/desktop/web}-${version} ${pkgname/desktop/web}
 }
 
-pre_patch() {
-	for patch in ${pkgname}_*.patch; do
-		ln -s ../${patch} ${pkgname}
-	done
-	for patch in ${pkgname/desktop/web}_*.patch; do
-		ln -s ../${patch} ${pkgname/desktop/web}
-	done
-}
-
 post_patch() {
 	cd ${pkgname/desktop/web}
 	# Disable auto-updating

             reply	other threads:[~2024-10-29 10:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-29 10:09 ssnailed [this message]
2024-10-29 10:24 ` [PR PATCH] [Updated] " ssnailed
2024-10-31 10:52 ` [PR PATCH] [Updated] element-desktop: update to 1.11.83 ssnailed
2024-11-01  0:25 ` [PR PATCH] [Merged]: " classabbyamp

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52829@inbox.vuxu.org \
    --to=ssnailed@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).