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 15:44:10 -0500 [thread overview]
Message-ID: <CAAn-YqHsFU5zmSn8W+cwFEdpuiS0zgMmuweM3xM7pA6sdTjn+w@mail.gmail.com> (raw)
In-Reply-To: <idjtwjzsxs4.fsf@bimsb-sys02.mdc-berlin.net>
[-- Attachment #1.1: Type: text/plain, Size: 2570 bytes --]
Hi Ricardo,
Thanks for taking the time to review this!
On Mon, Mar 21, 2016 at 9:36 AM, Ricardo Wurmus <
ricardo.wurmus@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
[-- Attachment #1.2: Type: text/html, Size: 4748 bytes --]
[-- Attachment #2: 0001-gnu-Add-freealut.patch --]
[-- Type: text/x-patch, Size: 2260 bytes --]
From 196fcc5fb1071da976aec1785fd95ada8fdf7418 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 | 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 <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,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
next prev parent reply other threads:[~2016-03-21 20:44 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 [this message]
2016-03-21 21:24 ` Ricardo Wurmus
2016-03-21 21:44 ` David Hashe
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=CAAn-YqHsFU5zmSn8W+cwFEdpuiS0zgMmuweM3xM7pA6sdTjn+w@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 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.