GNU bug report logs - #78454
[PATCH 0/1] gnu: speed-dreams: Update to 2.4.1

Previous Next

Package: guix-patches;

Reported by: Adrien 'neox' Bourmault <neox <at> gnu.org>

Date: Fri, 16 May 2025 12:53:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 78454 AT debbugs.gnu.org.

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#78454; Package guix-patches. (Fri, 16 May 2025 12:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrien 'neox' Bourmault <neox <at> gnu.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 16 May 2025 12:53:02 GMT) Full text and rfc822 format available.

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

From: Adrien 'neox' Bourmault <neox <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Adrien 'neox' Bourmault <neox <at> gnu.org>
Subject: [PATCH 0/1] gnu: speed-dreams: Update to 2.4.1
Date: Fri, 16 May 2025 14:50:55 +0200
Hi there.

I'm proposing here an update for the Speed Dreams package to v2.4.1.

After discussing with the project maintainer, it appears that some changes were
necessary in our package as the project forked FreeSOLID for their own use.
This patch is thus adding the speed-dreams-freesolid hidden package for
Speed Dreams to build properly.

Have a nice day and happy hacking!

Adrien 'neox' Bourmault (1):
  gnu: speed-dreams: Update to 2.4.1.

 gnu/packages/games.scm | 50 ++++++++++++++++++++++++++++++++++--------
 1 file changed, 41 insertions(+), 9 deletions(-)

-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78454; Package guix-patches. (Fri, 16 May 2025 12:55:03 GMT) Full text and rfc822 format available.

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

From: Adrien 'neox' Bourmault <neox <at> gnu.org>
To: 78454 <at> debbugs.gnu.org
Cc: Adrien 'neox' Bourmault <neox <at> gnu.org>
Subject: [PATCH 1/1] gnu: speed-dreams: Update to 2.4.1.
Date: Fri, 16 May 2025 14:54:07 +0200
* gnu/packages/games.scm (speed-dreams-version)

(speed-dreams-freesolid): New variable.
[source]: Fetch from git. Use submodule commit hash.
[build-system]: Use cmake-build-system.
[tests]: Disable tests.
[configure-flags]: Add BUILD_SHARED_LIBS=ON.

(speed-dreams-data): Update to 2.4.1.

(speed-dreams): Update to 2.4.1.
[inputs]: Delete freesolid. Add speed-dreams-freesolid.
[configure-flags]: Add OPTION_TRACKEDITOR=OFF.

Signed-off-by: Adrien 'neox' Bourmault <neox <at> gnu.org>
---
 gnu/packages/games.scm | 50 ++++++++++++++++++++++++++++++++++--------
 1 file changed, 41 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 62edc1bebf..c452361b8d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9677,12 +9677,11 @@ (define-public endless-sky
                    license:public-domain))))
 
 (define-public speed-dreams-data
-  ;; Use the commit corresponding to the 'speed-dreams-data' submodule
-  ;; (https://forge.a-lec.org/speed-dreams/speed-dreams-data).
+  ;; Use the same tag version as speed-dreams package.
   (hidden-package
    (package
      (name "speed-dreams-data")
-     (version "2.4.0")
+     (version "2.4.1")
      (source
       (origin
         (method git-fetch)
@@ -9693,7 +9692,7 @@ (define-public speed-dreams-data
         (file-name (git-file-name name version))
         (sha256
          (base32
-          "0ki620pq5gcn10l5328qsh6jdjsgrvyb4fhvgi0s9fvflzzg6905"))))
+          "1w7j2znqy4ixsild1v0qz7hw3m42gqg1jnq7nnb48d6fc64hv3bn"))))
      (build-system cmake-build-system)
      (arguments (list #:tests? #f))   ;no test suite
      (home-page "https://www.speed-dreams.net/en")
@@ -9702,10 +9701,42 @@ (define-public speed-dreams-data
 Speed Dreams racing game.")
      (license license:gpl2+))))
 
+(define-public speed-dreams-freesolid
+  ;; Use the commit corresponding to the 'freesolid' submodule
+  ;; (https://forge.a-lec.org/speed-dreams/speed-dreams-code).
+  (hidden-package
+    (package
+      (name "speed-dreams-freesolid")
+      (version "2.1.2")
+      (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url (string-append "https://forge.a-lec.org/speed-dreams/freesolid"))
+                     (commit "2c0071923be6afb487ed4e3b84da501f0a2e7e2d")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "025ml2nzhkfki28ckjjggqpkr1gd02c2blpr4afc5175r8bfh2w4"))))
+      (build-system cmake-build-system)
+      (arguments
+       (list
+        #:tests? #f ;no test suite
+        #:build-type "Release"
+        #:configure-flags
+          #~(list "-DBUILD_SHARED_LIBS=ON"))) ;speed-dreams build system needs a shared library
+
+      (home-page "https://forge.a-lec.org/speed-dreams/freesolid")
+      (synopsis "Speed-Dreams 3D collision detection C++ library")
+      (description "Speed Dreams FreeSOLID is a fork of FreeSOLID, a library for
+collision detection of three-dimensional objects undergoing rigid motion and
+deformation. It is designed to be used in interactive 3D graphics
+applications.")
+      (license license:lgpl2.0+))))
+
 (define-public speed-dreams
   (package
     (name "speed-dreams")
-    (version "2.4.0")
+    (version "2.4.1")
     (source
      (origin
        (method git-fetch)
@@ -9716,14 +9747,15 @@ (define-public speed-dreams
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "150mwjdv9pmc3cjchfbkprnlbsnw2gv57350lir5vbh77xrgpn8c"))))
+         "17acjfgffw39w05rha2r89q4cb97z1qg1z5rpy8ipn0v6dipw0i7"))))
     (build-system cmake-build-system)
     (arguments
      (list
-      #:tests? #f                       ;no test suite
+      #:tests? #f                          ;no test suite
       #:build-type "Release"
       #:configure-flags
-      #~(list "-DOPTION_3RDPARTY_EXPAT=ON" ;use system expat library
+      #~(list "-DOPTION_TRACKEDITOR=OFF"   ;not detecting jdk properly
+              "-DOPTION_3RDPARTY_EXPAT=ON" ;use system expat library
               "-DSD_BINDIR:PATH=bin"       ;install to /bin instead of /games
               (string-append "-DVERSION_LONG=" #$version))))
     (native-inputs (list pkg-config speed-dreams-data))
@@ -9733,7 +9765,7 @@ (define-public speed-dreams
            enet
            expat
            freeglut
-           freesolid
+           speed-dreams-freesolid
            freetype
            glm
            libjpeg-turbo
-- 
2.49.0





This bug report was last modified today.

Previous Next


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