[Bug 239167] x11-fonts/fontconfig: update to 2.13.1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 22 02:04:30 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239167
lightside <lightside at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |desktop at FreeBSD.org
Attachment #212601| |maintainer-approval?(deskto
Flags| |p at FreeBSD.org)
--- 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-gnome
mailing list