guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/08: gnu: gdk-pixbuf: Propagate private dependencies.


From: guix-commits
Subject: 04/08: gnu: gdk-pixbuf: Propagate private dependencies.
Date: Wed, 27 Jul 2022 12:24:00 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 8c698d7de640d2914a19f9709aeea716effb88d3
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jul 25 03:03:10 2022 +0200

    gnu: gdk-pixbuf: Propagate private dependencies.
    
    * gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Move LIBJPEG-TURBO, LIBPNG, and
    LIBTIFF ...
    [propagated-inputs]: ... here.  Remove LIBX11 while at it.
---
 gnu/packages/gtk.scm | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index f12c697452..d24738564c 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -671,20 +671,17 @@ highlighting and other features typical of a source code 
editor.")
                        (invoke "meson" "test" "--timeout-multiplier" "5")))))
                '()))))
     (propagated-inputs
-     (list ;; Required by gdk-pixbuf-2.0.pc
-           glib
-           ;; Required by gdk-pixbuf-xlib-2.0.pc
-           ;; TODO: Remove on core-updates.
-           libx11
-           ;; Used for testing and required at runtime.
-           shared-mime-info))
+     (list glib                         ;in Requires of gdk-pixbuf-2.0.pc
+
+           ;; These are in Requires.private of gdk-pixbuf-2.0.pc
+           libjpeg-turbo
+           libpng
+           libtiff
+           shared-mime-info))           ;required at runtime, too
     (inputs
-     `(,@(if (%current-target-system)
-             `(("bash-minimal" ,bash-minimal)) ; for glib-or-gtk-wrap
-             '())
-       ("libjpeg" ,libjpeg-turbo)
-       ("libpng"  ,libpng)
-       ("libtiff" ,libtiff)))
+     (if (%current-target-system)
+         (list bash-minimal)            ;for glib-or-gtk-wrap
+         '()))
     (native-inputs
      `(("docbook-xml" ,docbook-xml-4.3)
        ("docbook-xsl" ,docbook-xsl)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]