gbranden pushed a commit to branch master
in repository groff.

commit c5fbf6d3638bab99eaa9f4cf334ae8f3dbd1abe1
Author: Deri James <[email protected]>
AuthorDate: Fri Feb 20 15:25:51 2026 +0000

    Configure gropdf right if URW but no Ghostscript.
    
    Support a build scenario where Ghostscript is unavailable but the URW
    fonts are.  In that case, gropdf can operate at its full feature service
    level; configure it to do so.
    
    * configure.ac: Define new Automake conditional variable,
      `HAVE_URW_FONTS_OR_HAVE_GHOSTSCRIPT`, that records the fact written on
      the tin.
    
    * font/devpdf/devpdf.am: Revise Automake control flow to use this new
      variable instead of simply `HAVE_GHOSTSCRIPT`.
    
    Continues fixing <https://savannah.gnu.org/bugs/?68060>.
---
 ChangeLog             | 14 ++++++++++++++
 configure.ac          |  3 +++
 font/devpdf/devpdf.am |  2 +-
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 1cdae2196..76913e1ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2026-02-20  Deri James  <[email protected]>
+
+       Support a build scenario where Ghostscript is unavailable but
+       the URW fonts are.  In that case, gropdf can operate at its full
+       feature service level; configure it to do so.
+
+       * configure.ac: Define new Automake conditional variable,
+       `HAVE_URW_FONTS_OR_HAVE_GHOSTSCRIPT`, that records the fact
+       written on the tin.
+       * font/devpdf/devpdf.am: Revise Automake control flow to use
+       this new variable instead of simply `HAVE_GHOSTSCRIPT`.
+
+       Continues fixing <https://savannah.gnu.org/bugs/?68060>.
+
 2026-02-20  G. Branden Robinson <[email protected]>
 
        * gnulib: Refresh stable/2026-01 branch to obtain commits
diff --git a/configure.ac b/configure.ac
index f52cd906e..405acbd63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,6 +189,9 @@ AM_CONDITIONAL([USE_GROFF_ALLOCATOR],
 AM_CONDITIONAL([HAVE_GHOSTSCRIPT], [test "$GHOSTSCRIPT" != no \
                 && test "$GHOSTSCRIPT" != missing])
 AM_CONDITIONAL([HAVE_URW_FONTS], [test "$groff_have_urw_fonts" = yes ])
+AM_CONDITIONAL([HAVE_URW_FONTS_OR_HAVE_GHOSTSCRIPT], [test 
"$groff_have_urw_fonts" = yes \
+                || (test "$GHOSTSCRIPT" != no \
+                && test "$GHOSTSCRIPT" != missing)])
 AM_CONDITIONAL([HAVE_MAKEINFO], [test "$groff_have_makeinfo" = yes ])
 AM_CONDITIONAL([HAVE_TEXI2DVI], [test "$groff_have_texi2dvi" = yes ])
 AM_CONDITIONAL([USE_TEX], [test "$groff_use_tex" = yes ])
diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am
index 04d1375a4..15c11e9ba 100644
--- a/font/devpdf/devpdf.am
+++ b/font/devpdf/devpdf.am
@@ -38,7 +38,7 @@ devpdffont_descriptions_from_devps = \
   font/devpdf/TR \
   font/devpdf/EURO
 
-if HAVE_GHOSTSCRIPT
+if HAVE_URW_FONTS_OR_HAVE_GHOSTSCRIPT
 devpdffont_descriptions_from_devps += \
   font/devpdf/AB \
   font/devpdf/ABI \

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to