unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Propagate necessary inputs for sdl-image
@ 2014-05-01  0:40 David Thompson
  2014-05-01  7:11 ` Andreas Enge
  2014-05-01 10:46 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: David Thompson @ 2014-05-01  0:40 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 123 bytes --]

The libraries for loading JPG, PNG, and TIFF images need to be
propagated inputs in order for SDL image to work properly.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Propagate-necessary-inputs-for-sdl-image.patch --]
[-- Type: text/x-diff, Size: 1389 bytes --]

From 6b3dfa3d5ad01efa29494f34f093fa1aa2dad437 Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson@member.fsf.org>
Date: Wed, 30 Apr 2014 20:35:45 -0400
Subject: [PATCH 1/2] gnu: Propagate necessary inputs for sdl-image.

* gnu/packages/sdl.scm (sdl-image): Propagate jpeg, png, and tiff
  libraries.
---
 gnu/packages/sdl.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index d86ecde..713700d 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -147,12 +147,12 @@ other supporting functions for SDL.")
               (base32
                "16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b"))))
     (build-system gnu-build-system)
+    (native-inputs `(("pkg-config" ,pkg-config)))
     ;; FIXME: Add webp
-    (inputs `(("libpng" ,libpng)
-              ("libjpeg" ,libjpeg)
-              ("libtiff" ,libtiff)
-              ("pkg-config" ,pkg-config)))
-    (propagated-inputs `(("sdl" ,sdl)))
+    (propagated-inputs `(("sdl" ,sdl)
+                         ("libjpeg" ,libjpeg)
+                         ("libpng" ,libpng)
+                         ("libtiff" ,libtiff)))
     (synopsis "SDL image loading library")
     (description "SDL_image is an image file loading library for SDL that
 supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
-- 
1.8.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-01 11:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-01  0:40 [PATCH] gnu: Propagate necessary inputs for sdl-image David Thompson
2014-05-01  7:11 ` Andreas Enge
2014-05-01 10:46 ` Ludovic Courtès
2014-05-01 11:47   ` David Thompson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).