From: Eric Bavier <bavier@member.fsf.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Alex Kost <alezost@gmail.com>, 22100@debbugs.gnu.org
Subject: bug#22100: 'font-alias' breaks other xorg font packages when installed in a single profile
Date: Fri, 11 Dec 2015 20:06:27 -0600 [thread overview]
Message-ID: <20151211200627.04c9c1b1@member.fsf.org> (raw)
In-Reply-To: <871tavsonr.fsf@gnu.org>
On Wed, 09 Dec 2015 15:05:28 +0100
ludo@gnu.org (Ludovic Courtès) wrote:
> Alex Kost <alezost@gmail.com> skribis:
>
> > I install several xorg font packages (font-adobe75dpi, font-adobe100dpi,
> > font-misc-misc and font-alias) in one of my profiles, and point my Xorg
> > font path to this directory. Previously it worked fine, but after
> > commit bf9655f¹, I cannot use this anymore, because the empty
> > "fonts.dir" files from 'font-alias' packages override the proper
> > "fonts.dir" files from the other packages.
>
> D’oh!
Oops indeed.
> > So since it was a workaround for Xorg server behaviour, I wonder would
> > it be possible to modify 'xorg-server' package instead? So that along
> > with directories with "fonts.dir" files, Xorg server would also handle
> > directories that have "fonts.alias" files.
>
> It seems we need something along these lines, indeed.
That may help in the specific case of the font-alias package. It would
not help in the long run however. We currently have a rather
limited number of X11 fonts in Guix, just the adobe fonts to be
precise. We'll run into the same 'fonts.dir' collision issues once
other X11 fonts are packaged and installed in a profile alongside other
fonts.
E.g. installing font-adobe75dpi and a future font-bitstream75dpi would
produce a collision on the fonts.dir files from each package, and
ultimately only one of the fonts would be available to the user.
Since xorg-server lacks AFAIK any environment variables to set the font
path we cannot consider moving fonts to namespaced directories.
Instead, we might want to consider ignoring fonts.dir files from the
union build if possible and then running mkfontsdir at profile creation
time.
`~Eric
next prev parent reply other threads:[~2015-12-12 19:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-06 9:19 bug#22100: 'font-alias' breaks other xorg font packages when installed in a single profile Alex Kost
2015-12-09 14:05 ` Ludovic Courtès
2015-12-12 2:06 ` Eric Bavier [this message]
2015-12-12 17:37 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151211200627.04c9c1b1@member.fsf.org \
--to=bavier@member.fsf.org \
--cc=22100@debbugs.gnu.org \
--cc=alezost@gmail.com \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).