Subject: [PATCH core-updates 017/128] gnu: messaging: Add 'bash' input for 'wrap-program'.

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

It is required for cross-compilation.

* gnu/packages/messaging.scm
  (gajim)[inputs]: Add 'bash-minimal'.
  (prosody)[inputs]: Likewise.
  (utox)[inputs]: Likewise.
  (qtox)[inputs]: Likewise.
  (perl-net-psyc)[inputs]: Likewise.
  (psi-plus)[inputs]: Likewise.
---
 gnu/packages/messaging.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 1a132c285e..df4ccec68c 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1109,6 +1109,7 @@ of xmpppy.")
        ("xorg-server" ,xorg-server-for-tests)))
     (inputs
      `(("avahi" ,avahi)
+       ("bash" ,bash-minimal) ; for wrap-program
        ("dbus" ,dbus)
        ("farstream" ,farstream)
        ("geoclue" ,geoclue)
@@ -1346,7 +1347,8 @@ default.")
                          (find-files bin ".*"))
                #t))))))
     (inputs
-     `(("libidn" ,libidn)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("libidn" ,libidn)
        ("openssl" ,openssl)
        ("lua" ,lua-5.2)
        ("lua5.2-bitop" ,lua5.2-bitop)
@@ -1531,7 +1533,8 @@ messenger protocol.")
               (,(string-append (assoc-ref inputs "gtk+")
                                "/share/glib-2.0/schemas")))))))))
    (inputs
-    `(("dbus" ,dbus)
+    `(("bash" ,bash-minimal) ; for wrap-program
+      ("dbus" ,dbus)
       ("filteraudio" ,filteraudio)
       ("fontconfig" ,fontconfig)
       ("freetype" ,freetype)
@@ -1593,7 +1596,8 @@ instant messenger with audio and video chat capabilities.")
                    ,(list (string-append (assoc-ref inputs "qtsvg")
                                          "/lib/qt5/plugins/"))))))))))
     (inputs
-     `(("ffmpeg" ,ffmpeg)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("ffmpeg" ,ffmpeg)
        ("filteraudio" ,filteraudio)
        ("glib" ,glib)
        ("gtk+" ,gtk+-2)
@@ -1686,7 +1690,8 @@ into existing applications.")
     (native-inputs
      `(("unzip" ,unzip)))
     (inputs
-     `(("perl-curses" ,perl-curses)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("perl-curses" ,perl-curses)
        ("perl-io-socket-ssl" ,perl-io-socket-ssl)))
     (arguments
      `(#:phases
@@ -2836,7 +2841,8 @@ social and chat platform.")
        ("python" ,python-wrapper)
        ("ruby" ,ruby)))
     (inputs
-     `(("blake2" ,libb2)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("blake2" ,libb2)
        ("dbus" ,dbus)
        ("enchant" ,enchant)
        ("glib" ,glib)
-- 
2.32.0