GNU bug report logs -
#77910
[PATCH 1/2] gnu: sdl3: Update to 3.2.10.
Previous Next
To reply to this bug, email your comments to 77910 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#77910
; Package
guix-patches
.
(Fri, 18 Apr 2025 23:40:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
iyzsong <at> envs.net
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 18 Apr 2025 23:40:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: 宋文武 <iyzsong <at> member.fsf.org>
* gnu/packages/sdl.scm (sdl3): Update to 3.2.10.
[propagated-inputs]: Add mesa.
Change-Id: Ibbd6b1056e5e1467c5d73235abca48cd6d63e780
---
gnu/packages/sdl.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 0f612b1bbb..c23614745c 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -151,7 +151,7 @@ (define-public sdl3
(package
(inherit sdl2)
(name "sdl3")
- (version "3.2.8")
+ (version "3.2.10")
(source
(origin
(method url-fetch)
@@ -160,7 +160,7 @@ (define-public sdl3
version "/SDL3-" version ".tar.gz"))
(sha256
(base32
- "00yv0273fvljp916kjvcmr60bl97pd95xdpjrn77dpk1nfmqyf0k"))))
+ "1q0ksmg1h0xfjpgbshslxc5a2b2flcm7n5lwiq4v8vf6vssffyzq"))))
(build-system cmake-build-system)
(arguments
(list
@@ -188,6 +188,7 @@ (define-public sdl3
libxcursor ;enables X11 cursor support
libxkbcommon
libxrandr
+ mesa ;required by wayland
pipewire
pulseaudio
wayland))
base-commit: a4a7ff0319c622cd08aa7461cc88cc6608fe62cb
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#77910
; Package
guix-patches
.
(Fri, 18 Apr 2025 23:42:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 77910 <at> debbugs.gnu.org (full text, mbox):
From: 宋文武 <iyzsong <at> member.fsf.org>
* gnu/packages/sdl.scm (sdl2-compat): New variable.
Change-Id: I57eae86fc14224f08c42f079b9e271509e855166
---
gnu/packages/sdl.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index c23614745c..75fe524b3a 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -201,6 +201,46 @@ (define-public sdl3
vulkan-loader
wayland-protocols))))
+(define-public sdl2-compat
+ (package
+ (name "sdl2-compat")
+ (version "2.32.54")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libsdl-org/sdl2-compat")
+ (commit (string-append "release-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ijpx62b9syypxxnwvggz4l5fmrgln95ka180am9g2hgyqkqlj5n"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'qualify-libsdl3
+ (lambda _
+ (substitute* "src/sdl2_compat.c"
+ (("libSDL3[.]so[.]0")
+ (string-append #$(this-package-input "sdl3")
+ "/lib/libSDL3.so.0")))))
+ (add-after 'install 'install-sdl2.pc
+ (lambda _
+ (let ((pcdir (string-append #$output
+ "/lib/pkgconfig")))
+ (symlink (string-append pcdir "/sdl2-compat.pc")
+ (string-append pcdir "/sdl2.pc"))))))))
+ (inputs (list sdl3))
+ (propagated-inputs (list libx11)) ;required by SDL_syswm.h
+ (synopsis "Cross platform game development library")
+ (description "Simple DirectMedia Layer is a cross-platform development library
+designed to provide low level access to audio, keyboard, mouse, joystick, and
+graphics hardware. This package is a compatibility layer; it provides a binary and
+source compatible API for programs written against SDL2, but it uses SDL3 behind the
+scenes.")
+ (home-page "https://libsdl.org/")
+ (license license:zlib)))
+
(define-public sdl12-compat
(package
(name "sdl12-compat")
--
2.49.0
This bug report was last modified 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.