GNU bug report logs - #38950
[PATCH] Add chipmunk2d

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Sun, 5 Jan 2020 17:55:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 38950 in the body.
You can then email your comments to 38950 AT debbugs.gnu.org in the normal way.

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#38950; Package guix-patches. (Sun, 05 Jan 2020 17:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 05 Jan 2020 17:55:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] Add chipmunk2d
Date: Sun, 05 Jan 2020 18:54:22 +0100
[Message part 1 (text/plain, inline)]
Hello,

The following patch adds Chipmunk2D.

Feedback welcome.

Regards,

-- 
Nicolas Goaziou
[0001-gnu-Add-chipmunk2d.patch (text/x-diff, inline)]
From b1d239f57cf870fa525d2429069ec60993af1b4c Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Sun, 5 Jan 2020 18:52:49 +0100
Subject: [PATCH] gnu: Add chipmunk2d.

* gnu/packages/game-development.scm (chipmunk2d): New variable.
---
 gnu/packages/game-development.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 7aef6b09d2..58623c4a4a 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2029,3 +2029,31 @@ environments and virtual creatures.  It is currently used in many
 computer games, 3D authoring tools and simulation tools.")
     ;; Software is dual-licensed.
     (license (list license:lgpl2.1+ license:expat))))
+
+(define-public chipmunk2d
+  (package
+    (name "chipmunk2d")
+    (version "7.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/slembcke/Chipmunk2D.git")
+             (commit (string-append "Chipmunk-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qmkn01g06p3rnhmbyffmjns6wj5vhgf9cscigk3wzxcpwv1hyxb"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f                      ;no test
+       #:configure-flags '("-DBUILD_STATIC=OFF"
+                           "-DBUILD_DEMOS=OFF")))
+    (inputs
+     `(("freeglut" ,freeglut)
+       ("libxmu" ,libxmu)
+       ("libxrandr" ,libxrandr)))
+    (home-page "http://chipmunk2d.net/")
+    (synopsis "Fast and lightweight 2D game physics library")
+    (description "Chipmunk2D is a simple, lightweight, fast and
+portable 2D rigid body physics library written in C.")
+    (license license:expat)))
-- 
2.24.1


Information forwarded to guix-patches <at> gnu.org:
bug#38950; Package guix-patches. (Fri, 17 Jan 2020 13:04:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 38950 <at> debbugs.gnu.org
Subject: Re: [bug#38950] [PATCH] Add chipmunk2d
Date: Fri, 17 Jan 2020 14:03:33 +0100
Hello,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:

>>From b1d239f57cf870fa525d2429069ec60993af1b4c Mon Sep 17 00:00:00 2001
> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
> Date: Sun, 5 Jan 2020 18:52:49 +0100
> Subject: [PATCH] gnu: Add chipmunk2d.
>
> * gnu/packages/game-development.scm (chipmunk2d): New variable.

LGTM, thanks!

Ludo’.




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Fri, 17 Jan 2020 20:20:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
bug acknowledged by developer. (Fri, 17 Jan 2020 20:20:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 38950-done <at> debbugs.gnu.org
Subject: Re: [bug#38950] [PATCH] Add chipmunk2d
Date: Fri, 17 Jan 2020 21:19:45 +0100
Hello,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Hello,
>
> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:
>
>>>From b1d239f57cf870fa525d2429069ec60993af1b4c Mon Sep 17 00:00:00 2001
>> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
>> Date: Sun, 5 Jan 2020 18:52:49 +0100
>> Subject: [PATCH] gnu: Add chipmunk2d.
>>
>> * gnu/packages/game-development.scm (chipmunk2d): New variable.
>
> LGTM, thanks!

I changed the name to "chipmunk", as upstream uses both names, and every
distribution I could check uses this instead of "chipmunk2d".

I then applied the patch as d6ab5f4fa71a965c4e0dffd5eecb7a4345c9c89f.

Thank you for the review.

Regards,

-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 15 Feb 2020 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 71 days ago.

Previous Next


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