guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#44276] [PATCH] gnu: Add python-simpleaudio.


From: Tanguy Le Carrour
Subject: [bug#44276] [PATCH] gnu: Add python-simpleaudio.
Date: Thu, 29 Oct 2020 09:30:51 +0100

Hi Leo,


Le 10/28, Leo Famulari a écrit :
> On Wed, Oct 28, 2020 at 10:08:10AM +0100, Tanguy Le Carrour wrote:
> > * gnu/packages/python-xyz.scm (python-simpleaudio): New variable.
> 
> > +    (native-inputs
> > +      `(("alsa-lib" ,alsa-lib)))
> 
> After taking a closer look at the inputs in the pydub package, I noticed
> that alsa-lib is a native-input; native-inputs are typically used only
> while building the package.
> 
> The built package keeps a reference to alsa-lib:
> 
> ------
> $ guix gc --references $(./pre-inst-env guix build --no-grafts 
> python-simpleaudio) | grep alsa-lib
> /gnu/store/zcjdb23gbhl0pcnvvm8rnlprkfl43cv5-alsa-lib-1.2.2
> $ grep -r alsa-lib $(./pre-inst-env guix build --no-grafts 
> python-simpleaudio)         
> Binary file 
> /gnu/store/kaiww0wf6a7kqzrn9la681lmwmp2k26w-python-simpleaudio-1.0.4/lib/python3.8/site-packages/simpleaudio/_simpleaudio.cpython-38-x86_64-linux-gnu.so
>  matches
> ------
> 
> Either the reference is used and should not be the "native alsa-lib" (in
> terms of cross-compiling), or it's not used and we can remove the
> reference after building. I think the first option is more likely.
> Should I change it from a 'native-input' to an 'input'?

Way out of my comfort zone! ^_^'
Even if I think I get your point! `alsa-lib` is indeed used at run time.
So… do as you think is best! :-)

Thank again for your time and advice.

-- 
Tanguy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]