GNU bug report logs - #75570
[PATCH] gnu: Add emacs-erc.

Previous Next

Package: guix-patches;

Reported by: Arjan Adriaanse <arjan <at> adriaan.se>

Date: Wed, 15 Jan 2025 00:29:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 75570 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andrew <at> trop.in, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#75570; Package guix-patches. (Wed, 15 Jan 2025 00:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arjan Adriaanse <arjan <at> adriaan.se>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Wed, 15 Jan 2025 00:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arjan Adriaanse <arjan <at> adriaan.se>
To: guix-patches <at> gnu.org
Cc: Arjan Adriaanse <arjan <at> adriaan.se>
Subject: [PATCH] gnu: Add emacs-erc.
Date: Wed, 15 Jan 2025 01:28:59 +0100
* gnu/packages/emacs-xyz.scm (emacs-erc): New variable.

Change-Id: Ie83df977e8dbe4402c15f92e977ba121964b1e6e
---
 gnu/packages/emacs-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 160015c1b5..75a9c08b6a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -151,6 +151,7 @@
 ;;; Copyright © 2024 aurtzy <aurtzy <at> gmail.com>
 ;;; Copyright © 2024 Olivier Rojon <o.rojon <at> posteo.net>
 ;;; Copyright © 2024 Divya Ranjan Pattanaik <divya <at> subvertising.org>
+;;; Copyright © 2025 Arjan Adriaanse <arjan <at> adriaan.se>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7972,6 +7973,24 @@ (define-public emacs-zk
      "Emacs packages for working with Zettelkasten-style linked notes.")
     (license license:gpl3+)))
 
+(define-public emacs-erc
+  (package
+    (name "emacs-erc")
+    (version "5.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/erc-" version ".tar"))
+       (sha256
+        (base32 "16qyfsa2q297xcfjiacjms9v14kjwwrsp3m8kcs5s50aavzfvc1s"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-compat))
+    (home-page "https://www.gnu.org/software/emacs/erc.html")
+    (synopsis "An Emacs Internet Relay Chat client")
+    (description
+     "ERC is a powerful, modular, and extensible IRC client for Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-znc
   (package
     (name "emacs-znc")

base-commit: f9277af3affaea400e759ff35e6950a867de231c
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75570; Package guix-patches. (Fri, 14 Feb 2025 15:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 75570 <at> debbugs.gnu.org (full text, mbox):

From: Ian Eure <ian <at> retrospec.tv>
To: Arjan Adriaanse <arjan <at> adriaan.se>
Cc: Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Andrew Tropin <andrew <at> trop.in>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Divya Ranjan Pattanaik <divya <at> subvertising.org>, 75570 <at> debbugs.gnu.org
Subject: Re: [bug#75570] [PATCH] gnu: Add emacs-erc.
Date: Fri, 14 Feb 2025 07:05:02 -0800
Hi Arjan,

This package has an unusal dev/release model which presents some 
problems for Guix.  The current release of a package on ELPA gets 
a .tar suffix, and when a new release is uploaded, the old one is 
renamed to .tar.lz.  Old releases are unavailable as plain .tars, 
and new releases are unavailable as .tar.lzs.  Practically 
speaking, this means that Guix packages which download source from 
ELPA will break whenever a new version is released; this also 
causes problems for things like `guix time-machine'.

Ordinarily, I’d suggest changing the origin to use the upstream 
Git repo, but since that’s the Emacs source tree, I’m not sure 
that makse sense.

I’m cc’ing the rest of emacs-team to see if any of them have 
thoughts on this.

 -- Ian




This bug report was last modified 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.