all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input.
@ 2020-01-25  1:19 Jesse Gibbons
  2020-01-25  8:35 ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Gibbons @ 2020-01-25  1:19 UTC (permalink / raw)
  To: 39275

* gnu/packages/video.scm (vlc) [inputs]: Add FluidSynth.
---
 gnu/packages/video.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ee7108753f..53d9a794f8 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1118,6 +1118,7 @@ videoformats depend on the configuration flags of
ffmpeg.")
        ("dbus" ,dbus)
        ("eudev" ,eudev)
        ("flac" ,flac)
+       ("fluidsynth" ,fluidsynth)
        ("ffmpeg" ,ffmpeg)
        ("fontconfig" ,fontconfig)
        ("freetype" ,freetype)

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input.
  2020-01-25  1:19 [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input Jesse Gibbons
@ 2020-01-25  8:35 ` Christopher Baines
  2020-01-25 11:30   ` Danny Milosavljevic
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2020-01-25  8:35 UTC (permalink / raw)
  To: jgibbons2357; +Cc: 39275

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]


Jesse Gibbons <jgibbons2357@gmail.com> writes:

> * gnu/packages/video.scm (vlc) [inputs]: Add FluidSynth.
> ---
>  gnu/packages/video.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
> index ee7108753f..53d9a794f8 100644
> --- a/gnu/packages/video.scm
> +++ b/gnu/packages/video.scm
> @@ -1118,6 +1118,7 @@ videoformats depend on the configuration flags of
> ffmpeg.")
>         ("dbus" ,dbus)
>         ("eudev" ,eudev)
>         ("flac" ,flac)
> +       ("fluidsynth" ,fluidsynth)
>         ("ffmpeg" ,ffmpeg)
>         ("fontconfig" ,fontconfig)
>         ("freetype" ,freetype)

Hi Jesse,

It would be good to put something in the commit message about why this
is happening, as it's not obvious to me at least.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input.
  2020-01-25  8:35 ` Christopher Baines
@ 2020-01-25 11:30   ` Danny Milosavljevic
  2020-01-26 10:23     ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Danny Milosavljevic @ 2020-01-25 11:30 UTC (permalink / raw)
  To: Christopher Baines, jgibbons2357; +Cc: 39275

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

Hi,

I'd prefer to change the subject to "gnu: vlc: Add MIDI support.".

> It would be good to put something in the commit message about why this
> is happening, as it's not obvious to me at least.

I disagree in general because I've seen before what that leads to:
Half the source code (the comments) end up in the commit messages instead.
Eventually (because of some merge or something) those get lost, or
(because of a new commit) those get hidden.
Now someone is going to overlook it.

So I'd put documentation into comments, except when it's ephemeral ("news").

Also, in the special case of Guix the reason why we add an input later is
"we forgot to add it earlier and it was optional to the package and thus the
package built" most of the time.  So the commit message would always be
"we forgot earlier".

In this case, vlc got MIDI support with vlc 0.9.0 (long ago) and nobody
noticed.

We could have the subject say "Add MIDI support" because it communicates more
clearly what this commit does for users.  And that's the news :)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input.
  2020-01-25 11:30   ` Danny Milosavljevic
@ 2020-01-26 10:23     ` Christopher Baines
  2020-01-27  0:56       ` Jesse Gibbons
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2020-01-26 10:23 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 39275, jgibbons2357

[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]


Danny Milosavljevic <dannym@scratchpost.org> writes:

> Hi,
>
> I'd prefer to change the subject to "gnu: vlc: Add MIDI support.".
>
>> It would be good to put something in the commit message about why this
>> is happening, as it's not obvious to me at least.
>
> I disagree in general because I've seen before what that leads to:
> Half the source code (the comments) end up in the commit messages instead.
> Eventually (because of some merge or something) those get lost, or
> (because of a new commit) those get hidden.
> Now someone is going to overlook it.

I'm not suggesting documenting code in commit messages, just saying
something about the motivation/intention with the change is useful. The
message you suggest meets this criteria perfectly.

> So I'd put documentation into comments, except when it's ephemeral ("news").
>
> Also, in the special case of Guix the reason why we add an input later is
> "we forgot to add it earlier and it was optional to the package and thus the
> package built" most of the time.  So the commit message would always be
> "we forgot earlier".

So I would say that "we forgot earlier" isn't a motivation, or
descriptive of intent (although maybe it meets the "why this is
happening" I mentioned earlier, but that was maybe poorly explained)..

> In this case, vlc got MIDI support with vlc 0.9.0 (long ago) and nobody
> noticed.
>
> We could have the subject say "Add MIDI support" because it communicates more
> clearly what this commit does for users.  And that's the news :)

Yeah, I think that's good. At least in the context I was looking at
this, trying to review the change, knowing what the intent is allows me
to check if that's been satisfied (trying to play some MIDI content with
VLC before and after).

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input.
  2020-01-26 10:23     ` Christopher Baines
