Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: signal-cli-0.6.2
Date: Sun, 21 Jul 2019 00:29:33 +0200	[thread overview]
Message-ID: <20190720222933.ENXryQDdzHMS1Z9FvJKPFbFZTQjNM4OAdDHekpf6d7k@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: 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
+}

  reply	other threads:[~2019-07-20 22:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-18 12:03 [PR PATCH] " voidlinux-github
2019-07-20 22:29 ` voidlinux-github [this message]
2019-07-20 22:29 ` [PR PATCH] [Updated] " 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 ` [PR PATCH] [Updated] " Piraty
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=20190720222933.ENXryQDdzHMS1Z9FvJKPFbFZTQjNM4OAdDHekpf6d7k@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).