GNU bug report logs - #60008
[PATCH] gnu: Add raylib.

Previous Next

Package: guix-patches;

Reported by: dan <i <at> dan.games>

Date: Mon, 12 Dec 2022 14:12:01 UTC

Severity: normal

Tags: patch

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

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 60008 in the body.
You can then email your comments to 60008 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#60008; Package guix-patches. (Mon, 12 Dec 2022 14:12:01 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. (Mon, 12 Dec 2022 14:12:01 GMT) Full text and rfc822 format available.

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

From: dan <i <at> dan.games>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add raylib.
Date: Mon, 12 Dec 2022 22:11:00 +0800
* gnu/packages/game-development.scm (raylib): New variable.
---
 gnu/packages/game-development.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 4a0435045b..ca7808c0a1 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -27,6 +27,7 @@
 ;;; Copyright © 2021 Andy Tai <atai <at> atai.org>
 ;;; Copyright © 2022 Felix Gruber <felgru <at> posteo.net>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
+;;; Copyright © 2022 dan <i <at> dan.games>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2866,3 +2867,33 @@ (define-public recastnavigation
 progresses the level, or you may regenerate tiles as the world changes.")
       (home-page "https://github.com/recastnavigation/recastnavigation")
       (license license:zlib))))
+
+(define-public raylib
+  (package
+    (name "raylib")
+    (version "4.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/raysan5/raylib/")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14v5iwxh8grywiyw9agpd2sfpyriq1rwwkd9f2s4iihh0z5j7hk8"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f)) ;no test
+    (inputs (list alsa-lib
+                  libx11
+                  libxrandr
+                  libxi
+                  libxinerama
+                  libxcursor
+                  mesa))
+    (native-inputs (list pkg-config))
+    (synopsis "C library for videogame programming")
+    (description
+     "raylib is a simple and easy-to-use library to enjoy videogames programming.")
+    (home-page "https://www.raylib.com/")
+    (license license:zlib)))
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#60008; Package guix-patches. (Mon, 12 Dec 2022 18:21:01 GMT) Full text and rfc822 format available.

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

From: "(" <paren <at> disroot.org>
To: "dan" <i <at> dan.games>, <60008 <at> debbugs.gnu.org>
Subject: Re: [bug#60008] [PATCH] gnu: Add raylib.
Date: Mon, 12 Dec 2022 18:20:20 +0000
[Message part 1 (text/plain, inline)]
Heya,

* gnu/packages/game-development.scm (raylib): New variable.

Nice! :D

--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm

@@ -2866,3 +2867,33 @@ (define-public recastnavigation

+    (arguments
+     '(#:tests? #f)) ;no test

``(list ...)'' is preferred to ``'()'' for arguments now:

  (arguments
   (list #:tests? #f))

+    (description
+     "raylib is a simple and easy-to-use library to enjoy videogames programming.")

A bit markety, imo.  How about this?

  (description
   "raylib is a high-level library for video game programming.  It aims to
  abstract away platform and graphics details, allowing you to focus on
  writing your game.")

    -- (
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#60008; Package guix-patches. (Tue, 13 Dec 2022 00:00:02 GMT) Full text and rfc822 format available.

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

From: dan <i <at> dan.games>
To: 60008 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add raylib.
Date: Tue, 13 Dec 2022 07:59:11 +0800
* gnu/packages/game-development.scm (raylib): New variable.
---
 gnu/packages/game-development.scm | 33 +++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 4a0435045b..7bdc6a8818 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -27,6 +27,7 @@
 ;;; Copyright © 2021 Andy Tai <atai <at> atai.org>
 ;;; Copyright © 2022 Felix Gruber <felgru <at> posteo.net>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
+;;; Copyright © 2022 dan <i <at> dan.games>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2866,3 +2867,35 @@ (define-public recastnavigation
 progresses the level, or you may regenerate tiles as the world changes.")
       (home-page "https://github.com/recastnavigation/recastnavigation")
       (license license:zlib))))
+
+(define-public raylib
+  (package
+    (name "raylib")
+    (version "4.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/raysan5/raylib/")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14v5iwxh8grywiyw9agpd2sfpyriq1rwwkd9f2s4iihh0z5j7hk8"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f)) ;no test
+    (inputs (list alsa-lib
+                  libx11
+                  libxrandr
+                  libxi
+                  libxinerama
+                  libxcursor
+                  mesa))
+    (native-inputs (list pkg-config))
+    (synopsis "C library for videogame programming")
+    (description
+     "raylib is a high-level library for video game programming.  It aims to
+  abstract away platform and graphics details, allowing you to focus on
+  writing your game.")
+    (home-page "https://www.raylib.com/")
+    (license license:zlib)))
-- 
2.38.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 17 Jan 2023 14:51:02 GMT) Full text and rfc822 format available.

Notification sent to dan <i <at> dan.games>:
bug acknowledged by developer. (Tue, 17 Jan 2023 14:51:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: dan <i <at> dan.games>
Cc: 60008-done <at> debbugs.gnu.org
Subject: Re: bug#60008: [PATCH] gnu: Add raylib.
Date: Tue, 17 Jan 2023 15:50:43 +0100
Hi,

dan <i <at> dan.games> skribis:

> * gnu/packages/game-development.scm (raylib): New variable.

Applied, thanks!




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

This bug report was last modified 1 year and 64 days ago.

Previous Next


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