https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239167
lightside <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Attachment #212601| |maintainer-approval?(deskto Flags| |[email protected]) --- Comment #25 from lightside <[email protected]> --- 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 the assignee for the bug. You are on the CC list for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-desktop To unsubscribe, send any mail to "[email protected]"
