GNU bug report logs - #76766
[PATCH] gnu: Add sdl3-gfx.

Previous Next

Package: guix-patches;

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

Date: Thu, 6 Mar 2025 01:38:02 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

To reply to this bug, email your comments to 76766 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76766; Package guix-patches. (Thu, 06 Mar 2025 01:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nguyễn Gia Phong <mcsinyx <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 06 Mar 2025 01:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
Subject: [PATCH] gnu: Add sdl3-gfx.
Date: Thu,  6 Mar 2025 10:35:01 +0900
* gnu/packages/sdl.scm (sdl3-gfx): New variable.

Change-Id: I4be1900c77367b327d22def198e5f58360efaf6e
---
https://github.com/sabdul-khabir/SDL3_gfx
is recommended by the maintainer of SDL{,2}_gfx:
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx

 gnu/packages/sdl.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 42fcf35d40fe..00a11d8d5b02 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -667,6 +667,31 @@ (define-public sdl2-gamecontrollerdb
 mappings intended for the use with SDL2's game controller functionality.")
       (license license:zlib))))
 
+(define-public sdl3-gfx
+  (package
+    (name "sdl3-gfx")
+    (version "1.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/sabdul-khabir/SDL3_gfx")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "18g9qavk0wh1bvfh6gdi5q75fd57dk0gp5r20c80x7xnp2ywywih"))))
+    (build-system cmake-build-system)
+    (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")))
+    (propagated-inputs (list sdl3))
+    (home-page "https://github.com/sabdul-khabir/SDL3_gfx")
+    (synopsis "SDL3 graphics drawing primitives")
+    (description
+     "This package provides Graphics drawing primitives
+and other support functions wrapped up in an add-on, C-based library
+for the Simple Direct Media (SDL) cross-platform API layer.")
+    (license license:zlib)
+    (properties '((upstream-name . "SDL3_gfx")))))
+
 (define-public guile-sdl
   (package
     (name "guile-sdl")

base-commit: 310adf4ce70cbb864859274fcc7842bd519bbddc
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76766; Package guix-patches. (Sun, 30 Mar 2025 03:30:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Z572 <z572 <at> z572.online>
To: guix-patches--- via <guix-patches <at> gnu.org>
Cc: Nguyễn Gia Phong <mcsinyx <at> disroot.org>,
 76766-done <at> debbugs.gnu.org
Subject: Re: [bug#76766] [PATCH] gnu: Add sdl3-gfx.
Date: Sun, 30 Mar 2025 11:28:28 +0800
[Message part 1 (text/plain, inline)]
guix-patches--- via <guix-patches <at> gnu.org> writes:

> * gnu/packages/sdl.scm (sdl3-gfx): New variable.
>
> Change-Id: I4be1900c77367b327d22def198e5f58360efaf6e
> ---
> https://github.com/sabdul-khabir/SDL3_gfx
> is recommended by the maintainer of SDL{,2}_gfx:
> https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx
>
>  gnu/packages/sdl.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
> index 42fcf35d40fe..00a11d8d5b02 100644
> --- a/gnu/packages/sdl.scm
> +++ b/gnu/packages/sdl.scm
> @@ -667,6 +667,31 @@ (define-public sdl2-gamecontrollerdb
>  mappings intended for the use with SDL2's game controller functionality.")
>        (license license:zlib))))
>  
> +(define-public sdl3-gfx
> +  (package
> +    (name "sdl3-gfx")
> +    (version "1.0.1")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/sabdul-khabir/SDL3_gfx")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "18g9qavk0wh1bvfh6gdi5q75fd57dk0gp5r20c80x7xnp2ywywih"))))
> +    (build-system cmake-build-system)
> +    (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")))

use (arguments (list #:configure-flags #~(list "-DBUILD_TESTS=ON")))

> +    (propagated-inputs (list sdl3))
> +    (home-page "https://github.com/sabdul-khabir/SDL3_gfx")
> +    (synopsis "SDL3 graphics drawing primitives")
> +    (description
> +     "This package provides Graphics drawing primitives
> +and other support functions wrapped up in an add-on, C-based library
> +for the Simple Direct Media (SDL) cross-platform API layer.")
> +    (license license:zlib)
> +    (properties '((upstream-name . "SDL3_gfx")))))
> +
>  (define-public guile-sdl
>    (package
>      (name "guile-sdl")
>
> base-commit: 310adf4ce70cbb864859274fcc7842bd519bbddc
pushed, closing.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Z572 <z572 <at> z572.online>:
You have taken responsibility. (Sun, 30 Mar 2025 03:30:03 GMT) Full text and rfc822 format available.

Notification sent to Nguyễn Gia Phong <mcsinyx <at> disroot.org>:
bug acknowledged by developer. (Sun, 30 Mar 2025 03:30:04 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#76766; Package guix-patches. (Tue, 01 Apr 2025 05:05:02 GMT) Full text and rfc822 format available.

Message #16 received at 76766-done <at> debbugs.gnu.org (full text, mbox):

From: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
To: "Z572" <z572 <at> z572.online>
Cc: 76766-done <at> debbugs.gnu.org
Subject: Re: [bug#76766] [PATCH] gnu: Add sdl3-gfx.
Date: Tue, 01 Apr 2025 14:04:47 +0900
On 2025-03-30 at 11:28+08:00, Z572 wrote:
> Nguyễn Gia Phong writes:
> > * gnu/packages/sdl.scm (sdl3-gfx): New variable.
>
> pushed, closing.

Thanks!  Could you take a look at my patch set 76757
for SDL3_image and SDL3_ttf?
https://issues.guix.gnu.org/76757




This bug report was last modified 11 days ago.

Previous Next


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