Subject: bug#56340: Change erc dependencies (ELPA question)

From: "J.P." <[email-masked]>
Date: Tue, 11 Oct 2022 19:52:24 -0700

Hi Stefan,

Lars Ingebrigtsen <[email-masked]> writes:

> I don't know about ELPA manifests either; perhaps somebody else can
> chime in...

ERC will be introducing some new files soon, but not all in one go. I
was therefore wondering if it'd be possible to modify our ELPA-packages
entry to be more resilient to piecemeal changes.

The attached patch appears to produce an identical tarball, but it's
quite possible I'm just fooling myself. Can you take a peek sometime?

Thanks,
J.P.
>From e53b67887c194092bbf7e1f077e5592d7e8df71c Mon Sep 17 00:00:00 2001
From: "F. Jason Park" <[email-masked]>
Date: Tue, 11 Oct 2022 18:51:30 -0700
Subject: [PATCH] * elpa-packages (erc): Use lisp/erc/ and `:excludes'

---
 elpa-packages | 38 ++------------------------------------
 1 file changed, 2 insertions(+), 36 deletions(-)

diff --git a/elpa-packages b/elpa-packages
index 8471f70032..015e21caf4 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -296,47 +296,13 @@
  ("enwc"		:url "hg::https://hg.savannah.nongnu.org/hgweb/enwc/")
  ("epoch-view"		:url nil)
  ("erc"
-  :core ("lisp/erc/erc-autoaway.el"
-         "lisp/erc/erc-backend.el"
-         "lisp/erc/erc-button.el"
-         "lisp/erc/erc-capab.el"
-         "lisp/erc/erc-compat.el"
-         "lisp/erc/erc-dcc.el"
-         "lisp/erc/erc-desktop-notifications.el"
-         "lisp/erc/erc-ezbounce.el"
-         "lisp/erc/erc-fill.el"
-         "lisp/erc/erc-goodies.el"
-         "lisp/erc/erc-ibuffer.el"
-         "lisp/erc/erc-identd.el"
-         "lisp/erc/erc-imenu.el"
-         "lisp/erc/erc-join.el"
-         "lisp/erc/erc-lang.el"
-         "lisp/erc/erc-list.el"
-         "lisp/erc/erc-log.el"
-         "lisp/erc/erc-match.el"
-         "lisp/erc/erc-menu.el"
-         "lisp/erc/erc-netsplit.el"
-         "lisp/erc/erc-networks.el"
-         "lisp/erc/erc-notify.el"
-         "lisp/erc/erc-page.el"
-         "lisp/erc/erc-pcomplete.el"
-         "lisp/erc/erc-replace.el"
-         "lisp/erc/erc-ring.el"
-         "lisp/erc/erc-services.el"
-         "lisp/erc/erc-sound.el"
-         "lisp/erc/erc-speedbar.el"
-         "lisp/erc/erc-spelling.el"
-         "lisp/erc/erc-stamp.el"
-         "lisp/erc/erc-status-sidebar.el"
-         "lisp/erc/erc-track.el"
-         "lisp/erc/erc-truncate.el"
-         "lisp/erc/erc-xdcc.el"
-         "lisp/erc/erc.el"
+  :core ("lisp/erc/"
          "doc/emacs/doclicense.texi"
          "doc/emacs/docstyle.texi"
          "doc/misc/erc.texi"
          "etc/ERC-NEWS"
          "COPYING")
+  :excludes ("lisp/erc/erc-loaddefs.el" "lisp/erc/ChangeLog.*")
   :shell-command "(echo '@set ERCDIST from GNU ELPA'; echo '@set EMACSVER') >emacsver.texi"
   :doc "erc.texi"
   :news "ERC-NEWS")
-- 
2.37.3