GNU bug report logs - #43628
No sound from aegisub

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Prafulla Giri <pratheblackdiamond@HIDDEN>; dated Sat, 26 Sep 2020 06:16:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Changed bug title to 'No sound from aegisub' from 'Request for patch evaluation/review' Request was from Leo Famulari <leo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 28 Sep 2020 17:02:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 28 13:02:18 2020
Received: from localhost ([127.0.0.1]:53870 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMwXZ-0002u1-Oh
	for submit <at> debbugs.gnu.org; Mon, 28 Sep 2020 13:02:18 -0400
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:49877)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1kMwXW-0002tb-EC
 for 43628 <at> debbugs.gnu.org; Mon, 28 Sep 2020 13:02:16 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.west.internal (Postfix) with ESMTP id 6D5FBB45;
 Mon, 28 Sep 2020 13:02:08 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Mon, 28 Sep 2020 13:02:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:in-reply-to; s=mesmtp; bh=yYuDKZlYPFTnLLxyiEWpHvgW
 OcHBPxz8tGK0eBTWb1M=; b=DD9IV9JKPec06V6XYtktcfzXvYSr6nIPZAx39BEq
 9WtM5cEiAJpsTyCucn1DkflY0YUyZQ+avxotKANlOuJJYDJhgPIH+VwlE0nlkbGN
 pwvvI3tAZEFxoVRcrf7ATPPMgisGzm0iZZ3fhiAj99/7FOTNkgJQzbN7JkbaqAg8
 xvg=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=yYuDKZ
 lYPFTnLLxyiEWpHvgWOcHBPxz8tGK0eBTWb1M=; b=jciaAfyesUcvW3+Kt/WI11
 Da4EbqLB0OYg9PfUF26OWgPU+y7tVcGDFXQ3UhtM/4U5YBAJlpEdO1xEN3EyJmiT
 PIeaCzjG3Vna83Xn8vvK1hHOxocSWYt2ROsbVRcGKM0m1/CLpmMDWgpvZuOadfOB
 zWOFZf0ZpshJTyr1RXUSR2/OPR1xYboQ5Sl4HOma52nnzRZGhBl1miGPI6dv89cu
 gjczktLOi+Hj0Rpz5/5TENm0K4VN1JW+dvsvLct+kymG1+OOYhBS638XX87SYnY/
 Ha+LL5/l4v9QPicD3cDCJuzIkf4+8SwNZ+5Z7Cfoi1m5/Jds6KLuNJYmy9xkvq+Q
 ==
X-ME-Sender: <xms:DxdyXxQEoxojJT0j0qp6HZnfqYltaeYjfxl8e2943U-ahTJjpJ3VRw>
 <xme:DxdyX6zQeC9yX0tsindBXy4xrhOo7a1mC0PdyyGMWg5SdYrdnTUOcyCbe7UlDBM8t
 7KB6-xabGMP9Jo8ZA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdeigdekiecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre
 dttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr
 ihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpedvveegkeduiedvieeludevkeeugfeuue
 elhedtffegffdtfeekveelffeufedukeenucffohhmrghinhepghhnuhdrohhrghenucfk
 phepjeefrddugedurdduvdejrddugeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrg
 hrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg
X-ME-Proxy: <xmx:DxdyX2252z8m01jndKxbV_DVAjTPIAa-HBgGa3DiENj2QOD9KXg3yA>
 <xmx:DxdyX5BNhVQj85im5OSc8v6Foi7wQeqBTZSt9K_m79RqhC2MsR9hFg>
 <xmx:DxdyX6gqdV3T-vRO3K6yuMl5xybz3yJKL8lS6BMchO2pdr6El7cclQ>
 <xmx:EBdyXwftzZSMNLx8W-XRHAaQUl5T_LGfMqV0GK64co26xREY8IYM-Q>
Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net
 [73.141.127.146])
 by mail.messagingengine.com (Postfix) with ESMTPA id 9307B3280064;
 Mon, 28 Sep 2020 13:02:07 -0400 (EDT)
