guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add SDL extension libraries


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: Add SDL extension libraries
Date: Thu, 21 Nov 2013 13:23:17 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

David Thompson <address@hidden> skribis:

> Attached is a patch to add the following extension libraries for SDL
> 1.x: SDL_gfx, SDL_image, SDL_mixer, SDL_net, and SDL_ttf.

Wow, cool.

Is the copyright/licensing of these packages clear?  In particular, do
all the files within each package have clearly the same license, or a
compatible license?  (I’d expect it to be the case given that SDL is
widespread, but just asking to be sure.)

> +(define sdl-image
> +  (package
> +    (name "sdl-image")
> +    (version "1.2.12")
> +    (source (origin
> +             (method url-fetch)
> +             (uri
> +              (string-append 
> "http://www.libsdl.org/projects/SDL_image/release/SDL_image-";
> +                             version ".tar.gz"))
> +             (sha256
> +              (base32
> +               "16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b"))))
> +    (build-system gnu-build-system)
> +    ;; FIXME: Add webp
> +    (propagated-inputs `(("sdl" ,sdl)
> +                         ("libpng" ,libpng)
> +                         ("libjpeg" ,libjpeg)
> +                         ("libtiff" ,libtiff)))

Are you sure that all these need to be propagated?

(An input typically needs to be propagated if an installed header
#includes a header of that input, or if the .pc file mentions that input
in its ‘Requires:’ field.)

Otherwise looks good to me!

Thanks,
Ludo’.



reply via email to

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