Date: Sun, 22 Mar 2020 02:04:29 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 239167] x11-fonts/fontconfig: update to 2.13.1 Message-ID: <bug-239167-39348-uJFxL0RaVO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-239167-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-239167-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239167 lightside <lightside@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |desktop@FreeBSD.org Attachment #212601| |maintainer-approval?(deskto Flags| |p@FreeBSD.org) --- Comment #25 from lightside <lightside@gmx.com> --- Created attachment 212601 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212601&action= =3Dedit 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 subdirector= ies. 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 entr= y, 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. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239167-39348-uJFxL0RaVO>