* Re: [PR PATCH] [Updated] New package: lbry-desktop-0.36.0
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
@ 2020-04-04 10:31 ` reback00
2020-05-06 17:30 ` [PR PATCH] [Updated] New package: lbry-desktop-0.44.0 reback00
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reback00 @ 2020-04-04 10:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
There is an updated pull request by reback00 against master on the void-packages repository
https://github.com/reback00/void-packages lbry-desktop-branch
https://github.com/void-linux/void-packages/pull/15206
New package: lbry-desktop-0.36.0
[LBRY](https://lbry.com/) is a blockchain based, decentralized, completely open and Free video and content sharing platform. It was [requested](https://github.com/void-linux/void-packages/issues/13413) too. Hope it is useful.
A patch file from https://github.com/void-linux/void-packages/pull/15206.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lbry-desktop-branch-15206.patch --]
[-- Type: text/x-diff, Size: 2334 bytes --]
From 2bcba35c4217e746c1b4f08787de1a365d630b1e Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Mon, 7 Oct 2019 14:17:56 +0600
Subject: [PATCH] New package: lbry-desktop-0.44.0
---
.../update-install-command-change.patch | 6 +++
srcpkgs/lbry-desktop/template | 38 +++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/lbry-desktop/patches/update-install-command-change.patch
create mode 100644 srcpkgs/lbry-desktop/template
diff --git a/srcpkgs/lbry-desktop/patches/update-install-command-change.patch b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
new file mode 100644
index 00000000000..211a0e2ed1a
--- /dev/null
+++ b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
@@ -0,0 +1,6 @@
+diff -Naurp0 a/ui/modal/modalDownloading/view.jsx b/ui/modal/modalDownloading/view.jsx
+--- a/ui/modal/modalDownloading/view.jsx 2020-04-01 22:56:47.000000000 +0600
++++ b/ui/modal/modalDownloading/view.jsx 2020-04-04 13:31:55.058444427 +0600
+@@ -34 +34 @@ class ModalDownloading extends React.Pur
+- <blockquote>sudo dpkg -i {downloadItem}</blockquote>
++ <blockquote>ar p {downloadItem} data.tar.xz | sudo tar xJ -C /</blockquote>
diff --git a/srcpkgs/lbry-desktop/template b/srcpkgs/lbry-desktop/template
new file mode 100644
index 00000000000..21d1e204334
--- /dev/null
+++ b/srcpkgs/lbry-desktop/template
@@ -0,0 +1,38 @@
+# Template file for 'lbry-desktop'
+pkgname=lbry-desktop
+version=0.44.0
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn-bin binutils tar xz git python libsecret"
+depends="nodejs gnome-keyring GConf"
+short_desc="Browser for decentralized videos and content available on LBRY protocol"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://lbry.com/"
+distfiles="https://github.com/lbryio/lbry-desktop/archive/v${version}.tar.gz"
+checksum=66353d5686912b022047cd97826a16d7344446a2561ed7d510685f56b181488d
+patch_args="-Np1"
+
+nopie=yes
+nodebug=yes
+nostrip=yes
+noverifyrdeps=yes
+noshlibprovides=yes
+preserve=yes
+
+pre_build() {
+ yarn add core-js@2
+}
+
+do_build() {
+ yarn build
+}
+
+do_install() {
+ ar x dist/electron/LBRY_${version}.deb data.tar.xz
+ tar xf data.tar.xz -C ${DESTDIR}
+}
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] New package: lbry-desktop-0.44.0
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
2020-04-04 10:31 ` [PR PATCH] [Updated] " reback00
@ 2020-05-06 17:30 ` reback00
2020-10-16 7:24 ` [PR PATCH] [Updated] New package: lbry-desktop-0.45.1 reback00
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reback00 @ 2020-05-06 17:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
There is an updated pull request by reback00 against master on the void-packages repository
https://github.com/reback00/void-packages lbry-desktop-branch
https://github.com/void-linux/void-packages/pull/15206
New package: lbry-desktop-0.44.0
[LBRY](https://lbry.com/) is a blockchain based, decentralized, completely open and Free video and content sharing platform. It was [requested](https://github.com/void-linux/void-packages/issues/13413) too. Hope it is useful.
**UPDATE 2020.04.04:** Updated to 0.44.0, updated patch file for new codebase, removed unnecessary npm command. I'm still hoping it gets merged. Waiting since October 2019.
A patch file from https://github.com/void-linux/void-packages/pull/15206.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lbry-desktop-branch-15206.patch --]
[-- Type: text/x-diff, Size: 2334 bytes --]
From 135bc5f56820977543166f8d0511ee4873212419 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Mon, 7 Oct 2019 14:17:56 +0600
Subject: [PATCH] New package: lbry-desktop-0.45.1
---
.../update-install-command-change.patch | 6 +++
srcpkgs/lbry-desktop/template | 38 +++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/lbry-desktop/patches/update-install-command-change.patch
create mode 100644 srcpkgs/lbry-desktop/template
diff --git a/srcpkgs/lbry-desktop/patches/update-install-command-change.patch b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
new file mode 100644
index 00000000000..211a0e2ed1a
--- /dev/null
+++ b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
@@ -0,0 +1,6 @@
+diff -Naurp0 a/ui/modal/modalDownloading/view.jsx b/ui/modal/modalDownloading/view.jsx
+--- a/ui/modal/modalDownloading/view.jsx 2020-04-01 22:56:47.000000000 +0600
++++ b/ui/modal/modalDownloading/view.jsx 2020-04-04 13:31:55.058444427 +0600
+@@ -34 +34 @@ class ModalDownloading extends React.Pur
+- <blockquote>sudo dpkg -i {downloadItem}</blockquote>
++ <blockquote>ar p {downloadItem} data.tar.xz | sudo tar xJ -C /</blockquote>
diff --git a/srcpkgs/lbry-desktop/template b/srcpkgs/lbry-desktop/template
new file mode 100644
index 00000000000..054d469af69
--- /dev/null
+++ b/srcpkgs/lbry-desktop/template
@@ -0,0 +1,38 @@
+# Template file for 'lbry-desktop'
+pkgname=lbry-desktop
+version=0.45.1
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn-bin binutils tar xz git python libsecret"
+depends="nodejs gnome-keyring GConf"
+short_desc="Browser for decentralized videos and content available on LBRY protocol"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://lbry.com/"
+distfiles="https://github.com/lbryio/lbry-desktop/archive/v${version}.tar.gz"
+checksum=f4bed55f7b50d8c54c9f617ac180d2e8c8a0dd70c467a7972ef16319bdeffb3b
+patch_args="-Np1"
+
+nopie=yes
+nodebug=yes
+nostrip=yes
+noverifyrdeps=yes
+noshlibprovides=yes
+preserve=yes
+
+pre_build() {
+ yarn add core-js@2
+}
+
+do_build() {
+ yarn build
+}
+
+do_install() {
+ ar x dist/electron/LBRY_${version}.deb data.tar.xz
+ tar xf data.tar.xz -C ${DESTDIR}
+}
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] New package: lbry-desktop-0.45.1
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
2020-04-04 10:31 ` [PR PATCH] [Updated] " reback00
2020-05-06 17:30 ` [PR PATCH] [Updated] New package: lbry-desktop-0.44.0 reback00
@ 2020-10-16 7:24 ` reback00
2020-11-01 2:18 ` ericonr
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reback00 @ 2020-10-16 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 781 bytes --]
There is an updated pull request by reback00 against master on the void-packages repository
https://github.com/reback00/void-packages lbry-desktop-branch
https://github.com/void-linux/void-packages/pull/15206
New package: lbry-desktop-0.45.1
[LBRY](https://lbry.com/) is a blockchain based, decentralized, completely open and Free video and content sharing platform. It was [requested](https://github.com/void-linux/void-packages/issues/13413) too. Hope it is useful.
**UPDATE 2020.04.04:** Updated to 0.44.0, updated patch file for new codebase, removed unnecessary npm command. I'm still hoping it gets merged. Waiting since October 2019.
**UPDATE 2020.05.07:** Updated to 0.45.1
A patch file from https://github.com/void-linux/void-packages/pull/15206.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lbry-desktop-branch-15206.patch --]
[-- Type: text/x-diff, Size: 2426 bytes --]
From c6325d4c2d280514b03f601f5dc56e5d0db2f056 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Mon, 7 Oct 2019 14:17:56 +0600
Subject: [PATCH] New package: lbry-desktop-0.48.1
---
.../update-install-command-change.patch | 6 +++
srcpkgs/lbry-desktop/template | 42 +++++++++++++++++++
2 files changed, 48 insertions(+)
create mode 100644 srcpkgs/lbry-desktop/patches/update-install-command-change.patch
create mode 100644 srcpkgs/lbry-desktop/template
diff --git a/srcpkgs/lbry-desktop/patches/update-install-command-change.patch b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
new file mode 100644
index 00000000000..211a0e2ed1a
--- /dev/null
+++ b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
@@ -0,0 +1,6 @@
+diff -Naurp0 a/ui/modal/modalDownloading/view.jsx b/ui/modal/modalDownloading/view.jsx
+--- a/ui/modal/modalDownloading/view.jsx 2020-04-01 22:56:47.000000000 +0600
++++ b/ui/modal/modalDownloading/view.jsx 2020-04-04 13:31:55.058444427 +0600
+@@ -34 +34 @@ class ModalDownloading extends React.Pur
+- <blockquote>sudo dpkg -i {downloadItem}</blockquote>
++ <blockquote>ar p {downloadItem} data.tar.xz | sudo tar xJ -C /</blockquote>
diff --git a/srcpkgs/lbry-desktop/template b/srcpkgs/lbry-desktop/template
new file mode 100644
index 00000000000..b17da73e7e1
--- /dev/null
+++ b/srcpkgs/lbry-desktop/template
@@ -0,0 +1,42 @@
+# Template file for 'lbry-desktop'
+pkgname=lbry-desktop
+version=0.48.1
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn-bin binutils tar xz git python libsecret"
+depends="nodejs gnome-keyring GConf"
+short_desc="Browser for decentralized videos and content available on LBRY protocol"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://lbry.com/"
+distfiles="https://github.com/lbryio/lbry-desktop/archive/v${version}.tar.gz"
+checksum=cc6a93913c69477e9bd67c50f678927e824237be386348199eb885b9ab40c7cb
+patch_args="-Np1"
+
+nopie=yes
+nodebug=yes
+nostrip=yes
+noverifyrdeps=yes
+noshlibprovides=yes
+preserve=yes
+
+pre_build() {
+ # To fix node-gyp related error
+ # https://stackoverflow.com/a/55590251
+ rm yarn.lock
+
+ yarn add core-js@2
+}
+
+do_build() {
+ yarn build
+}
+
+do_install() {
+ ar x dist/electron/LBRY_${version}.deb data.tar.xz
+ tar xf data.tar.xz -C ${DESTDIR}
+}
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: lbry-desktop-0.45.1
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
` (2 preceding siblings ...)
2020-10-16 7:24 ` [PR PATCH] [Updated] New package: lbry-desktop-0.45.1 reback00
@ 2020-11-01 2:18 ` ericonr
2020-11-02 17:34 ` reback00
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2020-11-01 2:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/15206#issuecomment-720016012
Comment:
Can this be made to work with system electron?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: lbry-desktop-0.45.1
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
` (3 preceding siblings ...)
2020-11-01 2:18 ` ericonr
@ 2020-11-02 17:34 ` reback00
2020-11-02 17:50 ` ericonr
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reback00 @ 2020-11-02 17:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2657 bytes --]
New comment by reback00 on void-packages repository
https://github.com/void-linux/void-packages/pull/15206#issuecomment-720618382
Comment:
It's been a year already since the first submit. I almost forgot it existed! Thanks for your interest.
Unfortunately, I'm not sure. It seems to rely on `electron-builder`:
```
• loaded configuration file=/builddir/lbry-desktop-0.48.1/electron-builder.json
• loaded parent configuration file=/builddir/lbry-desktop-0.48.1/node_modules/electron-webpack/out/electron-builder.js
• packaging platform=linux arch=x64 electron=9.3.1 appOutDir=dist/electron/linux-unpacked
• downloading url=https://github.com/electron/electron/releases/download/v9.3.1/electron-v9.3.1-linux-x64.zip size=73 MB parts=4
• downloaded url=https://github.com/electron/electron/releases/download/v9.3.1/electron-v9.3.1-linux-x64.zip duration=4m11.854s
• building target=AppImage arch=x64 file=dist/electron/LBRY_0.48.1.AppImage
• downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage-12.0.1/appimage-12.0.1.7z size=1.6 MB parts=1
• downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage-12.0.1/appimage-12.0.1.7z duration=40.45s
• building target=deb arch=x64 file=dist/electron/LBRY_0.48.1.deb
• downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z size=5.0 MB parts=1
• downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z duration=3m22.283s
Done in 954.99s.
```
[electron-builder](https://github.com/electron-userland/electron-builder) seems to be:
> A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
It can build for `AppImage, snap, debian package (deb), rpm, freebsd, pacman, p5p, apk`. These files mention "electron-builder":
```
./package.json
./CHANGELOG.md
./yarn.lock
./build/afterSignHook.js
./.travis.yml
./README.md
./flow-typed/npm/electron-webpack_vx.x.x.js
./flow-typed/npm/electron-builder_vx.x.x.js
```
Also, there is a `electron-builder.json` file on source tree. Maybe if we can remove electron-builder it will be possible to use system electron. But I'm not sure if the package will play nice with the system electron. I've also checked `atom` and `slack-desktop`. They don't use system electron either.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: lbry-desktop-0.45.1
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
` (4 preceding siblings ...)
2020-11-02 17:34 ` reback00
@ 2020-11-02 17:50 ` ericonr
2020-11-03 18:15 ` reback00
2021-11-06 22:15 ` [PR PATCH] [Closed]: " abenson
7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2020-11-02 17:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/15206#issuecomment-720627066
Comment:
There are other packages using electron-builder, I believe Signal-Desktop is one of them.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: lbry-desktop-0.45.1
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
` (5 preceding siblings ...)
2020-11-02 17:50 ` ericonr
@ 2020-11-03 18:15 ` reback00
2021-11-06 22:15 ` [PR PATCH] [Closed]: " abenson
7 siblings, 0 replies; 9+ messages in thread
From: reback00 @ 2020-11-03 18:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
New comment by reback00 on void-packages repository
https://github.com/void-linux/void-packages/pull/15206#issuecomment-721295663
Comment:
Oh! I didn't know that.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Closed]: New package: lbry-desktop-0.45.1
2019-10-07 8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
` (6 preceding siblings ...)
2020-11-03 18:15 ` reback00
@ 2021-11-06 22:15 ` abenson
7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2021-11-06 22:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 689 bytes --]
There's a closed pull request on the void-packages repository
New package: lbry-desktop-0.45.1
https://github.com/void-linux/void-packages/pull/15206
Description:
[LBRY](https://lbry.com/) is a blockchain based, decentralized, completely open and Free video and content sharing platform. It was [requested](https://github.com/void-linux/void-packages/issues/13413) too. Hope it is useful.
**UPDATE 2020.04.04:** Updated to 0.44.0, updated patch file for new codebase, removed unnecessary npm command. I'm still hoping it gets merged. Waiting since October 2019.
**UPDATE 2020.05.07:** Updated to 0.45.1
**UPDATE 2020.10.16:** Updated to 0.48.1, added a fix for a node-gyp error
^ permalink raw reply [flat|nested] 9+ messages in thread