[Fontconfig] @CONFIGDIR@ (usually /etc/fonts/conf.d) could be recorded in fontconfig.pc?

Akira TAGOH 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.
> Indeed.
>>> So I want to suggest to record the value... but what is the best name for the
>>> variable?
>>> 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).
> https://cgit.freedesktop.org/fontconfig/commit/fontconfig.pc.in?id=81b542b50f82f8a0ad9f38f7d913fe5433631166
> Daniel Macks reported this confdir was a bug, and corrected to @baseconfdir@ (2012).
> https://cgit.freedesktop.org/fontconfig/commit/fontconfig.pc.in?id=ebd5096abc495550596861b6af2aae067e861553
> According to Daniel's post,
> https://lists.freedesktop.org/archives/fontconfig/2012-July/004200.html
> 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.
> Regards,
> mpsuzuki
>>> Regards,
>>> mpsuzuki
>>> P.S.
>>> 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
>>> https://lists.freedesktop.org/mailman/listinfo/fontconfig


More information about the Fontconfig mailing list