[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62775] [groff.m4] lighten prerequisites of `GROFF_URW_FONTS_CHECK`
From: |
G. Branden Robinson |
Subject: |
[bug #62775] [groff.m4] lighten prerequisites of `GROFF_URW_FONTS_CHECK` |
Date: |
Fri, 2 Sep 2022 19:14:19 -0400 (EDT) |
Follow-up Comment #2, bug #62775 (project groff):
In fact I'm not sure it's even necessary to have this macro depend on awk and
gs.
I think we could drop the AC_REQUIRES on Awk and GhostScript, and instead
restructure the test.
What we're using 'awk' and 'gs' to do is scrape a search path out of the
output of 'gs -h' (help). However, even if the tools aren't available or if
by some weirdness, we're not sunk. We _still_ populate the `_list_paths`
shell variable with a bunch of stuff.
Here they are.
/usr/share/fonts/type1/gsfonts/
/usr/share/fonts/default/Type1/
/usr/share/fonts/default/Type1/adobestd35/
/usr/share/fonts/type1/urw-base35/
/opt/local/share/fonts/urw-fonts/
/usr/local/share/fonts/ghostscript/
It's not inconceivable that one of these would in fact house the URW fonts
being sought.
So, the conditional should just gate the initial population of `_list_paths`,
not the whole check.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62775>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62775] [groff.m4] lighten prerequisites of `GROFF_URW_FONTS_CHECK`,
G. Branden Robinson <=