GNU bug report logs -
#38129
[PATCH] gnu: Add sherlock-lv2.
Previous Next
Reported by: Alexandros Theodotou <alex <at> zrythm.org>
Date: Fri, 8 Nov 2019 11:06:01 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <mbakke <at> fastmail.com>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 38129-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Alexandros Theodotou <alex <at> zrythm.org> writes:
> Hi Marius,
>
>> I think your MUA might have mangled these
>> patches somehow, as many of them are "corrupt" according to git. Can
>> you try to resend these? I'll comment on the patches individually
>> meanwhile.
> Sorry about that. I got Gnome evolution sorted out now so hopefully
> it's better. send-mail doesn't work for me at the moment so I'll add
> the patches as attachments.
Thanks!
>> > + ("libx11" ,libx11)
>> > + ("mesa" ,mesa)
>> > + ("serd" ,serd)
>> > + ("sratom" ,sratom)))
>> > + (native-inputs
>> > + `(("flex" ,flex)
>> > + ("lv2" ,lv2)
>> > + ("sord" ,sord)
>>
>> I don't know anything about LV2 and sord, are these inputs really
>> only
>> used for the build process itself? :-)
> Sord is an input for sratom (which is in the inputs above), but the
> build fails if I remove this from the native-inputs.
Right, I think I see the problem. sratom's pkg-config file has this
line:
Requires: lv2 serd-0 sord-0
Which means that these need to be available when build systems run
e.g. 'pkg-config --cflags sratom-0'. This is the most common use of
propagated-inputs in Guix.
I went ahead and propagated these from 'sratom', and removed the 'lv2'
and 'sord' inputs. Let me know if you think something is off!
> For LV2, technically, it's only needed in the build process since it's
> just a header file with specifications. Since this is an LV2 plugin, a
> host that will be loading it will include LV2 itself and will have it
> as an input, so the plugin doesn't really need it. It doesn't hurt to
> add it as an input either, but I think having it as a build input is
> more "correct". By the way, the Arch packagers do the same for most LV2
> plugins.
Right. Header files are usually architecture-independent, so having
them as native-inputs should be safe.
> From 8bda974a93874bcf366ba78bdf3329f73245e90f Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex <at> zrythm.org>
> Date: Fri, 8 Nov 2019 10:59:52 +0000
> Subject: [PATCH] gnu: Add sherlock-lv2.
>
> * gnu/packages/music.scm: (sherlock-lv2): New variable.
Applied (with the dropped inputs), thanks!
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.