Package Details: ssb-patchwork 3.18.0-1

Git Clone URL: https://aur.archlinux.org/ssb-patchwork.git (read-only, click to copy)
Package Base: ssb-patchwork
Description: A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB)
Upstream URL: https://github.com/ssbc/patchwork
Keywords: decentralized gossip network patchwork scuttlebutt ssb
Licenses: AGPL3
Submitter: dlandau
Maintainer: dlandau (pypper, christianbundy, zozs)
Last Packager: zozs
Votes: 17
Popularity: 0.91
First Submitted: 2017-09-09 19:25
Last Updated: 2020-06-05 18:45

Latest Comments

1 2 3 4 5 Next › Last »

kode54 commented on 2020-02-20 07:45

Oh, that's bloody stupid. It builds just fine if I run it under a terminal emulator from a graphical desktop. It only fails if I attempt to update my system from a TTY.

kode54 commented on 2020-02-19 22:51

This is the link that fails to retrieve when I attempt to build it:

https://atom.io/download/electron/v13.8.0/node-v13.8.0-headers.tar.gz

It reports error 403, access denied.

danievdm commented on 2020-02-19 11:56

Latest update installed OK for me on Manjaro KDE but one odd thing is happening:

Whenever I paste a link URL in my post the post preview never comes up - just hangs. Other markdown characters or plain text work as per normal. Anyone else having this issue with links being pasted in?

It was working fine before the latest update on v3.17.2-2. I retested with both versions of the AppImage with identical post - worked on older version, did not work on latest version 3.17.3.

Issue is being tracked now at https://github.com/ssbc/patchwork/issues/1248 as I'm not the only one.

zozs commented on 2020-02-19 09:38

kode54: anything that can be done on the PKGBUILD side? I can build it on several of my local machines :/

kode54 commented on 2020-02-19 05:17

Latest is not buildable due to npm build bots being a piece of crap and failing to provide either a working copy of node 13.8.0 headers, or a copy of npm which can fall back on 403 errors.

christianbundy commented on 2020-01-06 21:07

zozs: Thanks, just pushed a new release to resolve that problem. I've also contacted dlandau to ask to have you added as a maintainer. Really appreciate your attention to detail on that dep!

zozs commented on 2020-01-04 09:47

gconf has been removed from the main repos, and only exists in AUR now. However, electron does not seem to depend on gconf anymore [1], so I think it can be removed from the depends array completely (this also means one less package depending on python2 :) ).

I removed it from depends and recompiled the package, and it seems to be working for me for the past hour or so.

[1] https://github.com/electron/electron/issues/2727

christianbundy commented on 2019-11-28 16:28

zozs: Oops, thanks for the comment, I've just pushed a fix. Please let me know if this gives you any trouble!

zozs commented on 2019-11-27 20:22

There seems to be some errors regarding the required version of electron. The depends=() array contains electron6, while the build() function, as well as /usr/bin/ssb-patchwork (i.e. run.sh) contains electron4, causing the build to fail (or /usr/bin/ssb-patchwork to not run) if electron4 not happens to be installed on the system by sheer luck.

Everything works if all instances of electron4 is replaced with electron6.

dhole commented on 2019-11-06 19:55

Running v3.16.2 failed on my Arch Linux due to a missing npm dependency: "ssb-caps". Here's the diff of the changes that I made to add the missing dependency (which seems to be missing from upstream):

diff --git a/PKGBUILD b/PKGBUILD
index 9961cbc..9b3def3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=ssb-patchwork
 _upstream=patchwork
 pkgver=3.16.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB)"
 arch=('i686' 'x86_64')
 url="https://github.com/ssbc/patchwork"
@@ -16,12 +16,14 @@ source=(
 "https://github.com/ssbc/${_upstream}/archive/v${pkgver}.tar.gz"
 'run.sh'
 "${pkgname}.desktop"
+"missing-dependency.patch"
 )

 sha256sums=(
 '7bf634bbc56fbd3db18efa8ac8bcbdfa348520944c481dfc1d08c0f35eb30881'
 '5db66d7942606df5f48ea0db2d90b584fa3a984bc2de7bb678d25897f64e3a2f'
 'b226436970db40030ad03e9cd847c103aa534d775cd81212308e86a23917d76a'
+'SKIP'
 )


@@ -31,6 +33,7 @@ build() {
     # Remove postinstall script that rebuilds for Electron
     # Instead we just build correctly the first time
     sed -i '/postinstall/d' package.json
+    patch -Np0 -i "${srcdir}/missing-dependency.patch"

     # Electron's version.
     export npm_config_target=$(electron4 -v)
diff --git a/missing-dependency.patch b/missing-dependency.patch
new file mode 100644
index 0000000..bc0bd24
--- /dev/null
+++ b/missing-dependency.patch
@@ -0,0 +1,10 @@
+--- package.json.orig  2019-11-06 20:14:28.542628997 +0100
++++ package.json       2019-11-06 20:15:04.316149411 +0100
+@@ -70,6 +70,7 @@
+     "ssb-backlinks": "^0.7.3",
+     "ssb-blob-files": "^1.1.6",
+     "ssb-blobs": "^1.2.2",
++    "ssb-caps": "^1.1.0",
+     "ssb-client": "^4.7.8",
+     "ssb-config": "github:ssbc/ssb-config#auto-config-incoming",
+     "ssb-db": "^19.3.0",