Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1250456

Bug#1103033: emacs: generate versioned Provides for all :core packages

From Sean Whitton <spwhitton@spwhitton.name>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103033: emacs: generate versioned Provides for all :core packages
Date 2025-06-19 14:50 +0200
Message-ID <KZmSl-bFaB-5@gated-at.bofh.it> (permalink)
References (7 earlier) <KZ1NT-brB3-9@gated-at.bofh.it> <KBgXL-dlMz-1@gated-at.bofh.it> <KZcSZ-byZE-1@gated-at.bofh.it> <KBgXL-dlMz-1@gated-at.bofh.it> <KZcSZ-byZE-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On Wed 18 Jun 2025 at 07:07pm -07, Xiyue Deng wrote:

> Ah didn't think about that.  I think it's better than using control.in
> in general, though there are the "unused" warning on other packages
> (using "?=" doesn't seem to help).

I don't follow.

> One advantage of generating d/control that I like is that we can see the
> provide list directly and can inspect the diff on regeneration.  To get
> something similar, I have each package version pair as one line of
> comment in the substvars file before setting emacs:Provides (the
> substitute variable I'm using for now).  This way we get something
> similar.

True.

> Somehow I cannot use debian/substvars or debian/<package>.substvars
> (which probably got removed by "clean") and need to use
> override_dh_gencontrol to pass the generated substvars file (I'm using
> debian/emacs-substvars).  Let me know if there is a better way.

I don't know how to do it off the top of my head, either.  But I'm sure
it can be done.  Look at how dh_elpa does it, I guess?

>> I see you're using package--builtin-versions.  I'm not happy to be using
>> an internal variable -- it got us in trouble before!
>>
>
> Current there seems to be no way to get the builtin package info
> otherwise.  Fortunately we can easily verify whether it still works by
> running "debian/rules debian-sync" and inspect the diff in
> debian/emacs-substvars.
>
> Meanwhile I'll try to file a wishlist bug upstream and migrate in
> future.

I'm not up for merging that, I'm afraid.  I think we need a public
function first.

-- 
Sean Whitton

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1103033: dh-elpa: Handle version of built-in package better Xiyue Deng <manphiz@gmail.com> - 2025-04-14 03:40 +0200
  Bug#1103033: dh-elpa: Handle version of built-in package better Sean Whitton <spwhitton@spwhitton.name> - 2025-04-14 04:50 +0200
    Bug#1103033: dh-elpa: Handle version of built-in package better Xiyue Deng <manphiz@gmail.com> - 2025-04-14 06:00 +0200
      Bug#1103033: dh-elpa: Handle version of built-in package better Sean Whitton <spwhitton@spwhitton.name> - 2025-04-14 06:30 +0200
        Bug#1103033: dh-elpa: Handle version of built-in package better Xiyue Deng <manphiz@gmail.com> - 2025-04-14 06:40 +0200
        Bug#1103033: emacs: generate versioned Provides for all :core packages Xiyue Deng <manphiz@gmail.com> - 2025-06-17 03:10 +0200
          Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-06-18 16:20 +0200
            Bug#1103033: emacs: generate versioned Provides for all :core packages Xiyue Deng <manphiz@gmail.com> - 2025-06-19 04:10 +0200
              Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-06-19 14:50 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-06-20 13:40 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-04 14:40 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-04 22:50 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-15 11:20 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-15 23:00 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-15 23:00 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-16 11:40 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-16 12:10 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-16 20:40 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-18 11:20 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-20 16:40 +0200
  Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-21 10:30 +0200

csiph-web