Hi,

Thanks Sean for letting me chime in.

On 2026-06-12 12:00 +0100, Sean Whitton wrote:

> Matthias Geiger [11/Jun  3:37pm +02] wrote:
>> On Thu, 28 May 2026 17:34:04 +0200 Matthias Geiger <[email protected]> 
>> wrote:
>>> On Wed, 13 May 2026 04:05:44 +0200 Guillem Jover <[email protected]> wrote:
>>> > Control: reassign -1 debian-policy
>>> > Control: retitle -1 Bug#1136306: debian-policy: Proposing new 
>>> > wayland-terminal-emulator alternative and virtual package
>>> >
>>> > Hi!
>>> >
>>> >
>>> > I think it makes sense to have both a virtual package and an
>>> > alternative for wayland-terminal-emulator, as using x-terminal-emulator
>>> > for wayland ones seems wrong to me.
>>>
>>> Hi,
>>>
>>> I tend to agree. As I also mentioned in #1004522 this would greatly
>>> improve discoverability of "wayland-ready" terminal emulators.
>>>
>> While there are terminals that work both on x11 and wayland, I think
>> this makes sense nonetheless.
>> This is my inital patch:
>>
>>
>> diff --git a/virtual-package-names-list.yaml 
>> b/virtual-package-names-list.yaml
>> index 9e0089e..0e6cb84 100644
>> --- a/virtual-package-names-list.yaml
>> +++ b/virtual-package-names-list.yaml
>> @@ -223,6 +223,10 @@ virtualPackages:
>>   - name: xserver
>>     description: an X server that (directly or indirectly) manages physical 
>> input and display hardware
>>
>> +# Wayland
>> + - name: wayland-terminal-emulator
>> +   description: a wayland client which emulates a terminal with a terminfo 
>> description in the ncurses-term package
>> +
>>  # Fonts
>>
>>   - name: fonts-japanese-gothic
>
> LGTM, though let's check with the ncurses-term maintainers that this
> makes sent to them too.

The part that the terminfo description needs to be in the ncurses-term
package does not really make sense to me.  While it is certainly
encouraged to get the terminal description included in ncurses'
terminfo.src file, it is also possible to ship it separately.  For
instance the kitty package does that, because the developers made the
mistake to name their terminfo entry xterm-kitty, a name that is not
acceptable for ncurses upstream.

I should also note that policy is inconsistent regarding the
x-terminal-emulator alternative.  While virtual-package-names-list.yaml
states that the terminfo description should be in the ncurses-base
package, this requirement is not mentioned in
policy/ch-customized-programs.rst, and at least kitty does not meet this
condition.  Should I file a separate bug about this inconsistency?

Cheers,
       Sven

Reply via email to