From: David Hashe <david.hashe@dhashe.com>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/2] gnu: Add freealut.
Date: Mon, 21 Mar 2016 16:44:40 -0500 [thread overview]
Message-ID: <CAAn-YqEi04QnhCxsncatKVc3SL88Dv40n57FbFL0OkfxeFELdQ@mail.gmail.com> (raw)
In-Reply-To: <87egb334ol.fsf@mdc-berlin.de>
[-- Attachment #1.1: Type: text/plain, Size: 2203 bytes --]
On Mon, Mar 21, 2016 at 4:24 PM, Ricardo Wurmus <
ricardo.wurmus@mdc-berlin.de> wrote:
>
> David Hashe <david.hashe@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
[-- Attachment #1.2: Type: text/html, Size: 3537 bytes --]
[-- Attachment #2: 0001-gnu-Add-freealut.patch --]
[-- Type: text/x-patch, Size: 2155 bytes --]
From 38bdec70d4cb3cdc3e810eea7c3c475a289e3cd4 Mon Sep 17 00:00:00 2001
From: David Hashe <david.hashe@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 <andreas@enge.fr>
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2016 David Hashe <david.hashe@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
prev parent reply other threads:[~2016-03-21 21:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-19 6:56 [PATCH 1/2] gnu: Add freealut David Hashe
2016-03-19 6:56 ` [PATCH 2/2] gnu: Add taisei David Hashe
2016-03-21 14:36 ` [PATCH 1/2] gnu: Add freealut Ricardo Wurmus
2016-03-21 20:44 ` David Hashe
2016-03-21 21:24 ` Ricardo Wurmus
2016-03-21 21:44 ` David Hashe [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAn-YqEi04QnhCxsncatKVc3SL88Dv40n57FbFL0OkfxeFELdQ@mail.gmail.com \
--to=david.hashe@dhashe.com \
--cc=guix-devel@gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).