Bug#1138884: dh-elpa: simplify emacs-bundled addon handling

Xiyue Deng <[email protected]> Fri, 12 Jun 2026 23:23:04 -0700
Newsgroups gmane.linux.debian.devel.emacsen
Message-ID <87o6hf7yd3.fsf__41512.5921181001$1781331927$gmane$org@debian-hx90.lan>
Sean Whitton <[email protected]> writes:

> Xiyue Deng [11/Jun  7:13pm -07] wrote:
>> Hi Sean,
>>
>> Sean Whitton <[email protected]> writes:
>>
>>> Xiyue Deng [10/Jun 11:23pm -07] wrote:
>>>> So I guess this can really work!
>>>
>>> Nice.
>>>
>>>> Will continue with this after the integration test is merged so that
>>>> we have some test coverage.
>>>
>>> IMO this is more important than that other work and can merge first.
>>
>> Ah I was hoping that the test branch is safer as it doesn't change any
>> functions and can go in first.
>>
>> Anyway, I experimented a change[1] and tested it in the
>> `built-in-addon-handling' branch, and rebased it on to the test branch
>> for testing. One of the test cases has cl-lib in Package-Requires, and
>> the generated diff looked OK[2].
>>
>> So now we only remove `emacs' from the list of dependencies. The code
>> can be further simplified, but I'd like to keep the current structure in
>> case we want to do more later.
>
> I think I'd prefer to strip out everything we don't need anymore -- it's
> always there in the Git history if required again.

Ack. Now I only keep the comparison with "emacs". Also shortened the doc
string. PTAL.

-- 
Regards,
Xiyue Deng
signature.asc (application/pgp-signature, 857 B)
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEiKQfd6o81mjI+LWALell7WOCXJMFAmos90gSHG1hbnBoaXpA
Z21haWwuY29tAAoJEC3pZe1jglyT9z8P/3O75CE1HimxDCUy+ouiid0GpUOJ2JcH
WquatonimaO5KwTtaT9Wvk/ALph+68SyfV/GjQWmB+OOAOWTQogVCFKfCdIHjvKb
t3tvLqQOtOR1YA+vIfgsZaG9jvbBpSwvbJLKWPHnPG9UR5UPJqPUQOI2oBijH3fw
Y7j4xjiNo+Z/MA1KCtkYI/pZroWGUUp5VKPQ9+SgPv2RaUBjuVN223lYr4hGy6iB
UoHakp2l0Mu+Sj/c3aRMe/cVDiQHAdEG4s/uqt+0eHx0WujPfV1bEdb8fRg7WMgO
QcRaCG8YXpjN1vZqyTaCLBLHgNEt7uhws2Dcl5WgjY0wDNU4IVY0NF1O8VohB69s
T2KxX47sHoxqdwoiRHJSegAhbKLwp/P6A8Sgc6JvtHNU+EYV5nkAHPBTSvMue7BY
3HaeEz/OimChj5LBgc12id5+1P8kEvFG9lzlwekaEsp14UTjD1nUDkbxVc2W6Yww
jN8W68JgaeMsnjIb3JEch9SBUAd438EfMrZmn1O5wg28OHbhGYFOMMXgosgjpOdR
ks4/4UAKRtq35a2ATeBRX9EoZucD/O25XxM1WDqSZMgH6SuqKf7JbZQWEep9oGCp
If/mp12/1znnx0qnpyFHIQW078iuI40q3OBxCOCORamC0OheX8QtjAl9P/DcHS7D
goiHJeoTP5H3
=ke8v
-----END PGP SIGNATURE-----