unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH]: add freepats and timidity
Date: Tue, 24 Feb 2015 23:17:21 +0100	[thread overview]
Message-ID: <87385v9cpa.fsf@gnu.org> (raw)
In-Reply-To: <20150219200320.GA7712@debian> (Andreas Enge's message of "Thu, 19 Feb 2015 21:03:20 +0100")

Andreas Enge <andreas@enge.fr> skribis:

> On Thu, Feb 19, 2015 at 07:33:59PM +0100, Ricardo Wurmus wrote:
>> +(define-public timidity++
>> +  (package
>> +    (name "timidity++")
>
> Back to names... I would call this "timidity". The package guidelines only
> state that underscores are replaced by "-", but the general idea would be
> to replace special characters with dashes, and to rather drop them at the end
> (or beginning) of a package name.

I’m fine with ‘timidity++’.

>> +          (let ((out (string-append (assoc-ref %outputs "out")
>> +                                    "/share/timidity")))
>> +            (mkdir-p out)
>> +            (call-with-output-file
>> +                (string-append out "/timidity.cfg")
>
> It is a bit strange to have config files in /share and not in /etc, but that
> is indeed where by default timidity looks for its config file. Nevertheless,
> I would use
>   (string-append (assoc-ref %outputs "out") "/etc/timidity")
> and then add the configure flag
>   (string-append "--with-default-path=" (assoc-ref %outputs "out") "/etc/timidity")

Agreed, using $out/etc seems best.

Thanks,
Ludo’.

      parent reply	other threads:[~2015-02-24 22:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 18:33 [PATCH]: add freepats and timidity Ricardo Wurmus
2015-02-19 19:47 ` Andreas Enge
2015-02-19 20:03   ` Ricardo Wurmus
2015-02-19 20:35     ` Andreas Enge
2015-02-19 21:09       ` Ricardo Wurmus
2015-02-19 21:20         ` Andreas Enge
2015-02-22 10:27           ` Ricardo Wurmus
2015-02-19 20:03 ` Andreas Enge
2015-02-19 20:10   ` Ricardo Wurmus
2015-02-24 22:17   ` Ludovic Courtès [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=87385v9cpa.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --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 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).