Subject: [PATCH] gnu: emacs-next-pgtk: Don't propagate glib-networking.

From: Philip McGrath <[email-masked]>
Date: Thu, 25 Aug 2022 21:04:26 -0400

Propagation isn't necessary because existing wrapper scripts set
GIO_EXTRA_MODULES appropriately, and propagating it breaks programs on
foreign distributions that use incompatible GIO versions: see
<https://lists.gnu.org/archive/html/help-guix/2022-08/msg00091.html>.

* gnu/packages/emacs.scm (emacs-next-pgtk)[propagated-inputs]: Move
'glib-networking' to ...
[inputs]: This field.
---
 gnu/packages/emacs.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ffd1eda08e..0896679ee6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2020 Jack Hill <[email-masked]>
 ;;; Copyright © 2020 Morgan Smith <[email-masked]>
 ;;; Copyright © 2022 Zhu Zihao <[email-masked]>
+;;; Copyright © 2022 Philip McGrath <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -358,10 +359,11 @@ (define-public emacs-next-pgtk
        ((#:configure-flags flags #~'())
         #~(cons* "--with-pgtk" "--with-xwidgets" #$flags))))
     (propagated-inputs
-     (list gsettings-desktop-schemas glib-networking))
+     (list gsettings-desktop-schemas))
     (inputs
      (modify-inputs (package-inputs emacs-next)
-       (prepend webkitgtk-with-libsoup2)))
+       (prepend webkitgtk-with-libsoup2
+                glib-networking)))
     (home-page "https://github.com/masm11/emacs")
     (synopsis "Emacs text editor with @code{pgtk} and @code{xwidgets} support")
     (description "This Emacs build implements graphical UI purely in terms of

base-commit: 26ff8a4b733c06b4f38aa1fb1ec6705bf30eae4a
-- 
2.32.0