maintainer-approval requested: [Bug 239167] x11-fonts/fontconfig: update to 2.13.1 : [Attachment 212601] Proposed patch (since 528458 revision)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 22 02:04:29 UTC 2020
lightside <lightside at gmx.com> has asked freebsd-desktop mailing list
<desktop at FreeBSD.org> for maintainer-approval:
Bug 239167: x11-fonts/fontconfig: update to 2.13.1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239167
Attachment 212601: Proposed patch (since 528458 revision)
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212601&action=edit
--- Comment #25 from lightside <lightside at gmx.com> ---
Created attachment 212601
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212601&action=edit
Proposed patch (since 528458 revision)
Hello, Li-Wen Hsu.
(In reply to comment #24)
> It seems all font ports will have leftover after uninstalling in poudriere
> <..>
I did some search in /usr/local/share/fonts directory:
-8<--
% cd /usr/local/share/fonts && find . -type f -name .uuid
./util/.uuid
./webfonts/.uuid
./100dpi/.uuid
./75dpi/.uuid
./cyrillic/.uuid
./misc/.uuid
./encodings/large/.uuid
./encodings/.uuid
./dejavu/.uuid
./TTF/.uuid
./OTF/.uuid
./Type1/.uuid
<..>
./.uuid
<..>
-->8-
and this is true, that there are ".uuid" files in it and font's subdirectories.
I didn't notice this, because these hidden files were created after fc-cache
usage.
Probably possible to create uninstall script or some @unexec pkg-plist entry,
which uses following command after fontconfig's deinstall:
cd /usr/local/share/fonts && find . -type f -name .uuid -delete && find * -type
d -empty -delete
But mentioned command may delete user's created empty directories in
${PREFIX}/share/fonts directory also.
Or somehow register removal of .uuid file(s) for %%FONTSDIR%% of concrete
font's port (and probably x11-fonts/encodings port also). While
x11-fonts/fontconfig port may check ${PREFIX}/share/fonts/.uuid file after
deinstall.
Attached patch for first variant, just in case.
More information about the freebsd-desktop
mailing list