# Mailspring 1.23.0 — application-only repack of upstream's official Debian
# artifact. Only findings that cannot be fixed without rebuilding upstream's own
# binaries are overridden here. The RUNPATH entries upstream's linker left in
# mailsync.bin had a real fix and are removed in build.sh instead.

# ── Embedded libraries ─────────────────────────────────────────────────────
# mailsync.bin is Mailspring's native IMAP/SMTP sync engine, part of the same
# GPL-3.0 source tree. Upstream statically links these three into it; relinking
# against Ubuntu's copies needs a full mailcore2/libetpan source build, which is
# a separate project track. The engine dynamically links Ubuntu's OpenSSL,
# libcurl, GLib and Cyrus SASL, so the security-relevant libraries are the
# distribution's.
mailspring: embedded-library libminizip [usr/lib/mailspring/app.asar.unpacked/mailsync.bin]
mailspring: embedded-library libxml2 [usr/lib/mailspring/app.asar.unpacked/mailsync.bin]
mailspring: embedded-library zlib [usr/lib/mailspring/app.asar.unpacked/mailsync.bin]

# ── pdf.js standard fonts ──────────────────────────────────────────────────
# The attachment previewer is a vendored pdf.js 4.3.136 that resolves its
# standard fonts by path inside its own bundle, with no hook for a system
# directory. Replacing these four files with symlinks into fonts-liberation
# would make attachment rendering depend on an unrelated package's file layout.
mailspring: duplicate-font-file *
