[PATCH] Fix: Remove extra file after purge in fontconfig-config (fontconfig_2.15.0-1.1.dsc)
Kirill Rekhov
krekhov.dev at gmail.com
Mon Sep 9 16:36:30 BST 2024
Dear Maintainer,
In the commit (
https://salsa.debian.org/freedesktop-team/fontconfig/-/commit/c6256046f683df8d94cfac249405ebe5cdef7f6e
)
they forgot to include the removal of the file
*70-no-bitmaps-except-emoji.conf* in postrm.
I tested the xterm package with piuparts and saw this error:
1m24.8s ERROR: WARN: Broken symlinks:
/etc/fonts/conf.d/70-no-bitmaps-except-emoji.conf ->
/usr/share/fontconfig/conf.avail/70-no-bitmaps-except-emoji.conf
1m25.4s ERROR: FAIL: Package purging left files on system:
/etc/fonts/ owned by: fontconfig-config, fonts-dejavu-core,
fonts-dejavu-mono
/etc/fonts/conf.d/ owned by: fontconfig-config, fonts-dejavu-core,
fonts-dejavu-mono
/etc/fonts/conf.d/70-no-bitmaps-except-emoji.conf ->
/usr/share/fontconfig/conf.avail/70-no-bitmaps-except-emoji.conf not owned
my patch fixes it.
after:
$ patch -p1 < ../postrm-fix.patch
$ dpkg-buildpackage -b -uc
...
-> piuparts tests good
---
Kirill Rekhov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20240909/a2f89614/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postrm-fix.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20240909/a2f89614/attachment.bin>
More information about the Pkg-freedesktop-maintainers
mailing list