Subject: Re: bug#55564: gnu: Update emacs-dtache
From: Ludovic Courtès <[email-masked]>
To: Niklas Eklund <[email-masked]>
Cc: [email-masked]
Date: Fri, 27 May 2022 23:18:57 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Niklas Eklund <[email-masked]> skribis:

>>From 3614566e6e940206ad1724c788fb327fa4a8a1e4 Mon Sep 17 00:00:00 2001
> From: Niklas Eklund <[email-masked]>
> 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’.

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")