Sean Whitton <spwhit...@spwhitton.name> writes:

> Hello,
>
> On Tue 15 Jul 2025 at 04:15pm -07, Xiyue Deng wrote:
>
>> Sean Whitton <spwhit...@spwhitton.name> writes:
>>
>>> Hello,
>>>
>>> On Tue 15 Jul 2025 at 10:45am -07, Xiyue Deng wrote:
>>>
>>>> Acknowledged.  I thought there was a bug report from Stefano about the
>>>> upgrading issue regarding Emacs backports, which turns out to be just an
>>>> email to debian-backports[1].  That said, Cyril seemed to support this
>>>> idea for a better upgrade experience, though not officially as a RT
>>>> member.  As the issue is real, maybe we can file this as an important
>>>> bug? (It would sound a bit like tricking the system though but not
>>>> really :P)
>>>>
>>>> Still, I'm also OK with postponing this to Forky to avoid causing
>>>> additional issues.
>>>
>>> No -- my suggestion is to add manually generated
>>> Provides/Conflicts/etc. to trixie to fix this problem.
>>>
>>
>> Just to confirm: is the substvars based solution OK for Trixie (as done
>> in my updated patchs in my other email), or were you expecting the
>> provides/replaces info directly put in d/control (like my earlier
>> approach based on d/control.in but only keep the generated d/control)?
>
> I mean the latter.
>

Ack.  Please see the patch attached.

> -- 
> Sean Whitton

-- 
Regards,
Xiyue Deng
From ccdb8965a3ad5f313ff95aace03384c2fd102026 Mon Sep 17 00:00:00 2001
From: Xiyue Deng <manp...@gmail.com>
Date: Wed, 16 Jul 2025 10:53:48 -0700
Subject: [PATCH] Emacs provides/breaks/replaces for built-in addons in
 d/control only

---
 debian/control | 231 ++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 230 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 86cd8976b46..ce2420ab70f 100644
--- a/debian/control
+++ b/debian/control
@@ -191,8 +191,237 @@ Breaks:
  emacs-gtk (<< 1:25),
  emacs-lucid (<< 1:25),
  emacs-nox (<< 1:25),
+ elpa-allout (<< 2.3),
+ elpa-allout-widgets (<< 1.0),
+ elpa-ansi-color (<< 3.4.2),
+ elpa-antlr-mode (<< 2.2.3),
+ elpa-auth-source-pass (<< 5.0.0),
+ elpa-backtrace (<< 1.0),
+ elpa-bind-key (<< 2.4.1),
+ elpa-cc-mode (<< 5.33.1),
+ elpa-cedet (<< 2.0),
+ elpa-cfengine (<< 1.4),
+ elpa-cl-generic (<< 1.0),
+ elpa-cl-lib (<< 1.0),
+ elpa-cl-print (<< 1.0),
+ elpa-compat (<< 30.1.9999),
+ elpa-ede (<< 2.0),
+ elpa-ediff (<< 2.81.6),
+ elpa-editorconfig (<< 0.11.0),
+ elpa-eglot (<< 1.17.30),
+ elpa-eieio (<< 1.4),
+ elpa-eieio-core (<< 1.4),
+ elpa-eldoc (<< 1.15.0),
+ elpa-epg (<< 1.0.0),
+ elpa-erc (<< 5.6.0.30.1),
+ elpa-eshell (<< 2.4.2),
+ elpa-external-completion (<< 0.1),
+ elpa-faceup (<< 0.0.6),
+ elpa-feedmail (<< 11),
+ elpa-find-cmd (<< 0.6),
+ elpa-flymake (<< 1.3.7),
+ elpa-flymake-proc (<< 1.0),
+ elpa-foldout (<< 1.10),
+ elpa-gnus (<< 5.13),
+ elpa-idlwave (<< 6.1.22),
+ elpa-image-dired (<< 0.5),
+ elpa-info-xref (<< 3),
+ elpa-isearchb (<< 1.5),
+ elpa-js (<< 9),
+ elpa-json (<< 1.5),
+ elpa-jsonrpc (<< 1.0.25),
+ elpa-let-alist (<< 1.0.6),
+ elpa-map (<< 3.3.1),
+ elpa-meta-mode (<< 1.0),
+ elpa-mh-e (<< 8.6~snapshot),
+ elpa-mixal-mode (<< 0.4),
+ elpa-nadvice (<< 1.0),
+ elpa-ntlm (<< 2.1.0),
+ elpa-org (<< 9.7.11),
+ elpa-package (<< 1.1.0),
+ elpa-peg (<< 1.0.1),
+ elpa-project (<< 0.11.1),
+ elpa-ps-mode (<< 1.1.9),
+ elpa-pulse (<< 1.0),
+ elpa-python (<< 0.28),
+ elpa-ruby-mode (<< 1.2),
+ elpa-ruby-ts-mode (<< 0.2),
+ elpa-semantic (<< 2.2),
+ elpa-seq (<< 2.24),
+ elpa-so-long (<< 1.1.2),
+ elpa-soap-client (<< 3.2.3),
+ elpa-sql (<< 3.6),
+ elpa-srecode (<< 1.2),
+ elpa-svg (<< 1.1),
+ elpa-tabulated-list (<< 1.0),
+ elpa-thunk (<< 1.0),
+ elpa-tildify (<< 4.6.1),
+ elpa-track-changes (<< 1.2),
+ elpa-tramp (<< 2.7.1.30.1),
+ elpa-transient (<< 0.7.2.2),
+ elpa-use-package (<< 2.4.6),
+ elpa-vera-mode (<< 2.28),
+ elpa-verilog-mode (<< 2024.3.1.121933719),
+ elpa-viper (<< 3.14.2),
+ elpa-which-key (<< 3.6.0),
+ elpa-whitespace (<< 13.2.2),
+ elpa-window-tool-bar (<< 0.2.1),
+ elpa-xref (<< 1.7.0),
 Replaces:
