From: Nicholas Vinson <nvinson234@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] Add Fedora location of DejaVu SANS font
Date: Mon, 6 Dec 2021 19:49:30 -0500 [thread overview]
Message-ID: <e55e1f7b-59dd-c510-ef10-ebd20a6ccb60@gmail.com> (raw)
In-Reply-To: <20211206222542.20068-1-rharwood@redhat.com>
On 12/6/21 17:25, Robbie Harwood wrote:
> From: fluteze <fluteze@gmail.com>
>
> In Fedora 35, and possibly earlier, grub would fail to configure with a
> complaint about DejaVu being "not found" even though it was installed.
> The DejaVu sans font search path is updated to reflect the
> distribution's current install path.
>
> Signed-off-by: Erik Edwards <fluteze@gmail.com>
> [rharwood@redhat.com: slight commit message edits]
> Signed-off-by: Robbie Harwood <rharwood@redhat.com>
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 8d1c81a73..5186eab2c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1725,7 +1725,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/dejavu-sans-fonts; do
Wouldn't it be better to modify configure.ac so the location could be
passed in instead of having one-off patches for alternate locations?
Something like --with-dejavu-font=/usr/share/fonts/dejavu-sans-fonts?
> if test -f "$dir/DejaVuSans.$ext"; then
> DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
> break 2
>
next prev parent reply other threads:[~2021-12-07 0:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 22:25 [PATCH] Add Fedora location of DejaVu SANS font Robbie Harwood
2021-12-07 0:49 ` Nicholas Vinson [this message]
2021-12-07 20:04 ` Robbie Harwood
2021-12-08 2:30 ` Nicholas Vinson
2021-12-08 17:58 ` Robbie Harwood
2021-12-08 22:23 ` Nicholas Vinson
2021-12-08 23:42 ` Robbie Harwood
2021-12-09 4:33 ` Nicholas Vinson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e55e1f7b-59dd-c510-ef10-ebd20a6ccb60@gmail.com \
--to=nvinson234@gmail.com \
--cc=grub-devel@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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.