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

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

It is required for cross-compilation.

* gnu/packages/pdf.scm
  (flyer-composer)[inputs]: Add 'bash-minimal'.
  (impressive)[inputs]: Likewise.
  (pdfarranger)[inputs]: Likewise.
---
 gnu/packages/pdf.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 673b43285f..26fa1e3eba 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -174,7 +174,8 @@ information.")
                    (,(string-append qtbase "/lib/qt5/plugins/platforms"))))
                #t))))))
     (inputs
-     `(("python-pypdf2" ,python-pypdf2)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("python-pypdf2" ,python-pypdf2)
        ("python-pyqt" ,python-pyqt)
        ("python-poppler-qt5" ,python-poppler-qt5)
        ("qtbase" ,qtbase)))
@@ -1060,7 +1061,8 @@ vector formats.")
     (build-system python-build-system)
 
     ;; TODO: Add dependency on pdftk.
-    (inputs `(("python2-pygame" ,python2-pygame)
+    (inputs `(("bash" ,bash-minimal) ; for wrap-program
+              ("python2-pygame" ,python2-pygame)
               ("python2-pillow" ,python2-pillow)
               ("sdl" ,sdl)
               ("xpdf" ,xpdf)))
@@ -1295,7 +1297,8 @@ python-pypdf2 instead.")
      `(("intltool" ,intltool)
        ("python-distutils-extra" ,python-distutils-extra)))
     (inputs
-     `(("gtk+" ,gtk+)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("gtk+" ,gtk+)
        ("poppler" ,poppler)))
     (propagated-inputs
      `(("img2pdf" ,img2pdf)
-- 
2.32.0