From: ludo@gnu.org (Ludovic Courtès)
To: David Thompson <dthompson2@worcester.edu>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add guile-opengl
Date: Wed, 25 Jun 2014 21:29:19 +0200 [thread overview]
Message-ID: <87k384okj4.fsf@gnu.org> (raw)
In-Reply-To: <87pphxd9uf.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Tue, 24 Jun 2014 22:03:20 -0400")
David Thompson <dthompson2@worcester.edu> skribis:
> Finally got around to finishing up this package. I ran the example
> programs shipped with guile-opengl and confirmed that they work as
> expected. :)
>
> How does it look?
Looks good to me! One comment:
> + (define (dynamic-link-substitute file lib input)
> + (substitute* file
> + (((string-append "dynamic-link \"" lib "\""))
> + (string-append "dynamic-link \""
> + (assoc-ref inputs input)
> + "/lib/" lib "\""))))
Patterns in ‘substitute*’ are supposed to be literals.
Wouldn’t it work to do something like:
(substitute* file
(("dynamic-link \"lib[a-zA-Z]+\" _ libname)
(string-append ...)))
?
Thanks,
Ludo’.
next prev parent reply other threads:[~2014-06-25 19:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 2:03 [PATCH] gnu: Add guile-opengl David Thompson
2014-06-25 19:29 ` Ludovic Courtès [this message]
2014-06-26 0:04 ` David Thompson
2014-06-26 12:41 ` Ludovic Courtès
2014-06-27 4:08 ` 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=87k384okj4.fsf@gnu.org \
--to=ludo@gnu.org \
--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.