On Mon, Mar 21, 2016 at 4:24 PM, Ricardo Wurmus < ricardo.wur...@mdc-berlin.de> wrote:
> > David Hashe <david.ha...@dhashe.com> writes: > > >> 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. > > I looked at the PKGBUILD of the Arch package. > > >> 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. > > That’s good, thanks. > > The patch looks pretty good to me now, except maybe for this > > + (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))) > > I find the let binding a bit too ... much :) But if nobody else has a > problem with this, I wouldn’t complain. > Yeah... I wasn't sure if it made things better or worse. I've gone ahead and removed it, since it might be a bit more readable that way. > > Thanks! > > ~~ Ricardo > - David
From 38bdec70d4cb3cdc3e810eea7c3c475a289e3cd4 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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index ca438f8..cbaad11 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,33 @@ 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 (string-append + "http://pkgs.fedoraproject.org/repo/pkgs/" name "/" + name "-" version ".tar.gz/" + "e089b28a0267faabdb6c079ee173664a/" + name "-" version ".tar.gz")) + (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