From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Update riot-desktop to v1.4.2
Date: Fri, 04 Oct 2019 17:25:08 +0200 [thread overview]
Message-ID: <20191004152508.ZQnPfpboWUdLkjtuUZq31xu5nBggI6GeygEt4WciIGk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15088@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 587 bytes --]
There is an updated pull request by Bendodroid against master on the void-packages repository
https://github.com/Bendodroid/void-packages Bendodroid-riot-desktop-1.4.2
https://github.com/void-linux/void-packages/pull/15088
Update riot-desktop to v1.4.2
I adjusted the template and deleted the patch needed for electron5-incompatible versions (pre- vector-im/riot-web#10392).
All other code is unchanged as I am not an expert on electron and javascript stuff.
Result runs fine on my T400.
A patch file from https://github.com/void-linux/void-packages/pull/15088.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Bendodroid-riot-desktop-1.4.2-15088.patch --]
[-- Type: text/x-diff, Size: 3199 bytes --]
From dd1421f5216b105111f00c6bde20847c0e620719 Mon Sep 17 00:00:00 2001
From: Bendodroid <bendodroid@icloud.com>
Date: Fri, 4 Oct 2019 15:11:26 +0200
Subject: [PATCH] riot-desktop: update to 1.4.2
- Adjust template.
- Delete patch only needed for electron5-incompatible versions.
-> See vector-im/riot-web#10392
Signed-off-by: Bendodroid <bendodroid@icloud.com>
---
srcpkgs/riot-desktop/patches/electron5.patch | 32 --------------------
srcpkgs/riot-desktop/template | 8 ++---
2 files changed, 4 insertions(+), 36 deletions(-)
delete mode 100644 srcpkgs/riot-desktop/patches/electron5.patch
diff --git a/srcpkgs/riot-desktop/patches/electron5.patch b/srcpkgs/riot-desktop/patches/electron5.patch
deleted file mode 100644
index c90db20fb75..00000000000
--- a/srcpkgs/riot-desktop/patches/electron5.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-from https://gist.github.com/dbkr/e898624be6d53590ebf494521d868fec
-
-diff --git a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js
-index 99ddfbd1..c3aa4f5d 100644
---- electron_app/src/electron-main.js
-+++ electron_app/src/electron-main.js
-@@ -206,7 +206,10 @@ const launcher = new AutoLaunch({
- // work.
- // Also mark it as secure (ie. accessing resources from this
- // protocol and HTTPS won't trigger mixed content warnings).
--protocol.registerStandardSchemes(['vector'], {secure: true});
-+//protocol.registerStandardSchemes(['vector'], {secure: true});
-+protocol.registerSchemesAsPrivileged([{
-+ scheme: 'vector', privileges: {standard: true, secure: true, supportFetchAPI: true},
-+}]);
-
- app.on('ready', () => {
- if (argv['devtools']) {
-diff --git a/electron_app/src/preload.js b/electron_app/src/preload.js
-index 3a4f7c9a..f63e19d4 100644
---- electron_app/src/preload.js
-+++ electron_app/src/preload.js
-@@ -23,7 +23,7 @@ window.ipcRenderer = ipcRenderer;
- // protocol: this is necessary to load olm.wasm.
- // (Also mark it a secure although we've already
- // done this in the main process).
--webFrame.registerURLSchemeAsPrivileged('vector', {
-+/*webFrame.registerURLSchemeAsPrivileged('vector', {
- secure: true,
- supportFetchAPI: true,
--});
-+});*/
diff --git a/srcpkgs/riot-desktop/template b/srcpkgs/riot-desktop/template
index 1bc9ed54a54..c54b84d88a2 100644
--- a/srcpkgs/riot-desktop/template
+++ b/srcpkgs/riot-desktop/template
@@ -1,18 +1,18 @@
# Template file for 'riot-desktop'
pkgname=riot-desktop
-version=1.2.1
-revision=2
+version=1.4.2
+revision=1
archs="i686 x86_64"
wrksrc="riot-web-${version}"
conf_files="/etc/${pkgname}/config.json"
hostmakedepends="git nodejs yarn"
depends="c-ares ffmpeg gtk+3 http-parser libevent libxslt minizip nss re2 snappy"
short_desc="Glossy Matrix collaboration client, desktop version"
-maintainer="zethra <jediben97@gmail.com>"
+maintainer="Bendodroid <bendodroid@icloud.com>"
license="Apache-2.0"
homepage="https://riot.im"
distfiles="https://github.com/vector-im/riot-web/archive/v${version}.tar.gz"
-checksum=7519083fcf579bf79bd5e0e5665bad43b89432a215f677fa00d8a115a34fdf08
+checksum=0d8ce20912ea8c6961ff04a3e3231da1f77ec18cfdc5000a1f01d19eec9ad51c
nocross=yes
nostrip=yes
shlib_provides="libGLVESv2.so"
next prev parent reply other threads:[~2019-10-04 15:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-04 13:27 [PR PATCH] " voidlinux-github
2019-10-04 14:47 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-04 14:47 ` voidlinux-github
2019-10-04 15:25 ` voidlinux-github
2019-10-04 15:25 ` voidlinux-github [this message]
2019-10-04 16:00 ` voidlinux-github
2019-10-04 16:16 ` voidlinux-github
2019-10-04 17:17 ` voidlinux-github
2019-10-04 17:58 ` [PR PATCH] [Merged]: " voidlinux-github
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=20191004152508.ZQnPfpboWUdLkjtuUZq31xu5nBggI6GeygEt4WciIGk@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).