* Re: [PR PATCH] [Updated] New package: signal-cli-0.6.2
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
@ 2019-07-20 22:29 ` voidlinux-github
2019-07-20 22:29 ` voidlinux-github
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: voidlinux-github @ 2019-07-20 22:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages signal-cli-java
https://github.com/void-linux/void-packages/pull/13208
New package: signal-cli-0.6.2
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
A patch file from https://github.com/void-linux/void-packages/pull/13208.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-cli-java-13208.patch --]
[-- Type: application/text/x-diff, Size: 1525 bytes --]
From 38f0882e248247c3c268a60a372b51bcc0f8df23 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Thu, 18 Jul 2019 13:12:32 +0200
Subject: [PATCH] New package: signal-cli-0.6.2
---
srcpkgs/signal-cli/template | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 srcpkgs/signal-cli/template
diff --git a/srcpkgs/signal-cli/template b/srcpkgs/signal-cli/template
new file mode 100644
index 00000000000..f787cae2fd9
--- /dev/null
+++ b/srcpkgs/signal-cli/template
@@ -0,0 +1,33 @@
+# Template file for 'signal-cli'
+pkgname=signal-cli
+version=0.6.2
+revision=1
+archs=noarch
+hostmakedepends="gradle openjdk"
+depends="virtual?java-runtime"
+short_desc="Commandline interface for libsignal-service-java"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/AsamK/signal-cli"
+distfiles="https://github.com/AsamK/signal-cli/archive/v${version}.tar.gz"
+checksum=4b80322ab774611687f04296f79bde8c0188841983b619940af1d76dfd01b22b
+
+do_build() {
+ gradle build
+}
+
+do_install() {
+ gradle installDist
+
+ vmkdir usr/lib/signal-cli
+ vcopy "build/install/signal-cli/lib/*" usr/lib/signal-cli
+
+ # overwrite the search path in the wrapper
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "s;^APP_HOME=.*;APP_HOME=/usr/lib/signal-cli/;"
+ # adapt CLASSPATH in the wrapper
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "/^CLASSPATH/s/APP_HOME\/lib/APP_HOME/g"
+
+ vbin build/install/signal-cli/bin/signal-cli
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] New package: signal-cli-0.6.2
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
2019-07-20 22:29 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-07-20 22:29 ` voidlinux-github
2020-05-13 16:34 ` [PR PATCH] [Updated] [NOMRGE] " Piraty
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: voidlinux-github @ 2019-07-20 22:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages signal-cli-java
https://github.com/void-linux/void-packages/pull/13208
New package: signal-cli-0.6.2
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
A patch file from https://github.com/void-linux/void-packages/pull/13208.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-cli-java-13208.patch --]
[-- Type: application/text/x-diff, Size: 1525 bytes --]
From 38f0882e248247c3c268a60a372b51bcc0f8df23 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Thu, 18 Jul 2019 13:12:32 +0200
Subject: [PATCH] New package: signal-cli-0.6.2
---
srcpkgs/signal-cli/template | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 srcpkgs/signal-cli/template
diff --git a/srcpkgs/signal-cli/template b/srcpkgs/signal-cli/template
new file mode 100644
index 00000000000..f787cae2fd9
--- /dev/null
+++ b/srcpkgs/signal-cli/template
@@ -0,0 +1,33 @@
+# Template file for 'signal-cli'
+pkgname=signal-cli
+version=0.6.2
+revision=1
+archs=noarch
+hostmakedepends="gradle openjdk"
+depends="virtual?java-runtime"
+short_desc="Commandline interface for libsignal-service-java"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/AsamK/signal-cli"
+distfiles="https://github.com/AsamK/signal-cli/archive/v${version}.tar.gz"
+checksum=4b80322ab774611687f04296f79bde8c0188841983b619940af1d76dfd01b22b
+
+do_build() {
+ gradle build
+}
+
+do_install() {
+ gradle installDist
+
+ vmkdir usr/lib/signal-cli
+ vcopy "build/install/signal-cli/lib/*" usr/lib/signal-cli
+
+ # overwrite the search path in the wrapper
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "s;^APP_HOME=.*;APP_HOME=/usr/lib/signal-cli/;"
+ # adapt CLASSPATH in the wrapper
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "/^CLASSPATH/s/APP_HOME\/lib/APP_HOME/g"
+
+ vbin build/install/signal-cli/bin/signal-cli
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] [NOMRGE] New package: signal-cli-0.6.2
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
2019-07-20 22:29 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-20 22:29 ` voidlinux-github
@ 2020-05-13 16:34 ` Piraty
2020-05-13 17:14 ` [WIP] New package: signal-cli-0.6.7 Piraty
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: Piraty @ 2020-05-13 16:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 919 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages signal-cli-java
https://github.com/void-linux/void-packages/pull/13208
[NOMRGE] New package: signal-cli-0.6.2
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
A patch file from https://github.com/void-linux/void-packages/pull/13208.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-cli-java-13208.patch --]
[-- Type: text/x-diff, Size: 1479 bytes --]
From b232f967fab11341c277bcf035b9211d48288533 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Thu, 18 Jul 2019 13:12:32 +0200
Subject: [PATCH] New package: signal-cli-0.6.7
---
srcpkgs/signal-cli/template | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 srcpkgs/signal-cli/template
diff --git a/srcpkgs/signal-cli/template b/srcpkgs/signal-cli/template
new file mode 100644
index 00000000000..653f82eaa26
--- /dev/null
+++ b/srcpkgs/signal-cli/template
@@ -0,0 +1,33 @@
+# Template file for 'signal-cli'
+pkgname=signal-cli
+version=0.6.7
+revision=1
+archs=noarch
+hostmakedepends="gradle openjdk8"
+depends="virtual?java-runtime"
+short_desc="Commandline and dbus interface for libsignal-service-java"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/AsamK/signal-cli"
+distfiles="https://github.com/AsamK/signal-cli/archive/v${version}.tar.gz"
+checksum=5d52a7d3227bfea1acfd9a890bdea875434589e344a31c31d3ed91dabe3f2e25
+
+do_build() {
+ gradle build
+}
+
+do_install() {
+ gradle installDist
+}
+
+post_install() {
+ vmkdir usr/lib/signal-cli
+ vcopy "build/install/signal-cli/lib/*" usr/lib/signal-cli
+
+ # wrapper: adapt search path to our custom location
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "s,^APP_HOME=.*,APP_HOME=/usr/lib/signal-cli/," \
+ -e "/^CLASSPATH/s,APP_HOME/lib,APP_HOME,g"
+
+ vbin build/install/signal-cli/bin/signal-cli
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [WIP] New package: signal-cli-0.6.7
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (2 preceding siblings ...)
2020-05-13 16:34 ` [PR PATCH] [Updated] [NOMRGE] " Piraty
@ 2020-05-13 17:14 ` Piraty
2020-05-13 19:19 ` facadeproof
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: Piraty @ 2020-05-13 17:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/13208#issuecomment-628128151
Comment:
@facadeproof if you can contribute to this, that'd speed things up
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [WIP] New package: signal-cli-0.6.7
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (3 preceding siblings ...)
2020-05-13 17:14 ` [WIP] New package: signal-cli-0.6.7 Piraty
@ 2020-05-13 19:19 ` facadeproof
2020-05-23 10:25 ` [WIP] New package: signal-cli-java-0.6.7 m3tav3rse
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: facadeproof @ 2020-05-13 19:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
New comment by facadeproof on void-packages repository
https://github.com/void-linux/void-packages/pull/13208#issuecomment-628194114
Comment:
I'm new to building packages with `pkg-src`, but from what I can see in this commit the [libmatthew-unix-java](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libmatthew-unix-java) libraries are missing and they are required for sending messages through Java unix sockets. I tried compiling it from source a couple days ago following [this](http://www.matthew.ath.cx/projects/java/) and could build it, for some reason could not get any of the front ends to send messages through `signal-cli`
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [WIP] New package: signal-cli-java-0.6.7
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (4 preceding siblings ...)
2020-05-13 19:19 ` facadeproof
@ 2020-05-23 10:25 ` m3tav3rse
2020-05-26 18:53 ` facadeproof
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: m3tav3rse @ 2020-05-23 10:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
New comment by m3tav3rse on void-packages repository
https://github.com/void-linux/void-packages/pull/13208#issuecomment-633022003
Comment:
@facadeproof I have similar problem but I also can't send messages from signal-cli.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [WIP] New package: signal-cli-java-0.6.7
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (5 preceding siblings ...)
2020-05-23 10:25 ` [WIP] New package: signal-cli-java-0.6.7 m3tav3rse
@ 2020-05-26 18:53 ` facadeproof
2020-05-31 17:14 ` [PR PATCH] [Updated] " Piraty
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: facadeproof @ 2020-05-26 18:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
New comment by facadeproof on void-packages repository
https://github.com/void-linux/void-packages/pull/13208#issuecomment-634211917
Comment:
I got it working after a bit of tinkering but I'm not sure if this is the right approach. First, change the version number on this template to 0.6.8 as the newer version [does not depend on libmatthew-unix-java](https://github.com/AsamK/signal-cli/releases/tag/v0.6.8) anymore. Then, for some reason running `signal-cli -u phone_no daemon` yielded a session bus error. I'm using a tiling window manager, so I had to change my `.xinitrc` to include `exec dbus-run-session -- bspwm` and in my `bspwmrc` include `export $(dbus-launch)` because somehow, the env variables are not being set with `dbus-run-session` (which should be enough).
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: signal-cli-java-0.6.7
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (6 preceding siblings ...)
2020-05-26 18:53 ` facadeproof
@ 2020-05-31 17:14 ` Piraty
2020-05-31 20:09 ` [PR PATCH] [Updated] [WIP] New package: signal-cli-0.6.8 (java) Piraty
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: Piraty @ 2020-05-31 17:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages signal-cli-java
https://github.com/void-linux/void-packages/pull/13208
[WIP] New package: signal-cli-java-0.6.7
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
___
TODO
- [ ] mention external libraries' licenses
- [ ] fetch external libraries via `distfiles`? (see ghidra for reference)
- [ ] (optional) provide counterparts for the systemd servies (dbus related)
A patch file from https://github.com/void-linux/void-packages/pull/13208.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-cli-java-13208.patch --]
[-- Type: text/x-diff, Size: 1482 bytes --]
From 2828d35560df43ac08de6752339084739b9928ef Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Thu, 18 Jul 2019 13:12:32 +0200
Subject: [PATCH] New package: signal-cli-0.6.8
---
srcpkgs/signal-cli/template | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 srcpkgs/signal-cli/template
diff --git a/srcpkgs/signal-cli/template b/srcpkgs/signal-cli/template
new file mode 100644
index 00000000000..a9a3992fac6
--- /dev/null
+++ b/srcpkgs/signal-cli/template
@@ -0,0 +1,33 @@
+# Template file for 'signal-cli'
+pkgname=signal-cli
+version=0.6.8
+revision=1
+archs=noarch
+hostmakedepends="gradle openjdk8"
+depends="virtual?java-runtime"
+short_desc="Commandline and dbus interface for libsignal-service-java"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/AsamK/signal-cli"
+distfiles="https://github.com/AsamK/signal-cli/archive/v${version}.tar.gz"
+checksum=43463155418d47f11fcffc3b9231ab3f6296aee35b8c1ae0d7744822a124de37
+
+do_build() {
+ gradle -v build
+}
+
+do_install() {
+ gradle installDist
+}
+
+post_install() {
+ vmkdir usr/lib/signal-cli
+ vcopy "build/install/signal-cli/lib/*" usr/lib/signal-cli
+
+ # wrapper: adapt search path to our custom location
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "s,^APP_HOME=.*,APP_HOME=/usr/lib/signal-cli/," \
+ -e "/^CLASSPATH/s,APP_HOME/lib,APP_HOME,g"
+
+ vbin build/install/signal-cli/bin/signal-cli
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: signal-cli-0.6.8 (java)
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (7 preceding siblings ...)
2020-05-31 17:14 ` [PR PATCH] [Updated] " Piraty
@ 2020-05-31 20:09 ` Piraty
2020-10-11 18:08 ` facadeproof
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: Piraty @ 2020-05-31 20:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages signal-cli-java
https://github.com/void-linux/void-packages/pull/13208
[WIP] New package: signal-cli-0.6.8 (java)
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
___
TODO
- [ ] mention external libraries' licenses
- [ ] fetch external libraries via `distfiles`? (see ghidra for reference)
- [ ] (optional) provide counterparts for the systemd servies (dbus related)
A patch file from https://github.com/void-linux/void-packages/pull/13208.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-cli-java-13208.patch --]
[-- Type: text/x-diff, Size: 1531 bytes --]
From fe985edbf6fe075e683d6e8749139f065725bd8d Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Thu, 18 Jul 2019 13:12:32 +0200
Subject: [PATCH] New package: signal-cli-0.6.8
---
srcpkgs/signal-cli/template | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 srcpkgs/signal-cli/template
diff --git a/srcpkgs/signal-cli/template b/srcpkgs/signal-cli/template
new file mode 100644
index 00000000000..6aa27146b26
--- /dev/null
+++ b/srcpkgs/signal-cli/template
@@ -0,0 +1,35 @@
+# Template file for 'signal-cli'
+pkgname=signal-cli
+version=0.6.8
+revision=1
+archs=noarch
+hostmakedepends="asciidoc gradle openjdk8"
+depends="virtual?java-runtime"
+short_desc="Commandline and dbus interface for libsignal-service-java"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/AsamK/signal-cli"
+distfiles="https://github.com/AsamK/signal-cli/archive/v${version}.tar.gz"
+checksum=43463155418d47f11fcffc3b9231ab3f6296aee35b8c1ae0d7744822a124de37
+
+do_build() {
+ gradle -v build
+ make -C man
+}
+
+do_install() {
+ gradle installDist
+}
+
+post_install() {
+ vmkdir usr/lib/signal-cli
+ vcopy "build/install/signal-cli/lib/*" usr/lib/signal-cli
+
+ # wrapper: adapt search path to our custom location
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "s,^APP_HOME=.*,APP_HOME=/usr/lib/signal-cli/," \
+ -e "/^CLASSPATH/s,APP_HOME/lib,APP_HOME,g"
+
+ vbin build/install/signal-cli/bin/signal-cli
+ vman man/signal-cli.1
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [WIP] New package: signal-cli-0.6.8 (java)
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (8 preceding siblings ...)
2020-05-31 20:09 ` [PR PATCH] [Updated] [WIP] New package: signal-cli-0.6.8 (java) Piraty
@ 2020-10-11 18:08 ` facadeproof
2020-10-12 13:12 ` facadeproof
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: facadeproof @ 2020-10-11 18:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
New comment by facadeproof on void-packages repository
https://github.com/void-linux/void-packages/pull/13208#issuecomment-634211917
Comment:
I got it working after a bit of tinkering but I'm not sure if this is the right approach. First, change the version number on this template to 0.6.8 as the newer version [does not depend on libmatthew-unix-java](https://github.com/AsamK/signal-cli/releases/tag/v0.6.8) anymore. Then, for some reason running `signal-cli -u phone_no daemon` yielded a session bus error. I'm using a tiling window manager, so I had to change my `.xinitrc` to include `exec dbus-run-session -- bspwm` and in my `bspwmrc` include `export $(dbus-launch)` because somehow, the env variables are not being set with `dbus-run-session` (which should be enough).
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [WIP] New package: signal-cli-0.6.8 (java)
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (9 preceding siblings ...)
2020-10-11 18:08 ` facadeproof
@ 2020-10-12 13:12 ` facadeproof
2022-04-15 2:12 ` github-actions
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: facadeproof @ 2020-10-12 13:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
New comment by facadeproof on void-packages repository
https://github.com/void-linux/void-packages/pull/13208#issuecomment-628194114
Comment:
I'm new to building packages with `pkg-src`, but from what I can see in this commit the [libmatthew-unix-java](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libmatthew-unix-java) libraries are missing and they are required for sending messages through Java unix sockets. I tried compiling it from source a couple days ago following [this](http://www.matthew.ath.cx/projects/java/) and could build it, for some reason could not get any of the front ends to send messages through `signal-cli`
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [WIP] New package: signal-cli-0.6.8 (java)
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (10 preceding siblings ...)
2020-10-12 13:12 ` facadeproof
@ 2022-04-15 2:12 ` github-actions
2022-04-19 22:21 ` [PR PATCH] [Updated] " Piraty
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: github-actions @ 2022-04-15 2:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/13208#issuecomment-1099786668
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: signal-cli-0.6.8 (java)
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (11 preceding siblings ...)
2022-04-15 2:12 ` github-actions
@ 2022-04-19 22:21 ` Piraty
2022-04-22 16:35 ` [PR PATCH] [Updated] [WIP] New package: signal-cli-0.10.5 (java) Piraty
2022-05-07 2:05 ` [PR PATCH] [Closed]: " github-actions
14 siblings, 0 replies; 16+ messages in thread
From: Piraty @ 2022-04-19 22:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages signal-cli-java
https://github.com/void-linux/void-packages/pull/13208
[WIP] New package: signal-cli-0.6.8 (java)
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
___
TODO
- [ ] mention external libraries' licenses
- [ ] fetch external libraries via `distfiles`? (see ghidra for reference)
- [ ] (optional) provide counterparts for the systemd servies (dbus related)
A patch file from https://github.com/void-linux/void-packages/pull/13208.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-cli-java-13208.patch --]
[-- Type: text/x-diff, Size: 1744 bytes --]
From a5eae4e6a3af8f28c74c57c43c0d7ac70702046a Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Thu, 18 Jul 2019 13:12:32 +0200
Subject: [PATCH] New package: signal-cli-0.10.5
---
srcpkgs/signal-cli/template | 41 +++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 srcpkgs/signal-cli/template
diff --git a/srcpkgs/signal-cli/template b/srcpkgs/signal-cli/template
new file mode 100644
index 000000000000..359a48dcbbff
--- /dev/null
+++ b/srcpkgs/signal-cli/template
@@ -0,0 +1,41 @@
+# Template file for 'signal-cli'
+pkgname=signal-cli
+version=0.10.5
+revision=1
+hostmakedepends="asciidoc gradle openjdk17"
+depends="virtual?java-runtime"
+short_desc="Commandline and dbus interface for libsignal-service-java"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/AsamK/signal-cli"
+distfiles="https://github.com/AsamK/signal-cli/archive/v${version}.tar.gz"
+checksum=36db3cf393c4f36e38560f33002a59a5efab4f8fe23a309c85be3da377826d6f
+
+do_build() {
+ # JAVA_HOME=/usr/lib/jvm/openjdk17/ ./gradlew -v build
+ gradle -v build
+ make ${makejobs} -C man
+}
+
+do_install() {
+ # JAVA_HOME=/usr/lib/jvm/openjdk17/ ./gradlew installDist
+ gradle installDist
+}
+
+post_install() {
+ vmkdir usr/lib/signal-cli
+ vcopy "build/install/signal-cli/lib/*" usr/lib/signal-cli
+
+ # wrapper: adapt search path to our custom location
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "s,^APP_HOME=.*,APP_HOME=/usr/lib/signal-cli/," \
+ -e "/^CLASSPATH/s,APP_HOME/lib,APP_HOME,g"
+
+ vbin build/install/signal-cli/bin/signal-cli
+ vman man/signal-cli.1
+}
+
+XXXdo_check() {
+ # JAVA_HOME=/usr/lib/jvm/openjdk17/ ./gradlew check
+ gradle check
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: signal-cli-0.10.5 (java)
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (12 preceding siblings ...)
2022-04-19 22:21 ` [PR PATCH] [Updated] " Piraty
@ 2022-04-22 16:35 ` Piraty
2022-05-07 2:05 ` [PR PATCH] [Closed]: " github-actions
14 siblings, 0 replies; 16+ messages in thread
From: Piraty @ 2022-04-22 16:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages signal-cli-java
https://github.com/void-linux/void-packages/pull/13208
[WIP] New package: signal-cli-0.10.5 (java)
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
___
TODO
- [ ] mention external libraries' licenses
- [ ] fetch external libraries via `distfiles`? (see ghidra for reference)
- [ ] (optional) provide counterparts for the systemd servies (dbus related)
A patch file from https://github.com/void-linux/void-packages/pull/13208.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signal-cli-java-13208.patch --]
[-- Type: text/x-diff, Size: 1627 bytes --]
From 79051ad62814921978d1093f7ba0f252c6eeb7e2 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Thu, 18 Jul 2019 13:12:32 +0200
Subject: [PATCH] New package: signal-cli-0.10.5
---
srcpkgs/signal-cli/template | 39 +++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 srcpkgs/signal-cli/template
diff --git a/srcpkgs/signal-cli/template b/srcpkgs/signal-cli/template
new file mode 100644
index 000000000000..d4bd64fb715e
--- /dev/null
+++ b/srcpkgs/signal-cli/template
@@ -0,0 +1,39 @@
+# Template file for 'signal-cli'
+pkgname=signal-cli
+version=0.10.5
+revision=1
+hostmakedepends="asciidoc gradle openjdk17"
+#XXX: depends on https://github.com/signalapp/libsignal
+depends="virtual?java-runtime"
+short_desc="Commandline and dbus interface for libsignal-service-java"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/AsamK/signal-cli"
+distfiles="https://github.com/AsamK/signal-cli/archive/v${version}.tar.gz"
+checksum=36db3cf393c4f36e38560f33002a59a5efab4f8fe23a309c85be3da377826d6f
+
+do_build() {
+ gradle -v build
+ make ${makejobs} -C man
+}
+
+do_install() {
+ gradle installDist
+}
+
+post_install() {
+ vmkdir usr/lib/signal-cli
+ vcopy "build/install/signal-cli/lib/*" usr/lib/signal-cli
+
+ # wrapper: adapt search path to our custom location
+ vsed -i build/install/signal-cli/bin/signal-cli \
+ -e "s,^APP_HOME=.*,APP_HOME=/usr/lib/signal-cli/," \
+ -e "/^CLASSPATH/s,APP_HOME/lib,APP_HOME,g"
+
+ vbin build/install/signal-cli/bin/signal-cli
+ vman man/signal-cli.1
+}
+
+do_check() {
+ gradle check
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Closed]: [WIP] New package: signal-cli-0.10.5 (java)
2019-07-18 12:03 [PR PATCH] New package: signal-cli-0.6.2 voidlinux-github
` (13 preceding siblings ...)
2022-04-22 16:35 ` [PR PATCH] [Updated] [WIP] New package: signal-cli-0.10.5 (java) Piraty
@ 2022-05-07 2:05 ` github-actions
14 siblings, 0 replies; 16+ messages in thread
From: github-actions @ 2022-05-07 2:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 975 bytes --]
There's a closed pull request on the void-packages repository
[WIP] New package: signal-cli-0.10.5 (java)
https://github.com/void-linux/void-packages/pull/13208
Description:
https://github.com/AsamK/signal-cli
Rudimentary Signal interface written in java for basic cli interactions, based on [libsignal-protocol-java](https://github.com/signalapp/libsignal-protocol-java/)
Unfortunately there doesn't seem to be anything useful based on [libsignal-protocol-c](https://github.com/signalapp/libsignal-protocol-c) yet.
I'm unsure if the package should better be named signal-cli-java instead?
Projects using it include (which i might look into packaging after some evaluation)
- https://github.com/isamert/scli
- https://github.com/TopView/signal-say
___
TODO
- [ ] mention external libraries' licenses
- [ ] fetch external libraries via `distfiles`? (see ghidra for reference)
- [ ] (optional) provide counterparts for the systemd servies (dbus related)
^ permalink raw reply [flat|nested] 16+ messages in thread