Github messages for voidlinux
 help / color / mirror / Atom feed
From: Piraty <Piraty@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: signal-cli-java-0.6.7
Date: Sun, 31 May 2020 19:14:20 +0200	[thread overview]
Message-ID: <20200531171420.6dT2T9EbCDUMApzBfSkNDJDzc4avS0pX5QW7qPKz21M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13208@inbox.vuxu.org>

[-- 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
+}

  parent reply	other threads:[~2020-05-31 17:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
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
2020-05-26 18:53 ` facadeproof
2020-05-31 17:14 ` Piraty [this message]
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
2022-04-15  2:12 ` github-actions
2022-04-19 22:21 ` [PR PATCH] [Updated] " 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

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=20200531171420.6dT2T9EbCDUMApzBfSkNDJDzc4avS0pX5QW7qPKz21M@z \
    --to=piraty@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).