unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Rodger Fox <thylakoid@openmailbox.org>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add lmms
Date: Thu, 23 Feb 2017 08:38:48 -0800	[thread overview]
Message-ID: <919256a73d38269b563e10e31545fbc8@openmailbox.org> (raw)
In-Reply-To: <mailman.54228.1487857637.22740.guix-devel@gnu.org>

> The message is correct, but it lacks returns between "Add lmms." and "*
> gnu/packages". Have a look at git log for some examples.

Yeah, that's weird. It's actually inconsistent with my commit log.
Although, mine has only one line break instead of two, which I noticed
after you mentioned this. Either way I'm wrong, but I'm not sure
why the format-patch dropped it. I will figure that out and fix it.

>> +       (sha256
>> +        (base32
>> +	 "1g76z7ha3hd53vbqaq9n1qg6s3lw8zzaw51iny6y2bz0j1xqwcsr"))))
> There's a tab in the indentation, please use spaces.
> 
>> +    (build-system cmake-build-system)
>> +    (arguments `(#:tests? #f              ; No tests to run.
>> +	         #:validate-runpath? #f))
> There's a tab here too, and it should rather look like this:
> (arguments
>   `(#:tests? #f
>     #:validate-runpath? #f))
> 
> Why do you need to disable runpath validation?

The build was failing on the validate runpath phase, but I noticed
that the package did exist in the store and was working. The failure
was something to do with a library in a subdirectory of /lib being
dependent on another library in its same directory. But it seems
only /lib itself is in the runpath. I guess the libraries can still
find each other, but they are not in the runpath. I actually meant
to ask about this, so I'm glad you caught it. Is there a better fix
for this situation? I guess I should at least put a comment in there
to explain it.

>> +    (native-inputs
>> +     `(("pkg-config" ,pkg-config)))
>> +     (inputs
> Indentation is off by one (inputs should be aligned with 
> native-inputs).
> 
>> +    (description "LMMS is a digital audio workstation. It includes
>> tools for sequencing melodies and beats and for mixing and arranging
>> songs. It includes instruments based on audio samples and various soft
>> sythesizers. It can receive input from a MIDI keyboard.")
> This line is way too long, please break it. Also please use two spaces
> between sentences.

I missed the two spaces rule. I'll fix the long line, too.
I was having problems with guix lint, but I will be sure get that
working before I submit something again.

> Ok, this is my first review, I tried to get it right but I probably
> forgot something (I still can't get my own patches right on the first
> try :p). Running "guix lint lmms" would have saved you the last comment
> ;). I can't try it now, but I'll test your patch (or an updated 
> version)
> this evening.

I will submit an updated version so you can do that tonight.

Thanks for the feedback.

-Rodger Fox

       reply	other threads:[~2017-02-23 16:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.54228.1487857637.22740.guix-devel@gnu.org>
2017-02-23 16:38 ` Rodger Fox [this message]
2017-03-09  4:47 [PATCH] gnu: Add lmms Rodger Fox
2017-03-15 22:03 ` Leo Famulari
2017-03-17  5:54   ` Rodger Fox
2017-03-21 19:20     ` Leo Famulari
2017-03-21 19:39 ` Leo Famulari
  -- strict thread matches above, loose matches on Subject: below --
2017-02-23 18:13 Rodger Fox
2017-02-24 10:56 ` Julien Lepiller
2017-02-22 23:18 Rodger Fox
2017-02-23  9:15 ` julien lepiller
2017-02-23 11:30   ` ng0

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=919256a73d38269b563e10e31545fbc8@openmailbox.org \
    --to=thylakoid@openmailbox.org \
    --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).