unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55564] gnu: Update emacs-dtache
@ 2022-05-21 21:28 Niklas Eklund
  2022-05-27 21:18 ` bug#55564: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Niklas Eklund @ 2022-05-21 21:28 UTC (permalink / raw)
  To: 55564

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

Hi,

I have both renamed the package dtache -> detached as well as moving the
development from gitlab to sourcehut. This patch reflects those changes, as
well as updating to the latest release of the package.

/Niklas

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 3648 bytes --]

From 3614566e6e940206ad1724c788fb327fa4a8a1e4 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
Date: Sat, 21 May 2022 23:25:45 +0200
Subject: [PATCH] gnu: emacs-detached: Update to 0.7.

* gnu/packages/emacs-xyz.scm (emacs-detached): Update to 0.7.

I have both renamed the package dtache -> detached as well as moving the
development from gitlab to sourcehut. This patch reflects those changes, as
well as updating to the latest release of the package.
---
 gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ae81f4e395..ccc28dd997 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24349,47 +24349,47 @@ (define-public emacs-cmake-font-lock
 according to their use.")
       (license license:gpl3+))))
 
-(define-public emacs-dtache
+(define-public emacs-detached
   (package
-    (name "emacs-dtache")
-    (version "0.5")
+    (name "emacs-detached")
+    (version "0.7")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://gitlab.com/niklaseklund/dtache")
+                    (url "https://git.sr.ht/~niklaseklund/detached.el")
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "05gm5l533y8xr00w3c3i4fbhzhib6i7q2bbnpkm08w1n8a08iaj5"))))
+                "160h60vrpxslw6y290ndc065cc75dab58aq7kjqash94vkifnii2"))))
     (arguments
      (list
       #:tests? #t
       #:test-command #~(list "ert-runner")
       #:phases
       #~(modify-phases %standard-phases
-          (add-before 'install 'install-dtache-env
+          (add-before 'install 'install-detached-env
             (lambda _
-              (install-file "dtache-env" (string-append #$output "/bin"))))
+              (install-file "detached-env" (string-append #$output "/bin"))))
           (add-after 'unpack 'configure
             (lambda* (#:key inputs #:allow-other-keys)
-              (make-file-writable "dtache.el")
-              (emacs-substitute-variables "dtache.el"
-                ("dtache-env"
-                 (string-append #$output "/bin/dtache-env"))
-                ("dtache-dtach-program"
+              (make-file-writable "detached.el")
+              (emacs-substitute-variables "detached.el"
+                ("detached-env"
+                 (string-append #$output "/bin/detached-env"))
+                ("detached-dtach-program"
                  (search-input-file inputs "/bin/dtach"))
-                ("dtache-shell-program"
+                ("detached-shell-program"
                  (search-input-file inputs "/bin/bash"))))))))
     (build-system emacs-build-system)
     (native-inputs (list emacs-ert-runner))
     (inputs (list dtach))
-    (home-page "https://gitlab.com/niklaseklund/dtache")
-    (synopsis "Run and interact with detached shell commands")
+    (home-page "https://git.sr.ht/~niklaseklund/detached.el")
+    (synopsis "A package to launch, and manage, detached processes")
     (description
-     "The dtache package allows users to run shell commands
-detached from Emacs.  These commands are launched in sessions, using the
-program dtach.")
+     "The detached package allows users to run processes
+detached from Emacs.  It provides integration with multiple built-in modes, as
+well as providing an interface to attach and interact with the processes.")
     (license license:gpl3+)))
 
 (define-public emacs-dtrt-indent
-- 
2.34.0


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

* bug#55564: gnu: Update emacs-dtache
  2022-05-21 21:28 [bug#55564] gnu: Update emacs-dtache Niklas Eklund
@ 2022-05-27 21:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-05-27 21:18 UTC (permalink / raw)
  To: Niklas Eklund; +Cc: 55564-done

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

Hi,

Niklas Eklund <niklas.eklund@posteo.net> skribis:

>>From 3614566e6e940206ad1724c788fb327fa4a8a1e4 Mon Sep 17 00:00:00 2001
> From: Niklas Eklund <niklas.eklund@posteo.net>
> Date: Sat, 21 May 2022 23:25:45 +0200
> Subject: [PATCH] gnu: emacs-detached: Update to 0.7.
>
> * gnu/packages/emacs-xyz.scm (emacs-detached): Update to 0.7.
>
> I have both renamed the package dtache -> detached as well as moving the
> development from gitlab to sourcehut. This patch reflects those changes, as
> well as updating to the latest release of the package.

Nice to get a patch straight from upstream.  :-)

I applied it with the additional hunk below so that users referring to
the old name in their manifest or profile will get a smooth transition.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 499 bytes --]

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f9c3c61946..ed1b005d6e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24391,6 +24391,9 @@ (define-public emacs-detached
 well as providing an interface to attach and interact with the processes.")
     (license license:gpl3+)))
 
+(define-public emacs-dtache
+  (deprecated-package "emacs-dtache" emacs-detached))
+
 (define-public emacs-dtrt-indent
   (package
     (name "emacs-dtrt-indent")

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

end of thread, other threads:[~2022-05-27 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-21 21:28 [bug#55564] gnu: Update emacs-dtache Niklas Eklund
2022-05-27 21:18 ` bug#55564: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).