GNU bug report logs -
#74388
[PATCH] gnu: Add sdl3.
Previous Next
Reported by: dan <i <at> dan.games>
Date: Sun, 17 Nov 2024 05:34:01 UTC
Severity: normal
Tags: patch
Done: Z572 <zhengjunjie <at> iscas.ac.cn>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74388 in the body.
You can then email your comments to 74388 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#74388
; Package
guix-patches
.
(Sun, 17 Nov 2024 05:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
dan <i <at> dan.games>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 17 Nov 2024 05:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/sdl.scm (sdl3): New variable.
Change-Id: I3e8c3c6290078da18139ce5375a8e1902a360f4a
---
gnu/packages/sdl.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 227846c042..0ed9d24f80 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -146,6 +146,40 @@ (define-public sdl2
(home-page "https://libsdl.org/")
(license license:bsd-3)))
+(define-public sdl3
+ (package
+ (inherit sdl2)
+ (name "sdl3")
+ (version "3.1.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libsdl-org/SDL")
+ ;; Change to release- when 3.2.0 is released.
+ (commit (string-append "preview-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1plyp0x8rvfwxpmfdjndj78kbfaisljjza700mvks4qyjjvmk2rh"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:tests? #f
+ #:configure-flags
+ #~(list "-DSDL_SHARED=ON"
+ "-DSDL_ALSA_SHARED=OFF"
+ "-DSDL_PULSEAUDIO_SHARED=OFF"
+ "-DSDL_X11_SHARED=OFF"
+ "-DSDL_WAYLAND_SHARED=OFF"
+ "-DSDL_KMSDRM=ON"
+ "-DSDL_KMSDRM_SHARED=OFF"
+ (string-append "-DCMAKE_INSTALL_RPATH="
+ (string-join
+ (list
+ (string-append #$(this-package-input "eudev") "/lib")
+ (string-append #$(this-package-input "vulkan-loader") "/lib"))
+ ";")))))))
+
(define-public sdl12-compat
(package
(name "sdl12-compat")
base-commit: 0e1ffbc7f5f060f89c890472377a6102f27f6e9b
--
2.46.0
Reply sent
to
Z572 <zhengjunjie <at> iscas.ac.cn>
:
You have taken responsibility.
(Wed, 15 Jan 2025 03:35:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
dan <i <at> dan.games>
:
bug acknowledged by developer.
(Wed, 15 Jan 2025 03:35:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 74388-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
dan <i <at> dan.games> writes:
> * gnu/packages/sdl.scm (sdl3): New variable.
>
> Change-Id: I3e8c3c6290078da18139ce5375a8e1902a360f4a
> ---
> gnu/packages/sdl.scm | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
> index 227846c042..0ed9d24f80 100644
> --- a/gnu/packages/sdl.scm
> +++ b/gnu/packages/sdl.scm
> @@ -146,6 +146,40 @@ (define-public sdl2
> (home-page "https://libsdl.org/")
> (license license:bsd-3)))
>
> +(define-public sdl3
> + (package
> + (inherit sdl2)
> + (name "sdl3")
> + (version "3.1.6")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/libsdl-org/SDL")
> + ;; Change to release- when 3.2.0 is released.
> + (commit (string-append "preview-" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "1plyp0x8rvfwxpmfdjndj78kbfaisljjza700mvks4qyjjvmk2rh"))))
> + (build-system cmake-build-system)
> + (arguments
> + (list
> + #:tests? #f
> + #:configure-flags
> + #~(list "-DSDL_SHARED=ON"
> + "-DSDL_ALSA_SHARED=OFF"
> + "-DSDL_PULSEAUDIO_SHARED=OFF"
> + "-DSDL_X11_SHARED=OFF"
> + "-DSDL_WAYLAND_SHARED=OFF"
> + "-DSDL_KMSDRM=ON"
> + "-DSDL_KMSDRM_SHARED=OFF"
> + (string-append "-DCMAKE_INSTALL_RPATH="
> + (string-join
> + (list
> + (string-append #$(this-package-input "eudev") "/lib")
> + (string-append #$(this-package-input "vulkan-loader") "/lib"))
> + ";")))))))
> +
> (define-public sdl12-compat
> (package
> (name "sdl12-compat")
>
> base-commit: 0e1ffbc7f5f060f89c890472377a6102f27f6e9b
pushed, closing. And update to 3.1.8.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 12 Feb 2025 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.