Date: Mon, 28 Sep 2020 13:02:05 -0400
From: Leo Famulari <leo@HIDDEN>
To: Prafulla Giri <pratheblackdiamond@HIDDEN>
Subject: Re: [bug#43628] Request for patch evaluation/review
Message-ID: <20200928170205.GA19458@HIDDEN>
References: <CAFw+=j3HG_a7f8R1p7C6izu+gAyeQ=uJVkijded881cTQcSnag@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH"
Content-Disposition: inline
In-Reply-To: <CAFw+=j3HG_a7f8R1p7C6izu+gAyeQ=uJVkijded881cTQcSnag@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Is this a duplicate of #40832, "alsa-lib cannot find its plugins"?

https://bugs.gnu.org/40832

The patch I submitted in that bug ticket does work. I haven't found the
energy to perform a final review of the C code.

--7JfCtLOvnd9MIVvH
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl9yFwoACgkQJkb6MLrK
fwik2w//VpEUkfySvHS85uHZE2wFLrQtvzqDKyCU/3QWiCqgt02EmvrI9uStpqAD
Ycgv6iO4XeHc4P6MnWWywLENVUj3lAAQFegEqhWrOE22h7Dg7dNNFrnTji4eiNr7
cegydZ+M1+gsAWxSW5eSpxUin3vxrUONi6AjfGSC+Y7l30v3wOebk6oYheIZiJuG
zuEGJ5DlKngux/nfnxZ5c5BYnDSSb0QtHatoUwhv0rbb6c+S6/FvKpDOhKJNqJAR
qyj86RlCgQjnLc5TKk5bK4MkEf8hKfoYkIZdkv61jparIFKLsLTfK8NAatUDg6oe
DpCmljjVhozPHlGzsue/k2UFTTjv+hEF5bhTV30akQqm2nbxxfSJmSp6THAnaj2U
/emEGD7G1p785o3TBGxmz8s3dbnf5OGe5SCWauTfI7TNa2k0QXIZVugrqjF8BmSn
VHjL6lm+7ZlyzJ7s0wyK+2H370pU8MFVEQtOpyKK96PajXyIMbtIgI1bA67FtTEN
TqUZhp+Pr5XuDfDGcDOcLHEQxQtQrMDlc8u+Kf217KaEGlTULgyYChrAqAy1aSCM
xrD/ihueG1Oo3xyNKePoHjFcylS2hr4T8GHZSk/5MzKrfAkpz4eojSRBu08GA6aa
TLUYITgrwIH/Lo2JzrlciTNT9vyj51FFVdSfamV3ZelVOmlbsT8=
=gp0n
-----END PGP SIGNATURE-----

--7JfCtLOvnd9MIVvH--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 28 Sep 2020 15:20:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 28 11:20:25 2020
Received: from localhost ([127.0.0.1]:53760 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMuwv-0000M4-VZ
	for submit <at> debbugs.gnu.org; Mon, 28 Sep 2020 11:20:25 -0400
Received: from lepiller.eu ([89.234.186.109]:50394)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kMuws-0000Lm-TM
 for 43628 <at> debbugs.gnu.org; Mon, 28 Sep 2020 11:20:20 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id f7a097ea;
 Mon, 28 Sep 2020 15:20:16 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:cc:from:message-id; s=
 dkim; bh=qaVFA2SSksivFk3cUOpVabNaDp1cVEvsv1SdIzB2Yjk=; b=Ppzvmoa
 Q81jLmMgXeLl3QQ6EBpSa/UqBkHc0lbbADgJfRHrWAh/L7Bq9CKu6c+XYpT3CKU9
 GOLMEoFKvOCzIrvAaKXirFzry0/LRmX3kkKvK16dzY19h5O/bExfr9OmpOlAJJk4
 LN4gtslZ++fP2DsPoHn7YnS4eL51w5yNHLkLbVyFQzpSdwng2YpBvaFtaN7O4ky8
 SHheQgraRteOfVdPTIeULWLZ5szE7u3PbPP4lN6J+SBWHB+BdXin3kjIS2TeMEG8
 3wvIUNRj6SBFpnKUv6Qav+evQe5eoEfxjfMjoD+fkB5K5zbCJNgj2oQQXyIdTM7a
 8oBTaNl4nkfnnFQ==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 932460ca
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Mon, 28 Sep 2020 15:20:15 +0000 (UTC)
Date: Mon, 28 Sep 2020 11:20:03 -0400
User-Agent: K-9 Mail for Android
In-Reply-To: <CAFw+=j1-AXZ_PmppZoGBVY6wkNE_pvSE+bp+ZywNtAroW2O84g@HIDDEN>
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
 <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
 <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
 <CAFw+=j3YByxoAVVGAdsQNGrj1UO-tV18fCi-wYnG_w1dXgP_pA@HIDDEN>
 <A6EEC292-30BC-41F8-9DA5-96905D9FCBDD@HIDDEN>
 <CAFw+=j0G54t1b6s9gac_sdggtMMQ5+Pa2OSTU__DBKPjt9AXbw@HIDDEN>
 <580CE2CF-2CAD-49E4-AFAB-A28DD11585E9@HIDDEN>
 <CAFw+=j1-AXZ_PmppZoGBVY6wkNE_pvSE+bp+ZywNtAroW2O84g@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----CN10WQ6EC6HP85XOSN8EFT93AIZHA2"
Content-Transfer-Encoding: 7bit
Subject: Re: [bug#43628] Further Info
To: Prafulla Giri <pratheblackdiamond@HIDDEN>
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <ADC6F16A-7D50-487A-8F58-49C50C9F1079@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

------CN10WQ6EC6HP85XOSN8EFT93AIZHA2
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ok, I tgink that means alsa-lib looks for plugins in its rpach, fails to do=
 so, tgen fallls back to its hard-coded path, and fails again=2E So if we s=
et the rpath correctly (which we cannot do in a package because it would in=
troduce a cyclic dependency), it can load its plugin=2E

Could you try to set LD_LIBRARY_PATH like so:

LD_LIBRARY_PATH=3D<alsa-plugin's pulseaudio output>/lib aegisub

Le 28 septembre 2020 10:43:02 GMT-04:00, Prafulla Giri <pratheblackdiamond=
@gmail=2Ecom> a =C3=A9crit :
>I see=2E=2E=2E
>
>Hmm=2E=2E=2E=2E I didn't know they were just 11 people=2E
>
>Anyways, here is something that an ALSA developer told me=2E=2E=2E I coul=
dn't
>make much of it=2E But Perhaps you could?
>
>The current alsa-lib code uses the RTLD_DI_ORIGIN glibc extension to
>> determine the libasound=2Eso path at runtime=2E The hardcoded path is
>used only
>> if this mechanism does not work
>>
>
>Perhaps you'd like to see our conversation over at GitHub:
>https://github=2Ecom/alsa-project/alsa-lib/issues/82
>
>You're far more qualified to do this than I am=2E
>
>On Sun, Sep 27, 2020 at 4:55 PM Julien Lepiller <julien@lepiller=2Eeu>
>wrote:
>
>>
>>
>> Le 27 septembre 2020 01:56:31 GMT-04:00, Prafulla Giri <
>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>> >First and foremost: wow=2E A post-doc at just three years older than
>me=2E
>> >*cries in high-school drop-out* Super awesome!
>> >
>> >I have cleaned up my package definition as per your review:
>> >
>>
>https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/ae=
gisub=2Escm
>> >
>> >I will look into the matter then=2E Might take me a while, but I'll
>try=2E
>> >
>> >It's sad that framagit is closing=2E I think they were doing a great
>job
>> >with
>> >peertube and all=2E=2E=2E
>>
>> Well, it's framasoft, they started so many services that they can't
>handle
>> the load anymore=2E So they've started closing them little by little
>last
>> year=2E Some of them will stay, and others will disappear=2E They never
>wanted
>> to centralize the web around them, so it's understandable=2E Instead,
>they
>> propose other alternatives, they've started the chaton initiative
>(where
>> other structures propose the same kind of services, at a smaller
>scale),
>> etc=2E
>>
>> They're still developping peertube, don't worry about that=2E But
>they're
>> not going to host a public instance=2E Remember they're about 10
>volunteers
>> and one employee :)
>>
>> >
>> >On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller <julien@lepiller=2Eeu>
>> >wrote:
>> >
>> >> Thanks! On the guix system, aegisub already works properly (at
>least
>> >it
>> >> did when I last used it), because the alsa config allows it to
>find
>> >> pulseaudio=2E
>> >>
>> >> There are three issues with your proposed change:
>> >>
>> >> First using derivation-outputs is a bad idea, and it probably only
>> >works
>> >> because alsa-plugin doesn't depend on your modified alsa-lib
>(you'd
>> >get an
>> >> infinite loop I think)=2E Since alsa-plugin doesn't depend on this
>> >modified
>> >> alsa-lib, you don't need such a convoluted work around=2E When
>defining
>> >the
>> >> conhigure flags, you can simply use (assoc-ref %build-inputs
>> >"alsa-plugin")
>> >> when "alsa-plugin" is defined as an input to the package=2E
>> >>
>> >> Second, setting plugindir at build-time is just asking for the
>same
>> >kind
>> >> of issues you are trying to fix, only for finding another plugin
>that
>> >might
>> >> be needed=2E
>> >>
>> >> Third, the way you modify the arguments is=E2=80=A6 unconventional :=
) try
>> >using
>> >> substitute-keyword-arguments instead=2E There are plenty of examples
>in
>> >the
>> >> repo=2E
>> >>
>> >> I remember having dealt with this issue before, and pushed a patch
>> >some 3
>> >> years ago: http://issues=2Eguix=2Egnu=2Eorg/31239
>> >>
>> >> Could you look at what happened in the meantime? I think it was
>> >reverted
>> >> in favor of the asound=2Econf file we have in the guix system now=2E
>You
>> >might
>> >> learn something if you find the reason why it was changed=2E
>> >>
>> >> Re my other projects, framagit is going to close next year, so
>I'll
>> >be
>> >> migrating to my own hosting, currently at git=2Elepiller=2Eeu=2E
>> >>
>> >> Ok for the cultural difference=2E It's probably too soon to call me
>a
>> >> "senior" though, I'm still pretty young: only 3 years older than
>you
>> >:p
>> >>
>> >> Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri <
>> >> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>> >>>
>> >>> Oh, I come from a culture that does not call seniors by their
>first
>> >>> names=2E (:
>> >>> Yes! guix-android looks super awesome! I'm glad that you are
>working
>> >on
>> >>> that=2E You're awesome=2E
>> >>> (Also, I just realized that you've also got guix-home-manager and
>so
>> >many
>> >>> more cool repositories! I need to check those out, and soon!)
>> >>>
>> >>> I did manage to resolve this issue=2E Kinda'=2E Here:
>> >>>
>> >
>>
>https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/ae=
gisub=2Escm
>> >>>
>> >>> All I had to do was re-define 'alsa-lib' to point to the
>/gnu/store
>> >path
>> >>> of alsa-plugins=2E The /gnu/store path had to be figured out during
>> >runtime=2E
>> >>>
>> >>> Could you please check how this fares in a GuixSD system? If it
>goes
>> >>> well, perhaps I should send a patch in for aegisub=2E But then
>again,
>> >I
>> >>> wonder if I should make the changes in alsa-lib itself, but I am
>not
>> >very
>> >>> sure about that=2E
>> >>>
>> >>> On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller
><julien@lepiller=2Eeu>
>> >>> wrote:
>> >>>
>> >>>> Hehe, thanks for your interest in guix-android=2E It's not really
>> >done
>> >>>> yet, but I'm very motivated :)=2E It always feels weird when
>someone
>> >on the
>> >>>> internet calls you Mr ^^=2E No need to be so stiff, you can call
>me
>> >"Julien"
>> >>>> (and I suppose it's the norm to call people by their first name
>in
>> >this
>> >>>> kind of internet community)=2E
>> >>>>
>> >>>> Maybe try to run aegisub with strace -f, you might find out
>> >something=2E
>> >>>> You may have to take a look at alsa's sources to find out how it
>> >looks for
>> >>>> its plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)?
>> >>>>
>> >>>> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <
>> >>>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>> >>>>>
>> >>>>> Okay, I think I'm stuck now=2E lol
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <
>> >>>>> pratheblackdiamond@gmail=2Ecom> wrote:
>> >>>>>
>> >>>>>> Hello Mr=2E Lepiller,
>> >>>>>>
>> >>>>>> Thank you for the tip=2E For the moment, I want to poke around
>this
>> >>>>>> issue=2E Perhaps I get absolutely tired of it (or find a good
>hack
>> >- and an
>> >>>>>> ugly patch)=2E I did manage to learn a bit more about
>union-builds
>> >in
>> >>>>>> general=2E So, that's a silver lining=2E
>> >>>>>>
>> >>>>>> Also, your work on guix-android seems so very cool! Please
>keep
>> >up the
>> >>>>>> great work!
>> >>>>>>
>> >>>>>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller
>> ><julien@lepiller=2Eeu>
>> >>>>>> wrote:
>> >>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> Hi Prafulla,
>> >>>>>>>
>> >>>>>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>> >>>>>>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>> >>>>>>> >Another information:
>> >>>>>>> >
>> >>>>>>> >I have other programs on my foreign system (installed via
>guix)
>> >that
>> >>>>>>> >produce sound well, without any issues=2E They include:
>> >>>>>>> >espeak and kdenlive=2E
>> >>>>>>> >
>> >>>>>>> >Also, I did try making the union-build use copies instead of
>> >symlinks
>> >>>>>>> >using
>> >>>>>>> >(union-build =2E=2E=2E #:symlink copy-recursively) but that di=
dn't
>> >work out
>> >>>>>>> >either=2E
>> >>>>>>> >
>> >>>>>>> >Now, I'm going to take a look at fixing the pkg-config
>rules,
>> >and
>> >>>>>>> will
>> >>>>>>> >be
>> >>>>>>> >updating this thread should that resolve this issue=2E
>> >>>>>>> >
>> >>>>>>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>> >>>>>>> ><pratheblackdiamond@gmail=2Ecom>
>> >>>>>>> >wrote:
>> >>>>>>> >
>> >>>>>>> >> I forgot to mention, but the union-build works=2E If one
>`guix
>> >>>>>>> build`s
>> >>>>>>> >the
>> >>>>>>> >> union package, and cd into the /gnu/store/=2E=2E=2E-union-bu=
ild,
>> >one will
>> >>>>>>> >see
>> >>>>>>> >> that things are there as it should be
>(lib/normal-alsa-*=2Eso
>> >and
>> >>>>>>> >> lib/alsa-lib/*pulse*=2Eso)=2E
>> >>>>>>> >>
>> >>>>>>> >> It's just that aegisub seems to be looking from the
>> >>>>>>> >> /gnu/store/normal-alsa-lib-dir instead of
>> >>>>>>> >/gnu/store/union-alsa-package=2E
>> >>>>>>> >>
>> >>>>>>>
>> >>>>>>> I think the issue with the union-build is that it is
>completely
>> >>>>>>> ignored: alsa doesn't look in it's current directory for
>> >plugins, but in
>> >>>>>>> the directory where it's been configured (at build time) to
>look
>> >for=2E
>> >>>>>>>
>> >>>>>>> On the Guix System, there is a service that creates a
>> >>>>>>> /etc/asound=2Econf, which references alsa-plugins:pulseaudio=2E
>> >Maybe you
>> >>>>>>> actually want to configure that? Maybe try to copy this to a
>new
>> >file
>> >>>>>>> =2Easoundrc:
>> >>>>>>>
>> >>>>>>> pcm_type=2Epule {
>> >>>>>>>   lib
>> >>>>>>>
>> >"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=2Es=
o"
>> >>>>>>> }
>> >>>>>>>
>> >>>>>>> ctl_type=2Epulse {
>> >>>>>>>
>> >>>>>>>
>>
>>lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2E=
so"
>> >>>>>>> }
>> >>>>>>>
>> >>>>>>> pcm=2E!default {
>> >>>>>>>   type pulse
>> >>>>>>> }
>> >>>>>>>
>> >>>>>>> ctl=2E!default {
>> >>>>>>>   type pulse
>> >>>>>>> }
>> >>>>>>>
>> >>>>>>
>>

------CN10WQ6EC6HP85XOSN8EFT93AIZHA2
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>Ok, I tgink that means alsa-lib looks for plugins =
in its rpach, fails to do so, tgen fallls back to its hard-coded path, and =
fails again=2E So if we set the rpath correctly (which we cannot do in a pa=
ckage because it would introduce a cyclic dependency), it can load its plug=
in=2E<br><br>Could you try to set LD_LIBRARY_PATH like so:<br><br>LD_LIBRAR=
Y_PATH=3D&lt;alsa-plugin's pulseaudio output&gt;/lib aegisub<br><br><div cl=
ass=3D"gmail_quote">Le 28 septembre 2020 10:43:02 GMT-04:00, Prafulla Giri =
&lt;pratheblackdiamond@gmail=2Ecom&gt; a =C3=A9crit :<blockquote class=3D"g=
mail_quote" style=3D"margin: 0pt 0pt 0pt 0=2E8ex; border-left: 1px solid rg=
b(204, 204, 204); padding-left: 1ex;">
<div dir=3D"ltr"><div>I see=2E=2E=2E</div><div><br></div><div>Hmm=2E=2E=2E=
=2E I didn't know they were just 11 people=2E</div><div><br></div><div>Anyw=
ays, here is something that an ALSA developer told me=2E=2E=2E I couldn't m=
ake much of it=2E But Perhaps you could?</div><div><br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=2E8ex;border-left:1px sol=
id rgb(204,204,204);padding-left:1ex"><div>The current alsa-lib code uses t=
he RTLD_DI_ORIGIN glibc extension to=20
determine the libasound=2Eso path at runtime=2E The hardcoded path is used=
=20
only if this mechanism does not work</div></blockquote><div><br></div><div=
>Perhaps you'd like to see our conversation over at GitHub: <a href=3D"http=
s://github=2Ecom/alsa-project/alsa-lib/issues/82">https://github=2Ecom/alsa=
-project/alsa-lib/issues/82</a></div><div><br></div><div>You're far more qu=
alified to do this than I am=2E<br></div></div><br><div class=3D"gmail_quot=
e"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Sep 27, 2020 at 4:55 PM Ju=
lien Lepiller &lt;<a href=3D"mailto:julien@lepiller=2Eeu">julien@lepiller=
=2Eeu</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0=2E8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex"><br>
<br>
Le 27 septembre 2020 01:56:31 GMT-04:00, Prafulla Giri &lt;<a href=3D"mail=
to:pratheblackdiamond@gmail=2Ecom" target=3D"_blank">pratheblackdiamond@gma=
il=2Ecom</a>&gt; a =C3=A9crit :<br>
&gt;First and foremost: wow=2E A post-doc at just three years older than m=
e=2E<br>
&gt;*cries in high-school drop-out* Super awesome!<br>
&gt;<br>
&gt;I have cleaned up my package definition as per your review:<br>
&gt;<a href=3D"https://github=2Ecom/peanutbutterandcrackers/guix-packages/=
blob/master/aegisub=2Escm" rel=3D"noreferrer" target=3D"_blank">https://git=
hub=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/aegisub=2Escm</=
a><br>
&gt;<br>
&gt;I will look into the matter then=2E Might take me a while, but I'll tr=
y=2E<br>
&gt;<br>
&gt;It's sad that framagit is closing=2E I think they were doing a great j=
ob<br>
&gt;with<br>
&gt;peertube and all=2E=2E=2E<br>
<br>
Well, it's framasoft, they started so many services that they can't handle=
 the load anymore=2E So they've started closing them little by little last =
year=2E Some of them will stay, and others will disappear=2E They never wan=
ted to centralize the web around them, so it's understandable=2E Instead, t=
hey propose other alternatives, they've started the chaton initiative (wher=
e other structures propose the same kind of services, at a smaller scale), =
etc=2E<br>
<br>
They're still developping peertube, don't worry about that=2E But they're =
not going to host a public instance=2E Remember they're about 10 volunteers=
 and one employee :)<br>
<br>
&gt;<br>
&gt;On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller &lt;<a href=3D"mailto:=
julien@lepiller=2Eeu" target=3D"_blank">julien@lepiller=2Eeu</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; Thanks! On the guix system, aegisub already works properly (at le=
ast<br>
&gt;it<br>
&gt;&gt; did when I last used it), because the alsa config allows it to fi=
nd<br>
&gt;&gt; pulseaudio=2E<br>
&gt;&gt;<br>
&gt;&gt; There are three issues with your proposed change:<br>
&gt;&gt;<br>
&gt;&gt; First using derivation-outputs is a bad idea, and it probably onl=
y<br>
&gt;works<br>
&gt;&gt; because alsa-plugin doesn't depend on your modified alsa-lib (you=
'd<br>
&gt;get an<br>
&gt;&gt; infinite loop I think)=2E Since alsa-plugin doesn't depend on thi=
s<br>
&gt;modified<br>
&gt;&gt; alsa-lib, you don't need such a convoluted work around=2E When de=
fining<br>
&gt;the<br>
&gt;&gt; conhigure flags, you can simply use (assoc-ref %build-inputs<br>
&gt;"alsa-plugin")<br>
&gt;&gt; when "alsa-plugin" is defined as an input to the package=2E<br>
&gt;&gt;<br>
&gt;&gt; Second, setting plugindir at build-time is just asking for the sa=
me<br>
&gt;kind<br>
&gt;&gt; of issues you are trying to fix, only for finding another plugin =
that<br>
&gt;might<br>
&gt;&gt; be needed=2E<br>
&gt;&gt;<br>
&gt;&gt; Third, the way you modify the arguments is=E2=80=A6 unconventiona=
l :) try<br>
&gt;using<br>
&gt;&gt; substitute-keyword-arguments instead=2E There are plenty of examp=
les in<br>
&gt;the<br>
&gt;&gt; repo=2E<br>
&gt;&gt;<br>
&gt;&gt; I remember having dealt with this issue before, and pushed a patc=
h<br>
&gt;some 3<br>
&gt;&gt; years ago: <a href=3D"http://issues=2Eguix=2Egnu=2Eorg/31239" rel=
=3D"noreferrer" target=3D"_blank">http://issues=2Eguix=2Egnu=2Eorg/31239</a=
><br>
&gt;&gt;<br>
&gt;&gt; Could you look at what happened in the meantime? I think it was<b=
r>
&gt;reverted<br>
&gt;&gt; in favor of the asound=2Econf file we have in the guix system now=
=2E You<br>
&gt;might<br>
&gt;&gt; learn something if you find the reason why it was changed=2E<br>
&gt;&gt;<br>
&gt;&gt; Re my other projects, framagit is going to close next year, so I'=
ll<br>
&gt;be<br>
&gt;&gt; migrating to my own hosting, currently at <a href=3D"http://git=
=2Elepiller=2Eeu" rel=3D"noreferrer" target=3D"_blank">git=2Elepiller=2Eeu<=
/a>=2E<br>
&gt;&gt;<br>
&gt;&gt; Ok for the cultural difference=2E It's probably too soon to call =
me a<br>
&gt;&gt; "senior" though, I'm still pretty young: only 3 years older than =
you<br>
&gt;:p<br>
&gt;&gt;<br>
&gt;&gt; Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri &lt;<br>
&gt;&gt; <a href=3D"mailto:pratheblackdiamond@gmail=2Ecom" target=3D"_blan=
k">pratheblackdiamond@gmail=2Ecom</a>&gt; a =C3=A9crit :<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Oh, I come from a culture that does not call seniors by their=
 first<br>
&gt;&gt;&gt; names=2E (:<br>
&gt;&gt;&gt; Yes! guix-android looks super awesome! I'm glad that you are =
working<br>
&gt;on<br>
&gt;&gt;&gt; that=2E You're awesome=2E<br>
&gt;&gt;&gt; (Also, I just realized that you've also got guix-home-manager=
 and so<br>
&gt;many<br>
&gt;&gt;&gt; more cool repositories! I need to check those out, and soon!)=
<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I did manage to resolve this issue=2E Kinda'=2E Here:<br>
&gt;&gt;&gt;<br>
&gt;<a href=3D"https://github=2Ecom/peanutbutterandcrackers/guix-packages/=
blob/master/aegisub=2Escm" rel=3D"noreferrer" target=3D"_blank">https://git=
hub=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/aegisub=2Escm</=
a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; All I had to do was re-define 'alsa-lib' to point to the /gnu=
/store<br>
&gt;path<br>
&gt;&gt;&gt; of alsa-plugins=2E The /gnu/store path had to be figured out =
during<br>
&gt;runtime=2E<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Could you please check how this fares in a GuixSD system? If =
it goes<br>
&gt;&gt;&gt; well, perhaps I should send a patch in for aegisub=2E But the=
n again,<br>
&gt;I<br>
&gt;&gt;&gt; wonder if I should make the changes in alsa-lib itself, but I=
 am not<br>
&gt;very<br>
&gt;&gt;&gt; sure about that=2E<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller &lt;<a href=
=3D"mailto:julien@lepiller=2Eeu" target=3D"_blank">julien@lepiller=2Eeu</a>=
&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hehe, thanks for your interest in guix-android=2E It's no=
t really<br>
&gt;done<br>
&gt;&gt;&gt;&gt; yet, but I'm very motivated :)=2E It always feels weird w=
hen someone<br>
&gt;on the<br>
&gt;&gt;&gt;&gt; internet calls you Mr ^^=2E No need to be so stiff, you c=
an call me<br>
&gt;"Julien"<br>
&gt;&gt;&gt;&gt; (and I suppose it's the norm to call people by their firs=
t name in<br>
&gt;this<br>
&gt;&gt;&gt;&gt; kind of internet community)=2E<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Maybe try to run aegisub with strace -f, you might find o=
ut<br>
&gt;something=2E<br>
&gt;&gt;&gt;&gt; You may have to take a look at alsa's sources to find out=
 how it<br>
&gt;looks for<br>
&gt;&gt;&gt;&gt; its plugins exactly (maybe try to grep for PLUGIN or PLUG=
INDIR)?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri &l=
t;<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:pratheblackdiamond@gmail=2Ecom" target=
=3D"_blank">pratheblackdiamond@gmail=2Ecom</a>&gt; a =C3=A9crit :<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Okay, I think I'm stuck now=2E lol<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<br=
>
&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:pratheblackdiamond@gmail=2Ecom" tar=
get=3D"_blank">pratheblackdiamond@gmail=2Ecom</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hello Mr=2E Lepiller,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Thank you for the tip=2E For the moment, I want t=
o poke around this<br>
&gt;&gt;&gt;&gt;&gt;&gt; issue=2E Perhaps I get absolutely tired of it (or=
 find a good hack<br>
&gt;- and an<br>
&gt;&gt;&gt;&gt;&gt;&gt; ugly patch)=2E I did manage to learn a bit more a=
bout union-builds<br>
&gt;in<br>
&gt;&gt;&gt;&gt;&gt;&gt; general=2E So, that's a silver lining=2E<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Also, your work on guix-android seems so very coo=
l! Please keep<br>
&gt;up the<br>
&gt;&gt;&gt;&gt;&gt;&gt; great work!<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller<b=
r>
&gt;&lt;<a href=3D"mailto:julien@lepiller=2Eeu" target=3D"_blank">julien@l=
epiller=2Eeu</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Prafulla,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Le 26 septembre 2020 03:31:38 GMT-04:00, Praf=
ulla Giri &lt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:pratheblackdiamond@gmail=2E=
com" target=3D"_blank">pratheblackdiamond@gmail=2Ecom</a>&gt; a =C3=A9crit =
:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;Another information:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;I have other programs on my foreign syste=
m (installed via guix)<br>
&gt;that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;produce sound well, without any issues=2E=
 They include:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;espeak and kdenlive=2E<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;Also, I did try making the union-build us=
e copies instead of<br>
&gt;symlinks<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;using<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;(union-build =2E=2E=2E #:symlink copy-rec=
ursively) but that didn't<br>
&gt;work out<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;either=2E<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;Now, I'm going to take a look at fixing t=
he pkg-config rules,<br>
&gt;and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; will<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;be<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;updating this thread should that resolve =
this issue=2E<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla=
 Giri<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&lt;<a href=3D"mailto:pratheblackdiamond@=
gmail=2Ecom" target=3D"_blank">pratheblackdiamond@gmail=2Ecom</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; I forgot to mention, but the union-b=
uild works=2E If one `guix<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; build`s<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; union package, and cd into the /gnu/=
store/=2E=2E=2E-union-build,<br>
&gt;one will<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;see<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; that things are there as it should b=
e (lib/normal-alsa-*=2Eso<br>
&gt;and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; lib/alsa-lib/*pulse*=2Eso)=2E<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; It's just that aegisub seems to be l=
ooking from the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; /gnu/store/normal-alsa-lib-dir inste=
ad of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;/gnu/store/union-alsa-package=2E<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think the issue with the union-build is tha=
t it is completely<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ignored: alsa doesn't look in it's current di=
rectory for<br>
&gt;plugins, but in<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the directory where it's been configured (at =
build time) to look<br>
&gt;for=2E<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On the Guix System, there is a service that c=
reates a<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /etc/asound=2Econf, which references alsa-plu=
gins:pulseaudio=2E<br>
&gt;Maybe you<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; actually want to configure that? Maybe try to=
 copy this to a new<br>
&gt;file<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; =2Easoundrc:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; pcm_type=2Epule {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&nbsp; &nbsp;lib<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=2Es=
o"<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ctl_type=2Epulse {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=
=2Eso"<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; pcm=2E!default {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&nbsp; &nbsp;type pulse<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ctl=2E!default {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&nbsp; &nbsp;type pulse<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
</blockquote></div>
</blockquote></div></body></html>
------CN10WQ6EC6HP85XOSN8EFT93AIZHA2--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 28 Sep 2020 14:43:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 28 10:43:26 2020
Received: from localhost ([127.0.0.1]:53723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMuN8-0007wk-Af
	for submit <at> debbugs.gnu.org; Mon, 28 Sep 2020 10:43:26 -0400
Received: from mail-pj1-f46.google.com ([209.85.216.46]:39975)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kMuN6-0007wX-DG
 for 43628 <at> debbugs.gnu.org; Mon, 28 Sep 2020 10:43:21 -0400
Received: by mail-pj1-f46.google.com with SMTP id mn7so774730pjb.5
 for <43628 <at> debbugs.gnu.org>; Mon, 28 Sep 2020 07:43:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=GS6uWjQ8ZcHO65kB0625Sf6v038wiopAEjBY/57yEE8=;
 b=MOtKmL+ihy3kXRtCXx3dfl3uGu9G1bgGEMzTExY+VFAYKJ+GWKK4Mf3G2SdyRBbrP4
 H8lRf4oP5f/BAki5dx1YfGXfxg34hmRMN73+NCONL03OzJFsfUWEioWLuMSZUUZv45YN
 lZcovTwObdgbuO/gDaixZHm0vsaSZsiAhu4fTHaey4NzXoxU8YAMddPHzzv3p4A2qq1p
 8m+jjanLuebPrT3HNzoLSvfA/q9Ad3/KgdEYlmMDoTNmXKqNAssuoBua0+ROoY21zqro
 VW1nB0j3r8vPDMc1i61uVTpL5VHFbDnTRgwYfiJRZll7sRDhScwxk2nCkUWnu2HznXNq
 AC4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=GS6uWjQ8ZcHO65kB0625Sf6v038wiopAEjBY/57yEE8=;
 b=uEM4b0oG2ST61eHlCBLuECqZP7aSbQrJm8O2RMikjFPbgyRhuC1HKijYEekDPxIxY3
 ekf7RytZcDTr6UQLCAxyqDQnyhJZ2Td+sl2EH/3lSfvGGdWPLW/YIhQd5IqSv2uI/Bvu
 2Vaotzrax78XIwhpQOGvGBQhvvmkb/wykjHjgYx7rVqCKXjAQNNqT/fi6SKD6tGaCVD5
 UTKW3jMXaO/f/37rkRlsHCLvuN6pt4WwrUiggPB07WE3xWXEwWRr6AwN03HtozcGnaD3
 qXBSiWkwRV9z+mYzVnUUrOX2iUdXOdvfrB78mPOd/M1do+ypbxmiQk0rTeWqlJVD47cS
 cJEA==
X-Gm-Message-State: AOAM53334xpzMsXc6lROBp9AY564///cfBfa+Jb4FdBNfxHWKlRkqK0h
 CskKynGTNF/JuSzycV2/LCe8GgJy2tdBcHpX9Nrgi+J+T8bDZA==
X-Google-Smtp-Source: ABdhPJx0xTCqTk6JGbN1arcXrZMvt0QVmWmRcMkel5rPSZzVu9Bx+5JeS159G2BdBlf8uAbuQSBkyCCu1BuhUm/1Lg0=
X-Received: by 2002:a17:90a:d3cd:: with SMTP id
 d13mr1737854pjw.70.1601304194201; 
 Mon, 28 Sep 2020 07:43:14 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
 <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
 <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
 <CAFw+=j3YByxoAVVGAdsQNGrj1UO-tV18fCi-wYnG_w1dXgP_pA@HIDDEN>
 <A6EEC292-30BC-41F8-9DA5-96905D9FCBDD@HIDDEN>
 <CAFw+=j0G54t1b6s9gac_sdggtMMQ5+Pa2OSTU__DBKPjt9AXbw@HIDDEN>
 <580CE2CF-2CAD-49E4-AFAB-A28DD11585E9@HIDDEN>
In-Reply-To: <580CE2CF-2CAD-49E4-AFAB-A28DD11585E9@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Mon, 28 Sep 2020 20:28:02 +0545
Message-ID: <CAFw+=j1-AXZ_PmppZoGBVY6wkNE_pvSE+bp+ZywNtAroW2O84g@HIDDEN>
Subject: Re: [bug#43628] Further Info
To: Julien Lepiller <julien@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000ac3d5805b060af00"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000ac3d5805b060af00
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I see...

Hmm.... I didn't know they were just 11 people.

Anyways, here is something that an ALSA developer told me... I couldn't
make much of it. But Perhaps you could?

The current alsa-lib code uses the RTLD_DI_ORIGIN glibc extension to
> determine the libasound.so path at runtime. The hardcoded path is used on=
ly
> if this mechanism does not work
>

Perhaps you'd like to see our conversation over at GitHub:
https://github.com/alsa-project/alsa-lib/issues/82

You're far more qualified to do this than I am.

On Sun, Sep 27, 2020 at 4:55 PM Julien Lepiller <julien@HIDDEN> wrote:

>
>
> Le 27 septembre 2020 01:56:31 GMT-04:00, Prafulla Giri <
> pratheblackdiamond@HIDDEN> a =C3=A9crit :
> >First and foremost: wow. A post-doc at just three years older than me.
> >*cries in high-school drop-out* Super awesome!
> >
> >I have cleaned up my package definition as per your review:
> >
> https://github.com/peanutbutterandcrackers/guix-packages/blob/master/aegi=
sub.scm
> >
> >I will look into the matter then. Might take me a while, but I'll try.
> >
> >It's sad that framagit is closing. I think they were doing a great job
> >with
> >peertube and all...
>
> Well, it's framasoft, they started so many services that they can't handl=
e
> the load anymore. So they've started closing them little by little last
> year. Some of them will stay, and others will disappear. They never wante=
d
> to centralize the web around them, so it's understandable. Instead, they
> propose other alternatives, they've started the chaton initiative (where
> other structures propose the same kind of services, at a smaller scale),
> etc.
>
> They're still developping peertube, don't worry about that. But they're
> not going to host a public instance. Remember they're about 10 volunteers
> and one employee :)
>
> >
> >On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller <julien@HIDDEN>
> >wrote:
> >
> >> Thanks! On the guix system, aegisub already works properly (at least
> >it
> >> did when I last used it), because the alsa config allows it to find
> >> pulseaudio.
> >>
> >> There are three issues with your proposed change:
> >>
> >> First using derivation-outputs is a bad idea, and it probably only
> >works
> >> because alsa-plugin doesn't depend on your modified alsa-lib (you'd
> >get an
> >> infinite loop I think). Since alsa-plugin doesn't depend on this
> >modified
> >> alsa-lib, you don't need such a convoluted work around. When defining
> >the
> >> conhigure flags, you can simply use (assoc-ref %build-inputs
> >"alsa-plugin")
> >> when "alsa-plugin" is defined as an input to the package.
> >>
> >> Second, setting plugindir at build-time is just asking for the same
> >kind
> >> of issues you are trying to fix, only for finding another plugin that
> >might
> >> be needed.
> >>
> >> Third, the way you modify the arguments is=E2=80=A6 unconventional :) =
try
> >using
> >> substitute-keyword-arguments instead. There are plenty of examples in
> >the
> >> repo.
> >>
> >> I remember having dealt with this issue before, and pushed a patch
> >some 3
> >> years ago: http://issues.guix.gnu.org/31239
> >>
> >> Could you look at what happened in the meantime? I think it was
> >reverted
> >> in favor of the asound.conf file we have in the guix system now. You
> >might
> >> learn something if you find the reason why it was changed.
> >>
> >> Re my other projects, framagit is going to close next year, so I'll
> >be
> >> migrating to my own hosting, currently at git.lepiller.eu.
> >>
> >> Ok for the cultural difference. It's probably too soon to call me a
> >> "senior" though, I'm still pretty young: only 3 years older than you
> >:p
> >>
> >> Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri <
> >> pratheblackdiamond@HIDDEN> a =C3=A9crit :
> >>>
> >>> Oh, I come from a culture that does not call seniors by their first
> >>> names. (:
> >>> Yes! guix-android looks super awesome! I'm glad that you are working
> >on
> >>> that. You're awesome.
> >>> (Also, I just realized that you've also got guix-home-manager and so
> >many
> >>> more cool repositories! I need to check those out, and soon!)
> >>>
> >>> I did manage to resolve this issue. Kinda'. Here:
> >>>
> >
> https://github.com/peanutbutterandcrackers/guix-packages/blob/master/aegi=
sub.scm
> >>>
> >>> All I had to do was re-define 'alsa-lib' to point to the /gnu/store
> >path
> >>> of alsa-plugins. The /gnu/store path had to be figured out during
> >runtime.
> >>>
> >>> Could you please check how this fares in a GuixSD system? If it goes
> >>> well, perhaps I should send a patch in for aegisub. But then again,
> >I
> >>> wonder if I should make the changes in alsa-lib itself, but I am not
> >very
> >>> sure about that.
> >>>
> >>> On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller <julien@HIDDEN>
> >>> wrote:
> >>>
> >>>> Hehe, thanks for your interest in guix-android. It's not really
> >done
> >>>> yet, but I'm very motivated :). It always feels weird when someone
> >on the
> >>>> internet calls you Mr ^^. No need to be so stiff, you can call me
> >"Julien"
> >>>> (and I suppose it's the norm to call people by their first name in
> >this
> >>>> kind of internet community).
> >>>>
> >>>> Maybe try to run aegisub with strace -f, you might find out
> >something.
> >>>> You may have to take a look at alsa's sources to find out how it
> >looks for
> >>>> its plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)?
> >>>>
> >>>> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <
> >>>> pratheblackdiamond@HIDDEN> a =C3=A9crit :
> >>>>>
> >>>>> Okay, I think I'm stuck now. lol
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <
> >>>>> pratheblackdiamond@HIDDEN> wrote:
> >>>>>
> >>>>>> Hello Mr. Lepiller,
> >>>>>>
> >>>>>> Thank you for the tip. For the moment, I want to poke around this
> >>>>>> issue. Perhaps I get absolutely tired of it (or find a good hack
> >- and an
> >>>>>> ugly patch). I did manage to learn a bit more about union-builds
> >in
> >>>>>> general. So, that's a silver lining.
> >>>>>>
> >>>>>> Also, your work on guix-android seems so very cool! Please keep
> >up the
> >>>>>> great work!
> >>>>>>
> >>>>>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller
> ><julien@HIDDEN>
> >>>>>> wrote:
> >>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Hi Prafulla,
> >>>>>>>
> >>>>>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
> >>>>>>> pratheblackdiamond@HIDDEN> a =C3=A9crit :
> >>>>>>> >Another information:
> >>>>>>> >
> >>>>>>> >I have other programs on my foreign system (installed via guix)
> >that
> >>>>>>> >produce sound well, without any issues. They include:
> >>>>>>> >espeak and kdenlive.
> >>>>>>> >
> >>>>>>> >Also, I did try making the union-build use copies instead of
> >symlinks
> >>>>>>> >using
> >>>>>>> >(union-build ... #:symlink copy-recursively) but that didn't
> >work out
> >>>>>>> >either.
> >>>>>>> >
> >>>>>>> >Now, I'm going to take a look at fixing the pkg-config rules,
> >and
> >>>>>>> will
> >>>>>>> >be
> >>>>>>> >updating this thread should that resolve this issue.
> >>>>>>> >
> >>>>>>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
> >>>>>>> ><pratheblackdiamond@HIDDEN>
> >>>>>>> >wrote:
> >>>>>>> >
> >>>>>>> >> I forgot to mention, but the union-build works. If one `guix
> >>>>>>> build`s
> >>>>>>> >the
> >>>>>>> >> union package, and cd into the /gnu/store/...-union-build,
> >one will
> >>>>>>> >see
> >>>>>>> >> that things are there as it should be (lib/normal-alsa-*.so
> >and
> >>>>>>> >> lib/alsa-lib/*pulse*.so).
> >>>>>>> >>
> >>>>>>> >> It's just that aegisub seems to be looking from the
> >>>>>>> >> /gnu/store/normal-alsa-lib-dir instead of
> >>>>>>> >/gnu/store/union-alsa-package.
> >>>>>>> >>
> >>>>>>>
> >>>>>>> I think the issue with the union-build is that it is completely
> >>>>>>> ignored: alsa doesn't look in it's current directory for
> >plugins, but in
> >>>>>>> the directory where it's been configured (at build time) to look
> >for.
> >>>>>>>
> >>>>>>> On the Guix System, there is a service that creates a
> >>>>>>> /etc/asound.conf, which references alsa-plugins:pulseaudio.
> >Maybe you
> >>>>>>> actually want to configure that? Maybe try to copy this to a new
> >file
> >>>>>>> .asoundrc:
> >>>>>>>
> >>>>>>> pcm_type.pule {
> >>>>>>>   lib
> >>>>>>>
> >"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.so"
> >>>>>>> }
> >>>>>>>
> >>>>>>> ctl_type.pulse {
> >>>>>>>
> >>>>>>>
> >lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so"
> >>>>>>> }
> >>>>>>>
> >>>>>>> pcm.!default {
> >>>>>>>   type pulse
> >>>>>>> }
> >>>>>>>
> >>>>>>> ctl.!default {
> >>>>>>>   type pulse
> >>>>>>> }
> >>>>>>>
> >>>>>>
>

--000000000000ac3d5805b060af00
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I see...</div><div><br></div><div>Hmm.... I didn&#39;=
t know they were just 11 people.</div><div><br></div><div>Anyways, here is =
something that an ALSA developer told me... I couldn&#39;t make much of it.=
 But Perhaps you could?</div><div><br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><div>The current alsa-lib code uses the RTLD_DI_ORIGIN g=
libc extension to=20
determine the libasound.so path at runtime. The hardcoded path is used=20
only if this mechanism does not work</div></blockquote><div><br></div><div>=
Perhaps you&#39;d like to see our conversation over at GitHub: <a href=3D"h=
ttps://github.com/alsa-project/alsa-lib/issues/82">https://github.com/alsa-=
project/alsa-lib/issues/82</a></div><div><br></div><div>You&#39;re far more=
 qualified to do this than I am.<br></div></div><br><div class=3D"gmail_quo=
te"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Sep 27, 2020 at 4:55 PM J=
ulien Lepiller &lt;<a href=3D"mailto:julien@HIDDEN">julien@HIDDEN=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<br>
<br>
Le 27 septembre 2020 01:56:31 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailt=
o:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiamond@gmail.=
com</a>&gt; a =C3=A9crit :<br>
&gt;First and foremost: wow. A post-doc at just three years older than me.<=
br>
&gt;*cries in high-school drop-out* Super awesome!<br>
&gt;<br>
&gt;I have cleaned up my package definition as per your review:<br>
&gt;<a href=3D"https://github.com/peanutbutterandcrackers/guix-packages/blo=
b/master/aegisub.scm" rel=3D"noreferrer" target=3D"_blank">https://github.c=
om/peanutbutterandcrackers/guix-packages/blob/master/aegisub.scm</a><br>
&gt;<br>
&gt;I will look into the matter then. Might take me a while, but I&#39;ll t=
ry.<br>
&gt;<br>
&gt;It&#39;s sad that framagit is closing. I think they were doing a great =
job<br>
&gt;with<br>
&gt;peertube and all...<br>
<br>
Well, it&#39;s framasoft, they started so many services that they can&#39;t=
 handle the load anymore. So they&#39;ve started closing them little by lit=
tle last year. Some of them will stay, and others will disappear. They neve=
r wanted to centralize the web around them, so it&#39;s understandable. Ins=
tead, they propose other alternatives, they&#39;ve started the chaton initi=
ative (where other structures propose the same kind of services, at a small=
er scale), etc.<br>
<br>
They&#39;re still developping peertube, don&#39;t worry about that. But the=
y&#39;re not going to host a public instance. Remember they&#39;re about 10=
 volunteers and one employee :)<br>
<br>
&gt;<br>
&gt;On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller &lt;<a href=3D"mailto:j=
ulien@HIDDEN" target=3D"_blank">julien@HIDDEN</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; Thanks! On the guix system, aegisub already works properly (at lea=
st<br>
&gt;it<br>
&gt;&gt; did when I last used it), because the alsa config allows it to fin=
d<br>
&gt;&gt; pulseaudio.<br>
&gt;&gt;<br>
&gt;&gt; There are three issues with your proposed change:<br>
&gt;&gt;<br>
&gt;&gt; First using derivation-outputs is a bad idea, and it probably only=
<br>
&gt;works<br>
&gt;&gt; because alsa-plugin doesn&#39;t depend on your modified alsa-lib (=
you&#39;d<br>
&gt;get an<br>
&gt;&gt; infinite loop I think). Since alsa-plugin doesn&#39;t depend on th=
is<br>
&gt;modified<br>
&gt;&gt; alsa-lib, you don&#39;t need such a convoluted work around. When d=
efining<br>
&gt;the<br>
&gt;&gt; conhigure flags, you can simply use (assoc-ref %build-inputs<br>
&gt;&quot;alsa-plugin&quot;)<br>
&gt;&gt; when &quot;alsa-plugin&quot; is defined as an input to the package=
.<br>
&gt;&gt;<br>
&gt;&gt; Second, setting plugindir at build-time is just asking for the sam=
e<br>
&gt;kind<br>
&gt;&gt; of issues you are trying to fix, only for finding another plugin t=
hat<br>
&gt;might<br>
&gt;&gt; be needed.<br>
&gt;&gt;<br>
&gt;&gt; Third, the way you modify the arguments is=E2=80=A6 unconventional=
 :) try<br>
&gt;using<br>
&gt;&gt; substitute-keyword-arguments instead. There are plenty of examples=
 in<br>
&gt;the<br>
&gt;&gt; repo.<br>
&gt;&gt;<br>
&gt;&gt; I remember having dealt with this issue before, and pushed a patch=
<br>
&gt;some 3<br>
&gt;&gt; years ago: <a href=3D"http://issues.guix.gnu.org/31239" rel=3D"nor=
eferrer" target=3D"_blank">http://issues.guix.gnu.org/31239</a><br>
&gt;&gt;<br>
&gt;&gt; Could you look at what happened in the meantime? I think it was<br=
>
&gt;reverted<br>
&gt;&gt; in favor of the asound.conf file we have in the guix system now. Y=
ou<br>
&gt;might<br>
&gt;&gt; learn something if you find the reason why it was changed.<br>
&gt;&gt;<br>
&gt;&gt; Re my other projects, framagit is going to close next year, so I&#=
39;ll<br>
&gt;be<br>
&gt;&gt; migrating to my own hosting, currently at <a href=3D"http://git.le=
piller.eu" rel=3D"noreferrer" target=3D"_blank">git.lepiller.eu</a>.<br>
&gt;&gt;<br>
&gt;&gt; Ok for the cultural difference. It&#39;s probably too soon to call=
 me a<br>
&gt;&gt; &quot;senior&quot; though, I&#39;m still pretty young: only 3 year=
s older than you<br>
&gt;:p<br>
&gt;&gt;<br>
&gt;&gt; Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri &lt;<br>
&gt;&gt; <a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">=
pratheblackdiamond@HIDDEN</a>&gt; a =C3=A9crit :<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Oh, I come from a culture that does not call seniors by their =
first<br>
&gt;&gt;&gt; names. (:<br>
&gt;&gt;&gt; Yes! guix-android looks super awesome! I&#39;m glad that you a=
re working<br>
&gt;on<br>
&gt;&gt;&gt; that. You&#39;re awesome.<br>
&gt;&gt;&gt; (Also, I just realized that you&#39;ve also got guix-home-mana=
ger and so<br>
&gt;many<br>
&gt;&gt;&gt; more cool repositories! I need to check those out, and soon!)<=
br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I did manage to resolve this issue. Kinda&#39;. Here:<br>
&gt;&gt;&gt;<br>
&gt;<a href=3D"https://github.com/peanutbutterandcrackers/guix-packages/blo=
b/master/aegisub.scm" rel=3D"noreferrer" target=3D"_blank">https://github.c=
om/peanutbutterandcrackers/guix-packages/blob/master/aegisub.scm</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; All I had to do was re-define &#39;alsa-lib&#39; to point to t=
he /gnu/store<br>
&gt;path<br>
&gt;&gt;&gt; of alsa-plugins. The /gnu/store path had to be figured out dur=
ing<br>
&gt;runtime.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Could you please check how this fares in a GuixSD system? If i=
t goes<br>
&gt;&gt;&gt; well, perhaps I should send a patch in for aegisub. But then a=
gain,<br>
&gt;I<br>
&gt;&gt;&gt; wonder if I should make the changes in alsa-lib itself, but I =
am not<br>
&gt;very<br>
&gt;&gt;&gt; sure about that.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller &lt;<a href=3D=
"mailto:julien@HIDDEN" target=3D"_blank">julien@HIDDEN</a>&gt;<br=
>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hehe, thanks for your interest in guix-android. It&#39;s n=
ot really<br>
&gt;done<br>
&gt;&gt;&gt;&gt; yet, but I&#39;m very motivated :). It always feels weird =
when someone<br>
&gt;on the<br>
&gt;&gt;&gt;&gt; internet calls you Mr ^^. No need to be so stiff, you can =
call me<br>
&gt;&quot;Julien&quot;<br>
&gt;&gt;&gt;&gt; (and I suppose it&#39;s the norm to call people by their f=
irst name in<br>
&gt;this<br>
&gt;&gt;&gt;&gt; kind of internet community).<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Maybe try to run aegisub with strace -f, you might find ou=
t<br>
&gt;something.<br>
&gt;&gt;&gt;&gt; You may have to take a look at alsa&#39;s sources to find =
out how it<br>
&gt;looks for<br>
&gt;&gt;&gt;&gt; its plugins exactly (maybe try to grep for PLUGIN or PLUGI=
NDIR)?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri &lt=
;<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"=
_blank">pratheblackdiamond@HIDDEN</a>&gt; a =C3=A9crit :<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Okay, I think I&#39;m stuck now. lol<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:pratheblackdiamond@HIDDEN" target=
=3D"_blank">pratheblackdiamond@HIDDEN</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hello Mr. Lepiller,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Thank you for the tip. For the moment, I want to p=
oke around this<br>
&gt;&gt;&gt;&gt;&gt;&gt; issue. Perhaps I get absolutely tired of it (or fi=
nd a good hack<br>
&gt;- and an<br>
&gt;&gt;&gt;&gt;&gt;&gt; ugly patch). I did manage to learn a bit more abou=
t union-builds<br>
&gt;in<br>
&gt;&gt;&gt;&gt;&gt;&gt; general. So, that&#39;s a silver lining.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Also, your work on guix-android seems so very cool=
! Please keep<br>
&gt;up the<br>
&gt;&gt;&gt;&gt;&gt;&gt; great work!<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller<br=
>
&gt;&lt;<a href=3D"mailto:julien@HIDDEN" target=3D"_blank">julien@lepi=
ller.eu</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Prafulla,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Le 26 septembre 2020 03:31:38 GMT-04:00, Prafu=
lla Giri &lt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:pratheblackdiamond@HIDDEN=
" target=3D"_blank">pratheblackdiamond@HIDDEN</a>&gt; a =C3=A9crit :<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;Another information:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;I have other programs on my foreign system=
 (installed via guix)<br>
&gt;that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;produce sound well, without any issues. Th=
ey include:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;espeak and kdenlive.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;Also, I did try making the union-build use=
 copies instead of<br>
&gt;symlinks<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;using<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;(union-build ... #:symlink copy-recursivel=
y) but that didn&#39;t<br>
&gt;work out<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;either.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;Now, I&#39;m going to take a look at fixin=
g the pkg-config rules,<br>
&gt;and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; will<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;be<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;updating this thread should that resolve t=
his issue.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla =
Giri<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&lt;<a href=3D"mailto:pratheblackdiamond@g=
mail.com" target=3D"_blank">pratheblackdiamond@HIDDEN</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; I forgot to mention, but the union-bu=
ild works. If one `guix<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; build`s<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; union package, and cd into the /gnu/s=
tore/...-union-build,<br>
&gt;one will<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;see<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; that things are there as it should be=
 (lib/normal-alsa-*.so<br>
&gt;and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; lib/alsa-lib/*pulse*.so).<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; It&#39;s just that aegisub seems to b=
e looking from the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt; /gnu/store/normal-alsa-lib-dir instea=
d of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;/gnu/store/union-alsa-package.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think the issue with the union-build is that=
 it is completely<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ignored: alsa doesn&#39;t look in it&#39;s cur=
rent directory for<br>
&gt;plugins, but in<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the directory where it&#39;s been configured (=
at build time) to look<br>
&gt;for.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On the Guix System, there is a service that cr=
eates a<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /etc/asound.conf, which references alsa-plugin=
s:pulseaudio.<br>
&gt;Maybe you<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; actually want to configure that? Maybe try to =
copy this to a new<br>
&gt;file<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .asoundrc:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; pcm_type.pule {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0lib<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.s=
o&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ctl_type.pulse {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;lib&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_puls=
e.so&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; pcm.!default {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0type pulse<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ctl.!default {<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0type pulse<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
</blockquote></div>

--000000000000ac3d5805b060af00--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 27 Sep 2020 11:10:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 27 07:10:09 2020
Received: from localhost ([127.0.0.1]:48474 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMUZF-00007K-8s
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2020 07:10:09 -0400
Received: from lepiller.eu ([89.234.186.109]:49784)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kMUZB-000072-2G
 for 43628 <at> debbugs.gnu.org; Sun, 27 Sep 2020 07:10:07 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id 44277ec5;
 Sun, 27 Sep 2020 11:10:02 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:cc:from:message-id; s=
 dkim; bh=1C2aU/CbQheimtNI174lHqVNwjes7xJN8c8oV2HbqUY=; b=XhD+rHy
 ecEwPM4VX9ibW/QohDYSeMRcLqbOi3Fy2DQffDnRkASSxSd2x1XIqZ47AIw1eSgw
 vRjlb9IodNZGCy1uqAEe7X534oQLTnHMOCWSKF/kfGv0A1yPqt8s9NQHQ6X4axmL
 /3Mym5TkUsIAzGWM6aVHCpyoEa87sGX9E+M6DqONF4O2vd/GToPdA86QpwysfKxa
 zOTzq+aii1jtMDv8WAbr82TK/8bzY0rltaa6n9w31Nkh7wbeNriaU3WDxkSL9DAx
 lYU4zxHB0aUGDNCcXITIPnIgCiSyz2YkdKiTUUJ2wZ3Tp/rfx9nnTwf+T2wl4KS2
 IP1NHGPPYIdS/7A==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 81807308
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sun, 27 Sep 2020 11:10:01 +0000 (UTC)
Date: Sun, 27 Sep 2020 07:09:51 -0400
User-Agent: K-9 Mail for Android
In-Reply-To: <CAFw+=j0G54t1b6s9gac_sdggtMMQ5+Pa2OSTU__DBKPjt9AXbw@HIDDEN>
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
 <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
 <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
 <CAFw+=j3YByxoAVVGAdsQNGrj1UO-tV18fCi-wYnG_w1dXgP_pA@HIDDEN>
 <A6EEC292-30BC-41F8-9DA5-96905D9FCBDD@HIDDEN>
 <CAFw+=j0G54t1b6s9gac_sdggtMMQ5+Pa2OSTU__DBKPjt9AXbw@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [bug#43628] Further Info
To: Prafulla Giri <pratheblackdiamond@HIDDEN>
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <580CE2CF-2CAD-49E4-AFAB-A28DD11585E9@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)



Le 27 septembre 2020 01:56:31 GMT-04:00, Prafulla Giri <pratheblackdiamond=
@gmail=2Ecom> a =C3=A9crit :
>First and foremost: wow=2E A post-doc at just three years older than me=
=2E
>*cries in high-school drop-out* Super awesome!
>
>I have cleaned up my package definition as per your review:
>https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/ae=
gisub=2Escm
>
>I will look into the matter then=2E Might take me a while, but I'll try=
=2E
>
>It's sad that framagit is closing=2E I think they were doing a great job
>with
>peertube and all=2E=2E=2E

Well, it's framasoft, they started so many services that they can't handle=
 the load anymore=2E So they've started closing them little by little last =
year=2E Some of them will stay, and others will disappear=2E They never wan=
ted to centralize the web around them, so it's understandable=2E Instead, t=
hey propose other alternatives, they've started the chaton initiative (wher=
e other structures propose the same kind of services, at a smaller scale), =
etc=2E

They're still developping peertube, don't worry about that=2E But they're =
not going to host a public instance=2E Remember they're about 10 volunteers=
 and one employee :)

>
>On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller <julien@lepiller=2Eeu>
>wrote:
>
>> Thanks! On the guix system, aegisub already works properly (at least
>it
>> did when I last used it), because the alsa config allows it to find
>> pulseaudio=2E
>>
>> There are three issues with your proposed change:
>>
>> First using derivation-outputs is a bad idea, and it probably only
>works
>> because alsa-plugin doesn't depend on your modified alsa-lib (you'd
>get an
>> infinite loop I think)=2E Since alsa-plugin doesn't depend on this
>modified
>> alsa-lib, you don't need such a convoluted work around=2E When defining
>the
>> conhigure flags, you can simply use (assoc-ref %build-inputs
>"alsa-plugin")
>> when "alsa-plugin" is defined as an input to the package=2E
>>
>> Second, setting plugindir at build-time is just asking for the same
>kind
>> of issues you are trying to fix, only for finding another plugin that
>might
>> be needed=2E
>>
>> Third, the way you modify the arguments is=E2=80=A6 unconventional :) t=
ry
>using
>> substitute-keyword-arguments instead=2E There are plenty of examples in
>the
>> repo=2E
>>
>> I remember having dealt with this issue before, and pushed a patch
>some 3
>> years ago: http://issues=2Eguix=2Egnu=2Eorg/31239
>>
>> Could you look at what happened in the meantime? I think it was
>reverted
>> in favor of the asound=2Econf file we have in the guix system now=2E Yo=
u
>might
>> learn something if you find the reason why it was changed=2E
>>
>> Re my other projects, framagit is going to close next year, so I'll
>be
>> migrating to my own hosting, currently at git=2Elepiller=2Eeu=2E
>>
>> Ok for the cultural difference=2E It's probably too soon to call me a
>> "senior" though, I'm still pretty young: only 3 years older than you
>:p
>>
>> Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri <
>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>>>
>>> Oh, I come from a culture that does not call seniors by their first
>>> names=2E (:
>>> Yes! guix-android looks super awesome! I'm glad that you are working
>on
>>> that=2E You're awesome=2E
>>> (Also, I just realized that you've also got guix-home-manager and so
>many
>>> more cool repositories! I need to check those out, and soon!)
>>>
>>> I did manage to resolve this issue=2E Kinda'=2E Here:
>>>
>https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/ae=
gisub=2Escm
>>>
>>> All I had to do was re-define 'alsa-lib' to point to the /gnu/store
>path
>>> of alsa-plugins=2E The /gnu/store path had to be figured out during
>runtime=2E
>>>
>>> Could you please check how this fares in a GuixSD system? If it goes
>>> well, perhaps I should send a patch in for aegisub=2E But then again,
>I
>>> wonder if I should make the changes in alsa-lib itself, but I am not
>very
>>> sure about that=2E
>>>
>>> On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller <julien@lepiller=2Eeu>
>>> wrote:
>>>
>>>> Hehe, thanks for your interest in guix-android=2E It's not really
>done
>>>> yet, but I'm very motivated :)=2E It always feels weird when someone
>on the
>>>> internet calls you Mr ^^=2E No need to be so stiff, you can call me
>"Julien"
>>>> (and I suppose it's the norm to call people by their first name in
>this
>>>> kind of internet community)=2E
>>>>
>>>> Maybe try to run aegisub with strace -f, you might find out
>something=2E
>>>> You may have to take a look at alsa's sources to find out how it
>looks for
>>>> its plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)?
>>>>
>>>> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <
>>>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>>>>>
>>>>> Okay, I think I'm stuck now=2E lol
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <
>>>>> pratheblackdiamond@gmail=2Ecom> wrote:
>>>>>
>>>>>> Hello Mr=2E Lepiller,
>>>>>>
>>>>>> Thank you for the tip=2E For the moment, I want to poke around this
>>>>>> issue=2E Perhaps I get absolutely tired of it (or find a good hack
>- and an
>>>>>> ugly patch)=2E I did manage to learn a bit more about union-builds
>in
>>>>>> general=2E So, that's a silver lining=2E
>>>>>>
>>>>>> Also, your work on guix-android seems so very cool! Please keep
>up the
>>>>>> great work!
>>>>>>
>>>>>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller
><julien@lepiller=2Eeu>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi Prafulla,
>>>>>>>
>>>>>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>>>>>>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>>>>>>> >Another information:
>>>>>>> >
>>>>>>> >I have other programs on my foreign system (installed via guix)
>that
>>>>>>> >produce sound well, without any issues=2E They include:
>>>>>>> >espeak and kdenlive=2E
>>>>>>> >
>>>>>>> >Also, I did try making the union-build use copies instead of
>symlinks
>>>>>>> >using
>>>>>>> >(union-build =2E=2E=2E #:symlink copy-recursively) but that didn'=
t
>work out
>>>>>>> >either=2E
>>>>>>> >
>>>>>>> >Now, I'm going to take a look at fixing the pkg-config rules,
>and
>>>>>>> will
>>>>>>> >be
>>>>>>> >updating this thread should that resolve this issue=2E
>>>>>>> >
>>>>>>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>>>>>>> ><pratheblackdiamond@gmail=2Ecom>
>>>>>>> >wrote:
>>>>>>> >
>>>>>>> >> I forgot to mention, but the union-build works=2E If one `guix
>>>>>>> build`s
>>>>>>> >the
>>>>>>> >> union package, and cd into the /gnu/store/=2E=2E=2E-union-build=
,
>one will
>>>>>>> >see
>>>>>>> >> that things are there as it should be (lib/normal-alsa-*=2Eso
>and
>>>>>>> >> lib/alsa-lib/*pulse*=2Eso)=2E
>>>>>>> >>
>>>>>>> >> It's just that aegisub seems to be looking from the
>>>>>>> >> /gnu/store/normal-alsa-lib-dir instead of
>>>>>>> >/gnu/store/union-alsa-package=2E
>>>>>>> >>
>>>>>>>
>>>>>>> I think the issue with the union-build is that it is completely
>>>>>>> ignored: alsa doesn't look in it's current directory for
>plugins, but in
>>>>>>> the directory where it's been configured (at build time) to look
>for=2E
>>>>>>>
>>>>>>> On the Guix System, there is a service that creates a
>>>>>>> /etc/asound=2Econf, which references alsa-plugins:pulseaudio=2E
>Maybe you
>>>>>>> actually want to configure that? Maybe try to copy this to a new
>file
>>>>>>> =2Easoundrc:
>>>>>>>
>>>>>>> pcm_type=2Epule {
>>>>>>>   lib
>>>>>>>
>"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=2Eso"
>>>>>>> }
>>>>>>>
>>>>>>> ctl_type=2Epulse {
>>>>>>>
>>>>>>>
>lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2Es=
o"
>>>>>>> }
>>>>>>>
>>>>>>> pcm=2E!default {
>>>>>>>   type pulse
>>>>>>> }
>>>>>>>
>>>>>>> ctl=2E!default {
>>>>>>>   type pulse
>>>>>>> }
>>>>>>>
>>>>>>




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 27 Sep 2020 05:56:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 27 01:56:53 2020
Received: from localhost ([127.0.0.1]:48161 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMPg4-0000io-CN
	for submit <at> debbugs.gnu.org; Sun, 27 Sep 2020 01:56:53 -0400
Received: from mail-pj1-f41.google.com ([209.85.216.41]:54111)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kMPg1-0000iR-4h
 for 43628 <at> debbugs.gnu.org; Sun, 27 Sep 2020 01:56:50 -0400
Received: by mail-pj1-f41.google.com with SMTP id t7so1725615pjd.3
 for <43628 <at> debbugs.gnu.org>; Sat, 26 Sep 2020 22:56:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=pUERo0RMtXw6Ml3paCUpHnzT1aDkKCDRUgtxNgNrZm8=;
 b=ZAM9fr+1zBAsmRdxwDoIdMAHYzc5Qxv79C+5OcF4J8ZaMqENxFKzSLR5ar0b7MLnBn
 kH5S7t0a4Bqb+FyTfyPk2pHK7tlcKBQeGoL/YkAq9pWFeYDrlGsHF2JitEfg026UW4Jc
 deQnCHROMEeeIOPLsNgLW1N0ey6McU3PinAxpEgQdiVVqV5So3b//CqpaZznzbWNrV3E
 TEGFyAn6MJ0r8nZcIgcTRlS0f1barVrhlRW7tJERa2EaV4dq7QWjxCoKVCA/2xW9GI+O
 oWAEZTMZzV4GY8ijZz33xH09B0+gj/dirrBgEEnPa2DegEWE5JRH8Q6+5QTU2i1yTaTA
 dyEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=pUERo0RMtXw6Ml3paCUpHnzT1aDkKCDRUgtxNgNrZm8=;
 b=h6mpUSlfQjRylil+IakGAQkTQwS5quRptLPHhQoLHsodEZCBmdAh4QPheFlFlI6yV8
 ERNpoHZdVky9wNtbWknrnxJl5BKV/xEAK+MwIGbbyOxP96yhm6jElWPsYG7skSikWmil
 4Lw/2IQl8rNcKUJUGtzJZuLmSPY4IS5a31kGDGaAhHYQ2YtNrnpd4H5kF319LWWfXsmH
 mnyrXbApqbA1vtJW/kYtCPtDYdqrXluaBkdN30sq9uIgmhUazHADq+hmKFtXKMx8lLx0
 2qwjyrgG5clKASGthgD3ql6E7CEHBF86GyA8uOdXgabUgyNHsYP27yV1cQaU6ZAAHfUr
 5WpQ==
X-Gm-Message-State: AOAM5321l9PPafBSXtLc2oBOGX/peJiHG8E5Lb2dNlfJj9gFI1/bMflk
 ukffWbH+tKqBhnBO6nEx0DupjDazMPQLVeRNm4Rhp5ZJd5xIXA==
X-Google-Smtp-Source: ABdhPJw6inC5EH6dArOsfWSKroeo58jmkXXEezMb27rvYpg1PIgb5c8Ia1UOt5XlGTDlrssAbiJ0amsqi+5H6LRXLAg=
X-Received: by 2002:a17:90b:ecc:: with SMTP id
 gz12mr4261447pjb.219.1601186202988; 
 Sat, 26 Sep 2020 22:56:42 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
 <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
 <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
 <CAFw+=j3YByxoAVVGAdsQNGrj1UO-tV18fCi-wYnG_w1dXgP_pA@HIDDEN>
 <A6EEC292-30BC-41F8-9DA5-96905D9FCBDD@HIDDEN>
In-Reply-To: <A6EEC292-30BC-41F8-9DA5-96905D9FCBDD@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sun, 27 Sep 2020 11:41:31 +0545
Message-ID: <CAFw+=j0G54t1b6s9gac_sdggtMMQ5+Pa2OSTU__DBKPjt9AXbw@HIDDEN>
Subject: Re: [bug#43628] Further Info
To: Julien Lepiller <julien@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000d9341505b04536cc"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000d9341505b04536cc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

First and foremost: wow. A post-doc at just three years older than me.
*cries in high-school drop-out* Super awesome!

I have cleaned up my package definition as per your review:
https://github.com/peanutbutterandcrackers/guix-packages/blob/master/aegisu=
b.scm

I will look into the matter then. Might take me a while, but I'll try.

It's sad that framagit is closing. I think they were doing a great job with
peertube and all...

On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller <julien@HIDDEN> wrote:

> Thanks! On the guix system, aegisub already works properly (at least it
> did when I last used it), because the alsa config allows it to find
> pulseaudio.
>
> There are three issues with your proposed change:
>
> First using derivation-outputs is a bad idea, and it probably only works
> because alsa-plugin doesn't depend on your modified alsa-lib (you'd get a=
n
> infinite loop I think). Since alsa-plugin doesn't depend on this modified
> alsa-lib, you don't need such a convoluted work around. When defining the
> conhigure flags, you can simply use (assoc-ref %build-inputs "alsa-plugin=
")
> when "alsa-plugin" is defined as an input to the package.
>
> Second, setting plugindir at build-time is just asking for the same kind
> of issues you are trying to fix, only for finding another plugin that mig=
ht
> be needed.
>
> Third, the way you modify the arguments is=E2=80=A6 unconventional :) try=
 using
> substitute-keyword-arguments instead. There are plenty of examples in the
> repo.
>
> I remember having dealt with this issue before, and pushed a patch some 3
> years ago: http://issues.guix.gnu.org/31239
>
> Could you look at what happened in the meantime? I think it was reverted
> in favor of the asound.conf file we have in the guix system now. You migh=
t
> learn something if you find the reason why it was changed.
>
> Re my other projects, framagit is going to close next year, so I'll be
> migrating to my own hosting, currently at git.lepiller.eu.
>
> Ok for the cultural difference. It's probably too soon to call me a
> "senior" though, I'm still pretty young: only 3 years older than you :p
>
> Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri <
> pratheblackdiamond@HIDDEN> a =C3=A9crit :
>>
>> Oh, I come from a culture that does not call seniors by their first
>> names. (:
>> Yes! guix-android looks super awesome! I'm glad that you are working on
>> that. You're awesome.
>> (Also, I just realized that you've also got guix-home-manager and so man=
y
>> more cool repositories! I need to check those out, and soon!)
>>
>> I did manage to resolve this issue. Kinda'. Here:
>> https://github.com/peanutbutterandcrackers/guix-packages/blob/master/aeg=
isub.scm
>>
>> All I had to do was re-define 'alsa-lib' to point to the /gnu/store path
>> of alsa-plugins. The /gnu/store path had to be figured out during runtim=
e.
>>
>> Could you please check how this fares in a GuixSD system? If it goes
>> well, perhaps I should send a patch in for aegisub. But then again, I
>> wonder if I should make the changes in alsa-lib itself, but I am not ver=
y
>> sure about that.
>>
>> On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller <julien@HIDDEN>
>> wrote:
>>
>>> Hehe, thanks for your interest in guix-android. It's not really done
>>> yet, but I'm very motivated :). It always feels weird when someone on t=
he
>>> internet calls you Mr ^^. No need to be so stiff, you can call me "Juli=
en"
>>> (and I suppose it's the norm to call people by their first name in this
>>> kind of internet community).
>>>
>>> Maybe try to run aegisub with strace -f, you might find out something.
>>> You may have to take a look at alsa's sources to find out how it looks =
for
>>> its plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)?
>>>
>>> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <
>>> pratheblackdiamond@HIDDEN> a =C3=A9crit :
>>>>
>>>> Okay, I think I'm stuck now. lol
>>>>
>>>>
>>>>
>>>> On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <
>>>> pratheblackdiamond@HIDDEN> wrote:
>>>>
>>>>> Hello Mr. Lepiller,
>>>>>
>>>>> Thank you for the tip. For the moment, I want to poke around this
>>>>> issue. Perhaps I get absolutely tired of it (or find a good hack - an=
d an
>>>>> ugly patch). I did manage to learn a bit more about union-builds in
>>>>> general. So, that's a silver lining.
>>>>>
>>>>> Also, your work on guix-android seems so very cool! Please keep up th=
e
>>>>> great work!
>>>>>
>>>>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller <julien@HIDDEN>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Prafulla,
>>>>>>
>>>>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>>>>>> pratheblackdiamond@HIDDEN> a =C3=A9crit :
>>>>>> >Another information:
>>>>>> >
>>>>>> >I have other programs on my foreign system (installed via guix) tha=
t
>>>>>> >produce sound well, without any issues. They include:
>>>>>> >espeak and kdenlive.
>>>>>> >
>>>>>> >Also, I did try making the union-build use copies instead of symlin=
ks
>>>>>> >using
>>>>>> >(union-build ... #:symlink copy-recursively) but that didn't work o=
ut
>>>>>> >either.
>>>>>> >
>>>>>> >Now, I'm going to take a look at fixing the pkg-config rules, and
>>>>>> will
>>>>>> >be
>>>>>> >updating this thread should that resolve this issue.
>>>>>> >
>>>>>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>>>>>> ><pratheblackdiamond@HIDDEN>
>>>>>> >wrote:
>>>>>> >
>>>>>> >> I forgot to mention, but the union-build works. If one `guix
>>>>>> build`s
>>>>>> >the
>>>>>> >> union package, and cd into the /gnu/store/...-union-build, one wi=
ll
>>>>>> >see
>>>>>> >> that things are there as it should be (lib/normal-alsa-*.so and
>>>>>> >> lib/alsa-lib/*pulse*.so).
>>>>>> >>
>>>>>> >> It's just that aegisub seems to be looking from the
>>>>>> >> /gnu/store/normal-alsa-lib-dir instead of
>>>>>> >/gnu/store/union-alsa-package.
>>>>>> >>
>>>>>>
>>>>>> I think the issue with the union-build is that it is completely
>>>>>> ignored: alsa doesn't look in it's current directory for plugins, bu=
t in
>>>>>> the directory where it's been configured (at build time) to look for=
.
>>>>>>
>>>>>> On the Guix System, there is a service that creates a
>>>>>> /etc/asound.conf, which references alsa-plugins:pulseaudio. Maybe yo=
u
>>>>>> actually want to configure that? Maybe try to copy this to a new fil=
e
>>>>>> .asoundrc:
>>>>>>
>>>>>> pcm_type.pule {
>>>>>>   lib
>>>>>> "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.so"
>>>>>> }
>>>>>>
>>>>>> ctl_type.pulse {
>>>>>>
>>>>>> lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.=
so"
>>>>>> }
>>>>>>
>>>>>> pcm.!default {
>>>>>>   type pulse
>>>>>> }
>>>>>>
>>>>>> ctl.!default {
>>>>>>   type pulse
>>>>>> }
>>>>>>
>>>>>

--000000000000d9341505b04536cc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>First and foremost: wow. A post-doc at just three yea=
rs older than me. *cries in high-school drop-out* Super awesome!</div><div>=
<br></div><div>I have cleaned up my package definition as per your review: =
<a href=3D"https://github.com/peanutbutterandcrackers/guix-packages/blob/ma=
ster/aegisub.scm">https://github.com/peanutbutterandcrackers/guix-packages/=
blob/master/aegisub.scm</a></div><div><br></div><div>I will look into the m=
atter then. Might take me a while, but I&#39;ll try.</div><div><br></div><d=
iv>It&#39;s sad that framagit is closing. I think they were doing a great j=
ob with peertube and all...<br></div></div><br><div class=3D"gmail_quote"><=
div dir=3D"ltr" class=3D"gmail_attr">On Sun, Sep 27, 2020 at 3:00 AM Julien=
 Lepiller &lt;<a href=3D"mailto:julien@HIDDEN">julien@HIDDEN</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>=
Thanks! On the guix system, aegisub already works properly (at least it did=
 when I last used it), because the alsa config allows it to find pulseaudio=
.<br><br>There are three issues with your proposed change:<br><br>First usi=
ng derivation-outputs is a bad idea, and it probably only works because als=
a-plugin doesn&#39;t depend on your modified alsa-lib (you&#39;d get an inf=
inite loop I think). Since alsa-plugin doesn&#39;t depend on this modified =
alsa-lib, you don&#39;t need such a convoluted work around. When defining t=
he conhigure flags, you can simply use (assoc-ref %build-inputs &quot;alsa-=
plugin&quot;) when &quot;alsa-plugin&quot; is defined as an input to the pa=
ckage.<br><br>Second, setting plugindir at build-time is just asking for th=
e same kind of issues you are trying to fix, only for finding another plugi=
n that might be needed.<br><br>Third, the way you modify the arguments is=
=E2=80=A6 unconventional :) try using substitute-keyword-arguments instead.=
 There are plenty of examples in the repo.<br><br>I remember having dealt w=
ith this issue before, and pushed a patch some 3 years ago: <a href=3D"http=
://issues.guix.gnu.org/31239" target=3D"_blank">http://issues.guix.gnu.org/=
31239</a><br><br>Could you look at what happened in the meantime? I think i=
t was reverted in favor of the asound.conf file we have in the guix system =
now. You might learn something if you find the reason why it was changed.<b=
r><br>Re my other projects, framagit is going to close next year, so I&#39;=
ll be migrating to my own hosting, currently at <a href=3D"http://git.lepil=
ler.eu" target=3D"_blank">git.lepiller.eu</a>.<br><br>Ok for the cultural d=
ifference. It&#39;s probably too soon to call me a &quot;senior&quot; thoug=
h, I&#39;m still pretty young: only 3 years older than you :p<br><br><div c=
lass=3D"gmail_quote">Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri=
 &lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">prat=
heblackdiamond@HIDDEN</a>&gt; a =C3=A9crit :<blockquote class=3D"gmail_q=
uote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">
<div dir=3D"ltr"><div>Oh, I come from a culture that does not call seniors =
by their first names. (:</div><div>Yes! guix-android looks super awesome! I=
&#39;m glad that you are working on that. You&#39;re awesome.</div><div>(Al=
so, I just realized that you&#39;ve also got guix-home-manager and so many =
more cool repositories! I need to check those out, and soon!)<br></div><div=
><br></div><div>I did manage to resolve this issue. Kinda&#39;. Here: <a hr=
ef=3D"https://github.com/peanutbutterandcrackers/guix-packages/blob/master/=
aegisub.scm" target=3D"_blank">https://github.com/peanutbutterandcrackers/g=
uix-packages/blob/master/aegisub.scm</a></div><div><br></div><div>All I had=
 to do was re-define &#39;alsa-lib&#39; to point to the /gnu/store path of =
alsa-plugins. The /gnu/store path had to be figured out during runtime.</di=
v><div><br></div><div>Could you please check how this fares in a GuixSD sys=
tem? If it goes well, perhaps I should send a patch in for aegisub. But the=
n again, I wonder if I should make the changes in alsa-lib itself, but I am=
 not very sure about that.<br></div></div><br><div class=3D"gmail_quote"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 26, 2020 at 8:20 PM Julien =
Lepiller &lt;<a href=3D"mailto:julien@HIDDEN" target=3D"_blank">julien=
@lepiller.eu</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex"><div>Hehe, thanks for your interest in guix-android. It&#39;s n=
ot really done yet, but I&#39;m very motivated :). It always feels weird wh=
en someone on the internet calls you Mr ^^. No need to be so stiff, you can=
 call me &quot;Julien&quot; (and I suppose it&#39;s the norm to call people=
 by their first name in this kind of internet community).<br><br>Maybe try =
to run aegisub with strace -f, you might find out something. You may have t=
o take a look at alsa&#39;s sources to find out how it looks for its plugin=
s exactly (maybe try to grep for PLUGIN or PLUGINDIR)?<br><br><div class=3D=
"gmail_quote">Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri &lt;<a=
 href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblack=
diamond@HIDDEN</a>&gt; a =C3=A9crit :<blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">
<div dir=3D"ltr"><div>Okay, I think I&#39;m stuck now. lol</div><div><br></=
div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<a hre=
f=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiam=
ond@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><div dir=3D"ltr"><div>Hello Mr. Lepiller,</div><div><br></div>=
<div>Thank you for the tip. For the moment, I want to poke around this issu=
e. Perhaps I get absolutely tired of it (or find a good hack - and an ugly =
patch). I did manage to learn a bit more about union-builds in general. So,=
 that&#39;s a silver lining.</div><div><br></div><div>Also, your work on gu=
ix-android seems so very cool! Please keep up the great work!<br></div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On S=
at, Sep 26, 2020 at 3:28 PM Julien Lepiller &lt;<a href=3D"mailto:julien@le=
piller.eu" target=3D"_blank">julien@HIDDEN</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailt=
o:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiamond@gmail.=
com</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<br=
>
&gt;produce sound well, without any issues. They include:<br>
&gt;espeak and kdenlive.<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<b=
r>
&gt;using<br>
&gt;(union-build ... #:symlink copy-recursively) but that didn&#39;t work o=
ut<br>
&gt;either.<br>
&gt;<br>
&gt;Now, I&#39;m going to take a look at fixing the pkg-config rules, and w=
ill<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue.<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">p=
ratheblackdiamond@HIDDEN</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works. If one `guix build=
`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/...-union-build, one wil=
l<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*.so and<br=
>
&gt;&gt; lib/alsa-lib/*pulse*.so).<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package.<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: al=
sa doesn&#39;t look in it&#39;s current directory for plugins, but in the d=
irectory where it&#39;s been configured (at build time) to look for.<br>
<br>
On the Guix System, there is a service that creates a /etc/asound.conf, whi=
ch references alsa-plugins:pulseaudio. Maybe you actually want to configure=
 that? Maybe try to copy this to a new file .asoundrc:<br>
<br>
pcm_type.pule {<br>
=C2=A0 lib &quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_=
pulse.so&quot;<br>
}<br>
<br>
ctl_type.pulse {<br>
=C2=A0 lib&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_p=
ulse.so&quot;<br>
}<br>
<br>
pcm.!default {<br>
=C2=A0 type pulse<br>
}<br>
<br>
ctl.!default {<br>
=C2=A0 type pulse<br>
}<br>
</blockquote></div>
</blockquote></div>
</blockquote></div></div></blockquote></div>
</blockquote></div></div></blockquote></div>

--000000000000d9341505b04536cc--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 21:15:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 17:15:58 2020
Received: from localhost ([127.0.0.1]:47864 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMHXw-0001WE-R9
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 17:15:58 -0400
Received: from lepiller.eu ([89.234.186.109]:49438)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kMHXu-0001SC-1T
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 17:15:56 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id e978d056;
 Sat, 26 Sep 2020 21:15:51 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:cc:from:message-id; s=
 dkim; bh=bhodZdWIubVqRnzGfSIow5xc1SNemvfsn8RlG/is/SY=; b=FAP6qhF
 HiEOOWdzrJ++p49UoHjOblt4FW5fjaSoTETG8w3fvri5Hh5tQR52jGCBvVfmR9kv
 rIYw3WC+i6kP8qGlTtz1sC1mmETS8D5RJxSl4j+s0VXbC5Qb5Z4wHyKZYiSap62S
 7Wpd+r+17+ZSn/4x1726ROwvMzmfJRPJ/tzee9RX4Qla0E1AKsDmscxEvWrTQ+1X
 SiBpeu0oLJAd+3E3FvHJEWIgMAkeKFXA0BNZ45vgD1uClZQoayaKZnL9+cQiZTfy
 xDbDvtJ+KvVg00QjIUCj0SPvaORQwra/r3eXJEbR+DvZFGGEE4Es6cwi8TziAqjL
 l1YujcXtXnMU7Nw==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id cc28fc2f
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sat, 26 Sep 2020 21:15:50 +0000 (UTC)
Date: Sat, 26 Sep 2020 17:15:40 -0400
User-Agent: K-9 Mail for Android
In-Reply-To: <CAFw+=j3YByxoAVVGAdsQNGrj1UO-tV18fCi-wYnG_w1dXgP_pA@HIDDEN>
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
 <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
 <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
 <CAFw+=j3YByxoAVVGAdsQNGrj1UO-tV18fCi-wYnG_w1dXgP_pA@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----JJCGLY22Q82KDS5K5O80VZNEY2L0Z4"
Content-Transfer-Encoding: 7bit
Subject: Re: [bug#43628] Further Info
To: Prafulla Giri <pratheblackdiamond@HIDDEN>
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <A6EEC292-30BC-41F8-9DA5-96905D9FCBDD@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

------JJCGLY22Q82KDS5K5O80VZNEY2L0Z4
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thanks! On the guix system, aegisub already works properly (at least it did=
 when I last used it), because the alsa config allows it to find pulseaudio=
=2E

There are three issues with your proposed change:

First using derivation-outputs is a bad idea, and it probably only works b=
ecause alsa-plugin doesn't depend on your modified alsa-lib (you'd get an i=
nfinite loop I think)=2E Since alsa-plugin doesn't depend on this modified =
alsa-lib, you don't need such a convoluted work around=2E When defining the=
 conhigure flags, you can simply use (assoc-ref %build-inputs "alsa-plugin"=
) when "alsa-plugin" is defined as an input to the package=2E

Second, setting plugindir at build-time is just asking for the same kind o=
f issues you are trying to fix, only for finding another plugin that might =
be needed=2E

Third, the way you modify the arguments is=E2=80=A6 unconventional :) try =
using substitute-keyword-arguments instead=2E There are plenty of examples =
in the repo=2E

I remember having dealt with this issue before, and pushed a patch some 3 =
years ago: http://issues=2Eguix=2Egnu=2Eorg/31239

Could you look at what happened in the meantime? I think it was reverted i=
n favor of the asound=2Econf file we have in the guix system now=2E You mig=
ht learn something if you find the reason why it was changed=2E

Re my other projects, framagit is going to close next year, so I'll be mig=
rating to my own hosting, currently at git=2Elepiller=2Eeu=2E

Ok for the cultural difference=2E It's probably too soon to call me a "sen=
ior" though, I'm still pretty young: only 3 years older than you :p

Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri <pratheblackdiamond=
@gmail=2Ecom> a =C3=A9crit :
>Oh, I come from a culture that does not call seniors by their first
>names=2E
>(:
>Yes! guix-android looks super awesome! I'm glad that you are working on
>that=2E You're awesome=2E
>(Also, I just realized that you've also got guix-home-manager and so
>many
>more cool repositories! I need to check those out, and soon!)
>
>I did manage to resolve this issue=2E Kinda'=2E Here:
>https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/ae=
gisub=2Escm
>
>All I had to do was re-define 'alsa-lib' to point to the /gnu/store
>path of
>alsa-plugins=2E The /gnu/store path had to be figured out during runtime=
=2E
>
>Could you please check how this fares in a GuixSD system? If it goes
>well,
>perhaps I should send a patch in for aegisub=2E But then again, I wonder
>if I
>should make the changes in alsa-lib itself, but I am not very sure
>about
>that=2E
>
>On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller <julien@lepiller=2Eeu>
>wrote:
>
>> Hehe, thanks for your interest in guix-android=2E It's not really done
>yet,
>> but I'm very motivated :)=2E It always feels weird when someone on the
>> internet calls you Mr ^^=2E No need to be so stiff, you can call me
>"Julien"
>> (and I suppose it's the norm to call people by their first name in
>this
>> kind of internet community)=2E
>>
>> Maybe try to run aegisub with strace -f, you might find out
>something=2E You
>> may have to take a look at alsa's sources to find out how it looks
>for its
>> plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)?
>>
>> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <
>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>>>
>>> Okay, I think I'm stuck now=2E lol
>>>
>>>
>>>
>>> On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <
>>> pratheblackdiamond@gmail=2Ecom> wrote:
>>>
>>>> Hello Mr=2E Lepiller,
>>>>
>>>> Thank you for the tip=2E For the moment, I want to poke around this
>issue=2E
>>>> Perhaps I get absolutely tired of it (or find a good hack - and an
>ugly
>>>> patch)=2E I did manage to learn a bit more about union-builds in
>general=2E So,
>>>> that's a silver lining=2E
>>>>
>>>> Also, your work on guix-android seems so very cool! Please keep up
>the
>>>> great work!
>>>>
>>>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller
><julien@lepiller=2Eeu>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> Hi Prafulla,
>>>>>
>>>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>>>>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>>>>> >Another information:
>>>>> >
>>>>> >I have other programs on my foreign system (installed via guix)
>that
>>>>> >produce sound well, without any issues=2E They include:
>>>>> >espeak and kdenlive=2E
>>>>> >
>>>>> >Also, I did try making the union-build use copies instead of
>symlinks
>>>>> >using
>>>>> >(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't =
work
>out
>>>>> >either=2E
>>>>> >
>>>>> >Now, I'm going to take a look at fixing the pkg-config rules, and
>will
>>>>> >be
>>>>> >updating this thread should that resolve this issue=2E
>>>>> >
>>>>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>>>>> ><pratheblackdiamond@gmail=2Ecom>
>>>>> >wrote:
>>>>> >
>>>>> >> I forgot to mention, but the union-build works=2E If one `guix
>build`s
>>>>> >the
>>>>> >> union package, and cd into the /gnu/store/=2E=2E=2E-union-build, =
one
>will
>>>>> >see
>>>>> >> that things are there as it should be (lib/normal-alsa-*=2Eso and
>>>>> >> lib/alsa-lib/*pulse*=2Eso)=2E
>>>>> >>
>>>>> >> It's just that aegisub seems to be looking from the
>>>>> >> /gnu/store/normal-alsa-lib-dir instead of
>>>>> >/gnu/store/union-alsa-package=2E
>>>>> >>
>>>>>
>>>>> I think the issue with the union-build is that it is completely
>>>>> ignored: alsa doesn't look in it's current directory for plugins,
>but in
>>>>> the directory where it's been configured (at build time) to look
>for=2E
>>>>>
>>>>> On the Guix System, there is a service that creates a
>/etc/asound=2Econf,
>>>>> which references alsa-plugins:pulseaudio=2E Maybe you actually want
>to
>>>>> configure that? Maybe try to copy this to a new file =2Easoundrc:
>>>>>
>>>>> pcm_type=2Epule {
>>>>>   lib
>>>>>
>"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=2Eso"
>>>>> }
>>>>>
>>>>> ctl_type=2Epulse {
>>>>>
>>>>>
>lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2Es=
o"
>>>>> }
>>>>>
>>>>> pcm=2E!default {
>>>>>   type pulse
>>>>> }
>>>>>
>>>>> ctl=2E!default {
>>>>>   type pulse
>>>>> }
>>>>>
>>>>

------JJCGLY22Q82KDS5K5O80VZNEY2L0Z4
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>Thanks! On the guix system, aegisub already works =
properly (at least it did when I last used it), because the alsa config all=
ows it to find pulseaudio=2E<br><br>There are three issues with your propos=
ed change:<br><br>First using derivation-outputs is a bad idea, and it prob=
ably only works because alsa-plugin doesn't depend on your modified alsa-li=
b (you'd get an infinite loop I think)=2E Since alsa-plugin doesn't depend =
on this modified alsa-lib, you don't need such a convoluted work around=2E =
When defining the conhigure flags, you can simply use (assoc-ref %build-inp=
uts "alsa-plugin") when "alsa-plugin" is defined as an input to the package=
=2E<br><br>Second, setting plugindir at build-time is just asking for the s=
ame kind of issues you are trying to fix, only for finding another plugin t=
hat might be needed=2E<br><br>Third, the way you modify the arguments is=E2=
=80=A6 unconventional :) try using substitute-keyword-arguments instead=2E =
There are plenty of examples in the repo=2E<br><br>I remember having dealt =
with this issue before, and pushed a patch some 3 years ago: <a href=3D"htt=
p://issues=2Eguix=2Egnu=2Eorg/31239">http://issues=2Eguix=2Egnu=2Eorg/31239=
</a><br><br>Could you look at what happened in the meantime? I think it was=
 reverted in favor of the asound=2Econf file we have in the guix system now=
=2E You might learn something if you find the reason why it was changed=2E<=
br><br>Re my other projects, framagit is going to close next year, so I'll =
be migrating to my own hosting, currently at git=2Elepiller=2Eeu=2E<br><br>=
Ok for the cultural difference=2E It's probably too soon to call me a "seni=
or" though, I'm still pretty young: only 3 years older than you :p<br><br><=
div class=3D"gmail_quote">Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla=
 Giri &lt;pratheblackdiamond@gmail=2Ecom&gt; a =C3=A9crit :<blockquote clas=
s=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0=2E8ex; border-left: 1px so=
lid rgb(204, 204, 204); padding-left: 1ex;">
<div dir=3D"ltr"><div>Oh, I come from a culture that does not call seniors=
 by their first names=2E (:</div><div>Yes! guix-android looks super awesome=
! I'm glad that you are working on that=2E You're awesome=2E</div><div>(Als=
o, I just realized that you've also got guix-home-manager and so many more =
cool repositories! I need to check those out, and soon!)<br></div><div><br>=
</div><div>I did manage to resolve this issue=2E Kinda'=2E Here: <a href=3D=
"https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/aeg=
isub=2Escm">https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob=
/master/aegisub=2Escm</a></div><div><br></div><div>All I had to do was re-d=
efine 'alsa-lib' to point to the /gnu/store path of alsa-plugins=2E The /gn=
u/store path had to be figured out during runtime=2E</div><div><br></div><d=
iv>Could you please check how this fares in a GuixSD system? If it goes wel=
l, perhaps I should send a patch in for aegisub=2E But then again, I wonder=
 if I should make the changes in alsa-lib itself, but I am not very sure ab=
out that=2E<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller &lt;<a=
 href=3D"mailto:julien@lepiller=2Eeu">julien@lepiller=2Eeu</a>&gt; wrote:<b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=2E8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hehe, than=
ks for your interest in guix-android=2E It's not really done yet, but I'm v=
ery motivated :)=2E It always feels weird when someone on the internet call=
s you Mr ^^=2E No need to be so stiff, you can call me "Julien" (and I supp=
ose it's the norm to call people by their first name in this kind of intern=
et community)=2E<br><br>Maybe try to run aegisub with strace -f, you might =
find out something=2E You may have to take a look at alsa's sources to find=
 out how it looks for its plugins exactly (maybe try to grep for PLUGIN or =
PLUGINDIR)?<br><br><div class=3D"gmail_quote">Le 26 septembre 2020 08:07:34=
 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailto:pratheblackdiamond@gmail=2E=
com" target=3D"_blank">pratheblackdiamond@gmail=2Ecom</a>&gt; a =C3=A9crit =
:<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0=2E8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"ltr"><div>Okay, I think I'm stuck now=2E lol</div><div><br></d=
iv><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<a href=
=3D"mailto:pratheblackdiamond@gmail=2Ecom" target=3D"_blank">pratheblackdia=
mond@gmail=2Ecom</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0=2E8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex"><div dir=3D"ltr"><div>Hello Mr=2E Lepiller,</div><div><br=
></div><div>Thank you for the tip=2E For the moment, I want to poke around =
this issue=2E Perhaps I get absolutely tired of it (or find a good hack - a=
nd an ugly patch)=2E I did manage to learn a bit more about union-builds in=
 general=2E So, that's a silver lining=2E</div><div><br></div><div>Also, yo=
ur work on guix-android seems so very cool! Please keep up the great work!<=
br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller &lt;<a href=3D"mai=
lto:julien@lepiller=2Eeu" target=3D"_blank">julien@lepiller=2Eeu</a>&gt; wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0=2E8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mail=
to:pratheblackdiamond@gmail=2Ecom" target=3D"_blank">pratheblackdiamond@gma=
il=2Ecom</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<b=
r>
&gt;produce sound well, without any issues=2E They include:<br>
&gt;espeak and kdenlive=2E<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<=
br>
&gt;using<br>
&gt;(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't wor=
k out<br>
&gt;either=2E<br>
&gt;<br>
&gt;Now, I'm going to take a look at fixing the pkg-config rules, and will=
<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue=2E<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@gmail=2Ecom" target=3D"_blank=
">pratheblackdiamond@gmail=2Ecom</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works=2E If one `guix bu=
ild`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/=2E=2E=2E-union-build, =
one will<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*=2Eso and=
<br>
&gt;&gt; lib/alsa-lib/*pulse*=2Eso)=2E<br>
&gt;&gt;<br>
&gt;&gt; It's just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package=2E<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: a=
lsa doesn't look in it's current directory for plugins, but in the director=
y where it's been configured (at build time) to look for=2E<br>
<br>
On the Guix System, there is a service that creates a /etc/asound=2Econf, =
which references alsa-plugins:pulseaudio=2E Maybe you actually want to conf=
igure that? Maybe try to copy this to a new file =2Easoundrc:<br>
<br>
pcm_type=2Epule {<br>
&nbsp; lib "/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pu=
lse=2Eso"<br>
}<br>
<br>
ctl_type=2Epulse {<br>
&nbsp; lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pul=
se=2Eso"<br>
}<br>
<br>
pcm=2E!default {<br>
&nbsp; type pulse<br>
}<br>
<br>
ctl=2E!default {<br>
&nbsp; type pulse<br>
}<br>
</blockquote></div>
</blockquote></div>
</blockquote></div></div></blockquote></div>
</blockquote></div></body></html>
------JJCGLY22Q82KDS5K5O80VZNEY2L0Z4--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 20:47:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 16:47:10 2020
Received: from localhost ([127.0.0.1]:47826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMH65-0008Pm-HF
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 16:47:10 -0400
Received: from mail-pl1-f176.google.com ([209.85.214.176]:46940)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kMH63-0008PS-Fk
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 16:47:08 -0400
Received: by mail-pl1-f176.google.com with SMTP id f1so1205083plo.13
 for <43628 <at> debbugs.gnu.org>; Sat, 26 Sep 2020 13:47:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=MCqYBkYz6vdykQSQ1aq3uCzh0mcn24jaOqK0k/XmD9I=;
 b=XwWgZtKQOZ5GbUQCaT8qEL1tvs3yxGPdGksojg1gGPeJq+EIQiEMzF6tAMb4JUQU3m
 2fP/8X8T2JEqHMdvGMAKCqUqRXMbbnGzpehsLRyzVo/NPjLJrrvDXuynws5557+zMfmG
 6ANHfSoHC0o3bLY7T4mjpNe+onVHTM5uUiPlhTy77l8/KFvW0GoniRQZPR5W3Nlcvlju
 PJPNYvKa9Kw+DKSFbkHq5epwxPE9B3l+h6Htabwlnkc8aQGLngaJEc8jo9hY0zYrhqBz
 KREP2XInyhnYQs0ydPdIb4llN/iO+QunhcjbtaSy+x0Ajn5a6KVq3PwzibSSpV9Owadg
 nPnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=MCqYBkYz6vdykQSQ1aq3uCzh0mcn24jaOqK0k/XmD9I=;
 b=SOv59uNNysR/eHm/nKdexrLfp8s2CUf6bk2ujoMRnQzi+8Pl8Xex3mqBnRygvfCUet
 CiS0VY2CDkn0ePl570bOVGlPM8L9cd+w3WDxGxUKzEQ6U+J0MIZrYSzQBtFSyKpMQ0QT
 bDqMWVdjpH6RWZ4ur5KbZkq2QOJ7fHD3Xb/iLovhk276I816idrLOmYOKoEgUziUcobc
 NdhBjSXdLZENHvtLy/qEh2qKE5nKMDInFg17xyGj9zcjicMy45Lh0wpMwmo4srMOWKLT
 ZQRKSuqH2S0sSXBKlpD1DEFAtmqZg4Mp3erzw3LDa+1OCwHreLkU91Gm3al5X2SxNvb2
 EGzg==
X-Gm-Message-State: AOAM531zEZJrGD4wMxwVdMF+PxRE86Y3dULSey6FxTcN1WzoSwlxdLve
 fOrkPyd6IspaJPWmDpEhTpiAepQmj7R1me5kBzSHsFD9IScj8g==
X-Google-Smtp-Source: ABdhPJyDXT1guFGVjcFae8jfMGDAp/JdRD1DsgcjTzffOymYyBqKWwSiUm277/fwWcz5MPJHdMIOuwrf6gGQOzTXXiY=
X-Received: by 2002:a17:902:76c2:b029:d2:839f:9941 with SMTP id
 j2-20020a17090276c2b02900d2839f9941mr1423627plt.15.1601153221239; Sat, 26 Sep
 2020 13:47:01 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
 <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
 <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
In-Reply-To: <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sun, 27 Sep 2020 02:31:50 +0545
Message-ID: <CAFw+=j3YByxoAVVGAdsQNGrj1UO-tV18fCi-wYnG_w1dXgP_pA@HIDDEN>
Subject: Re: [bug#43628] Further Info
To: Julien Lepiller <julien@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000fba61f05b03d8824"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000fba61f05b03d8824
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Oh, I come from a culture that does not call seniors by their first names.
(:
Yes! guix-android looks super awesome! I'm glad that you are working on
that. You're awesome.
(Also, I just realized that you've also got guix-home-manager and so many
more cool repositories! I need to check those out, and soon!)

I did manage to resolve this issue. Kinda'. Here:
https://github.com/peanutbutterandcrackers/guix-packages/blob/master/aegisu=
b.scm

All I had to do was re-define 'alsa-lib' to point to the /gnu/store path of
alsa-plugins. The /gnu/store path had to be figured out during runtime.

Could you please check how this fares in a GuixSD system? If it goes well,
perhaps I should send a patch in for aegisub. But then again, I wonder if I
should make the changes in alsa-lib itself, but I am not very sure about
that.

On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller <julien@HIDDEN> wrote:

> Hehe, thanks for your interest in guix-android. It's not really done yet,
> but I'm very motivated :). It always feels weird when someone on the
> internet calls you Mr ^^. No need to be so stiff, you can call me "Julien=
"
> (and I suppose it's the norm to call people by their first name in this
> kind of internet community).
>
> Maybe try to run aegisub with strace -f, you might find out something. Yo=
u
> may have to take a look at alsa's sources to find out how it looks for it=
s
> plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)?
>
> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <
> pratheblackdiamond@HIDDEN> a =C3=A9crit :
>>
>> Okay, I think I'm stuck now. lol
>>
>>
>>
>> On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <
>> pratheblackdiamond@HIDDEN> wrote:
>>
>>> Hello Mr. Lepiller,
>>>
>>> Thank you for the tip. For the moment, I want to poke around this issue=
.
>>> Perhaps I get absolutely tired of it (or find a good hack - and an ugly
>>> patch). I did manage to learn a bit more about union-builds in general.=
 So,
>>> that's a silver lining.
>>>
>>> Also, your work on guix-android seems so very cool! Please keep up the
>>> great work!
>>>
>>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller <julien@HIDDEN>
>>> wrote:
>>>
>>>>
>>>>
>>>> Hi Prafulla,
>>>>
>>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>>>> pratheblackdiamond@HIDDEN> a =C3=A9crit :
>>>> >Another information:
>>>> >
>>>> >I have other programs on my foreign system (installed via guix) that
>>>> >produce sound well, without any issues. They include:
>>>> >espeak and kdenlive.
>>>> >
>>>> >Also, I did try making the union-build use copies instead of symlinks
>>>> >using
>>>> >(union-build ... #:symlink copy-recursively) but that didn't work out
>>>> >either.
>>>> >
>>>> >Now, I'm going to take a look at fixing the pkg-config rules, and wil=
l
>>>> >be
>>>> >updating this thread should that resolve this issue.
>>>> >
>>>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>>>> ><pratheblackdiamond@HIDDEN>
>>>> >wrote:
>>>> >
>>>> >> I forgot to mention, but the union-build works. If one `guix build`=
s
>>>> >the
>>>> >> union package, and cd into the /gnu/store/...-union-build, one will
>>>> >see
>>>> >> that things are there as it should be (lib/normal-alsa-*.so and
>>>> >> lib/alsa-lib/*pulse*.so).
>>>> >>
>>>> >> It's just that aegisub seems to be looking from the
>>>> >> /gnu/store/normal-alsa-lib-dir instead of
>>>> >/gnu/store/union-alsa-package.
>>>> >>
>>>>
>>>> I think the issue with the union-build is that it is completely
>>>> ignored: alsa doesn't look in it's current directory for plugins, but =
in
>>>> the directory where it's been configured (at build time) to look for.
>>>>
>>>> On the Guix System, there is a service that creates a /etc/asound.conf=
,
>>>> which references alsa-plugins:pulseaudio. Maybe you actually want to
>>>> configure that? Maybe try to copy this to a new file .asoundrc:
>>>>
>>>> pcm_type.pule {
>>>>   lib
>>>> "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.so"
>>>> }
>>>>
>>>> ctl_type.pulse {
>>>>
>>>> lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so=
"
>>>> }
>>>>
>>>> pcm.!default {
>>>>   type pulse
>>>> }
>>>>
>>>> ctl.!default {
>>>>   type pulse
>>>> }
>>>>
>>>

--000000000000fba61f05b03d8824
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Oh, I come from a culture that does not call seniors =
by their first names. (:</div><div>Yes! guix-android looks super awesome! I=
&#39;m glad that you are working on that. You&#39;re awesome.</div><div>(Al=
so, I just realized that you&#39;ve also got guix-home-manager and so many =
more cool repositories! I need to check those out, and soon!)<br></div><div=
><br></div><div>I did manage to resolve this issue. Kinda&#39;. Here: <a hr=
ef=3D"https://github.com/peanutbutterandcrackers/guix-packages/blob/master/=
aegisub.scm">https://github.com/peanutbutterandcrackers/guix-packages/blob/=
master/aegisub.scm</a></div><div><br></div><div>All I had to do was re-defi=
ne &#39;alsa-lib&#39; to point to the /gnu/store path of alsa-plugins. The =
/gnu/store path had to be figured out during runtime.</div><div><br></div><=
div>Could you please check how this fares in a GuixSD system? If it goes we=
ll, perhaps I should send a patch in for aegisub. But then again, I wonder =
if I should make the changes in alsa-lib itself, but I am not very sure abo=
ut that.<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller &lt;<a hr=
ef=3D"mailto:julien@HIDDEN">julien@HIDDEN</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hehe, thanks for yo=
ur interest in guix-android. It&#39;s not really done yet, but I&#39;m very=
 motivated :). It always feels weird when someone on the internet calls you=
 Mr ^^. No need to be so stiff, you can call me &quot;Julien&quot; (and I s=
uppose it&#39;s the norm to call people by their first name in this kind of=
 internet community).<br><br>Maybe try to run aegisub with strace -f, you m=
ight find out something. You may have to take a look at alsa&#39;s sources =
to find out how it looks for its plugins exactly (maybe try to grep for PLU=
GIN or PLUGINDIR)?<br><br><div class=3D"gmail_quote">Le 26 septembre 2020 0=
8:07:34 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailto:pratheblackdiamond@g=
mail.com" target=3D"_blank">pratheblackdiamond@HIDDEN</a>&gt; a =C3=A9cr=
it :<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"ltr"><div>Okay, I think I&#39;m stuck now. lol</div><div><br></=
div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<a hre=
f=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiam=
ond@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><div dir=3D"ltr"><div>Hello Mr. Lepiller,</div><div><br></div>=
<div>Thank you for the tip. For the moment, I want to poke around this issu=
e. Perhaps I get absolutely tired of it (or find a good hack - and an ugly =
patch). I did manage to learn a bit more about union-builds in general. So,=
 that&#39;s a silver lining.</div><div><br></div><div>Also, your work on gu=
ix-android seems so very cool! Please keep up the great work!<br></div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On S=
at, Sep 26, 2020 at 3:28 PM Julien Lepiller &lt;<a href=3D"mailto:julien@le=
piller.eu" target=3D"_blank">julien@HIDDEN</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailt=
o:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiamond@gmail.=
com</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<br=
>
&gt;produce sound well, without any issues. They include:<br>
&gt;espeak and kdenlive.<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<b=
r>
&gt;using<br>
&gt;(union-build ... #:symlink copy-recursively) but that didn&#39;t work o=
ut<br>
&gt;either.<br>
&gt;<br>
&gt;Now, I&#39;m going to take a look at fixing the pkg-config rules, and w=
ill<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue.<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">p=
ratheblackdiamond@HIDDEN</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works. If one `guix build=
`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/...-union-build, one wil=
l<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*.so and<br=
>
&gt;&gt; lib/alsa-lib/*pulse*.so).<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package.<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: al=
sa doesn&#39;t look in it&#39;s current directory for plugins, but in the d=
irectory where it&#39;s been configured (at build time) to look for.<br>
<br>
On the Guix System, there is a service that creates a /etc/asound.conf, whi=
ch references alsa-plugins:pulseaudio. Maybe you actually want to configure=
 that? Maybe try to copy this to a new file .asoundrc:<br>
<br>
pcm_type.pule {<br>
=C2=A0 lib &quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_=
pulse.so&quot;<br>
}<br>
<br>
ctl_type.pulse {<br>
=C2=A0 lib&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_p=
ulse.so&quot;<br>
}<br>
<br>
pcm.!default {<br>
=C2=A0 type pulse<br>
}<br>
<br>
ctl.!default {<br>
=C2=A0 type pulse<br>
}<br>
</blockquote></div>
</blockquote></div>
</blockquote></div></div></blockquote></div>

--000000000000fba61f05b03d8824--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 14:35:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 10:35:40 2020
Received: from localhost ([127.0.0.1]:47514 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kMBIa-0001bO-B5
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 10:35:40 -0400
Received: from lepiller.eu ([89.234.186.109]:49294)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kMBIW-0001bD-FC
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 10:35:38 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id 19322f07;
 Sat, 26 Sep 2020 14:35:33 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:cc:from:message-id; s=
 dkim; bh=xQ6I8JbDnoIbYaHDc8XDYxSqKK8feZEKMUkPl/8rIsw=; b=hS00M+a
 xk6LrZIaG9IullzFHU+kh/PtrQpNm/BWoJUjle3/AUiXo2/8rXNl4xqtO4L6qrOX
 a/fR2u+V8RtH3RsNNTYys7EeTxfwQl7nTX1C7ElFncrStHLuqCE0cdeULPwl3IJL
 eewJwxXKLnoHPSVucAau8WAyChWQx+XydIaOQcMsefH1zPPakFfPHouU8PdTmBTr
 /65XWD7+LE7R38vsNWECnumUKYdmXWxOY4tuTttOUHPKcfA6471ct0bhaRwSCmX3
 OBDUp70DmlyFO6W6pkQxcSscoC7jVcdnebFyUvGvkakUuEGVsTNZD3l3FuYwi+nn
 Y9kfoECVH89oiww==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 58c31093
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sat, 26 Sep 2020 14:35:33 +0000 (UTC)
Date: Sat, 26 Sep 2020 10:35:26 -0400
User-Agent: K-9 Mail for Android
In-Reply-To: <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
 <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC"
Content-Transfer-Encoding: 7bit
Subject: Re: [bug#43628] Further Info
To: Prafulla Giri <pratheblackdiamond@HIDDEN>
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <5B02C136-670D-4930-A461-731DA3D5221F@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

------488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hehe, thanks for your interest in guix-android=2E It's not really done yet,=
 but I'm very motivated :)=2E It always feels weird when someone on the int=
ernet calls you Mr ^^=2E No need to be so stiff, you can call me "Julien" (=
and I suppose it's the norm to call people by their first name in this kind=
 of internet community)=2E

Maybe try to run aegisub with strace -f, you might find out something=2E Y=
ou may have to take a look at alsa's sources to find out how it looks for i=
ts plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)?

Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <pratheblackdiamond=
@gmail=2Ecom> a =C3=A9crit :
>Okay, I think I'm stuck now=2E lol
>
>
>
>On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri
><pratheblackdiamond@gmail=2Ecom>
>wrote:
>
>> Hello Mr=2E Lepiller,
>>
>> Thank you for the tip=2E For the moment, I want to poke around this
>issue=2E
>> Perhaps I get absolutely tired of it (or find a good hack - and an
>ugly
>> patch)=2E I did manage to learn a bit more about union-builds in
>general=2E So,
>> that's a silver lining=2E
>>
>> Also, your work on guix-android seems so very cool! Please keep up
>the
>> great work!
>>
>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller <julien@lepiller=2Eeu>
>> wrote:
>>
>>>
>>>
>>> Hi Prafulla,
>>>
>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>>> >Another information:
>>> >
>>> >I have other programs on my foreign system (installed via guix)
>that
>>> >produce sound well, without any issues=2E They include:
>>> >espeak and kdenlive=2E
>>> >
>>> >Also, I did try making the union-build use copies instead of
>symlinks
>>> >using
>>> >(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't wo=
rk
>out
>>> >either=2E
>>> >
>>> >Now, I'm going to take a look at fixing the pkg-config rules, and
>will
>>> >be
>>> >updating this thread should that resolve this issue=2E
>>> >
>>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>>> ><pratheblackdiamond@gmail=2Ecom>
>>> >wrote:
>>> >
>>> >> I forgot to mention, but the union-build works=2E If one `guix
>build`s
>>> >the
>>> >> union package, and cd into the /gnu/store/=2E=2E=2E-union-build, on=
e
>will
>>> >see
>>> >> that things are there as it should be (lib/normal-alsa-*=2Eso and
>>> >> lib/alsa-lib/*pulse*=2Eso)=2E
>>> >>
>>> >> It's just that aegisub seems to be looking from the
>>> >> /gnu/store/normal-alsa-lib-dir instead of
>>> >/gnu/store/union-alsa-package=2E
>>> >>
>>>
>>> I think the issue with the union-build is that it is completely
>ignored:
>>> alsa doesn't look in it's current directory for plugins, but in the
>>> directory where it's been configured (at build time) to look for=2E
>>>
>>> On the Guix System, there is a service that creates a
>/etc/asound=2Econf,
>>> which references alsa-plugins:pulseaudio=2E Maybe you actually want to
>>> configure that? Maybe try to copy this to a new file =2Easoundrc:
>>>
>>> pcm_type=2Epule {
>>>   lib
>"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=2Eso"
>>> }
>>>
>>> ctl_type=2Epulse {
>>> =20
>lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2Es=
o"
>>> }
>>>
>>> pcm=2E!default {
>>>   type pulse
>>> }
>>>
>>> ctl=2E!default {
>>>   type pulse
>>> }
>>>
>>

------488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>Hehe, thanks for your interest in guix-android=2E =
It's not really done yet, but I'm very motivated :)=2E It always feels weir=
d when someone on the internet calls you Mr ^^=2E No need to be so stiff, y=
ou can call me "Julien" (and I suppose it's the norm to call people by thei=
r first name in this kind of internet community)=2E<br><br>Maybe try to run=
 aegisub with strace -f, you might find out something=2E You may have to ta=
ke a look at alsa's sources to find out how it looks for its plugins exactl=
y (maybe try to grep for PLUGIN or PLUGINDIR)?<br><br><div class=3D"gmail_q=
uote">Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri &lt;pratheblac=
kdiamond@gmail=2Ecom&gt; a =C3=A9crit :<blockquote class=3D"gmail_quote" st=
yle=3D"margin: 0pt 0pt 0pt 0=2E8ex; border-left: 1px solid rgb(204, 204, 20=
4); padding-left: 1ex;">
<div dir=3D"ltr"><div>Okay, I think I'm stuck now=2E lol</div><div><br></d=
iv><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<a href=
=3D"mailto:pratheblackdiamond@gmail=2Ecom">pratheblackdiamond@gmail=2Ecom</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0=2E8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div dir=3D"ltr"><div>Hello Mr=2E Lepiller,</div><div><br></div><div>Thank =
you for the tip=2E For the moment, I want to poke around this issue=2E Perh=
aps I get absolutely tired of it (or find a good hack - and an ugly patch)=
=2E I did manage to learn a bit more about union-builds in general=2E So, t=
hat's a silver lining=2E</div><div><br></div><div>Also, your work on guix-a=
ndroid seems so very cool! Please keep up the great work!<br></div></div><b=
r><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, =
Sep 26, 2020 at 3:28 PM Julien Lepiller &lt;<a href=3D"mailto:julien@lepill=
er=2Eeu" target=3D"_blank">julien@lepiller=2Eeu</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=2E8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mail=
to:pratheblackdiamond@gmail=2Ecom" target=3D"_blank">pratheblackdiamond@gma=
il=2Ecom</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<b=
r>
&gt;produce sound well, without any issues=2E They include:<br>
&gt;espeak and kdenlive=2E<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<=
br>
&gt;using<br>
&gt;(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't wor=
k out<br>
&gt;either=2E<br>
&gt;<br>
&gt;Now, I'm going to take a look at fixing the pkg-config rules, and will=
<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue=2E<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@gmail=2Ecom" target=3D"_blank=
">pratheblackdiamond@gmail=2Ecom</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works=2E If one `guix bu=
ild`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/=2E=2E=2E-union-build, =
one will<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*=2Eso and=
<br>
&gt;&gt; lib/alsa-lib/*pulse*=2Eso)=2E<br>
&gt;&gt;<br>
&gt;&gt; It's just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package=2E<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: a=
lsa doesn't look in it's current directory for plugins, but in the director=
y where it's been configured (at build time) to look for=2E<br>
<br>
On the Guix System, there is a service that creates a /etc/asound=2Econf, =
which references alsa-plugins:pulseaudio=2E Maybe you actually want to conf=
igure that? Maybe try to copy this to a new file =2Easoundrc:<br>
<br>
pcm_type=2Epule {<br>
&nbsp; lib "/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pu=
lse=2Eso"<br>
}<br>
<br>
ctl_type=2Epulse {<br>
&nbsp; lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pul=
se=2Eso"<br>
}<br>
<br>
pcm=2E!default {<br>
&nbsp; type pulse<br>
}<br>
<br>
ctl=2E!default {<br>
&nbsp; type pulse<br>
}<br>
</blockquote></div>
</blockquote></div>
</blockquote></div></body></html>
------488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 12:07:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 08:07:57 2020
Received: from localhost ([127.0.0.1]:45994 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM8zc-0001qw-KW
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 08:07:57 -0400
Received: from mail-pf1-f178.google.com ([209.85.210.178]:46077)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM8zY-0001qS-HL
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 08:07:53 -0400
Received: by mail-pf1-f178.google.com with SMTP id x22so5523376pfo.12
 for <43628 <at> debbugs.gnu.org>; Sat, 26 Sep 2020 05:07:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=P5puNd++9EYoARDCSFTPkZZZV46B2B06049wq5zjKrk=;
 b=uH3rMwKC9kaZgK3yOHy6Ic3ZxQDjtqtyY/F/EjWWWQjNS8LkenRogLRmROAgdzlVWv
 TtAcR9ZSDTrnythpL83/2EZSHVOHCV2sn0ViSUNnKyek6QDp4rM/8k0rPUF2gE/mLhYc
 AViV8lBrDn4Oq4GATdmMhf3DUdineegYKaTI/xooLepFEPV0FZJsGtAAUy/VYQwFZeLq
 a0DsWOIf0pY8Cey8z0rIEZiO59XwqiAXm/puvBhZmvLZGGPQe15p/Ltn+3sRrnlYQhdB
 7tsms9hcHXIDoVU6pMXe3FxATJLnaIvSihzRhy2jQa535XmzA1Lg4yoqXO6P1nLh86Gi
 ffug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=P5puNd++9EYoARDCSFTPkZZZV46B2B06049wq5zjKrk=;
 b=N5IiX5BHc5tNbFPcfFDxEfWI+n8Tgc4Y+vq+3+SOi1eEwU34bO0WcnQEEB7QEN4YjE
 67II+21qru7TqgY8J5NUTOozLzuP9DPNi68lmuirDTMIChQZkHrSJ+691wcSuY/LRGKy
 L7Vd55kIWIaOPVmeGzrlQ0Ase5GtaS8PlmWIzQySbCgnlWXWWXl/8nquXRhkKYiJrDs1
 xTMffBvodKsqGJCwNPqUHeRvcNaGIluQf3itMmdHo5IucvcrpsxKWMwFhxXotoOI7oRs
 0O7m01gG7tmrrPc2sWAmoM3dRMKjMAgiwRTLNYX72ISAQFf0NyQuXsnkIYrQntL5oweH
 Yqag==
X-Gm-Message-State: AOAM533c/Rn1hz1U1AqlCeBA42JAOylEHM21819s1QxPbZdwudIupVyT
 q5WFs2abldcUwLFrS5t3J1ZQZFisDg3dKdJLDZufxKHlnK8=
X-Google-Smtp-Source: ABdhPJy0zfEXJDUZuZTskkBC5W82LFsrqLk83Fyp9Yuy7JaEH1+73nSOUu4sZ2VFn4Atqggt+RKh0qrmVEqkPuHd/KQ=
X-Received: by 2002:a63:d216:: with SMTP id a22mr2555204pgg.339.1601122066400; 
 Sat, 26 Sep 2020 05:07:46 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
In-Reply-To: <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 17:52:34 +0545
Message-ID: <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
Subject: Re: [bug#43628] Further Info
To: Julien Lepiller <julien@HIDDEN>
Content-Type: multipart/mixed; boundary="00000000000002c14c05b03648a7"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000002c14c05b03648a7
Content-Type: multipart/alternative; boundary="00000000000002c14905b03648a5"

--00000000000002c14905b03648a5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Okay, I think I'm stuck now. lol



On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <pratheblackdiamond@HIDDEN=
>
wrote:

> Hello Mr. Lepiller,
>
> Thank you for the tip. For the moment, I want to poke around this issue.
> Perhaps I get absolutely tired of it (or find a good hack - and an ugly
> patch). I did manage to learn a bit more about union-builds in general. S=
o,
> that's a silver lining.
>
> Also, your work on guix-android seems so very cool! Please keep up the
> great work!
>
> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller <julien@HIDDEN>
> wrote:
>
>>
>>
>> Hi Prafulla,
>>
>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>> pratheblackdiamond@HIDDEN> a =C3=A9crit :
>> >Another information:
>> >
>> >I have other programs on my foreign system (installed via guix) that
>> >produce sound well, without any issues. They include:
>> >espeak and kdenlive.
>> >
>> >Also, I did try making the union-build use copies instead of symlinks
>> >using
>> >(union-build ... #:symlink copy-recursively) but that didn't work out
>> >either.
>> >
>> >Now, I'm going to take a look at fixing the pkg-config rules, and will
>> >be
>> >updating this thread should that resolve this issue.
>> >
>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>> ><pratheblackdiamond@HIDDEN>
>> >wrote:
>> >
>> >> I forgot to mention, but the union-build works. If one `guix build`s
>> >the
>> >> union package, and cd into the /gnu/store/...-union-build, one will
>> >see
>> >> that things are there as it should be (lib/normal-alsa-*.so and
>> >> lib/alsa-lib/*pulse*.so).
>> >>
>> >> It's just that aegisub seems to be looking from the
>> >> /gnu/store/normal-alsa-lib-dir instead of
>> >/gnu/store/union-alsa-package.
>> >>
>>
>> I think the issue with the union-build is that it is completely ignored:
>> alsa doesn't look in it's current directory for plugins, but in the
>> directory where it's been configured (at build time) to look for.
>>
>> On the Guix System, there is a service that creates a /etc/asound.conf,
>> which references alsa-plugins:pulseaudio. Maybe you actually want to
>> configure that? Maybe try to copy this to a new file .asoundrc:
>>
>> pcm_type.pule {
>>   lib "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.s=
o"
>> }
>>
>> ctl_type.pulse {
>>   lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so=
"
>> }
>>
>> pcm.!default {
>>   type pulse
>> }
>>
>> ctl.!default {
>>   type pulse
>> }
>>
>

--00000000000002c14905b03648a5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Okay, I think I&#39;m stuck now. lol</div><div><br></=
div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<a hre=
f=3D"mailto:pratheblackdiamond@HIDDEN">pratheblackdiamond@HIDDEN</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div =
dir=3D"ltr"><div>Hello Mr. Lepiller,</div><div><br></div><div>Thank you for=
 the tip. For the moment, I want to poke around this issue. Perhaps I get a=
bsolutely tired of it (or find a good hack - and an ugly patch). I did mana=
ge to learn a bit more about union-builds in general. So, that&#39;s a silv=
er lining.</div><div><br></div><div>Also, your work on guix-android seems s=
o very cool! Please keep up the great work!<br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 26, 2020=
 at 3:28 PM Julien Lepiller &lt;<a href=3D"mailto:julien@HIDDEN" targe=
t=3D"_blank">julien@HIDDEN</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailt=
o:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiamond@gmail.=
com</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<br=
>
&gt;produce sound well, without any issues. They include:<br>
&gt;espeak and kdenlive.<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<b=
r>
&gt;using<br>
&gt;(union-build ... #:symlink copy-recursively) but that didn&#39;t work o=
ut<br>
&gt;either.<br>
&gt;<br>
&gt;Now, I&#39;m going to take a look at fixing the pkg-config rules, and w=
ill<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue.<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">p=
ratheblackdiamond@HIDDEN</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works. If one `guix build=
`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/...-union-build, one wil=
l<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*.so and<br=
>
&gt;&gt; lib/alsa-lib/*pulse*.so).<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package.<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: al=
sa doesn&#39;t look in it&#39;s current directory for plugins, but in the d=
irectory where it&#39;s been configured (at build time) to look for.<br>
<br>
On the Guix System, there is a service that creates a /etc/asound.conf, whi=
ch references alsa-plugins:pulseaudio. Maybe you actually want to configure=
 that? Maybe try to copy this to a new file .asoundrc:<br>
<br>
pcm_type.pule {<br>
=C2=A0 lib &quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_=
pulse.so&quot;<br>
}<br>
<br>
ctl_type.pulse {<br>
=C2=A0 lib&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_p=
ulse.so&quot;<br>
}<br>
<br>
pcm.!default {<br>
=C2=A0 type pulse<br>
}<br>
<br>
ctl.!default {<br>
=C2=A0 type pulse<br>
}<br>
</blockquote></div>
</blockquote></div>

--00000000000002c14905b03648a5--

--00000000000002c14c05b03648a7
Content-Type: text/x-patch; charset="UTF-8"; name="aegisub_alsa_pulseaudio.diff"
Content-Disposition: attachment; filename="aegisub_alsa_pulseaudio.diff"
Content-Transfer-Encoding: base64
Content-ID: <f_kfjmq5p00>
X-Attachment-Id: f_kfjmq5p00

ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy92aWRlby5zY20gYi9nbnUvcGFja2FnZXMvdmlkZW8u
c2NtCmluZGV4IDBmNzI3YTZlOWUuLmM4MjhiZTU0NmIgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdl
cy92aWRlby5zY20KKysrIGIvZ251L3BhY2thZ2VzL3ZpZGVvLnNjbQpAQCAtMzgzNiw3ICszODM2
LDUyIEBAIHByb2dyYW1tZXJzIHRvIGFjY2VzcyBhIHN0YW5kYXJkIEFQSSB0byBvcGVuIGFuZCBk
ZWNvbXByZXNzIG1lZGlhIGZpbGVzLiIpCiAgICAgICAgKCJodW5zcGVsbCIgLGh1bnNwZWxsKQog
ICAgICAgICgibWVzYSIgLG1lc2EpCiAgICAgICAgKCJsaWJhc3MiICxsaWJhc3MpCi0gICAgICAg
KCJhbHNhLWxpYiIgLGFsc2EtbGliKQorICAgICAgICgiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlv
LXBsdWdpbiIKKyAgICAgICAgLChwYWNrYWdlCisgICAgICAgICAgIChpbmhlcml0IGFsc2EtbGli
KQorICAgICAgICAgICAobmFtZSAiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlvLXBsdWdpbiIpCisg
ICAgICAgICAgIChzb3VyY2UgI2YpCisgICAgICAgICAgIChidWlsZC1zeXN0ZW0gdHJpdmlhbC1i
dWlsZC1zeXN0ZW0pCisgICAgICAgICAgIChhcmd1bWVudHMKKyAgICAgICAgICAgIGAoIzptb2R1
bGVzICgoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAgICAgICAgICAoZ3VpeCBi
dWlsZCB1dGlscykpCisgICAgICAgICAgICAgICM6YnVpbGRlcgorICAgICAgICAgICAgICAoYmVn
aW4KKyAgICAgICAgICAgICAgICAodXNlLW1vZHVsZXMgKGljZS05IG1hdGNoKQorICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgKGd1aXggYnVpbGQgdXRpbHMpKQorICAgICAgICAgICAgICAgIChsZXQgKChv
dXQgKGFzc29jLXJlZiAlb3V0cHV0cyAib3V0IikpCisgICAgICAgICAgICAgICAgICAgICAgKGFs
c2EtbGliIChhc3NvYy1yZWYgJWJ1aWxkLWlucHV0cyAiYWxzYS1saWIiKSkpCisgICAgICAgICAg
ICAgICAgICAobWF0Y2ggJWJ1aWxkLWlucHV0cworICAgICAgICAgICAgICAgICAgICAoKChuYW1l
cyAuIGRpcmVjdG9yaWVzKSAuLi4pCisgICAgICAgICAgICAgICAgICAgICAodW5pb24tYnVpbGQg
b3V0CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlyZWN0b3JpZXMKKyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBJbnN0ZWFkIG9mIGEgc3ltbGluayB1bmlv
biwgdGhpcyBpcyB3aWxsIGJlIGEKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7
OyBjb3B5IHVuaW9uLCBiZWNhdXNlIHRoaXMgd29uJ3QgIkp1c3QgV29ya+KEoiIKKyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICA7OyB3aXRoIG1lcmUgc3ltbGlua3MuIFNvbWUgb2Yg
dGhlIGZpbGVzIHRoYXQgbWFrZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7
IHVwIHRoZSB1bmlvbiBuZWVkIHRvIHR3ZWFrZWQgdG8gd29yayBwcm9wZXJseS4KKyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAjOmNyZWF0ZS1hbGwtZGlyZWN0b3JpZXM/ICN0Cisg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIzpzeW1saW5rIGNvcHktZmlsZSkpKQor
ICAgICAgICAgICAgICAgICAgOzsgRml4IGFsc2EtbGliIHBrZy1jb25maWcgZmlsZSB0byBwb2lu
dCB0byB0aGUgL2dudS9zdG9yZSBvZgorICAgICAgICAgICAgICAgICAgOzsgdGhpcyB1bmlvbiwg
cmF0aGVyIHRoYW4gdGhhdCBvZiBhbHNhLWxpYiBpdHNlbGYuCisgICAgICAgICAgICAgICAgICAo
c3Vic3RpdHV0ZSogKHN0cmluZy1hcHBlbmQgb3V0ICIvbGliL3BrZ2NvbmZpZy9hbHNhLnBjIikK
KyAgICAgICAgICAgICAgICAgICAgKChhbHNhLWxpYikgb3V0KSkKKyAgICAgICAgICAgICAgICAg
ICN0KSkpKQorICAgICAgICAgICAoaW5wdXRzCisgICAgICAgICAgICBgKCgiYWxzYS1saWIiCisg
ICAgICAgICAgICAgICAsKHBhY2thZ2UKKyAgICAgICAgICAgICAgICAgIChpbmhlcml0IGFsc2Et
bGliKQorICAgICAgICAgICAgICAgICAgKGFyZ3VtZW50cyBgKCxAKGNvbnMKKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAoY2FyIChwYWNrYWdlLWFyZ3VtZW50cyBhbHNhLWxpYikp
CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKGFwcGVuZAorICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2FkcgorICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHBhY2thZ2UtYXJndW1lbnRzIGFsc2EtbGliKSkK
KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKHN0cmluZy1h
cHBlbmQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIt
LXdpdGgtcGx1Z2luLWRpcj0iCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICA7OyBzdHVmZiBnb2VzIGhlcmUKKyAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICkpKSkpKSkpCisgICAgICAgICAgICAgICApCisgICAgICAg
ICAgICAgICgiYWxzYS1wbHVnaW5zOnB1bHNlYXVkaW8iICxhbHNhLXBsdWdpbnMgInB1bHNlYXVk
aW8iKSkpKSkKICAgICAgICAoInB1bHNlYXVkaW8iICxwdWxzZWF1ZGlvKQogICAgICAgICgibGli
eDExIiAsbGlieDExKQogICAgICAgICgiZnJlZXR5cGUiICxmcmVldHlwZSkK
--00000000000002c14c05b03648a7--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 12:07:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 08:07:53 2020
Received: from localhost ([127.0.0.1]:45992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM8zY-0001qh-Vl
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 08:07:53 -0400
Received: from lists.gnu.org ([209.51.188.17]:52692)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM8zW-0001qZ-Hx
 for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 08:07:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36558)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pratheblackdiamond@HIDDEN>)
 id 1kM8zW-0004oS-D7
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 08:07:50 -0400
Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:35080)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <pratheblackdiamond@HIDDEN>)
 id 1kM8zU-0001QR-6W
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 08:07:50 -0400
Received: by mail-pg1-x533.google.com with SMTP id g29so4636453pgl.2
 for <guix-patches@HIDDEN>; Sat, 26 Sep 2020 05:07:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=P5puNd++9EYoARDCSFTPkZZZV46B2B06049wq5zjKrk=;
 b=uH3rMwKC9kaZgK3yOHy6Ic3ZxQDjtqtyY/F/EjWWWQjNS8LkenRogLRmROAgdzlVWv
 TtAcR9ZSDTrnythpL83/2EZSHVOHCV2sn0ViSUNnKyek6QDp4rM/8k0rPUF2gE/mLhYc
 AViV8lBrDn4Oq4GATdmMhf3DUdineegYKaTI/xooLepFEPV0FZJsGtAAUy/VYQwFZeLq
 a0DsWOIf0pY8Cey8z0rIEZiO59XwqiAXm/puvBhZmvLZGGPQe15p/Ltn+3sRrnlYQhdB
 7tsms9hcHXIDoVU6pMXe3FxATJLnaIvSihzRhy2jQa535XmzA1Lg4yoqXO6P1nLh86Gi
 ffug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=P5puNd++9EYoARDCSFTPkZZZV46B2B06049wq5zjKrk=;
 b=bsTzlmvTRQHdFMtRJ48DZmxfb9L2BMEsNwLjBWi0Iuy1wu6yBo27PI9LXFoc6HBHrg
 4zjNWTCJyKFBXP2JO81KoNflmgpMtgqVvpQF2h69cIkN3gR1Ya+hVCGV2/J2E1kfMAIB
 fc3AywRo2UXF69QENMNnVCrUhU+jqGhllnHQRuhZ6cqy19bJmt6YIK6fglKZSpW9OQqU
 2pm4Mkq2hUsSls0thA/rEqXI9Q/8vuL3UbaPbTkj2fNdoTI2u08eNjFCHQnIqalYjwEA
 3tgH1ZrUXTQUEwQTqDKD+GOCRCfsWxX58wvszwTfVY7McL/c2JXwUddQ4gQMVlvMbBkM
 2tNQ==
X-Gm-Message-State: AOAM532h6ZXtLcrLLcPcU6G57G/5OH7ZnQrdrnjmv2hWa7a43AhP1mRO
 VUwKI7qBshadaMzQ7CAMqbmKcq74joDLl8L2Cpg=
X-Google-Smtp-Source: ABdhPJy0zfEXJDUZuZTskkBC5W82LFsrqLk83Fyp9Yuy7JaEH1+73nSOUu4sZ2VFn4Atqggt+RKh0qrmVEqkPuHd/KQ=
X-Received: by 2002:a63:d216:: with SMTP id a22mr2555204pgg.339.1601122066400; 
 Sat, 26 Sep 2020 05:07:46 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
 <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
In-Reply-To: <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 17:52:34 +0545
Message-ID: <CAFw+=j1YaOdywXXN9V5UeeOT6Oprrfq4mesOhFprr+nskysTyA@HIDDEN>
Subject: Re: [bug#43628] Further Info
To: Julien Lepiller <julien@HIDDEN>
Content-Type: multipart/mixed; boundary="00000000000002c14c05b03648a7"
Received-SPF: pass client-ip=2607:f8b0:4864:20::533;
 envelope-from=pratheblackdiamond@HIDDEN; helo=mail-pg1-x533.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: 43628 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000002c14c05b03648a7
Content-Type: multipart/alternative; boundary="00000000000002c14905b03648a5"

--00000000000002c14905b03648a5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Okay, I think I'm stuck now. lol



On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <pratheblackdiamond@HIDDEN=
>
wrote:

> Hello Mr. Lepiller,
>
> Thank you for the tip. For the moment, I want to poke around this issue.
> Perhaps I get absolutely tired of it (or find a good hack - and an ugly
> patch). I did manage to learn a bit more about union-builds in general. S=
o,
> that's a silver lining.
>
> Also, your work on guix-android seems so very cool! Please keep up the
> great work!
>
> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller <julien@HIDDEN>
> wrote:
>
>>
>>
>> Hi Prafulla,
>>
>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
>> pratheblackdiamond@HIDDEN> a =C3=A9crit :
>> >Another information:
>> >
>> >I have other programs on my foreign system (installed via guix) that
>> >produce sound well, without any issues. They include:
>> >espeak and kdenlive.
>> >
>> >Also, I did try making the union-build use copies instead of symlinks
>> >using
>> >(union-build ... #:symlink copy-recursively) but that didn't work out
>> >either.
>> >
>> >Now, I'm going to take a look at fixing the pkg-config rules, and will
>> >be
>> >updating this thread should that resolve this issue.
>> >
>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
>> ><pratheblackdiamond@HIDDEN>
>> >wrote:
>> >
>> >> I forgot to mention, but the union-build works. If one `guix build`s
>> >the
>> >> union package, and cd into the /gnu/store/...-union-build, one will
>> >see
>> >> that things are there as it should be (lib/normal-alsa-*.so and
>> >> lib/alsa-lib/*pulse*.so).
>> >>
>> >> It's just that aegisub seems to be looking from the
>> >> /gnu/store/normal-alsa-lib-dir instead of
>> >/gnu/store/union-alsa-package.
>> >>
>>
>> I think the issue with the union-build is that it is completely ignored:
>> alsa doesn't look in it's current directory for plugins, but in the
>> directory where it's been configured (at build time) to look for.
>>
>> On the Guix System, there is a service that creates a /etc/asound.conf,
>> which references alsa-plugins:pulseaudio. Maybe you actually want to
>> configure that? Maybe try to copy this to a new file .asoundrc:
>>
>> pcm_type.pule {
>>   lib "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.s=
o"
>> }
>>
>> ctl_type.pulse {
>>   lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so=
"
>> }
>>
>> pcm.!default {
>>   type pulse
>> }
>>
>> ctl.!default {
>>   type pulse
>> }
>>
>

--00000000000002c14905b03648a5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Okay, I think I&#39;m stuck now. lol</div><div><br></=
div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri &lt;<a hre=
f=3D"mailto:pratheblackdiamond@HIDDEN">pratheblackdiamond@HIDDEN</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div =
dir=3D"ltr"><div>Hello Mr. Lepiller,</div><div><br></div><div>Thank you for=
 the tip. For the moment, I want to poke around this issue. Perhaps I get a=
bsolutely tired of it (or find a good hack - and an ugly patch). I did mana=
ge to learn a bit more about union-builds in general. So, that&#39;s a silv=
er lining.</div><div><br></div><div>Also, your work on guix-android seems s=
o very cool! Please keep up the great work!<br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 26, 2020=
 at 3:28 PM Julien Lepiller &lt;<a href=3D"mailto:julien@HIDDEN" targe=
t=3D"_blank">julien@HIDDEN</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailt=
o:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiamond@gmail.=
com</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<br=
>
&gt;produce sound well, without any issues. They include:<br>
&gt;espeak and kdenlive.<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<b=
r>
&gt;using<br>
&gt;(union-build ... #:symlink copy-recursively) but that didn&#39;t work o=
ut<br>
&gt;either.<br>
&gt;<br>
&gt;Now, I&#39;m going to take a look at fixing the pkg-config rules, and w=
ill<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue.<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">p=
ratheblackdiamond@HIDDEN</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works. If one `guix build=
`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/...-union-build, one wil=
l<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*.so and<br=
>
&gt;&gt; lib/alsa-lib/*pulse*.so).<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package.<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: al=
sa doesn&#39;t look in it&#39;s current directory for plugins, but in the d=
irectory where it&#39;s been configured (at build time) to look for.<br>
<br>
On the Guix System, there is a service that creates a /etc/asound.conf, whi=
ch references alsa-plugins:pulseaudio. Maybe you actually want to configure=
 that? Maybe try to copy this to a new file .asoundrc:<br>
<br>
pcm_type.pule {<br>
=C2=A0 lib &quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_=
pulse.so&quot;<br>
}<br>
<br>
ctl_type.pulse {<br>
=C2=A0 lib&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_p=
ulse.so&quot;<br>
}<br>
<br>
pcm.!default {<br>
=C2=A0 type pulse<br>
}<br>
<br>
ctl.!default {<br>
=C2=A0 type pulse<br>
}<br>
</blockquote></div>
</blockquote></div>

--00000000000002c14905b03648a5--

--00000000000002c14c05b03648a7
Content-Type: text/x-patch; charset="UTF-8"; name="aegisub_alsa_pulseaudio.diff"
Content-Disposition: attachment; filename="aegisub_alsa_pulseaudio.diff"
Content-Transfer-Encoding: base64
Content-ID: <f_kfjmq5p00>
X-Attachment-Id: f_kfjmq5p00

ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy92aWRlby5zY20gYi9nbnUvcGFja2FnZXMvdmlkZW8u
c2NtCmluZGV4IDBmNzI3YTZlOWUuLmM4MjhiZTU0NmIgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdl
cy92aWRlby5zY20KKysrIGIvZ251L3BhY2thZ2VzL3ZpZGVvLnNjbQpAQCAtMzgzNiw3ICszODM2
LDUyIEBAIHByb2dyYW1tZXJzIHRvIGFjY2VzcyBhIHN0YW5kYXJkIEFQSSB0byBvcGVuIGFuZCBk
ZWNvbXByZXNzIG1lZGlhIGZpbGVzLiIpCiAgICAgICAgKCJodW5zcGVsbCIgLGh1bnNwZWxsKQog
ICAgICAgICgibWVzYSIgLG1lc2EpCiAgICAgICAgKCJsaWJhc3MiICxsaWJhc3MpCi0gICAgICAg
KCJhbHNhLWxpYiIgLGFsc2EtbGliKQorICAgICAgICgiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlv
LXBsdWdpbiIKKyAgICAgICAgLChwYWNrYWdlCisgICAgICAgICAgIChpbmhlcml0IGFsc2EtbGli
KQorICAgICAgICAgICAobmFtZSAiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlvLXBsdWdpbiIpCisg
ICAgICAgICAgIChzb3VyY2UgI2YpCisgICAgICAgICAgIChidWlsZC1zeXN0ZW0gdHJpdmlhbC1i
dWlsZC1zeXN0ZW0pCisgICAgICAgICAgIChhcmd1bWVudHMKKyAgICAgICAgICAgIGAoIzptb2R1
bGVzICgoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAgICAgICAgICAoZ3VpeCBi
dWlsZCB1dGlscykpCisgICAgICAgICAgICAgICM6YnVpbGRlcgorICAgICAgICAgICAgICAoYmVn
aW4KKyAgICAgICAgICAgICAgICAodXNlLW1vZHVsZXMgKGljZS05IG1hdGNoKQorICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgKGd1aXggYnVpbGQgdXRpbHMpKQorICAgICAgICAgICAgICAgIChsZXQgKChv
dXQgKGFzc29jLXJlZiAlb3V0cHV0cyAib3V0IikpCisgICAgICAgICAgICAgICAgICAgICAgKGFs
c2EtbGliIChhc3NvYy1yZWYgJWJ1aWxkLWlucHV0cyAiYWxzYS1saWIiKSkpCisgICAgICAgICAg
ICAgICAgICAobWF0Y2ggJWJ1aWxkLWlucHV0cworICAgICAgICAgICAgICAgICAgICAoKChuYW1l
cyAuIGRpcmVjdG9yaWVzKSAuLi4pCisgICAgICAgICAgICAgICAgICAgICAodW5pb24tYnVpbGQg
b3V0CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlyZWN0b3JpZXMKKyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBJbnN0ZWFkIG9mIGEgc3ltbGluayB1bmlv
biwgdGhpcyBpcyB3aWxsIGJlIGEKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7
OyBjb3B5IHVuaW9uLCBiZWNhdXNlIHRoaXMgd29uJ3QgIkp1c3QgV29ya+KEoiIKKyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICA7OyB3aXRoIG1lcmUgc3ltbGlua3MuIFNvbWUgb2Yg
dGhlIGZpbGVzIHRoYXQgbWFrZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7
IHVwIHRoZSB1bmlvbiBuZWVkIHRvIHR3ZWFrZWQgdG8gd29yayBwcm9wZXJseS4KKyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAjOmNyZWF0ZS1hbGwtZGlyZWN0b3JpZXM/ICN0Cisg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIzpzeW1saW5rIGNvcHktZmlsZSkpKQor
ICAgICAgICAgICAgICAgICAgOzsgRml4IGFsc2EtbGliIHBrZy1jb25maWcgZmlsZSB0byBwb2lu
dCB0byB0aGUgL2dudS9zdG9yZSBvZgorICAgICAgICAgICAgICAgICAgOzsgdGhpcyB1bmlvbiwg
cmF0aGVyIHRoYW4gdGhhdCBvZiBhbHNhLWxpYiBpdHNlbGYuCisgICAgICAgICAgICAgICAgICAo
c3Vic3RpdHV0ZSogKHN0cmluZy1hcHBlbmQgb3V0ICIvbGliL3BrZ2NvbmZpZy9hbHNhLnBjIikK
KyAgICAgICAgICAgICAgICAgICAgKChhbHNhLWxpYikgb3V0KSkKKyAgICAgICAgICAgICAgICAg
ICN0KSkpKQorICAgICAgICAgICAoaW5wdXRzCisgICAgICAgICAgICBgKCgiYWxzYS1saWIiCisg
ICAgICAgICAgICAgICAsKHBhY2thZ2UKKyAgICAgICAgICAgICAgICAgIChpbmhlcml0IGFsc2Et
bGliKQorICAgICAgICAgICAgICAgICAgKGFyZ3VtZW50cyBgKCxAKGNvbnMKKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAoY2FyIChwYWNrYWdlLWFyZ3VtZW50cyBhbHNhLWxpYikp
CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKGFwcGVuZAorICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2FkcgorICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHBhY2thZ2UtYXJndW1lbnRzIGFsc2EtbGliKSkK
KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKHN0cmluZy1h
cHBlbmQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIt
LXdpdGgtcGx1Z2luLWRpcj0iCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICA7OyBzdHVmZiBnb2VzIGhlcmUKKyAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICkpKSkpKSkpCisgICAgICAgICAgICAgICApCisgICAgICAg
ICAgICAgICgiYWxzYS1wbHVnaW5zOnB1bHNlYXVkaW8iICxhbHNhLXBsdWdpbnMgInB1bHNlYXVk
aW8iKSkpKSkKICAgICAgICAoInB1bHNlYXVkaW8iICxwdWxzZWF1ZGlvKQogICAgICAgICgibGli
eDExIiAsbGlieDExKQogICAgICAgICgiZnJlZXR5cGUiICxmcmVldHlwZSkK
--00000000000002c14c05b03648a7--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 09:58:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 05:58:18 2020
Received: from localhost ([127.0.0.1]:45844 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM6y9-0004qW-Sz
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:58:18 -0400
Received: from mail-pl1-f182.google.com ([209.85.214.182]:36991)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM6y7-0004q3-4v
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:58:15 -0400
Received: by mail-pl1-f182.google.com with SMTP id u4so643144plr.4
 for <43628 <at> debbugs.gnu.org>; Sat, 26 Sep 2020 02:58:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=erRVBfPGOV3fV7pGQ0+YmbFBu4wquwFy2Kcc1YrvosY=;
 b=HiAz05+YigD7VVSMD0p3qkCc5qp4yUXZAT83yrgduZ3Ah8DTEV+1/6uTA1IXtzNUyG
 cHObHaJznKRhODlE7TidNi6uUTURce2Lq6IBtuWnnA/I6HYdknucTA/U/H5xA7ya379Y
 JxF2gGUSC/MeA84mJOQRauiFU8SVzMYA2qsGh1NfF80OpKBncB9DKGQ2EuR+0htFQEgi
 8J8g1dfKRuJ6Umahg/F5fyf67ytIkik7boYfBHs9oVUGE1BR/aSnjW3Fkv5X2ugHKFW/
 g9ycJJTwIiKxZNCIQUTH3cWhpTioz2jXQbXLZ9Izg86RzqELPJ9D+YLfeLCHWUqSmDYk
 v0rw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=erRVBfPGOV3fV7pGQ0+YmbFBu4wquwFy2Kcc1YrvosY=;
 b=Tp5Kw7qxhpM990XVWy4XkIR930ODf8dzKrCYU7snxCtJF6zLQFgU7fggaJJH5GDr+t
 NWxhh5tnlf68kgkoKImpb452CWx1rnSpij/SMLUMcjuGRslwty00QqoBe04rnlsuzGc7
 R2uv0l3JotWuZCXwfT8tp4OcTZdNPe9EJLUFUydSqDaDPgj3Spy+FT9tXZhYHn+moPX7
 GmlDT54dQ0etkBYjJgimWxq//ZRzqHIc/sJg1pyyYLNCePbD9xtPHygk5Qs+jflFusmq
 1BivRKaTpyPOjalgHlluNJEc2r6gn5PoDtwW+/ulkymuFuAMPPtI6qwByfWQ74RT7qFI
 l6dQ==
X-Gm-Message-State: AOAM531J34KVUnJ1WeIaWBv1vd1Mm2AtsrH/MVjt0trO6Gibx77d86EO
 1WmOHhvYQJZLgZ+UfsNRpeyY4XkJhGDmIT8oaKc=
X-Google-Smtp-Source: ABdhPJxUnL8BAQMudaWZT4AxCNJY8dMTAHptC+s/6vgEqqmZVtMjsL6IFQ7hHzF0ERZOX7GPtlYdhc12bqH5MREkadc=
X-Received: by 2002:a17:902:208:b029:d2:562d:fcc with SMTP id
 8-20020a1709020208b02900d2562d0fccmr3397569plc.15.1601114289152; Sat, 26 Sep
 2020 02:58:09 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
In-Reply-To: <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 15:42:58 +0545
Message-ID: <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
Subject: Re: [bug#43628] Further Info
To: Julien Lepiller <julien@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000073284205b0347821"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
Cc: 43628 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000073284205b0347821
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Mr. Lepiller,

Thank you for the tip. For the moment, I want to poke around this issue.
Perhaps I get absolutely tired of it (or find a good hack - and an ugly
patch). I did manage to learn a bit more about union-builds in general. So,
that's a silver lining.

Also, your work on guix-android seems so very cool! Please keep up the
great work!

On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller <julien@HIDDEN> wrote:

>
>
> Hi Prafulla,
>
> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
> pratheblackdiamond@HIDDEN> a =C3=A9crit :
> >Another information:
> >
> >I have other programs on my foreign system (installed via guix) that
> >produce sound well, without any issues. They include:
> >espeak and kdenlive.
> >
> >Also, I did try making the union-build use copies instead of symlinks
> >using
> >(union-build ... #:symlink copy-recursively) but that didn't work out
> >either.
> >
> >Now, I'm going to take a look at fixing the pkg-config rules, and will
> >be
> >updating this thread should that resolve this issue.
> >
> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
> ><pratheblackdiamond@HIDDEN>
> >wrote:
> >
> >> I forgot to mention, but the union-build works. If one `guix build`s
> >the
> >> union package, and cd into the /gnu/store/...-union-build, one will
> >see
> >> that things are there as it should be (lib/normal-alsa-*.so and
> >> lib/alsa-lib/*pulse*.so).
> >>
> >> It's just that aegisub seems to be looking from the
> >> /gnu/store/normal-alsa-lib-dir instead of
> >/gnu/store/union-alsa-package.
> >>
>
> I think the issue with the union-build is that it is completely ignored:
> alsa doesn't look in it's current directory for plugins, but in the
> directory where it's been configured (at build time) to look for.
>
> On the Guix System, there is a service that creates a /etc/asound.conf,
> which references alsa-plugins:pulseaudio. Maybe you actually want to
> configure that? Maybe try to copy this to a new file .asoundrc:
>
> pcm_type.pule {
>   lib "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.so=
"
> }
>
> ctl_type.pulse {
>   lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so"
> }
>
> pcm.!default {
>   type pulse
> }
>
> ctl.!default {
>   type pulse
> }
>

--00000000000073284205b0347821
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello Mr. Lepiller,</div><div><br></div><div>Thank yo=
u for the tip. For the moment, I want to poke around this issue. Perhaps I =
get absolutely tired of it (or find a good hack - and an ugly patch). I did=
 manage to learn a bit more about union-builds in general. So, that&#39;s a=
 silver lining.</div><div><br></div><div>Also, your work on guix-android se=
ems so very cool! Please keep up the great work!<br></div></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 26, 2=
020 at 3:28 PM Julien Lepiller &lt;<a href=3D"mailto:julien@HIDDEN" ta=
rget=3D"_blank">julien@HIDDEN</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailt=
o:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiamond@gmail.=
com</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<br=
>
&gt;produce sound well, without any issues. They include:<br>
&gt;espeak and kdenlive.<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<b=
r>
&gt;using<br>
&gt;(union-build ... #:symlink copy-recursively) but that didn&#39;t work o=
ut<br>
&gt;either.<br>
&gt;<br>
&gt;Now, I&#39;m going to take a look at fixing the pkg-config rules, and w=
ill<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue.<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">p=
ratheblackdiamond@HIDDEN</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works. If one `guix build=
`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/...-union-build, one wil=
l<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*.so and<br=
>
&gt;&gt; lib/alsa-lib/*pulse*.so).<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package.<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: al=
sa doesn&#39;t look in it&#39;s current directory for plugins, but in the d=
irectory where it&#39;s been configured (at build time) to look for.<br>
<br>
On the Guix System, there is a service that creates a /etc/asound.conf, whi=
ch references alsa-plugins:pulseaudio. Maybe you actually want to configure=
 that? Maybe try to copy this to a new file .asoundrc:<br>
<br>
pcm_type.pule {<br>
=C2=A0 lib &quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_=
pulse.so&quot;<br>
}<br>
<br>
ctl_type.pulse {<br>
=C2=A0 lib&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_p=
ulse.so&quot;<br>
}<br>
<br>
pcm.!default {<br>
=C2=A0 type pulse<br>
}<br>
<br>
ctl.!default {<br>
=C2=A0 type pulse<br>
}<br>
</blockquote></div>

--00000000000073284205b0347821--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 09:58:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 05:58:14 2020
Received: from localhost ([127.0.0.1]:45841 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM6y6-0004qG-FV
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:58:14 -0400
Received: from lists.gnu.org ([209.51.188.17]:46220)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM6y5-0004q9-21
 for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:58:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48126)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pratheblackdiamond@HIDDEN>)
 id 1kM6y4-0007X5-Ox
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 05:58:12 -0400
Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:55630)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <pratheblackdiamond@HIDDEN>)
 id 1kM6y2-0004pk-RK
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 05:58:12 -0400
Received: by mail-pj1-x1034.google.com with SMTP id q4so767640pjh.5
 for <guix-patches@HIDDEN>; Sat, 26 Sep 2020 02:58:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=erRVBfPGOV3fV7pGQ0+YmbFBu4wquwFy2Kcc1YrvosY=;
 b=HiAz05+YigD7VVSMD0p3qkCc5qp4yUXZAT83yrgduZ3Ah8DTEV+1/6uTA1IXtzNUyG
 cHObHaJznKRhODlE7TidNi6uUTURce2Lq6IBtuWnnA/I6HYdknucTA/U/H5xA7ya379Y
 JxF2gGUSC/MeA84mJOQRauiFU8SVzMYA2qsGh1NfF80OpKBncB9DKGQ2EuR+0htFQEgi
 8J8g1dfKRuJ6Umahg/F5fyf67ytIkik7boYfBHs9oVUGE1BR/aSnjW3Fkv5X2ugHKFW/
 g9ycJJTwIiKxZNCIQUTH3cWhpTioz2jXQbXLZ9Izg86RzqELPJ9D+YLfeLCHWUqSmDYk
 v0rw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=erRVBfPGOV3fV7pGQ0+YmbFBu4wquwFy2Kcc1YrvosY=;
 b=EGme9kh2T1xwx9V7wrq7T8p4RcEGEv1q8KO+X9hnMFF9oaj9G6eLaqIBRCmR8JDYQQ
 TBAG+LVXLXkF7vXGhrnQMyWVAaEssDbGuwGt5uKuaxQhNfQ0TnphdJ3wo5lTMTI5OWuM
 GCcKgBF9YCm8NZcRFt3gVu1w6LivZVrBbJM81NBx6os/SXjARynXXest1SwmK/yeYvxw
 FblUU9zIyuIYTZGdX0wtulQkU/JPRqW1hy1q1HRODlKLl5PDhTe9UoRqHXRsD/Xhrmj3
 TvpSd0I/bCbMuiGAFaaJSDYQu5Xf4LoiAwTiFHEl7/3C5yQF2d2A2Hovdv5t+b0I0kK8
 J32A==
X-Gm-Message-State: AOAM53396BRJGJkeUt2iRkGxBdPa8K4kCJbKgmEFOrOsOM+h4i6wsYxw
 G23viOqWC+uqVIqQMIJALYVpaPNaFptRYLUr4TiVC/4EPDE=
X-Google-Smtp-Source: ABdhPJxUnL8BAQMudaWZT4AxCNJY8dMTAHptC+s/6vgEqqmZVtMjsL6IFQ7hHzF0ERZOX7GPtlYdhc12bqH5MREkadc=
X-Received: by 2002:a17:902:208:b029:d2:562d:fcc with SMTP id
 8-20020a1709020208b02900d2562d0fccmr3397569plc.15.1601114289152; Sat, 26 Sep
 2020 02:58:09 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
 <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
In-Reply-To: <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 15:42:58 +0545
Message-ID: <CAFw+=j0HP4-EV_TfJsg-AowzxoosNeAF3FBpCe0OKyaYsEqd1w@HIDDEN>
Subject: Re: [bug#43628] Further Info
To: Julien Lepiller <julien@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000073284205b0347821"
Received-SPF: pass client-ip=2607:f8b0:4864:20::1034;
 envelope-from=pratheblackdiamond@HIDDEN; helo=mail-pj1-x1034.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: 43628 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000073284205b0347821
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Mr. Lepiller,

Thank you for the tip. For the moment, I want to poke around this issue.
Perhaps I get absolutely tired of it (or find a good hack - and an ugly
patch). I did manage to learn a bit more about union-builds in general. So,
that's a silver lining.

Also, your work on guix-android seems so very cool! Please keep up the
great work!

On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller <julien@HIDDEN> wrote:

>
>
> Hi Prafulla,
>
> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <
> pratheblackdiamond@HIDDEN> a =C3=A9crit :
> >Another information:
> >
> >I have other programs on my foreign system (installed via guix) that
> >produce sound well, without any issues. They include:
> >espeak and kdenlive.
> >
> >Also, I did try making the union-build use copies instead of symlinks
> >using
> >(union-build ... #:symlink copy-recursively) but that didn't work out
> >either.
> >
> >Now, I'm going to take a look at fixing the pkg-config rules, and will
> >be
> >updating this thread should that resolve this issue.
> >
> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
> ><pratheblackdiamond@HIDDEN>
> >wrote:
> >
> >> I forgot to mention, but the union-build works. If one `guix build`s
> >the
> >> union package, and cd into the /gnu/store/...-union-build, one will
> >see
> >> that things are there as it should be (lib/normal-alsa-*.so and
> >> lib/alsa-lib/*pulse*.so).
> >>
> >> It's just that aegisub seems to be looking from the
> >> /gnu/store/normal-alsa-lib-dir instead of
> >/gnu/store/union-alsa-package.
> >>
>
> I think the issue with the union-build is that it is completely ignored:
> alsa doesn't look in it's current directory for plugins, but in the
> directory where it's been configured (at build time) to look for.
>
> On the Guix System, there is a service that creates a /etc/asound.conf,
> which references alsa-plugins:pulseaudio. Maybe you actually want to
> configure that? Maybe try to copy this to a new file .asoundrc:
>
> pcm_type.pule {
>   lib "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.so=
"
> }
>
> ctl_type.pulse {
>   lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so"
> }
>
> pcm.!default {
>   type pulse
> }
>
> ctl.!default {
>   type pulse
> }
>

--00000000000073284205b0347821
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello Mr. Lepiller,</div><div><br></div><div>Thank yo=
u for the tip. For the moment, I want to poke around this issue. Perhaps I =
get absolutely tired of it (or find a good hack - and an ugly patch). I did=
 manage to learn a bit more about union-builds in general. So, that&#39;s a=
 silver lining.</div><div><br></div><div>Also, your work on guix-android se=
ems so very cool! Please keep up the great work!<br></div></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 26, 2=
020 at 3:28 PM Julien Lepiller &lt;<a href=3D"mailto:julien@HIDDEN" ta=
rget=3D"_blank">julien@HIDDEN</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><br>
<br>
Hi Prafulla,<br>
<br>
Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri &lt;<a href=3D"mailt=
o:pratheblackdiamond@HIDDEN" target=3D"_blank">pratheblackdiamond@gmail.=
com</a>&gt; a =C3=A9crit :<br>
&gt;Another information:<br>
&gt;<br>
&gt;I have other programs on my foreign system (installed via guix) that<br=
>
&gt;produce sound well, without any issues. They include:<br>
&gt;espeak and kdenlive.<br>
&gt;<br>
&gt;Also, I did try making the union-build use copies instead of symlinks<b=
r>
&gt;using<br>
&gt;(union-build ... #:symlink copy-recursively) but that didn&#39;t work o=
ut<br>
&gt;either.<br>
&gt;<br>
&gt;Now, I&#39;m going to take a look at fixing the pkg-config rules, and w=
ill<br>
&gt;be<br>
&gt;updating this thread should that resolve this issue.<br>
&gt;<br>
&gt;On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri<br>
&gt;&lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN" target=3D"_blank">p=
ratheblackdiamond@HIDDEN</a>&gt;<br>
&gt;wrote:<br>
&gt;<br>
&gt;&gt; I forgot to mention, but the union-build works. If one `guix build=
`s<br>
&gt;the<br>
&gt;&gt; union package, and cd into the /gnu/store/...-union-build, one wil=
l<br>
&gt;see<br>
&gt;&gt; that things are there as it should be (lib/normal-alsa-*.so and<br=
>
&gt;&gt; lib/alsa-lib/*pulse*.so).<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s just that aegisub seems to be looking from the<br>
&gt;&gt; /gnu/store/normal-alsa-lib-dir instead of<br>
&gt;/gnu/store/union-alsa-package.<br>
&gt;&gt;<br>
<br>
I think the issue with the union-build is that it is completely ignored: al=
sa doesn&#39;t look in it&#39;s current directory for plugins, but in the d=
irectory where it&#39;s been configured (at build time) to look for.<br>
<br>
On the Guix System, there is a service that creates a /etc/asound.conf, whi=
ch references alsa-plugins:pulseaudio. Maybe you actually want to configure=
 that? Maybe try to copy this to a new file .asoundrc:<br>
<br>
pcm_type.pule {<br>
=C2=A0 lib &quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_=
pulse.so&quot;<br>
}<br>
<br>
ctl_type.pulse {<br>
=C2=A0 lib&quot;/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_p=
ulse.so&quot;<br>
}<br>
<br>
pcm.!default {<br>
=C2=A0 type pulse<br>
}<br>
<br>
ctl.!default {<br>
=C2=A0 type pulse<br>
}<br>
</blockquote></div>

--00000000000073284205b0347821--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 09:52:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 05:52:06 2020
Received: from localhost ([127.0.0.1]:45837 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM6s9-0004hK-Pk
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:52:05 -0400
Received: from mail-pg1-f180.google.com ([209.85.215.180]:35317)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM6s8-0004gk-9E
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:52:04 -0400
Received: by mail-pg1-f180.google.com with SMTP id g29so4488383pgl.2
 for <43628 <at> debbugs.gnu.org>; Sat, 26 Sep 2020 02:52:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=dEfzU4G9MpcCK43NhMxFc+KdV2FkGMJu0LIZJEkdg1I=;
 b=VP9ymK0idD32rkpiAIR86Rh+rHMgjH8xLRB0Xge1hsSl/m11pv0gAeDwUJhMh6ZhO9
 /jHnzGuQLw+QXF2quD2KAYmdazFsAnPb3Yhk9eaY1LNUDNqOcDgYnGcUXQOpvKGee8ac
 SQdhTL++nsi/6lsGwXy3Wzt70UqndXvCjKp/Pk466kMfhuUPCApIcEU3dQu0TSK37Sq0
 4dPIIhIMUze+kICSWZxIH3BKBGk33yr4nfcXjTMdTH2z3w169Voe2mY16LMiTLkmYX9k
 C/fDa1qCKFq0XQxSzYJIOUfOX86X7Cw6pBJWA6pNyiF7jVl81vEvrDF3JcQLwoP/SKDA
 ySNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=dEfzU4G9MpcCK43NhMxFc+KdV2FkGMJu0LIZJEkdg1I=;
 b=LbshDGN8inIDlldJQRf6e/yf9PR6ynvIR92kgd3QwlfxBu0NNSKw1uoVnJLKfD+3aq
 OPNbxTmAQcYuhqv3vfgp71xXrw7PYFoVT1KplQXnkkPsAn+rr3jimEjYUDWNgK6x/skE
 f2qtEWNSiE/m93AGQIcLfjTudj6iD24brGQcLyj04O5ilpCv1Ydpmp9lDVL1EhVo5qPF
 C4NO/vpvrjneycqvelV456laUPuzhDHIOrm/pgcRymX+QPJLdlKV5wGkcv96UbGFLwoK
 rinfh072RX15jdGxE+McGH/S53mPr3QbqhkQ011gKf84WkmHiHLOBVR1cMtsb5MmSPYB
 Ct4w==
X-Gm-Message-State: AOAM533u6ojE7pY+eVt52w7d9rM+ETMVUoQCSODj70XtKp7RF3HJwIsk
 rjyEi2t8/PzIOHCz6UTfb57L4o5+fUFoU7fcieOafA+sNOY=
X-Google-Smtp-Source: ABdhPJzCAX2nygo0j/TCvl2JpAGsn0gSqqiLJn2mTV7yzzHARrAk7LdqRY1sQ0XFgePA5TCkn8JjlZuD1AUbYfskPkc=
X-Received: by 2002:aa7:9f0a:0:b029:13e:d13d:a107 with SMTP id
 g10-20020aa79f0a0000b029013ed13da107mr2441930pfr.35.1601113917855; Sat, 26
 Sep 2020 02:51:57 -0700 (PDT)
MIME-Version: 1.0
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 15:36:46 +0545
Message-ID: <CAFw+=j190xYV93tWTMPPZst8qZ8sqfDexycZvgTn1G6X0tutjw@HIDDEN>
Subject: Progress (?)
To: 43628 <at> debbugs.gnu.org
Content-Type: multipart/mixed; boundary="00000000000052206d05b03462ba"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000052206d05b03462ba
Content-Type: multipart/alternative; boundary="00000000000052206a05b03462b8"

--00000000000052206a05b03462b8
Content-Type: text/plain; charset="UTF-8"

So, there were a few issues with my union. I've fixed them. Attached is the
diff as it stands right now.

--00000000000052206a05b03462b8
Content-Type: text/html; charset="UTF-8"

<div dir="ltr"><div>So, there were a few issues with my union. I&#39;ve fixed them. Attached is the diff as it stands right now.</div><br></div>

--00000000000052206a05b03462b8--

--00000000000052206d05b03462ba
Content-Type: text/x-patch; charset="UTF-8"; name="aegisub_alsa_pulseaudio.diff"
Content-Disposition: attachment; filename="aegisub_alsa_pulseaudio.diff"
Content-Transfer-Encoding: base64
Content-ID: <f_kfjht07l0>
X-Attachment-Id: f_kfjht07l0

ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy92aWRlby5zY20gYi9nbnUvcGFja2FnZXMvdmlkZW8u
c2NtCmluZGV4IDBmNzI3YTZlOWUuLjlhNmE3NjhhZjIgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdl
cy92aWRlby5zY20KKysrIGIvZ251L3BhY2thZ2VzL3ZpZGVvLnNjbQpAQCAtMzgzNiw3ICszODM2
LDQwIEBAIHByb2dyYW1tZXJzIHRvIGFjY2VzcyBhIHN0YW5kYXJkIEFQSSB0byBvcGVuIGFuZCBk
ZWNvbXByZXNzIG1lZGlhIGZpbGVzLiIpCiAgICAgICAgKCJodW5zcGVsbCIgLGh1bnNwZWxsKQog
ICAgICAgICgibWVzYSIgLG1lc2EpCiAgICAgICAgKCJsaWJhc3MiICxsaWJhc3MpCi0gICAgICAg
KCJhbHNhLWxpYiIgLGFsc2EtbGliKQorICAgICAgICgiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlv
LXBsdWdpbiIKKyAgICAgICAgLChwYWNrYWdlCisgICAgICAgICAgIChpbmhlcml0IGFsc2EtbGli
KQorICAgICAgICAgICAobmFtZSAiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlvLXBsdWdpbiIpCisg
ICAgICAgICAgIChzb3VyY2UgI2YpCisgICAgICAgICAgIChidWlsZC1zeXN0ZW0gdHJpdmlhbC1i
dWlsZC1zeXN0ZW0pCisgICAgICAgICAgIChhcmd1bWVudHMKKyAgICAgICAgICAgIGAoIzptb2R1
bGVzICgoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAgICAgICAgICAoZ3VpeCBi
dWlsZCB1dGlscykpCisgICAgICAgICAgICAgICM6YnVpbGRlcgorICAgICAgICAgICAgICAoYmVn
aW4KKyAgICAgICAgICAgICAgICAodXNlLW1vZHVsZXMgKGljZS05IG1hdGNoKQorICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgKGd1aXggYnVpbGQgdXRpbHMpKQorICAgICAgICAgICAgICAgIChsZXQgKChv
dXQgKGFzc29jLXJlZiAlb3V0cHV0cyAib3V0IikpCisgICAgICAgICAgICAgICAgICAgICAgKGFs
c2EtbGliIChhc3NvYy1yZWYgJWJ1aWxkLWlucHV0cyAiYWxzYS1saWIiKSkpCisgICAgICAgICAg
ICAgICAgICAobWF0Y2ggJWJ1aWxkLWlucHV0cworICAgICAgICAgICAgICAgICAgICAoKChuYW1l
cyAuIGRpcmVjdG9yaWVzKSAuLi4pCisgICAgICAgICAgICAgICAgICAgICAodW5pb24tYnVpbGQg
b3V0CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlyZWN0b3JpZXMKKyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBJbnN0ZWFkIG9mIGEgc3ltbGluayB1bmlv
biwgdGhpcyBpcyB3aWxsIGJlIGEKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7
OyBjb3B5IHVuaW9uLCBiZWNhdXNlIHRoaXMgd29uJ3QgIkp1c3QgV29ya+KEoiIKKyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICA7OyB3aXRoIG1lcmUgc3ltbGlua3MuIFNvbWUgb2Yg
dGhlIGZpbGVzIHRoYXQgbWFrZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7
IHVwIHRoZSB1bmlvbiBuZWVkIHRvIHR3ZWFrZWQgdG8gd29yayBwcm9wZXJseS4KKyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAjOmNyZWF0ZS1hbGwtZGlyZWN0b3JpZXM/ICN0Cisg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIzpzeW1saW5rIGNvcHktZmlsZSkpKQor
ICAgICAgICAgICAgICAgICAgOzsgRml4IGFsc2EtbGliIHBrZy1jb25maWcgZmlsZSB0byBwb2lu
dCB0byB0aGUgL2dudS9zdG9yZSBvZgorICAgICAgICAgICAgICAgICAgOzsgdGhpcyB1bmlvbiwg
cmF0aGVyIHRoYW4gdGhhdCBvZiBhbHNhLWxpYiBpdHNlbGYuCisgICAgICAgICAgICAgICAgICAo
c3Vic3RpdHV0ZSogKHN0cmluZy1hcHBlbmQgb3V0ICIvbGliL3BrZ2NvbmZpZy9hbHNhLnBjIikK
KyAgICAgICAgICAgICAgICAgICAgKChhbHNhLWxpYikgb3V0KSkKKyAgICAgICAgICAgICAgICAg
ICN0KSkpKQorICAgICAgICAgICAoaW5wdXRzCisgICAgICAgICAgICBgKCgiYWxzYS1saWIiICxh
bHNhLWxpYikKKyAgICAgICAgICAgICAgKCJhbHNhLXBsdWdpbnM6cHVsc2VhdWRpbyIgLGFsc2Et
cGx1Z2lucyAicHVsc2VhdWRpbyIpKSkpKQogICAgICAgICgicHVsc2VhdWRpbyIgLHB1bHNlYXVk
aW8pCiAgICAgICAgKCJsaWJ4MTEiICxsaWJ4MTEpCiAgICAgICAgKCJmcmVldHlwZSIgLGZyZWV0
eXBlKQo=
--00000000000052206d05b03462ba--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 09:43:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 05:43:31 2020
Received: from localhost ([127.0.0.1]:45817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM6jr-0002Lb-LN
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:43:31 -0400
Received: from lepiller.eu ([89.234.186.109]:49178)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kM6jo-0002LS-MI
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:43:30 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id fb08fe72;
 Sat, 26 Sep 2020 09:43:26 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:from:message-id; s=dkim;
 bh=J/0CL1R0vat9D0jfdT5DmGT5c+cIw6tPmRgS9mf1yyg=; b=AAUB1EdNwltj
 FWG5nhTT7sOwCfV6ZQ3tjptt0nERjMYzTtnTpmFX2Pq+DlMVeqthrAV1snQ3oA0P
 mOZvvi62txm3aTO+L1WV+fT0h+VC2hHeOZt5kgbTy/Tdtw3V6sSsyFjtRyTaSNFn
 uKakbLCgPPqmzQcppRtNUb0Jbjm2JIm2x8YjOk3Cgd0Tu2XdxaPfFB60SOfUNN2S
 tlbeS4qFdequuL9PlG7noRDv6TlqIxCGmFIMhBvICE9pCyo/N/A9jJQp55xL0P0M
 4ZYmRBgIdiX3wpsgkTdJSsDzS0DcMAPDP1zPq1Cz/6ILp2j2Y2iHHGvomOFwW2ml
 EKTqb5tSSA==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 60b6ab9b
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sat, 26 Sep 2020 09:43:26 +0000 (UTC)
Date: Sat, 26 Sep 2020 05:43:15 -0400
User-Agent: K-9 Mail for Android
In-Reply-To: <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [bug#43628] Further Info
To: guix-patches@HIDDEN, Prafulla Giri <pratheblackdiamond@HIDDEN>,
 43628 <at> debbugs.gnu.org
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43628
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)



Hi Prafulla,

Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <pratheblackdiamond=
@gmail=2Ecom> a =C3=A9crit :
>Another information:
>
>I have other programs on my foreign system (installed via guix) that
>produce sound well, without any issues=2E They include:
>espeak and kdenlive=2E
>
>Also, I did try making the union-build use copies instead of symlinks
>using
>(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't work o=
ut
>either=2E
>
>Now, I'm going to take a look at fixing the pkg-config rules, and will
>be
>updating this thread should that resolve this issue=2E
>
>On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
><pratheblackdiamond@gmail=2Ecom>
>wrote:
>
>> I forgot to mention, but the union-build works=2E If one `guix build`s
>the
>> union package, and cd into the /gnu/store/=2E=2E=2E-union-build, one wi=
ll
>see
>> that things are there as it should be (lib/normal-alsa-*=2Eso and
>> lib/alsa-lib/*pulse*=2Eso)=2E
>>
>> It's just that aegisub seems to be looking from the
>> /gnu/store/normal-alsa-lib-dir instead of
>/gnu/store/union-alsa-package=2E
>>

I think the issue with the union-build is that it is completely ignored: a=
lsa doesn't look in it's current directory for plugins, but in the director=
y where it's been configured (at build time) to look for=2E

On the Guix System, there is a service that creates a /etc/asound=2Econf, =
which references alsa-plugins:pulseaudio=2E Maybe you actually want to conf=
igure that? Maybe try to copy this to a new file =2Easoundrc:

pcm_type=2Epule {
  lib "/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=
=2Eso"
}

ctl_type=2Epulse {
  lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2E=
so"
}

pcm=2E!default {
  type pulse
}

ctl=2E!default {
  type pulse
}




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 09:43:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 05:43:36 2020
Received: from localhost ([127.0.0.1]:45820 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM6jv-0002Ls-U9
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:43:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:34306)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kM6ju-0002Ll-Qe
 for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 05:43:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45974)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <julien@HIDDEN>)
 id 1kM6ju-0001sV-Bv
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 05:43:34 -0400
Received: from lepiller.eu ([89.234.186.109]:36386)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <julien@HIDDEN>)
 id 1kM6jr-0003IX-MC
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 05:43:33 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id fb08fe72;
 Sat, 26 Sep 2020 09:43:26 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:from:message-id; s=dkim;
 bh=J/0CL1R0vat9D0jfdT5DmGT5c+cIw6tPmRgS9mf1yyg=; b=AAUB1EdNwltj
 FWG5nhTT7sOwCfV6ZQ3tjptt0nERjMYzTtnTpmFX2Pq+DlMVeqthrAV1snQ3oA0P
 mOZvvi62txm3aTO+L1WV+fT0h+VC2hHeOZt5kgbTy/Tdtw3V6sSsyFjtRyTaSNFn
 uKakbLCgPPqmzQcppRtNUb0Jbjm2JIm2x8YjOk3Cgd0Tu2XdxaPfFB60SOfUNN2S
 tlbeS4qFdequuL9PlG7noRDv6TlqIxCGmFIMhBvICE9pCyo/N/A9jJQp55xL0P0M
 4ZYmRBgIdiX3wpsgkTdJSsDzS0DcMAPDP1zPq1Cz/6ILp2j2Y2iHHGvomOFwW2ml
 EKTqb5tSSA==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 60b6ab9b
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sat, 26 Sep 2020 09:43:26 +0000 (UTC)
Date: Sat, 26 Sep 2020 05:43:15 -0400
User-Agent: K-9 Mail for Android
In-Reply-To: <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
 <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [bug#43628] Further Info
To: guix-patches@HIDDEN, Prafulla Giri <pratheblackdiamond@HIDDEN>,
 43628 <at> debbugs.gnu.org
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <561466E3-006A-4460-9DEA-61A8DC16E7A8@HIDDEN>
Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@HIDDEN;
 helo=lepiller.eu
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/26 05:43:28
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)



Hi Prafulla,

Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <pratheblackdiamond=
@gmail=2Ecom> a =C3=A9crit :
>Another information:
>
>I have other programs on my foreign system (installed via guix) that
>produce sound well, without any issues=2E They include:
>espeak and kdenlive=2E
>
>Also, I did try making the union-build use copies instead of symlinks
>using
>(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't work o=
ut
>either=2E
>
>Now, I'm going to take a look at fixing the pkg-config rules, and will
>be
>updating this thread should that resolve this issue=2E
>
>On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
><pratheblackdiamond@gmail=2Ecom>
>wrote:
>
>> I forgot to mention, but the union-build works=2E If one `guix build`s
>the
>> union package, and cd into the /gnu/store/=2E=2E=2E-union-build, one wi=
ll
>see
>> that things are there as it should be (lib/normal-alsa-*=2Eso and
>> lib/alsa-lib/*pulse*=2Eso)=2E
>>
>> It's just that aegisub seems to be looking from the
>> /gnu/store/normal-alsa-lib-dir instead of
>/gnu/store/union-alsa-package=2E
>>

I think the issue with the union-build is that it is completely ignored: a=
lsa doesn't look in it's current directory for plugins, but in the director=
y where it's been configured (at build time) to look for=2E

On the Guix System, there is a service that creates a /etc/asound=2Econf, =
which references alsa-plugins:pulseaudio=2E Maybe you actually want to conf=
igure that? Maybe try to copy this to a new file =2Easoundrc:

pcm_type=2Epule {
  lib "/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=
=2Eso"
}

ctl_type=2Epulse {
  lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2E=
so"
}

pcm=2E!default {
  type pulse
}

ctl=2E!default {
  type pulse
}




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 07:31:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 03:31:59 2020
Received: from localhost ([127.0.0.1]:45733 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM4gY-0007cF-TE
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 03:31:59 -0400
Received: from mail-pj1-f42.google.com ([209.85.216.42]:37669)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM4gW-0007c2-LV
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 03:31:57 -0400
Received: by mail-pj1-f42.google.com with SMTP id kk9so633465pjb.2
 for <43628 <at> debbugs.gnu.org>; Sat, 26 Sep 2020 00:31:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=lpE3l85q2Hzlc1BgSswYWPx7cVn+/asrB29z8sqKlRE=;
 b=rviGoDlN+SCGN8SKwbKq9LpzbpAb5JIUzdZKnyDMJF+DbvkQW/u8Lv+uZptwwd2p9m
 koIXrDEdIMRkCkohJ33c2uDqv4xrwymcvoce3dyXisfY5louBCEW4lPCC04AEUph2Dal
 pYvYntdRFuZCs5oZJLxgEEznoJnjn6XtA2MiCUXuVz2+awXo2Sph1OMtu0FuSTB0FuVF
 5YIW7Ptq6dTQbYHaIcI+Z4eQycl7UA9xSRBa/sjKjai9YSK6lX4LZhvxp4jO1fO+khxP
 IeKyF67T73/zufSe2UttbOdd1qwbJuOekn+gFISTZElpaYNlX1hxmx+T2w87L+V7zxIz
 Zgwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=lpE3l85q2Hzlc1BgSswYWPx7cVn+/asrB29z8sqKlRE=;
 b=PbEBEAOZ4AFP43Ns1DT8SRhSQ5HBk+tInQUJS/V6icAy2eooQDSnvsjxPEhjWgier4
 pniecKukMglTDl6WEFKqSJ0meufGJtpQaZjjWgHSKWNES6XbNjfoEePTBH5dBg0oVbq9
 QQ1nDoZheg9g6se3lrH/ifqCkpVMJJrQGR5X2o0WIzmf2plHeJDJJssbStHjAGtsMpdg
 pDKNACTwh43H9i7wJkgW1pSKjfaJEfNUncKsqxuGsxDv6V8tZb7EtS1ND3I8v6kHC3t+
 I/j4TxVWPUUV/OjiNdzVT0QDWIgVO6Zazr8PdM+5YLKFmQM/F8vZ6o1qMnR58rMX8pVG
 r8xQ==
X-Gm-Message-State: AOAM532p+4UeDlkjwQ971Lb/TQtpBWcsOSCAEgFdKX+K4yiGqzGCkcxh
 YFj7u9bOze+pY6GRSSWOUDXLWXRsDU43PHjm5V28bHCOeSw=
X-Google-Smtp-Source: ABdhPJx1tnLnhNTxKa1TeUrNG18nbRuHkRWeSH4FF35Ee5Q/vA8/SHseP3GVVfY+XR6Q4UygA0jOS7OivsZHWh5sXq8=
X-Received: by 2002:a17:90a:d3cd:: with SMTP id
 d13mr1210136pjw.70.1601105510512; 
 Sat, 26 Sep 2020 00:31:50 -0700 (PDT)
MIME-Version: 1.0
References: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
In-Reply-To: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 13:16:38 +0545
Message-ID: <CAFw+=j2tXki8ce=AQN=htY0tqp_k0CnDaPFur8UCDLyYVyy1BA@HIDDEN>
Subject: Re: Further Info
To: 43628 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="00000000000033bcdd05b0326d95"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000033bcdd05b0326d95
Content-Type: text/plain; charset="UTF-8"

Another information:

I have other programs on my foreign system (installed via guix) that
produce sound well, without any issues. They include:
espeak and kdenlive.

Also, I did try making the union-build use copies instead of symlinks using
(union-build ... #:symlink copy-recursively) but that didn't work out
either.

Now, I'm going to take a look at fixing the pkg-config rules, and will be
updating this thread should that resolve this issue.

On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri <pratheblackdiamond@HIDDEN>
wrote:

> I forgot to mention, but the union-build works. If one `guix build`s the
> union package, and cd into the /gnu/store/...-union-build, one will see
> that things are there as it should be (lib/normal-alsa-*.so and
> lib/alsa-lib/*pulse*.so).
>
> It's just that aegisub seems to be looking from the
> /gnu/store/normal-alsa-lib-dir instead of /gnu/store/union-alsa-package.
>

--00000000000033bcdd05b0326d95
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Another information:</div><div><br></div><div>I have =
other programs on my foreign system (installed via guix) that produce sound=
 well, without any issues. They include:</div><div>espeak and kdenlive.</di=
v><div><br></div><div>Also, I did try making the union-build use copies ins=
tead of symlinks using</div><div>(union-build ... #:symlink copy-recursivel=
y) but that didn&#39;t work out either.</div><div><br></div><div>Now, I&#39=
;m going to take a look at fixing the pkg-config rules, and will be updatin=
g this thread should that resolve this issue.<br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 26, 2020=
 at 12:21 PM Prafulla Giri &lt;<a href=3D"mailto:pratheblackdiamond@HIDDEN=
om">pratheblackdiamond@HIDDEN</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>I forgot to mention,=
 but the union-build works. If one `guix build`s the union package, and cd =
into the /gnu/store/...-union-build, one will see that things are there as =
it should be (lib/normal-alsa-*.so and lib/alsa-lib/*pulse*.so).</div><div>=
<br></div><div>It&#39;s just that aegisub seems to be looking from the /gnu=
/store/normal-alsa-lib-dir instead of /gnu/store/union-alsa-package.<br></d=
iv></div>
</blockquote></div>

--00000000000033bcdd05b0326d95--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at 43628 <at> debbugs.gnu.org:


Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 06:37:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 02:37:17 2020
Received: from localhost ([127.0.0.1]:45680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM3pd-0006IG-4t
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 02:37:17 -0400
Received: from mail-pg1-f169.google.com ([209.85.215.169]:41229)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM3pa-0006I2-Ho
 for 43628 <at> debbugs.gnu.org; Sat, 26 Sep 2020 02:37:16 -0400
Received: by mail-pg1-f169.google.com with SMTP id 197so4255723pge.8
 for <43628 <at> debbugs.gnu.org>; Fri, 25 Sep 2020 23:37:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=/C04MhYerS22ODNE7rxODYwlbZuS2vAde11+ioP5MR0=;
 b=Jf5fPVNpl6Y5h65V19urBmI0MrJRHfl2oDd2UnLC6ogmZ5tKQRFPvuoX5ahhOYlHPb
 3ORIsgy2lmWlhKiyu3A1SLvM5xX99emO1XRRdxmx6TqMyZsGJuAPGF3PE0+vY/YaRYUW
 bjK/N+aIJC+t7sx1hYgRB9LtjhJ+YA6CjmY6Qn6MxUEFNKguR924NPFEAIQwVHR6mTVv
 mP2afx+dMmujXudI62oIsJQ5gVOdhkVs+k1bCxVg5AZ5CAH+fvPRu8aBahogGYRue05v
 BhempWdjIxE81ZWPfmJfBzYtly5dCpDqpwDTzjJ2E3zEn4F9qDOd8pyukMjtkMAiE6vx
 HeWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=/C04MhYerS22ODNE7rxODYwlbZuS2vAde11+ioP5MR0=;
 b=fC4a++3lj1Y7sH1MzwP5b0x1ymCRWp9vlDHJsNyOQoiZOuVq4sYgPypLH+QAxMIg6k
 +osR/OuUUl+5R+G1A5r248vEokvczkPW1j3s3xEUYy4BjA4ww3D2LQhvZRp7ztNx9K5V
 EbzFX2EnNtrK8DD/hzDoIN4l2Qvow32zWZ0wre6g6p/8pVTwIJ2u2e9BLJ5DfWnFhjle
 JCr7Q2arEHgu3eYC3T/aKBGW1oIAWVntgUa4QIVFeETMGORQp5RfO7c9TE2d98IDUd9F
 591BJMdO2OcbYj75NxYTW6ElqjZaosDPlWfWMsLmAxeAnVdb7kfSHTagSQ+aXHUO2/qz
 FI1g==
X-Gm-Message-State: AOAM533/G9UDooq5SraXKTJPJY6lu5f7X8cItZheuLG+ZHLUfubJGRXB
 rg1aSW9dw3N09E8GdxmoGVOfFXDEtfIUHn5q4LPL5W/1KEE=
X-Google-Smtp-Source: ABdhPJyhi4GEPQN6PnIPLznySw02y/1ZSEYbgXPGKkUEItpTULCFHcCrCS1avXR2ULFZbcizrZZB8MTfU7Nwx78VerU=
X-Received: by 2002:a62:8607:0:b029:13f:b379:480a with SMTP id
 x7-20020a6286070000b029013fb379480amr2473774pfd.5.1601102228251; Fri, 25 Sep
 2020 23:37:08 -0700 (PDT)
MIME-Version: 1.0
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 12:21:57 +0545
Message-ID: <CAFw+=j3JgntoFio1Y5qibStye+RkR36FF+xLodJ1PYZ-YZfABA@HIDDEN>
Subject: Further Info
To: 43628 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="0000000000009065e505b031a9a3"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43628
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000009065e505b031a9a3
Content-Type: text/plain; charset="UTF-8"

I forgot to mention, but the union-build works. If one `guix build`s the
union package, and cd into the /gnu/store/...-union-build, one will see
that things are there as it should be (lib/normal-alsa-*.so and
lib/alsa-lib/*pulse*.so).

It's just that aegisub seems to be looking from the
/gnu/store/normal-alsa-lib-dir instead of /gnu/store/union-alsa-package.

--0000000000009065e505b031a9a3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I forgot to mention, but the union-build works. If on=
e `guix build`s the union package, and cd into the /gnu/store/...-union-bui=
ld, one will see that things are there as it should be (lib/normal-alsa-*.s=
o and lib/alsa-lib/*pulse*.so).</div><div><br></div><div>It&#39;s just that=
 aegisub seems to be looking from the /gnu/store/normal-alsa-lib-dir instea=
d of /gnu/store/union-alsa-package.<br></div></div>

--0000000000009065e505b031a9a3--




Information forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 06:15:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 02:15:59 2020
Received: from localhost ([127.0.0.1]:45662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kM3V1-0005lt-Bu
	for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 02:15:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:58868)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pratheblackdiamond@HIDDEN>) id 1kM3Uy-0005lk-Q5
 for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 02:15:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46388)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pratheblackdiamond@HIDDEN>)
 id 1kM3Uy-0007PX-Jc
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 02:15:56 -0400
Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:46410)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <pratheblackdiamond@HIDDEN>)
 id 1kM3Uw-00065y-GB
 for guix-patches@HIDDEN; Sat, 26 Sep 2020 02:15:56 -0400
Received: by mail-pl1-x635.google.com with SMTP id f1so407859plo.13
 for <guix-patches@HIDDEN>; Fri, 25 Sep 2020 23:15:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=3pvOTPmUec0m1v3XpXB0EGphDNi0LV0CvjpckLo5g6o=;
 b=nvEdFLuUh6CqkKmXo2TJv7YO54uD2Za1toMIRKKVXZQAYU9DG9IfikbLJut0/RnLqe
 Mykr9NbPr2bxydcoR1nHD8O1mRbR/L6FckKMFtkJqV1hi1jGFIhSMM8AT5m3pEI/n32e
 usuJ6pEMCmzF0RFbs2ksUHk7M4b6KkLKrAR+ZZfuEyWhnWqrZsNPMYVOFdzN4S39FP5M
 z2n/YDMzk0NkBSfdYdOR30RP1mRKVlMkTuKHv4F7SvbvDQixJwL5nM5vQZlQ+33RHF5s
 yskdWK2elKyGL/JhuuVNux1b8Qps/obmSxsMJRL2alJ5Jcg8WUH0Mnp6dy+h/7G24SMH
 vNsw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=3pvOTPmUec0m1v3XpXB0EGphDNi0LV0CvjpckLo5g6o=;
 b=mEQgv04H1mVwb3CLBUn1rqWv/UwVCgOUxdrgKEI17kvpQBMrc84gb3EEB+sGZQGc/R
 SmmJXm+P4E5B0GlrYmIqxJVH4nXbGJC3FUUYpQU4kbskng6q+8zGvrLLPL24OfAaCRex
 qvym7z4RbADoTf2o41Yup3LRM3ohlJE+wFwH5lZZTY0gc47CUYAAAlZCoy7D/rp+f1CJ
 j3dM12emEFLvCQyX9WXC46kLDhXKXd3e5sfcWpztJA2z8YAtQpVAQHnO0bU+eKDGuY+H
 PtqfSV59kj0440HW4lRrEiQvhnNXIOQFCCd+ywV4CTBm9fcrwXAKvXfyM0gw9amsvM8+
 yi5Q==
X-Gm-Message-State: AOAM532dK9TJmpAFes1olkp4vg4aXTchVQq8OTvhjoWf5seSOG0OQuwB
 hkhas3I+yie9I25CDeRO2bUSg8/X/TqIq3xTn/awpt/08NM=
X-Google-Smtp-Source: ABdhPJwnDh6h/HQC7r8ECN2kMl1A5naXWXmteATCWcZRI+ld3ICYDNnUX3sodUvtiMJLICUSdUkrxnhG4N/NM+JxvfA=
X-Received: by 2002:a17:90a:d3cd:: with SMTP id
 d13mr1018700pjw.70.1601100952079; 
 Fri, 25 Sep 2020 23:15:52 -0700 (PDT)
MIME-Version: 1.0
From: Prafulla Giri <pratheblackdiamond@HIDDEN>
Date: Sat, 26 Sep 2020 12:00:40 +0545
Message-ID: <CAFw+=j3HG_a7f8R1p7C6izu+gAyeQ=uJVkijded881cTQcSnag@HIDDEN>
Subject: Request for patch evaluation/review
To: guix-patches@HIDDEN
Content-Type: multipart/mixed; boundary="0000000000007fb6d605b0315d82"
Received-SPF: pass client-ip=2607:f8b0:4864:20::635;
 envelope-from=pratheblackdiamond@HIDDEN; helo=mail-pl1-x635.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--0000000000007fb6d605b0315d82
Content-Type: multipart/alternative; boundary="0000000000007fb6c405b0315d80"

--0000000000007fb6c405b0315d80
Content-Type: text/plain; charset="UTF-8"

Esteemed maintainers (and contributors),

Attached is a patch which, as far as I can see, should work. But it does
not. I would like to submit it here for review. Please tell me what I am
doing wrong or what I am failing to do, so that I might clean up this patch
and submit a proper one.

1. The problem this patch is trying to solve:
Aegisub (guix install aegisub), as it currently is, does not give any sound
(at least on foreign distros). The terminal output reads as follows, when a
video file (with audio) is added into the program and an attempt is made at
playing it: (Video is added to aegisub by using 'Video > Open Video...')
```
ALSA lib conf.c:3683:(snd_config_hooks_call) Cannot open shared library
libasound_module_conf_pulse.so
(/gnu/store/zcjdb23gbhl0pcnvvm8rnlprkfl43cv5-alsa-lib-1.2.2/lib/alsa-lib/libasound_module_conf_pulse.so:
libasound_module_conf_pulse.so: cannot open shared object file: No such
file or directory)
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
```
The complaint being that it can't find libasound_module_conf_pulse.so. This
.so comes from the guix package `alsa-plugins:pulseaudio`. The /gnu/store
directory for it is something like
/gnu/store/...-alsa-plugins-1.2.2-pulseaudio/lib/alsa-lib/libasound_module_conf_pulse.so.
However, the .so file is being looked for inside of the /gnu/store path to
alsa-lib
(/gnu/store/...-alsa-lib-1.2.2/lib/alsa-lib/libasound_module_conf_pulse.so.

2. The Natural Solution:
Since libasound_module_conf_pulse.so is supplied by
`alsa-plugins:pulseaudio`, and the program is looking for it inside the
path to alsa-lib (supplied by `alsa-lib`), union-build is a logical
solution. This is what the patch implements.

3. Problem:
Despite this patch being applied, it continues to look for the .so file
inside the path to alsa-lib and not the union-alsa. What is more, alsa-lib
is not even in the inputs. Only union-alsa is. And yet, it seems to be
trying to use alsa-lib's /gnu/store path, which, the way I see it, violates
guix's functional package management.

4. It's not guix, it's me:
I'm sure this is some mistake on my part. Hence, I submit the diff here for
review.

P. S: The diff has changed a bit because I got this idea of moving
out/lib/alsa-lib/* into out/lib/ just to see if that makes any difference.
Only to realize a little too late that it doesn't. But I send the diff with
those changes included because I didn't stash the previous (cleaner) one.

--0000000000007fb6c405b0315d80
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Esteemed maintainers (and contributors),</div><div><b=
r></div><div>Attached is a patch which, as far as I can see, should work. B=
ut it does not. I would like to submit it here for review. Please tell me w=
hat I am doing wrong or what I am failing to do, so that I might clean up t=
his patch and submit a proper one.</div><div><br></div><div>1. The problem =
this patch is trying to solve:<br></div><div>Aegisub (guix install aegisub)=
, as it currently is, does not give any sound (at least on foreign distros)=
. The terminal output reads as follows, when a video file (with audio) is a=
dded into the program and an attempt is made at playing it: (Video is added=
 to aegisub by using &#39;Video &gt; Open Video...&#39;)<br></div><div>```<=
/div><div>ALSA lib conf.c:3683:(snd_config_hooks_call) Cannot open shared l=
ibrary libasound_module_conf_pulse.so (/gnu/store/zcjdb23gbhl0pcnvvm8rnlprk=
fl43cv5-alsa-lib-1.2.2/lib/alsa-lib/libasound_module_conf_pulse.so: libasou=
nd_module_conf_pulse.so: cannot open shared object file: No such file or di=
rectory)<br>ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default=
</div><div>```</div><div>The complaint being that it can&#39;t find libasou=
nd_module_conf_pulse.so. This .so comes from the guix package `alsa-plugins=
:pulseaudio`. The /gnu/store directory for it is something like /gnu/store/=
...-alsa-plugins-1.2.2-pulseaudio/lib/alsa-lib/libasound_module_conf_pulse.=
so. However, the .so file is being looked for inside of the /gnu/store path=
 to alsa-lib (/gnu/store/...-alsa-lib-1.2.2/lib/alsa-lib/libasound_module_c=
onf_pulse.so.</div><div><br></div><div>2. The Natural Solution:</div><div>S=
ince libasound_module_conf_pulse.so is supplied by `alsa-plugins:pulseaudio=
`, and the program is looking for it inside the path to alsa-lib (supplied =
by `alsa-lib`), union-build is a logical solution. This is what the patch i=
mplements.</div><div><br></div><div>3. Problem:</div><div>Despite this patc=
h being applied, it continues to look for the .so file inside the path to a=
lsa-lib and not the union-alsa. What is more, alsa-lib is not even in the i=
nputs. Only union-alsa is. And yet, it seems to be trying to use alsa-lib&#=
39;s /gnu/store path, which, the way I see it, violates guix&#39;s function=
al package management.</div><div><br></div><div>4. It&#39;s not guix, it&#3=
9;s me:</div><div>I&#39;m sure this is some mistake on my part. Hence, I su=
bmit the diff here for review.</div><div><br></div><div>P. S: The diff has =
changed a bit because I got this idea of moving out/lib/alsa-lib/* into out=
/lib/ just to see if that makes any difference. Only to realize a little to=
o late that it doesn&#39;t. But I send the diff with those changes included=
 because I didn&#39;t stash the previous (cleaner) one.<br></div></div>

--0000000000007fb6c405b0315d80--

--0000000000007fb6d605b0315d82
Content-Type: text/x-patch; charset="US-ASCII"; name="aegisub_alsa_pulseaudio.diff"
Content-Disposition: attachment; filename="aegisub_alsa_pulseaudio.diff"
Content-Transfer-Encoding: base64
Content-ID: <f_kfja5kfu0>
X-Attachment-Id: f_kfja5kfu0

ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy92aWRlby5zY20gYi9nbnUvcGFja2FnZXMvdmlkZW8u
c2NtCmluZGV4IDBmNzI3YTZlOWUuLjBlMDM3ZmIyNGIgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdl
cy92aWRlby5zY20KKysrIGIvZ251L3BhY2thZ2VzL3ZpZGVvLnNjbQpAQCAtMzgzNiw3ICszODM2
LDQxIEBAIHByb2dyYW1tZXJzIHRvIGFjY2VzcyBhIHN0YW5kYXJkIEFQSSB0byBvcGVuIGFuZCBk
ZWNvbXByZXNzIG1lZGlhIGZpbGVzLiIpCiAgICAgICAgKCJodW5zcGVsbCIgLGh1bnNwZWxsKQog
ICAgICAgICgibWVzYSIgLG1lc2EpCiAgICAgICAgKCJsaWJhc3MiICxsaWJhc3MpCi0gICAgICAg
KCJhbHNhLWxpYiIgLGFsc2EtbGliKQorICAgICAgICgiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlv
LXBsdWdpbiIKKyAgICAgICAgLChwYWNrYWdlCisgICAgICAgICAgIChpbmhlcml0IGFsc2EtbGli
KQorICAgICAgICAgICAobmFtZSAiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlvLXBsdWdpbiIpCisg
ICAgICAgICAgIChzb3VyY2UgI2YpCisgICAgICAgICAgIChidWlsZC1zeXN0ZW0gdHJpdmlhbC1i
dWlsZC1zeXN0ZW0pCisgICAgICAgICAgIChhcmd1bWVudHMKKyAgICAgICAgICAgIGAoIzptb2R1
bGVzICgoZ3VpeCBidWlsZCB1bmlvbikKKwkJICAgICAgICAgKGd1aXggYnVpbGQgdXRpbHMpKQor
ICAgICAgICAgICAgICAjOmJ1aWxkZXIKKyAgICAgICAgICAgICAgKGJlZ2luCisJICAgICAgICAo
dXNlLW1vZHVsZXMgKGljZS05IG1hdGNoKQorCQkgICAgICAgICAgICAgKGd1aXggYnVpbGQgdW5p
b24pCisJCSAgICAgICAgICAgICAoZ3VpeCBidWlsZCB1dGlscykpCisJICAgICAgICAobGV0ICgo
b3V0IChhc3NvYy1yZWYgJW91dHB1dHMgIm91dCIpKSkKKwkgICAgICAgICAgKG1hdGNoICVidWls
ZC1pbnB1dHMKKwkgICAgICAgICAgICAoKChuYW1lcyAuIGRpcmVjdG9yaWVzKSAuLi4pCisJICAg
ICAgICAgICAgICh1bmlvbi1idWlsZCBvdXQKKwkJCSAgICAgICAgICBkaXJlY3RvcmllcworCQkJ
ICAgICAgICAgICM6Y3JlYXRlLWFsbC1kaXJlY3Rvcmllcz8gI2YpCisJICAgICAgICAgICAgICN0
KSkKKwkgICAgICAgICAgOzsgZG8gc3R1ZmYgaGVyZQorCSAgICAgICAgICAoZmluZC1maWxlcyAo
c3RyaW5nLWFwcGVuZCBvdXQgIi9saWIvYWxzYS1saWIvIikKKwkJICAgICAgICAgICAgICAobGFt
YmRhIChmb3VuZCBzdGF0KQorCQkJICAgICAgICAoc3ltbGluay1yZWxhdGl2ZQorCQkJICAgICAg
ICAgZm91bmQKKwkJCSAgICAgICAgIChzdHJpbmctYXBwZW5kCisJCQkgICAgICAgICAgb3V0CisJ
CQkgICAgICAgICAgIi9saWIvIgorCQkJICAgICAgICAgIChiYXNlbmFtZSBmb3VuZCkpKQorCQkJ
ICAgICAgICAjdCkpKQorCSAgICAgICAgI3QpKSkKKyAgICAgICAgICAgKGlucHV0cworICAgICAg
ICAgICAgYCgoImFsc2EtbGliIiAsYWxzYS1saWIpCisgICAgICAgICAgICAgICgiYWxzYS1wbHVn
aW5zOnB1bHNlYXVkaW8iICxhbHNhLXBsdWdpbnMgInB1bHNlYXVkaW8iKSkpKSkKICAgICAgICAo
InB1bHNlYXVkaW8iICxwdWxzZWF1ZGlvKQogICAgICAgICgibGlieDExIiAsbGlieDExKQogICAg
ICAgICgiZnJlZXR5cGUiICxmcmVldHlwZSkK
--0000000000007fb6d605b0315d82--




Acknowledgement sent to Prafulla Giri <pratheblackdiamond@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#43628; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 28 Sep 2020 17:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.