@ 2020-01-27  0:56       ` Jesse Gibbons
  2020-01-27  8:09         ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Gibbons @ 2020-01-27  0:56 UTC (permalink / raw)
  To: Christopher Baines, Danny Milosavljevic; +Cc: 39275

On Sun, 2020-01-26 at 10:23 +0000, Christopher Baines wrote:
> 	Error verifying signature: Failed to execute gpg.
> Danny Milosavljevic <dannym@scratchpost.org> writes:
> 
> > Hi,
> > 
> > I'd prefer to change the subject to "gnu: vlc: Add MIDI support.".
> > 
> > > It would be good to put something in the commit message about why
> > > this
> > > is happening, as it's not obvious to me at least.
> > 
> > I disagree in general because I've seen before what that leads to:
> > Half the source code (the comments) end up in the commit messages
> > instead.
> > Eventually (because of some merge or something) those get lost, or
> > (because of a new commit) those get hidden.
> > Now someone is going to overlook it.
> 
> I'm not suggesting documenting code in commit messages, just saying
> something about the motivation/intention with the change is useful.
> The
> message you suggest meets this criteria perfectly.
> 
> > So I'd put documentation into comments, except when it's ephemeral
> > ("news").
> > 
> > Also, in the special case of Guix the reason why we add an input
> > later is
> > "we forgot to add it earlier and it was optional to the package and
> > thus the
> > package built" most of the time.  So the commit message would
> > always be
> > "we forgot earlier".
> 
> So I would say that "we forgot earlier" isn't a motivation, or
> descriptive of intent (although maybe it meets the "why this is
> happening" I mentioned earlier, but that was maybe poorly
> explained)..
> 
> > In this case, vlc got MIDI support with vlc 0.9.0 (long ago) and
> > nobody
> > noticed.
> > 
> > We could have the subject say "Add MIDI support" because it
> > communicates more
> > clearly what this commit does for users.  And that's the news :)
> 
> Yeah, I think that's good. At least in the context I was looking at
> this, trying to review the change, knowing what the intent is allows
> me
> to check if that's been satisfied (trying to play some MIDI content
> with
> VLC before and after).
> 
> Chris

Sorry for not explaining the intention. Do you want me to send a new
patch mentioning the added MIDI support? Should I put that in the
commit title, or in a comment?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input.
  2020-01-27  0:56       ` Jesse Gibbons
@ 2020-01-27  8:09         ` Christopher Baines
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Baines @ 2020-01-27  8:09 UTC (permalink / raw)
  To: Jesse Gibbons; +Cc: Danny Milosavljevic, 39275

[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]


Jesse Gibbons <jgibbons2357@gmail.com> writes:

> On Sun, 2020-01-26 at 10:23 +0000, Christopher Baines wrote:
>> 	Error verifying signature: Failed to execute gpg.
>> Danny Milosavljevic <dannym@scratchpost.org> writes:
>>
>> > Hi,
>> >
>> > I'd prefer to change the subject to "gnu: vlc: Add MIDI support.".
>> >
>> > > It would be good to put something in the commit message about why
>> > > this
>> > > is happening, as it's not obvious to me at least.
>> >
>> > I disagree in general because I've seen before what that leads to:
>> > Half the source code (the comments) end up in the commit messages
>> > instead.
>> > Eventually (because of some merge or something) those get lost, or
>> > (because of a new commit) those get hidden.
>> > Now someone is going to overlook it.
>>
>> I'm not suggesting documenting code in commit messages, just saying
>> something about the motivation/intention with the change is useful.
>> The
>> message you suggest meets this criteria perfectly.
>>
>> > So I'd put documentation into comments, except when it's ephemeral
>> > ("news").
>> >
>> > Also, in the special case of Guix the reason why we add an input
>> > later is
>> > "we forgot to add it earlier and it was optional to the package and
>> > thus the
>> > package built" most of the time.  So the commit message would
>> > always be
>> > "we forgot earlier".
>>
>> So I would say that "we forgot earlier" isn't a motivation, or
>> descriptive of intent (although maybe it meets the "why this is
>> happening" I mentioned earlier, but that was maybe poorly
>> explained)..
>>
>> > In this case, vlc got MIDI support with vlc 0.9.0 (long ago) and
>> > nobody
>> > noticed.
>> >
>> > We could have the subject say "Add MIDI support" because it
>> > communicates more
>> > clearly what this commit does for users.  And that's the news :)
>>
>> Yeah, I think that's good. At least in the context I was looking at
>> this, trying to review the change, knowing what the intent is allows
>> me
>> to check if that's been satisfied (trying to play some MIDI content
>> with
>> VLC before and after).
>>
>> Chris
>
> Sorry for not explaining the intention. Do you want me to send a new
> patch mentioning the added MIDI support? Should I put that in the
> commit title, or in a comment?

Sending a new patch would be great. Adding something anywhere in the
commit message is fine by me.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-27  8:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-25  1:19 [bug#39275] [PATCH] gnu: vlc: add fluidsynth as input Jesse Gibbons
2020-01-25  8:35 ` Christopher Baines
2020-01-25 11:30   ` Danny Milosavljevic
2020-01-26 10:23     ` Christopher Baines
2020-01-27  0:56       ` Jesse Gibbons
2020-01-27  8:09         ` Christopher Baines

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.