Re: @CONFIGDIR@ (usually /etc/fonts/conf.d) could be recorded in fontconfig.pc?

Akira TAGOH <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CACT-Cx0XRgJK2TG2m-ofMtjeZMxme1JzeQqC9mtL3EqMkxbQng@mail.gmail.com>
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
<[email protected]> 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
>>> [email protected]
>>> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>>
>>
>>
>



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.