- emacs-bin-common (<< 1:28)
+ emacs-bin-common (<< 1:28),
+ elpa-allout (<< 2.3),
+ elpa-allout-widgets (<< 1.0),
+ elpa-ansi-color (<< 3.4.2),
+ elpa-antlr-mode (<< 2.2.3),
+ elpa-auth-source-pass (<< 5.0.0),
+ elpa-backtrace (<< 1.0),
+ elpa-bind-key (<< 2.4.1),
+ elpa-cc-mode (<< 5.33.1),
+ elpa-cedet (<< 2.0),
+ elpa-cfengine (<< 1.4),
+ elpa-cl-generic (<< 1.0),
+ elpa-cl-lib (<< 1.0),
+ elpa-cl-print (<< 1.0),
+ elpa-compat (<< 30.1.9999),
+ elpa-ede (<< 2.0),
+ elpa-ediff (<< 2.81.6),
+ elpa-editorconfig (<< 0.11.0),
+ elpa-eglot (<< 1.17.30),
+ elpa-eieio (<< 1.4),
+ elpa-eieio-core (<< 1.4),
+ elpa-eldoc (<< 1.15.0),
+ elpa-epg (<< 1.0.0),
+ elpa-erc (<< 5.6.0.30.1),
+ elpa-eshell (<< 2.4.2),
+ elpa-external-completion (<< 0.1),
+ elpa-faceup (<< 0.0.6),
+ elpa-feedmail (<< 11),
+ elpa-find-cmd (<< 0.6),
+ elpa-flymake (<< 1.3.7),
+ elpa-flymake-proc (<< 1.0),
+ elpa-foldout (<< 1.10),
+ elpa-gnus (<< 5.13),
+ elpa-idlwave (<< 6.1.22),
+ elpa-image-dired (<< 0.5),
+ elpa-info-xref (<< 3),
+ elpa-isearchb (<< 1.5),
+ elpa-js (<< 9),
+ elpa-json (<< 1.5),
+ elpa-jsonrpc (<< 1.0.25),
+ elpa-let-alist (<< 1.0.6),
+ elpa-map (<< 3.3.1),
+ elpa-meta-mode (<< 1.0),
+ elpa-mh-e (<< 8.6~snapshot),
+ elpa-mixal-mode (<< 0.4),
+ elpa-nadvice (<< 1.0),
+ elpa-ntlm (<< 2.1.0),
+ elpa-org (<< 9.7.11),
+ elpa-package (<< 1.1.0),
+ elpa-peg (<< 1.0.1),
+ elpa-project (<< 0.11.1),
+ elpa-ps-mode (<< 1.1.9),
+ elpa-pulse (<< 1.0),
+ elpa-python (<< 0.28),
+ elpa-ruby-mode (<< 1.2),
+ elpa-ruby-ts-mode (<< 0.2),
+ elpa-semantic (<< 2.2),
+ elpa-seq (<< 2.24),
+ elpa-so-long (<< 1.1.2),
+ elpa-soap-client (<< 3.2.3),
+ elpa-sql (<< 3.6),
+ elpa-srecode (<< 1.2),
+ elpa-svg (<< 1.1),
+ elpa-tabulated-list (<< 1.0),
+ elpa-thunk (<< 1.0),
+ elpa-tildify (<< 4.6.1),
+ elpa-track-changes (<< 1.2),
+ elpa-tramp (<< 2.7.1.30.1),
+ elpa-transient (<< 0.7.2.2),
+ elpa-use-package (<< 2.4.6),
+ elpa-vera-mode (<< 2.28),
+ elpa-verilog-mode (<< 2024.3.1.121933719),
+ elpa-viper (<< 3.14.2),
+ elpa-which-key (<< 3.6.0),
+ elpa-whitespace (<< 13.2.2),
+ elpa-window-tool-bar (<< 0.2.1),
+ elpa-xref (<< 1.7.0),
+Provides:
+ elpa-allout (= 2.3),
+ elpa-allout-widgets (= 1.0),
+ elpa-ansi-color (= 3.4.2),
+ elpa-antlr-mode (= 2.2.3),
+ elpa-auth-source-pass (= 5.0.0),
+ elpa-backtrace (= 1.0),
+ elpa-bind-key (= 2.4.1),
+ elpa-cc-mode (= 5.33.1),
+ elpa-cedet (= 2.0),
+ elpa-cfengine (= 1.4),
+ elpa-cl-generic (= 1.0),
+ elpa-cl-lib (= 1.0),
+ elpa-cl-print (= 1.0),
+ elpa-compat (= 30.1.9999),
+ elpa-ede (= 2.0),
+ elpa-ediff (= 2.81.6),
+ elpa-editorconfig (= 0.11.0),
+ elpa-eglot (= 1.17.30),
+ elpa-eieio (= 1.4),
+ elpa-eieio-core (= 1.4),
+ elpa-eldoc (= 1.15.0),
+ elpa-epg (= 1.0.0),
+ elpa-erc (= 5.6.0.30.1),
+ elpa-eshell (= 2.4.2),
+ elpa-external-completion (= 0.1),
+ elpa-faceup (= 0.0.6),
+ elpa-feedmail (= 11),
+ elpa-find-cmd (= 0.6),
+ elpa-flymake (= 1.3.7),
+ elpa-flymake-proc (= 1.0),
+ elpa-foldout (= 1.10),
+ elpa-gnus (= 5.13),
+ elpa-idlwave (= 6.1.22),
+ elpa-image-dired (= 0.5),
+ elpa-info-xref (= 3),
+ elpa-isearchb (= 1.5),
+ elpa-js (= 9),
+ elpa-json (= 1.5),
+ elpa-jsonrpc (= 1.0.25),
+ elpa-let-alist (= 1.0.6),
+ elpa-map (= 3.3.1),
+ elpa-meta-mode (= 1.0),
+ elpa-mh-e (= 8.6~snapshot),
+ elpa-mixal-mode (= 0.4),
+ elpa-nadvice (= 1.0),
+ elpa-ntlm (= 2.1.0),
+ elpa-org (= 9.7.11),
+ elpa-package (= 1.1.0),
+ elpa-peg (= 1.0.1),
+ elpa-project (= 0.11.1),
+ elpa-ps-mode (= 1.1.9),
+ elpa-pulse (= 1.0),
+ elpa-python (= 0.28),
+ elpa-ruby-mode (= 1.2),
+ elpa-ruby-ts-mode (= 0.2),
+ elpa-semantic (= 2.2),
+ elpa-seq (= 2.24),
+ elpa-so-long (= 1.1.2),
+ elpa-soap-client (= 3.2.3),
+ elpa-sql (= 3.6),
+ elpa-srecode (= 1.2),
+ elpa-svg (= 1.1),
+ elpa-tabulated-list (= 1.0),
+ elpa-thunk (= 1.0),
+ elpa-tildify (= 4.6.1),
+ elpa-track-changes (= 1.2),
+ elpa-tramp (= 2.7.1.30.1),
+ elpa-transient (= 0.7.2.2),
+ elpa-use-package (= 2.4.6),
+ elpa-vera-mode (= 2.28),
+ elpa-verilog-mode (= 2024.3.1.121933719),
+ elpa-viper (= 3.14.2),
+ elpa-which-key (= 3.6.0),
+ elpa-whitespace (= 13.2.2),
+ elpa-window-tool-bar (= 0.2.1),
+ elpa-xref (= 1.7.0),
 Description: GNU Emacs editor's shared, architecture independent infrastructure
  GNU Emacs is the extensible self-documenting text editor.
  This package contains the architecture independent infrastructure
-- 
2.50.0

Attachment: signature.asc
Description: PGP signature

Reply via email to