Package: emacs-goodies-el
Version: 42.5
Severity: wishlist

Hi,

emacs-goodies-el depends on a list of useful Emacs addons.  While most
of them are useful, it is less flexible that a user would have to
install all of them even if some of the packages are not of interest.
Given that APT supports Recommends, I would like propose that
emacs-goodies-el to use Recommends instead of Depends for those
packages, so that a user can choose to leave certain package uninstalled
while still benefits from other packages that this meta package
provides.

This is implemented in a MR[1], and the patch is attached.  PTAL.  TIA!

(Note that I have commit access to the repo so you can leave the merging
to me once you LGTM the patches.)

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-25-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[1] https://salsa.debian.org/emacsen-team/emacs-goodies-el/-/merge_requests/2

-- 
Xiyue Deng

>From 4f61a5b7ee5f14e14523b05c31e1de8673f72568 Mon Sep 17 00:00:00 2001
From: Xiyue Deng <manp...@gmail.com>
Date: Sun, 29 Sep 2024 04:06:25 -0700
Subject: [PATCH] Move packages in Depends to Recommends

* This gives some flexibility for users that don't want certain
packages in the list.
* This may also lower the threshold of introducing new packages to
goodies as users have more flexibility to choose to install or not.
* Update the package description accordingly.
---
 debian/control | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index 1d3f97f..2a45f03 100644
--- a/debian/control
+++ b/debian/control
@@ -14,29 +14,30 @@ Vcs-Git: https://salsa.debian.org/emacsen-team/emacs-goodies-el.git
 Package: emacs-goodies-el
 Architecture: all
 Depends: ${misc:Depends}
- , elpa-browse-kill-ring
- , elpa-diminish
- , elpa-htmlize
- , elpa-markdown-mode
- , elpa-csv-mode
- , elpa-graphviz-dot-mode
- , elpa-apache-mode
- , elpa-bm
- , elpa-boxquote
- , elpa-session
- , elpa-pod-mode
- , elpa-tabbar
- , elpa-eproject
- , elpa-initsplit
- , elpa-bar-cursor
- , elpa-mutt-alias
- , elpa-folding
- , elpa-muttrc-mode
-Recommends: elpa-color-theme-modern
+Recommends:
+ elpa-browse-kill-ring,
+ elpa-diminish,
+ elpa-htmlize,
+ elpa-markdown-mode,
+ elpa-csv-mode,
+ elpa-graphviz-dot-mode,
+ elpa-apache-mode,
+ elpa-bm,
+ elpa-boxquote,
+ elpa-session,
+ elpa-pod-mode,
+ elpa-tabbar,
+ elpa-eproject,
+ elpa-initsplit,
+ elpa-bar-cursor,
+ elpa-mutt-alias,
+ elpa-folding,
+ elpa-muttrc-mode,
+ elpa-color-theme-modern,
 Replaces: emacs-goodies-extra-el
 Provides: emacs-goodies-extra-el
 Description: Miscellaneous add-ons for Emacs
- This is a now a metapackage that installs the elpa-* packages
+ This is a now a metapackage that recommends the elpa-* packages
  corresponding to some of the previously bundled add-ons.
  .
  See /usr/share/doc/emacs-goodies-el/README.Debian.gz for a discussion
-- 
2.45.2

Reply via email to