Debian Patches

Status for rust-alacritty/0.16.1-4

Patch Description Author Forwarded Bugs Origin Last update
remove-non-linux-deps.patch no
remove-wayland-dlopen.patch no
xdg-2.patch no
relax-toml.patch no
relax-toml-edit.patch no
png-0.18.patch This patch is based on the commit described below, taken from
https://github.com/alacritty/alacritty/pull/8914 and adapted
for use in the Debian package by Peter Michael Green.

commit ed04f440277486729cca20c9ef155fda00f650af

Bump png dependency to 0.18.1

png 0.17.x has been in maintenance mode since 0.18.0 landed on
crates.io in August 2025. The bump is straightforward for the one
call site in this crate (src/display/window.rs): Cursor<&[u8]>
already satisfies 0.18's new Seek + BufRead bound on Decoder::new,
and the only API change that matters here is
Reader::output_buffer_size() returning Option<usize> instead of
usize.

Use .expect("invalid embedded icon size") to match the existing
.expect("invalid embedded icon") idiom a couple of lines up. For
the compile time embedded icon, None is not a reachable outcome.

Verified locally:
cargo build (default features: wayland, x11)
cargo build --features x11
cargo test (1 passed, 0 failed)
cargo clippy --all-targets -- -D warnings
cargo fmt --all --check

===================================================================
Greg Lamberson <greg@lamco.io> no 2026-04-19

All known versions for source package 'rust-alacritty'

Links