On Mon, Mar 24, 2025 at 08:48:12PM -0400, James McCoy wrote:
On Mon, Mar 24, 2025 at 10:31:20PM +0100, NoisyCoil wrote:
To me "alacritty (literally) crashes on X11 without libxkbcommon-x11-0" reads much more strongly than "not all situations require the package". One can very well argue that not having libxkbcommon-x11-0 installed with X11 is an unusual situation, and I agree, but the solution then is finding out what component of the stack is missing the dependency and adding it there.

The simple solution is probably just to do as you initially suggested - Depends on both of them. They have pretty small dependency trees.

Even better would be doing this naturally through detection of used symbols so library transitions are handled sanely.

So, I guess I'd refine my near term suggestion of options:

1. Adjust the packaging so dlopen isn't used, which will result in both libraries being Depends automatically.

Only wayland support can be easily forced to not use dlopen. The x11 support is always dynamically loaded.

Given that, I think I'll work on removing dlopen of wayland and add
"Recommends: libxkbcommon-x11-0" unless I hear any objections.

Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to