Subject: [bug#49327] [PATCH core-updates 056/128] gnu: fontutils: Add 'bash' input for 'wrap-program'.

From: Maxime Devos <[email-masked]>
Date: Fri, 2 Jul 2021 12:07:02 +0200

It is required for cross-compilation.

* gnu/packages/fontutils.scm
  (fontforge)[inputs]: Add 'bash-minimal'.
  (fntsample)[inputs]: Likewise.
---
 gnu/packages/fontutils.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index b0d40efeae..1b4ba07796 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -33,6 +33,7 @@
 (define-module (gnu packages fontutils)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages build-tools)   ;for meson-0.55
   #:use-module (gnu packages check)
@@ -647,7 +648,8 @@ definitions.")
    (build-system cmake-build-system)
    (native-inputs
     `(("pkg-config" ,pkg-config)))
-   (inputs `(("cairo"           ,cairo)
+   (inputs `(("bash"            ,bash-minimal) ;for wrap-program
+             ("cairo"           ,cairo)
              ("fontconfig"      ,fontconfig) ;dlopen'd
              ("freetype"        ,freetype)
              ("gettext"         ,gettext-minimal)
@@ -960,7 +962,8 @@ work well with other GTK+ desktop environments.")
      `(("pkg-config" ,pkg-config)
        ("gettext" ,gettext-minimal)))
     (inputs
-     `(("cairo" ,cairo)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("cairo" ,cairo)
        ("fontconfig" ,fontconfig)
        ("freetype" ,freetype)
        ("glib" ,glib)
-- 
2.32.0