[Fontconfig] @CONFIGDIR@ (usually /etc/fonts/conf.d) could be recorded in fontconfig.pc?
akira at tagoh.org
Tue Dec 19 04:13:01 UTC 2017
Thank you. that would be appreciated. will look forward to see further
report from you :)
On Tue, Dec 19, 2017 at 1:09 PM, suzuki toshiya
<mpsuzuki at hiroshima-u.ac.jp> wrote:
> Dear Tagoh-san,
> 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
> the history.
>>> 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