[Pkg-rust-maintainers] Bug#1142805: rust-bat: please split shipped syntaxes/themes to an arch:all package
Ananthu C V
weepingclown at debian.org
Sun Jul 26 13:01:07 BST 2026
Source: rust-bat
Version: 0.26.1+dfsg-2
Severity: normal
Dear Maintainer,
rust-bat source contains syntaxes.bin and themes.bin, which in turn is
deflated and used for syntax hightlighting et al. These files are also
used by other packages. presenterm, for example, vendors this in their
source. Naturally the Debian approach to these is to use the packaged
bat instead in our packaging. This presents a set of problems;
1 - presenterm is a binary package, and it has to depend on
librust-bat-dev, which it really shouldn't. This also causes
400+ deps to be pulled in.
2 - Since in Debian the rust packages are versioned, presenterm
has to do terrible hacks[0] to keep referring to the installed bat
version, since the bat dependency in presenterm in not versioned.
This is intentional, for not needing presenterm updates whenever
rust-bat has a new upload, and since ultimately bat version does
not matter here.
I propose to ship these files in a seperate unversioned arch:all
binary package. And librust-bat-dev can depend on that and have
symlinks if necessary to have them in specific places.
[0] https://sources.debian.org/src/rust-presenterm/0.16.1%2Bdfsg-2/debian/rules#L5
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.3+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Best,
Ananthu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20260726/b681d8c8/attachment-0001.sig>
More information about the Pkg-rust-maintainers
mailing list