unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Sughosha <Sughosha@proton.me>
Cc: 64113@debbugs.gnu.org
Subject: [bug#64113] [PATCH] gnu: Add missing native search paths to audio plugins.
Date: Sat, 02 Sep 2023 14:37:49 -0400	[thread overview]
Message-ID: <87wmx8whdu.fsf@gmail.com> (raw)
In-Reply-To: <ONHcOuPFGoTwxb69pm-sO_iF9YIL6bo4Nt43MYNRZciaPjhmcINgq_OUC1du2HiWTNmc7_sB77HvbBczm7ZCVR2o1NzAsjDxIwqR3uyas08=@proton.me> (Sughosha@proton.me's message of "Fri, 16 Jun 2023 17:07:54 +0000")

Hello,

Sughosha <Sughosha@proton.me> writes:

> * gnu/packages/audio.scm: Add native-search-paths to autotalent,
> caps-plugins-lv2, infamous-plugins, swh-plugins, swh-plugins-lv2, amb-plugins,
> mcp-plugins, rev-plugins, fil-plugins, ste-plugins, vco-plugins, wah-plugins,
> g2reverb, ladspa-bs2b, noise-repellent and lv2-speech-denoiser.
> * gnu/packages/music.scm: Do the same to fluida-lv2, surge-synth, ninjas2,
> bsequencer, bchoppr, bshapr, bjumblr, bschaffi, synthv1, drumkv1, samplv1,
> padthv1, amsynth, paulxstretch, yoshimi, ams-lv2, synthpod, gx-guvnor-lv2,
> gx-vbass-preamp-lv2, rkrlv2, mod-utilities, qmidiarp, liquidsfz, sfizz, fabla,
> sorcer, artyfx, lsp-plugins, sherlock-lv2, foo-yc20, spectacle-analyzer,
> x42-plugins, zam-plugins, geonkick, avldrums-lv2, helm, dragonfly-reverb,
> zplugins, remid-lv2, vl1-emulator, regrader, fogpad, tap-lv2, wolf-shaper,
> wolf-spectrum and shiru-lv2.

It's best to keep changes self-contained *per package*, i.e. one commit
per package changed.

>  gnu/packages/audio.scm |  64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  gnu/packages/music.scm | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 284 insertions(+)
>
> diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
> index 58a981b..564f6bf 100644
> --- a/gnu/packages/audio.scm
> +++ b/gnu/packages/audio.scm
> @@ -1182,6 +1182,10 @@ (define-public autotalent
>               #t)))))
>      (inputs
>       (list ladspa))
> +    (native-search-paths
> +     (list (search-path-specification
> +            (variable "LADSPA_PATH")
> +            (files '("lib/ladspa")))))

I think since these search paths appear to be reused often, they should
be defined in the (guix search-paths) modules for easy reuse.

>      (home-page "https://github.com/moddevices/caps-lv2")
>      (synopsis "LV2 port of the CAPS audio plugin collection")
>      (description
> @@ -1388,6 +1396,10 @@ (define-public infamous-plugins
>       (list cairo fftwf lv2 ntk zita-resampler))
>      (native-inputs
>       (list pkg-config))
> +    (native-search-paths
> +     (list (search-path-specification
> +            (variable "LV2_PATH")
> +            (files '("lib/lv2")))))
>      (home-page "https://ssj71.github.io/infamousPlugins")
>      (synopsis "LV2 plugins for live use")
>      (description
> @@ -1453,6 +1465,10 @@ (define-public swh-plugins
>             which))
>      (inputs
>       (list fftwf perl-xml-parser))
> +    (native-search-paths
> +     (list (search-path-specification
> +            (variable "LADSPA_PATH")
> +            (files '("lib/ladspa")))))
>      (build-system gnu-build-system)
>      (home-page "http://plugin.org.uk")
>      (synopsis "The SWH Plugins package for the LADSPA plugin system")
> @@ -1493,6 +1509,10 @@ (define-public swh-plugins-lv2
>       (list lv2 fftwf))
>      (native-inputs
>       (list libxslt pkg-config))
> +    (native-search-paths
> +     (list (search-path-specification
> +            (variable "LV2_PATH")
> +            (files '("lib/lv2")))))

You seem to be adding these search paths to *plugins*, which is
unexpected from my understanding: a plugins by itself does nothing; the
search paths should rather be defined on the consumer of the plugins
(e.g. Ardour), no?

-- 
Thanks,
Maxim




  reply	other threads:[~2023-09-02 18:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-16 17:07 [bug#64113] [PATCH] gnu: Add missing native search paths to audio plugins Sughosha via Guix-patches via
2023-09-02 18:37 ` Maxim Cournoyer [this message]
2023-11-01  6:23   ` Sughosha via Guix-patches via
2023-11-01 19:28     ` Maxim Cournoyer

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=87wmx8whdu.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=64113@debbugs.gnu.org \
    --cc=Sughosha@proton.me \
    /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).