[ANNOUNCE] X11R7.6 font modules
Jeremy Huddleston
jeremyhu at freedesktop.org
Tue Oct 5 16:55:10 PDT 2010
But fontconfig can change it to something that isn't even named "fonts":
--with-confdir=DIR Use DIR to store configuration files (default /etc/fonts)
What about my proposal to add a variable to fontconfig.pc which can be used as default or overridden with an '--with-fontconfigdir=DIR' confopt. If the fontconfig.pc installed doesn't know the variable, we can default to $(sysconfdir)/fonts
On Oct 5, 2010, at 16:46, Alan Coopersmith wrote:
> Frédéric L. W. Meunier wrote:
>> On Tue, 5 Oct 2010, Alan Coopersmith wrote:
>>
>>> A few packages had additional fixes:
>>>
>>> - font-bh-ttf 1.0.2:
>>> Install a fontconfig snippet to force treating Luxi Mono fonts
>>> as monospaced
>>
>> Is "fontconfigdir = $(sysconfdir)/fonts/conf" right ? I ended with
>> /etc/fonts/conf/{conf.d,conf.avail} being created, while fontconfig uses
>> /etc/fonts/{conf.d,conf.avail}
>
> Oops, that does appear to be wrong - wish someone had noticed when the patch
> was first mailed out for review, or in the 4 months it sat in git like that.
> Patch attached for review.
>
> --
> -Alan Coopersmith- alan.coopersmith at oracle.com
> Oracle Solaris Platform Engineering: X Window System
>
>
> From a0e3cd6e65cd6dc53d383b0486e84f0b5d4bb4ca Mon Sep 17 00:00:00 2001
> From: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date: Tue, 5 Oct 2010 16:30:51 -0700
> Subject: [PATCH:bh-ttf] Correct installation path for fontconfig files
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: 8bit
>
> Should be /etc/fonts/{conf.d,conf.avail},
> not /etc/fonts/conf/{conf.d,conf.avail}
>
> Reported-by: Frédéric L. W. Meunier <fredlwm at gmail.com>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> Makefile.am | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 90e4f46..34d9819 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -36,7 +36,7 @@ FONT_FILES = \
> fontdir = @FONTDIR@
> font_DATA = $(FONT_FILES)
>
> -fontconfigdir = $(sysconfdir)/fonts/conf
> +fontconfigdir = $(sysconfdir)/fonts
> actualconfigdir = $(fontconfigdir)/conf.d
> availconfigdir = $(fontconfigdir)/conf.avail
> dist_availconfig_DATA = 42-luxi-mono.conf
> --
> 1.5.6.5
>
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: jeremyhu at freedesktop.org
More information about the xorg-devel
mailing list