From: Ricardo Wurmus <rekado@elephly.net>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: help-guix@gnu.org, davet@gnu.org
Subject: Re: Cannot build guile-chickadee.
Date: Wed, 20 Jun 2018 11:01:06 +0200 [thread overview]
Message-ID: <87po0lu90t.fsf@elephly.net> (raw)
In-Reply-To: <87muvqdjs4.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
Hi Pierre,
> Yes, last time I tried I had a similar issue: this is because you need
> the latest guile-sdl2 and guile-opengl.
There does not seem to be a more recent guile-opengl. I have added
guile-sdl2-devel, which is built from the latest git commit.
I also updated guile-chickadee to use the latest version from git.
Unfortunately, it still won’t build.
> As I mentioned in an e-mail I've sent recently, I'd like to update the 2
> package definitions in Guix and add Chickadee to the Guix repo.
> What do you think?
I’d prefer to use only released versions in Guix unless it cannot be
avoided to use development versions.
--
Ricardo
[-- Attachment #2: 0001-gnu-Add-guile-chickadee.patch --]
[-- Type: text/x-patch, Size: 3029 bytes --]
From d3854140439110bd66742c1252a0768141cd6a61 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Wed, 20 Jun 2018 02:59:23 +0200
Subject: [PATCH 1/3] gnu: Add guile-chickadee.
* gnu/packages/game-development.scm (guile-chickadee): New variable.
---
gnu/packages/game-development.scm | 38 ++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 3d6a038d9..5a192d939 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2015, 2016, 2017 David Thompson <davet@gnu.org>
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
-;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017 Julian Graham <joolean@gmail.com>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
@@ -74,6 +74,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages qt)
#:use-module (gnu packages sdl)
+ #:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages xdisorg)
@@ -1233,3 +1234,38 @@ related games such as Heretic and Hexen. It comes with a 3d preview mode and
a 2D editor view.")
(home-page "http://eureka-editor.sourceforge.net/")
(license license:gpl2+)))
+
+(define-public guile-chickadee
+ (package
+ (name "guile-chickadee")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://files.dthompson.us/chickadee/"
+ "chickadee-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10qx0ha5gsayybd186r1my7vc7rf5fbzp9jvmc4xg9a8wz8rqhah"))))
+ (build-system gnu-build-system)
+ (propagated-inputs
+ `(("guile-opengl" ,guile-opengl)
+ ("guile-sdl2" ,guile-sdl2)))
+ (inputs
+ `(("guile" ,guile-2.2)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)))
+ (home-page "https://dthompson.us/projects/chickadee.html")
+ (synopsis "Game development toolkit for Guile Scheme with SDL2 and OpenGL")
+ (description "Chickadee is a game development toolkit for Guile Scheme
+built on top of SDL2 and OpenGL. Chickadee aims to provide all the features
+that parenthetically inclined game developers need to make 2D (and eventually
+3D) games in Scheme, such as:
+
+@enumerate
+@item extensible, fixed-timestep game loop
+@item OpenGL-based rendering engine
+@item keyboard, mouse, controller input
+@item REPL-driven development model
+@end enumerate\n")
+ (license license:gpl3+)))
--
2.17.1
[-- Attachment #3: 0002-gnu-Add-guile-sdl2-devel.patch --]
[-- Type: text/x-patch, Size: 2618 bytes --]
From 98eb2053080aa033edf402f72925a2c4891ffe7a Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Wed, 20 Jun 2018 10:56:23 +0200
Subject: [PATCH 2/3] gnu: Add guile-sdl2-devel.
* gnu/packages/sdl.scm (guile-sdl2-devel): New variable.
---
gnu/packages/sdl.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 43cf2795d..7f3694199 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,10 +31,12 @@
#:use-module ((guix licenses) #:hide (freetype))
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (gnu packages audio)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages fcitx)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
@@ -46,6 +49,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages gl)
+ #:use-module (gnu packages texinfo)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xorg)
@@ -519,3 +523,24 @@ sound and device input (keyboards, joysticks, mice, etc.).")
The bindings are written in pure Scheme using Guile's foreign function
interface.")
(license lgpl3+)))
+
+(define-public guile-sdl2-devel
+ (let ((commit "3b814d7eb0b60c691803aa8681bcbd222acac36d")
+ (revision "1"))
+ (package (inherit guile-sdl2)
+ (name "guile-sdl2-devel")
+ (version (git-version "0.2.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://dthompson.us/guile-sdl2.git")
+ (commit commit)))
+ (sha256
+ (base32
+ "1rc8nggkqgjdnygsg1wk49j44ri3rq3znwdr6dwzrhjbnfixlbqh"))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)
+ ("guile" ,guile-2.2))))))
--
2.17.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0003-gnu-guile-chickadee-Update-to-0.2.0-1.bbb9f814.patch --]
[-- Type: text/x-patch, Size: 3313 bytes --]
From 2a02533a6442ffbe50f0c10acffb7e0ccb9ce4bf Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Wed, 20 Jun 2018 10:56:43 +0200
Subject: [PATCH 3/3] gnu: guile-chickadee: Update to 0.2.0-1.bbb9f814.
* gnu/packages/game-development.scm (guile-chickadee): Update to
0.2.0-1.bbb9f814.
[source]: Fetch from git.
[native-inputs]: Add autoconf and automake.
[propagated-inputs]: Use guile-sdl2-devel instead of guile-sdl2.
---
gnu/packages/game-development.scm | 51 +++++++++++++++++--------------
1 file changed, 28 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 5a192d939..7bfab31d4 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1236,28 +1236,33 @@ a 2D editor view.")
(license license:gpl2+)))
(define-public guile-chickadee
- (package
- (name "guile-chickadee")
- (version "0.2.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://files.dthompson.us/chickadee/"
- "chickadee-" version ".tar.gz"))
- (sha256
- (base32
- "10qx0ha5gsayybd186r1my7vc7rf5fbzp9jvmc4xg9a8wz8rqhah"))))
- (build-system gnu-build-system)
- (propagated-inputs
- `(("guile-opengl" ,guile-opengl)
- ("guile-sdl2" ,guile-sdl2)))
- (inputs
- `(("guile" ,guile-2.2)))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("texinfo" ,texinfo)))
- (home-page "https://dthompson.us/projects/chickadee.html")
- (synopsis "Game development toolkit for Guile Scheme with SDL2 and OpenGL")
- (description "Chickadee is a game development toolkit for Guile Scheme
+ (let ((commit "bbb9f814eff0683dffdbbf6c209db10fc2c78c84")
+ (revision "1"))
+ (package
+ (name "guile-chickadee")
+ (version (git-version "0.2.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://dthompson.us/chickadee.git")
+ (commit commit)))
+ (sha256
+ (base32
+ "1zsw69ddavqdyq3zd5sxg2cs9ghzd5dh6jk2d7lbggpawjjxvk4g"))))
+ (build-system gnu-build-system)
+ (propagated-inputs
+ `(("guile-opengl" ,guile-opengl)
+ ("guile-sdl2" ,guile-sdl2-devel)))
+ (inputs
+ `(("guile" ,guile-2.2)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)))
+ (home-page "https://dthompson.us/projects/chickadee.html")
+ (synopsis "Game development toolkit for Guile Scheme with SDL2 and OpenGL")
+ (description "Chickadee is a game development toolkit for Guile Scheme
built on top of SDL2 and OpenGL. Chickadee aims to provide all the features
that parenthetically inclined game developers need to make 2D (and eventually
3D) games in Scheme, such as:
@@ -1268,4 +1273,4 @@ that parenthetically inclined game developers need to make 2D (and eventually
@item keyboard, mouse, controller input
@item REPL-driven development model
@end enumerate\n")
- (license license:gpl3+)))
+ (license license:gpl3+))))
--
2.17.1
next prev parent reply other threads:[~2018-06-20 9:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-20 1:03 Cannot build guile-chickadee Ricardo Wurmus
2018-06-20 7:00 ` Pierre Neidhardt
2018-06-20 9:01 ` Ricardo Wurmus [this message]
2018-06-20 9:27 ` Ricardo Wurmus
2018-06-20 12:23 ` Thompson, David
2018-06-20 12:37 ` Ricardo Wurmus
2018-06-20 12:44 ` Thompson, David
2018-06-20 14:43 ` Joshua Branson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87po0lu90t.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=ambrevar@gmail.com \
--cc=davet@gnu.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.