Hi Ricardo, Thanks for taking the time to review this!
On Mon, Mar 21, 2016 at 9:36 AM, Ricardo Wurmus < ricardo.wur...@mdc-berlin.de> wrote: > > Hi David, > > thank you for the patch! > > > * gnu/packages/audio.scm (freealut): New variable. > > --- > > [...] > > > > > +(define-public freealut > > + (package > > + (name "freealut") > > + (version "1.1.0") > > + (source (origin > > + (method git-fetch) > > + (uri (git-reference > > + ;; The official repository is defunct. This is the > most > > + ;; popular mirror. > > + (url (string-append "https://github.com/vancegroup/" > name)) > > + (commit version))) > > I see that Arch and Fedora both use the tarball from here: > > > http://pkgs.fedoraproject.org/repo/pkgs/freealut/freealut-1.1.0.tar.gz/e089b28a0267faabdb6c079ee173664a/freealut-1.1.0.tar.gz > > The advantage of that tarball is that it doesn’t require bootstrapping, > so you can do without the additional “autogen” phase and without the > three native inputs. > Done. By the way, where exactly do you find what tarball Arch and Fedora use for a given package? I couldn't seem to find that information on a cursory glance. > > > + (home-page "http://www.openal.org/") > > Does Freealut itself have a home page? It doesn’t seem right to me to > declare the website of OpenAL as the home page, when the package is > really just one implemenatation of the standard published on the OpenAL > website. > > I agree, but it doesn't seem to have a separate home page. Debian simply lists the home page as "http://www.openal.org/", for instance. I could set the field to #f, but guix lint complains about that and it looks like only the bootstrap-binaries actually do that. For now, I've added a comment clarifying the situation. Let me know if you think that another option would be better. > > + (synopsis "OpenAL Utility Tool") > > Is it a library or a tool (or both)? What does it do? > It is a library, similar to GLUT from OpenGL. I've expanded the synopsis to "Implementation of the OpenAL Utility Toolkit (ALUT)", which I patterned off of the freeglut synopsis. > > > + (description "Freealut is a free implementation of OpenAL's ALUT > > +standard.") > > Could you try to extend the description a little? I don’t know what > this really means. > I've expanded the synopsis. > > ~~ Ricardo > Thanks! David Hashe
From 196fcc5fb1071da976aec1785fd95ada8fdf7418 Mon Sep 17 00:00:00 2001 From: David Hashe <david.ha...@dhashe.com> Date: Sat, 19 Mar 2016 00:56:55 -0500 Subject: [PATCH] gnu: Add freealut. * gnu/packages/audio.scm (freealut): New variable. --- gnu/packages/audio.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index ca438f8..5225c64 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2015 Andreas Enge <andr...@enge.fr> ;;; Copyright © 2015 Alex Kost <alez...@gmail.com> ;;; Copyright © 2015, 2016 Mark H Weaver <m...@netris.org> +;;; Copyright © 2016 David Hashe <david.ha...@dhashe.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1504,6 +1505,36 @@ buffers, and audio capture.") (home-page "http://kcat.strangesoft.net/openal.html") (license license:lgpl2.0+))) +(define-public freealut + (package + (name "freealut") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri + (let ((name-version-tar + (string-append name "-" version ".tar.gz"))) + (string-append + "http://pkgs.fedoraproject.org/repo/pkgs/" name "/" + name-version-tar "/" + "e089b28a0267faabdb6c079ee173664a/" + name-version-tar))) + (sha256 + (base32 + "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0")))) + (build-system gnu-build-system) + (inputs + `(("openal" ,openal))) + ;; This is the home page for the specification, but there is no + ;; project-specific homepage. + (home-page "https://www.openal.org/") + (synopsis "Implementation of the OpenAL Utility Toolkit (ALUT)") + (description "Freealut is a free implementation of OpenAL's ALUT standard. +ALUT is the OpenAL equivalent to GLUT fom OpenGL and has an intentionally +similar API. It is intended to allow developers to quickly learn OpenAL while +abstracting away details such as loading sound samples from disk.") + (license license:lgpl2.0+))) + (define-public patchage (package (name "patchage") -- 1.9.1