GNU bug report logs - #76757
[PATCH 0/5] gnu: Add sdl3-{image,ttf}.

Previous Next

Package: guix-patches;

Reported by: Nguyễn Gia Phong <mcsinyx <at> disroot.org>

Date: Wed, 5 Mar 2025 08:42:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Nguyễn Gia Phong <mcsinyx <at> disroot.org>

Full log


View this message in rfc822 format

From: Z572 <zhengjunjie <at> iscas.ac.cn>
To: 76757 <at> debbugs.gnu.org
Cc: mcsinyx <at> disroot.org
Subject: [bug#76757] [PATCH 2/5] gnu: Add sdl3-image.
Date: Wed, 02 Apr 2025 14:48:37 +0800
[Message part 1 (text/plain, inline)]
guix-patches--- via <guix-patches <at> gnu.org> writes:

> * gnu/packages/sdl.scm (sdl3-image): New variable.
>
> Change-Id: I744f515aa7b4c814db86d21209ea31666b19ef3f
> ---
>  gnu/packages/sdl.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
> index f6ada6ab1bba..ceede7133c80 100644
> --- a/gnu/packages/sdl.scm
> +++ b/gnu/packages/sdl.scm
> @@ -17,6 +17,7 @@
>  ;;; Copyright © 2023 Evgeny Pisemsky <mail <at> pisemsky.site>
>  ;;; Copyright © 2023, 2024 dan <i <at> dan.games>
>  ;;; Copyright © 2025 Zheng Junjie <873216071 <at> qq.com>
> +;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -667,6 +668,27 @@ (define-public sdl2-gamecontrollerdb
>  mappings intended for the use with SDL2's game controller functionality.")
>        (license license:zlib))))
>  
> +(define-public sdl3-image
> +  (package (inherit sdl2-image)
> +    (name "sdl3-image")
> +    (version "3.2.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri
> +        (string-append "https://www.libsdl.org/projects/SDL_image/release/"
> +                       "SDL3_image-" version ".tar.gz"))
> +       (sha256
> +        (base32 "10n1rxyswchd8vppalh2bl3ah5fww5chd5cdvnhds7r60invs9d7"))))
> +    (build-system cmake-build-system)
> +    (arguments '(#:configure-flags '("-DSDLIMAGE_AVIF_SHARED=OFF"
> +                                     "-DSDLIMAGE_TIF_SHARED=OFF"
> +                                     "-DSDLIMAGE_WEBP_SHARED=OFF"

why set them? What happens if you don't set it?

> +                                     "-DSDLIMAGE_TESTS=ON")))
> +    (propagated-inputs
> +     (list sdl3 libavif libjpeg-turbo libpng libtiff libwebp))
> +    (properties '((upstream-name . "SDL3_image")))))
> +
>  (define-public guile-sdl
>    (package
>      (name "guile-sdl")
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.