all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34761] [PATCH] gnu: Add eternalterminal.
@ 2019-03-05 19:24 Efraim Flashner
  2019-03-05 21:39 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2019-03-05 19:24 UTC (permalink / raw)
  To: 34761

* gnu/packages/terminals.scm (eternalterminal): New variable.
---
 gnu/packages/terminals.scm | 47 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 46 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 59cbe7cec7..adae78513c 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Mckinley Olsen <mck.olsen@gmail.com>
 ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016 David Craven <david@craven.ch>
@@ -44,6 +44,7 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
@@ -60,6 +61,8 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages popt)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
@@ -1014,3 +1017,45 @@ arbitrary programs of your choice.  This is useful for browsing the history
 comfortably in a pager or editor.
 @end itemize")
     (license license:gpl3+)))
+
+(define-public eternalterminal
+  (package
+    (name "eternalterminal")
+    (version "5.1.9")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/MisterTea/EternalTerminal.git")
+               (commit (string-append "et-v" version))))
+        (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "07ynkcnk3z6wafdlnzdxcd308cw1rzabxyq47ybj79lyji3wsgk7"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DBUILD_TEST=ON")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'insert-googletests
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((tests (assoc-ref inputs "googletest")))
+               (invoke "tar" "xvf" tests "-C" "external/googletest"
+                       "--strip-components=1"))))
+         (add-after 'install 'dont-provide-gtest-libraries
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (delete-file-recursively (string-append out "/include"))
+               (delete-file-recursively (string-append out "/lib")))
+             #t)))))
+    (inputs
+     `(("gflags" ,gflags)
+       ("libsodium" ,libsodium)
+       ("protobuf" ,protobuf)))
+    (native-inputs
+     `(("googletest" ,(package-source googletest))))
+    (home-page "https://mistertea.github.io/EternalTerminal/")
+    (synopsis "Re-Connectable secure remote shell")
+    (description "Eternal Terminal is a remote shell that automatically
+reconnects without interrupting the session.")
+    (license license:asl2.0)))
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#34761] [PATCH] gnu: Add eternalterminal.
  2019-03-05 19:24 [bug#34761] [PATCH] gnu: Add eternalterminal Efraim Flashner
@ 2019-03-05 21:39 ` Tobias Geerinckx-Rice
  2019-03-11  8:32   ` bug#34761: " Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-03-05 21:39 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 34761

Efraim,

As an avid mosh user, I'm intrigued!  Mosh with working 
scoll-back?  Can it be?  :-)

Just a quick metadata-only¹ review (sorry):

Efraim Flashner wrote:
> +    (synopsis "Re-Connectable secure remote shell")

‘Re-[c]onnectable’ sounds forced and vague at the same time.

I also found these (and particularly like the first one):
- Remote shell that reconnects without interrupting the session
- Remote shell that survives disconnection and IP roaming

> +    (description "Eternal Terminal is a remote shell that 
> automatically
> +reconnects without interrupting the session.")

Can we elongate?  Looking at the home page:

  @acronym{ET, Eternal Terminal} is a remote shell that 
  automatically
  reconnects without interrupting the session.

  It uses SSH to initialize a secure connection.  However, an ET 
  session
  will survive network outages and IP roaming while SSH sessions 
  must be
  killed and reconnected after a network outage.

  ET provides the same core functionality as @command{mosh}, while 
  also
  supporting native scrolling and @command{tmux} control mode
  (@code{tmux -CC}).

The rest LGTM at first glance but I can't test it yet…

Kind regards,

T G-R

[1]: And not even the licence, which would be, like, actual work.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34761: [PATCH] gnu: Add eternalterminal.
  2019-03-05 21:39 ` Tobias Geerinckx-Rice
@ 2019-03-11  8:32   ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2019-03-11  8:32 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 34761-done

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

Thanks. Pushed with your suggestions

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-11  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-05 19:24 [bug#34761] [PATCH] gnu: Add eternalterminal Efraim Flashner
2019-03-05 21:39 ` Tobias Geerinckx-Rice
2019-03-11  8:32   ` bug#34761: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.