grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/17] configure: Add Ubuntu dejavu font path.


From: Mike Gilbert
Subject: Re: [PATCH 01/17] configure: Add Ubuntu dejavu font path.
Date: Thu, 30 Jul 2020 17:14:29 -0400

On Wed, Jul 29, 2020 at 6:08 PM David Michael <fedora.dm0@gmail.com> wrote:
>
> On Wed, Jul 29, 2020 at 5:52 PM <development@efficientek.com> wrote:
> > From: Glenn Washburn <development@efficientek.com>
> >
> > Signed-off-by: Glenn Washburn <development@efficientek.com>
> > ---
> >  configure.ac | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 7c10a4db7..c6b0ef499 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -1678,7 +1678,7 @@ fi
> >
> >  if test x"$starfield_excuse" = x; then
> >     for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
> > -     for dir in . /usr/src /usr/share/fonts/X11/misc 
> > /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu 
> > /usr/share/fonts/truetype; do
> > +     for dir in . /usr/src /usr/share/fonts/X11/misc 
> > /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu 
> > /usr/share/fonts/truetype /usr/share/fonts/truetype/dejavu; do
>
> I noticed that the font file isn't found on Fedora 32 anymore either.
> This path needs to be added for that to work:
> /usr/share/fonts/dejavu-sans-fonts
>
> Maybe it could take a configure argument or environment variable to
> handle all the different installation locations so the list doesn't
> need to keep growing?

A workaround is to copy/symlink the font file into the build
directory, where it will get picked up by the first item in the list
(".").

Also, Gentoo ebuild fetches a private copy of the fonts to avoid
adding a build dependency.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]