From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: David Thompson <dthompson2@worcester.edu>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH]: gnu: Add lash.
Date: Sat, 14 Feb 2015 00:14:52 +0100 [thread overview]
Message-ID: <87pp9dmmj7.fsf@mango.localdomain> (raw)
In-Reply-To: <87sie9e7rl.fsf@fsf.org>
David Thompson writes:
>> + (uri (string-append
>> + "mirror://savannah/lash/lash-"
>> + (string-map (lambda (x) (if (char=? x #\-) #\~ x)) version)
>
> How about splitting the string on #\- and then joining on #\~ instead?
Yeah, that would probably look better. (I just adapted this from
another package without thinking much of it.)
>> + ".tar.bz2"))
>> + (file-name (string-append name "-" version ".tar.gz"))
>
> The extension should be ".tar.bz2".
Ouch! Good catch!
>> + (sha256
>> + (base32
>> + "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
>> + (build-system gnu-build-system)
>> + (inputs
>> + `(("bdb" ,bdb)
>> + ("gtk" ,gtk+-2)
>> + ("jack" ,jack-1)
>> + ("libuuid" ,util-linux)
>> + ("readline" ,readline)
>> + ("python" ,python-2)))
>> + (propagated-inputs
>> + `(("alsa-lib" ,alsa-lib)
>> + ("dbus" ,dbus)
>> + ("libxml2" ,libxml2)))
>
> I'm always wary of propagated inputs, but I'll take your word for it. :)
I'm not sure I'm doing this right, but I noticed that in a package using
lash pkg-config complained about not being able to confirm a working
lash because of these three missing dependencies. These are lash
dependencies that are listed in PC_REQUIRES. As far as I can tell any
package dependent on lash would have to have at least these three
packages as inputs. The complete list of PC_REQUIRES is this:
dbus, libuuid, libxml2, alsa, jack
I would be happy if someone could confirm that this is how propagated
inputs are to be used, and if lash should propagate all five of these
inputs (instead of only the three here).
~~ Ricardo
next prev parent reply other threads:[~2015-02-13 23:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-13 22:21 [PATCH]: gnu: Add lash Ricardo Wurmus
2015-02-13 23:01 ` David Thompson
2015-02-13 23:14 ` Ricardo Wurmus [this message]
2015-02-14 5:38 ` Mark H Weaver
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=87pp9dmmj7.fsf@mango.localdomain \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@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.