Re: [PATCH] Do not remove UUID file when a scanned directory is empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Le vendredi 26 octobre 2018 à 12:35 -0700, Keith Packard a écrit :
> Akira TAGOH <akira@xxxxxxxxx> writes:
> > Removed from where? fontconfig still has it at least though.
> When a directory has no subdirectories or font files, we get:
>         Create UUID file (preserving mtime)
>         scan directory
>         Remove UUID (updating mtime)
> This happens every time anyone scans the directory, so the mtime is
> changed at each scan.
> Could these UUID files be placed in the cache directory instead of the
> font directories? That would avoid the directory mtime problem
> entirely.

It would also be a lot cleaner FHS-side.

For many setups, fonts (and the directories they reside in) are read-
only resources, having fontconfig write to those is bound to break
someone’s deployment process.


Nicolas Mailhot

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux