diff options
author | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2017-05-08 21:46:03 +0200 |
---|---|---|
committer | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2017-05-09 23:10:23 +0200 |
commit | 2b5a438e0c205a5f118b456db7438e35dab50e09 (patch) | |
tree | 72372bd58ca6dd17bdfeb225a8d1599285e12ef7 /configure.ac | |
parent | 453a8aa7c8f8dd0c78160466301f81be8c40df2e (diff) | |
download | groff-git-2b5a438e0c205a5f118b456db7438e35dab50e09.tar.gz |
Package `ghostscript' 9.21 renamed some fonts installed in
`/usr/share/ghostscript/9.21/Resource/Font', e.g. URWGothicL-Demi
renamed to URWGothic-Demi, and droped the installation of URW
fonts in `/usr/share/fonts/type1/gsfonts/', breaking font
generation in `font/devpdf/util/BuildFoundries.pl'.
* m4/groff.m4 (GROFF_URW_FONTS_PATH): New option
`--with-urw-fonts-dir' to pass a custom path to URW fonts.
(GROFF_URW_FONTS): search the presence of URW fonts by checking if
file `a010013l.pfb' exists in the paths given by `gs -h', in the
default paths used in `Foundry.in' and in the path given with
option `--with-urw-fonts-dir'.
(GROFF_URW_FONTS_CHECK): print a warning at the end of the
configuration phase if no URW fonts were found.
* configure.ac: call new macros `GROFF_URW_FONTS_PATH',
`GROFF_URW_FONTS' and `GROFF_URW_FONTS_CHECK'.
* font/devpdf/Foundry.in: add new basic fonts names and pass
custom URW fonts path `urwfontsdir'.
* font/devpdf/devpdf.am: subsitute `urwfontsdir' in `Foundry'
generation.
Fixes https://savannah.gnu.org/bugs/?50786
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 981be0189..05585159a 100644 --- a/configure.ac +++ b/configure.ac @@ -161,6 +161,9 @@ GROFF_TRADITIONAL_CPP # checks for operating system services GROFF_WCOREFLAG +# URW fonts extra dir +GROFF_URW_FONTS_PATH + # other random stuff GROFF_BROKEN_SPOOLER_FLAGS GROFF_PAGE @@ -178,6 +181,10 @@ GROFF_BASH gl_GLIBC21 gl_LOCALCHARSET +# checks for presence of URW fonts (requires ghostscript, which is +# checked in GROFF_HTML_PROGRAMS +GROFF_URW_FONTS + AM_CONDITIONAL([BUILD_WINSCRIPTS], [test -n "$make_winscripts"]) # If X11 is not available, don't build: @@ -230,6 +237,9 @@ echo "\ Doc build : ${doc} " fi echo "\ + URW fonts for pdf : $groff_have_urw_fonts" +echo "\ ----------------------------------------------------------------------" GROFF_APPRESDIR_CHECK +GROFF_URW_FONTS_CHECK |