[Fontconfig] @CONFIGDIR@ (usually /etc/fonts/conf.d) could be recorded in fontconfig.pc?
mpsuzuki at hiroshima-u.ac.jp
Tue Dec 19 04:09:33 UTC 2017
Thank you very much for prompt reply!
Akira TAGOH wrote:
>> Current fontconfig.pc records @BASECONFIGDIR@ value with the variable "confdir",
>> but @CONFIGDIR@ is not recorded.
> You're right. hmm, I just wonder who needs to use BASECONFIGDIR itself
> outside fontconfig. no one needs to put anything there. more important
> thing should be TEMPLATEDIR and CONFIGDIR.
>> So I want to suggest to record the value... but what is the best name for the
>> I want to hear your comments to draft a small patch.
> templatedir and confddir?
confddir would be very easier to understand, rather than confdir, I think.
> well, honestly I want to replace/fix confdir
> with CONFIGDIR though, that may breaks apps relying on it so far
> perhaps. dunno.
Yes, it looks slightly strange. Digging the git commit record,
when confdir variable was introduced, confdir was @confdir@ (2010).
Daniel Macks reported this confdir was a bug, and corrected to @baseconfdir@ (2012).
According to Daniel's post,
he had just pointed out the unsubstituted values and he was also wondering why
this value was needed.
Yet I've not figured whole of the historic changes around this part (maybe there
were similar but different options; --with-confdir and --with-configdir, I'm
afraid it is not straight-forward story), please let me spend more time to dig
>> BTW, I'm afraid that @XMLDIR@ is no longer used..?
> That is only used for dtd. no other purpose.
>> Fontconfig mailing list
>> Fontconfig at lists.freedesktop.org
More information about the Fontconfig