From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 12:12:25 2020 Received: (at submit) by debbugs.gnu.org; 3 Apr 2020 16:12:25 +0000 Received: from localhost ([127.0.0.1]:43071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKOvh-0005XY-0S for submit@debbugs.gnu.org; Fri, 03 Apr 2020 12:12:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:37616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKOvf-0005XM-5k for submit@debbugs.gnu.org; Fri, 03 Apr 2020 12:12:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34590) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKOvd-0007LO-Ok for bug-guix@gnu.org; Fri, 03 Apr 2020 12:12:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKOvc-0002xw-O4 for bug-guix@gnu.org; Fri, 03 Apr 2020 12:12:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50321) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jKOvc-0002wn-8v for bug-guix@gnu.org; Fri, 03 Apr 2020 12:12:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E8326160063 for ; Fri, 3 Apr 2020 18:12:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1585930337; bh=4dRAG1x45mFe3xy9uxAZ/kP/8WDBLf+9XJASq9JYAwg=; h=From:To:Subject:Date:From; b=WJMPcwLbj0ILpS1edtV3YoBKNb+JXR3BHxPWD0JluQ8O4Sz+491Fs38FEF5/yAY69 cl40QMU4TGPiSQPAqzB2n9H5ZndXm7xW/dN0RvOGSS92DnlXCeKVOs5hHdifMwPdG6 0/lunHJsiXmjJhQO0UwY/SzSGnz4kpDJql5BpBwPNL2TQ3tUoGP8wrfv1A6n6sxa4V yw0BEebnr8krDVyj0QGqSTZQdJCdHQi8jXD3ZJvZUBtV1KRstHx1YLp74w55Au/6PY dk179Z5KWv/mJanGJ6xQ0UeA7sUYQy2zGRp/Mpe9pXjvpsYlNdVFSSc6PkUgqgoV8K +55AJqTUSNPSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48v4hK2JLSz6tmT for ; Fri, 3 Apr 2020 18:12:17 +0200 (CEST) From: Diego Nicola Barbato To: bug-guix@gnu.org Subject: emacs-telega: VoIP doesn't work Date: Fri, 03 Apr 2020 18:12:16 +0200 Message-ID: <87ftdk1rbz.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hey Guix, In Telega neither initiating nor accepting a voice call works: If I call someone (who has the Telegram App) they can accept the call, but the app gets stuck connecting. If either I or the other party hang up I get a bunch of assertion failures. If the other party tries to call me I can accept the call, but again their app gets stuck connecting. Hanging up has the same effect as before. Both actions leave Telega in a broken state (e.g. assertion failures when I try to enter a chat) and it has to be restarted. The following error messages in .telega/telega-voip.log seem relevant: --8<---------------cut here---------------start------------->8--- 04-01 20:04:04 E: Error loading libpulse: (null) 04-01 20:04:04 E: Error loading libasound: (null) 04-01 20:04:04 E: Error loading libasound: (null) 04-01 20:04:04 E: Error initializing audio playback --8<---------------cut here---------------end--------------->8--- I'm currently on commit 151f3d4. Regards, Diego From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 12:30:13 2020 Received: (at 40408) by debbugs.gnu.org; 3 Apr 2020 16:30:14 +0000 Received: from localhost ([127.0.0.1]:43103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKPCv-0006pi-Ii for submit@debbugs.gnu.org; Fri, 03 Apr 2020 12:30:13 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKPCt-0006f8-Mq for 40408@debbugs.gnu.org; Fri, 03 Apr 2020 12:30:12 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id AC70C5C0079; Fri, 3 Apr 2020 12:30:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 03 Apr 2020 12:30:05 -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=gBLK6Nt4oJ/HpwhWkVXggHvx MvLWHw+oDABTEvIsF8A=; b=f2dikEylwpLueCZfC/06HyuiS2YXm9ogo/OTW0bu mYdlzpDt296fg3DHgAISpFO7qkoMlhlV2fGXxo4gpDW1YfKg7WNdxrMwfc/kQ5+y KKw7WRtFDRYt6p1jZR4ZuKK8r5ZFy1U6t7I9jWXv3DQzVVLyCLRkEevQ1PMbRmtv 4HQ= 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=fm2; bh=gBLK6N t4oJ/HpwhWkVXggHvxMvLWHw+oDABTEvIsF8A=; b=q/nB4YtJjbjRN+NpZFEGFU oLf/v3RareLsq2bZcRjyxLH6wQ3AmuSdTLpxswhx3U9nygCchtBGv5fXUYqe01JB gULfw3pBfD/k+rIWqSG0XfRM2pncIyfqdY6u8X2AIOLHd1NuXx92jXdQeaQ4VV9e QJTySf0jT7hqm04DdiCj7AQeENl9EN9aevjvsbpQAxZhwfuHVYc1OSDgPknmdD3z GNqQl7Szrl0CybNe/2/gDU5eE2Uo5s9QqoUjtnwiQhXD0tZy6muMJUM8+qTbQTxf DUHPgsXIuLeqL4WrwSNH67mgQYdpggI4LvilKvfr3z/fN4TEK4nV8I7kpU7OEMhA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtdeigddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucfkphepjeeird duvdegrddufeekrdeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 0F065328006A; Fri, 3 Apr 2020 12:30:05 -0400 (EDT) Date: Fri, 3 Apr 2020 12:30:02 -0400 From: Leo Famulari To: Diego Nicola Barbato Subject: Re: bug#40408: emacs-telega: VoIP doesn't work Message-ID: <20200403163002.GB3560@jasmine.lan> References: <87ftdk1rbz.fsf@GlaDOS.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ftdk1rbz.fsf@GlaDOS.home> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40408 Cc: 40408@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, Apr 03, 2020 at 06:12:16PM +0200, Diego Nicola Barbato wrote: > The following error messages in .telega/telega-voip.log seem relevant: > > --8<---------------cut here---------------start------------->8--- > 04-01 20:04:04 E: Error loading libpulse: (null) > 04-01 20:04:04 E: Error loading libasound: (null) > 04-01 20:04:04 E: Error loading libasound: (null) > 04-01 20:04:04 E: Error initializing audio playback > --8<---------------cut here---------------end--------------->8--- I'd guess those libraries should be dependencies of this package. I would move it to the telephony module as well. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 08 08:55:19 2020 Received: (at 40408) by debbugs.gnu.org; 8 Apr 2020 12:55:19 +0000 Received: from localhost ([127.0.0.1]:51510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMAEd-00014V-GY for submit@debbugs.gnu.org; Wed, 08 Apr 2020 08:55:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMAEb-00014E-6j for 40408@debbugs.gnu.org; Wed, 08 Apr 2020 08:55:14 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C5EED160063 for <40408@debbugs.gnu.org>; Wed, 8 Apr 2020 14:55:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1586350506; bh=/ep6FYD0u0+LH4VbwlCExjvEtC2jBJKoYPLt/fP1NLo=; h=From:To:Cc:Subject:Date:From; b=ONUYOlfkkTzlUTaPAMA2cFJblZZvJnychYc0HrJAkW9IGuayUTEI2bZQq4lqL7ry+ 2caovWwLivrA0vLq6PCbqijW4+Je5u4WlJH/HrTwdOy1AIHpGX9pYv7xRbODJP3iPe wXtv2C6D+8kzkkw/l/GIEm81WQyR9Em0wmaY3UUReSRI79RXyhwX5saIZ4JZ+p6WPH 0TItPQiuqRclKs3TKjuwCBq6EMz2H5sTFgwEF8a06zhqI1zdenCZaO2A1KLLhmOSCD awdVb2VCp6F4WpcBKcMUaDo/2A+j1INzJzYurAtcTW10EfhRe6egRYi3Bs9RfZp8PA DMIxLRCqLaQ9A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48y44T62h9z6tmY; Wed, 8 Apr 2020 14:55:05 +0200 (CEST) From: Diego Nicola Barbato To: Leo Famulari Subject: Re: bug#40408: emacs-telega: VoIP doesn't work References: <87ftdk1rbz.fsf@GlaDOS.home> <20200403163002.GB3560@jasmine.lan> Date: Wed, 08 Apr 2020 14:55:05 +0200 In-Reply-To: <20200403163002.GB3560@jasmine.lan> (Leo Famulari's message of "Fri, 3 Apr 2020 12:30:02 -0400") Message-ID: <87lfn6xhli.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40408 Cc: 40408@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Hi, Leo Famulari writes: > On Fri, Apr 03, 2020 at 06:12:16PM +0200, Diego Nicola Barbato wrote: >> The following error messages in .telega/telega-voip.log seem relevant: >> >> --8<---------------cut here---------------start------------->8--- >> 04-01 20:04:04 E: Error loading libpulse: (null) >> 04-01 20:04:04 E: Error loading libasound: (null) >> 04-01 20:04:04 E: Error loading libasound: (null) >> 04-01 20:04:04 E: Error initializing audio playback >> --8<---------------cut here---------------end--------------->8--- > > I'd guess those libraries should be dependencies of this package. I > would move it to the telephony module as well. Turns out the libraries are dependencies of libtgvoip. It tries to dlopen them, but doesn't find them. I've attached a patch to fix that. Unfortunately VoIP still doesn't work in Telega (it still fails in the same way as before, except that there are no more error messages in .telega/telega-voip.log). It looks like that's a separate, unrelated issue. Regards, Diego --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-libtgvoip-Fix-loading-of-shared-libraries.patch >From f63cf832869bee91f3f6e87c076bd1e39d32c285 Mon Sep 17 00:00:00 2001 From: Diego Nicola Barbato Date: Sat, 4 Apr 2020 19:36:31 +0200 Subject: [PATCH] gnu: libtgvoip: Fix loading of shared libraries. Fixes . * gnu/packages/telephony.scm (libtgvoip)[arguments]<#:phases>[patch-dlopen]: New phase. --- gnu/packages/telephony.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index f64cdd3fb2..f73efb0deb 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -1046,6 +1046,23 @@ This package provides the Jami client for the GNOME desktop.") ("libopusenc" ,libopusenc) ("openssl" ,openssl) ("pulseaudio" ,pulseaudio))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; libtgvoip wants to dlopen libpulse and libasound, so tell it where + ;; they are. + (add-after 'unpack 'patch-dlopen + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "os/linux/AudioPulse.cpp" + (("libpulse\\.so") + (string-append (assoc-ref inputs "pulseaudio") + "/lib/libpulse.so"))) + (substitute* '("os/linux/AudioInputALSA.cpp" + "os/linux/AudioOutputALSA.cpp") + (("libasound\\.so") + (string-append (assoc-ref inputs "alsa-lib") + "/lib/libasound.so"))) + #t))))) (synopsis "VoIP library for Telegram clients") (description "A collection of libraries and header files for implementing telephony functionality into custom Telegram clients.") -- 2.26.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 22:09:53 2020 Received: (at 40408) by debbugs.gnu.org; 8 Aug 2020 02:09:53 +0000 Received: from localhost ([127.0.0.1]:57792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4EIu-0006XW-Re for submit@debbugs.gnu.org; Fri, 07 Aug 2020 22:09:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4EIr-0006X6-3H for 40408@debbugs.gnu.org; Fri, 07 Aug 2020 22:09:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38903) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4EIl-0005t2-Nt; Fri, 07 Aug 2020 22:09:39 -0400 Received: from [2605:6000:1a0d:48fb::e9] (port=47970 helo=lenovo-t430) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k4EIl-0005Sg-8f; Fri, 07 Aug 2020 22:09:39 -0400 From: Brett Gilio To: Diego Nicola Barbato Subject: Re: bug#40408: emacs-telega: VoIP doesn't work References: <87ftdk1rbz.fsf@GlaDOS.home> <20200403163002.GB3560@jasmine.lan> <87lfn6xhli.fsf@GlaDOS.home> Date: Fri, 07 Aug 2020 21:09:54 -0500 In-Reply-To: <87lfn6xhli.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Wed, 08 Apr 2020 14:55:05 +0200") Message-ID: <877du9dh1p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40408 Cc: 40408@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Diego Nicola Barbato writes: > Hi, > > Leo Famulari writes: > >> On Fri, Apr 03, 2020 at 06:12:16PM +0200, Diego Nicola Barbato wrote: >>> The following error messages in .telega/telega-voip.log seem relevant: >>> >>> --8<---------------cut here---------------start------------->8--- >>> 04-01 20:04:04 E: Error loading libpulse: (null) >>> 04-01 20:04:04 E: Error loading libasound: (null) >>> 04-01 20:04:04 E: Error loading libasound: (null) >>> 04-01 20:04:04 E: Error initializing audio playback >>> --8<---------------cut here---------------end--------------->8--- >> >> I'd guess those libraries should be dependencies of this package. I >> would move it to the telephony module as well. > > Turns out the libraries are dependencies of libtgvoip. It tries to > dlopen them, but doesn't find them. I've attached a patch to fix that. > Unfortunately VoIP still doesn't work in Telega (it still fails in the > same way as before, except that there are no more error messages in > .telega/telega-voip.log). It looks like that's a separate, unrelated > issue. > > Regards, > > Diego > >>>From f63cf832869bee91f3f6e87c076bd1e39d32c285 Mon Sep 17 00:00:00 2001 > From: Diego Nicola Barbato > Date: Sat, 4 Apr 2020 19:36:31 +0200 > Subject: [PATCH] gnu: libtgvoip: Fix loading of shared libraries. > > Fixes . > > * gnu/packages/telephony.scm (libtgvoip)[arguments]<#:phases>[patch-dlopen]: > New phase. > --- > gnu/packages/telephony.scm | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm > index f64cdd3fb2..f73efb0deb 100644 > --- a/gnu/packages/telephony.scm > +++ b/gnu/packages/telephony.scm > @@ -1046,6 +1046,23 @@ This package provides the Jami client for the GNOME desktop.") > ("libopusenc" ,libopusenc) > ("openssl" ,openssl) > ("pulseaudio" ,pulseaudio))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + ;; libtgvoip wants to dlopen libpulse and libasound, so tell it where > + ;; they are. > + (add-after 'unpack 'patch-dlopen > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "os/linux/AudioPulse.cpp" > + (("libpulse\\.so") > + (string-append (assoc-ref inputs "pulseaudio") > + "/lib/libpulse.so"))) > + (substitute* '("os/linux/AudioInputALSA.cpp" > + "os/linux/AudioOutputALSA.cpp") > + (("libasound\\.so") > + (string-append (assoc-ref inputs "alsa-lib") > + "/lib/libasound.so"))) > + #t))))) > (synopsis "VoIP library for Telegram clients") > (description "A collection of libraries and header files for implementing > telephony functionality into custom Telegram clients.") Hi all, I apologize for the late response to this message. When it was sent I was on haitus. I am a co-maintainer for emacs-telega upstream along with Evgeny Zajcev. Currently the functionality for VoIP is broken, and has been disabled in the emacs-telega package for the time being. However, I believe you have patched a bug with the libtgvoip package that caused erroneous linkage to the system libraries on foreign distributions causing a runtime issue with the telega server. So, I will investigate your patch, and apply it so that when the time comes and VoIP functionality is re-enabled we can prevent this issue! Thank you, I will forward this along to Evgeny as well. Brett Gilio From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 22:15:11 2020 Received: (at 40408-close) by debbugs.gnu.org; 8 Aug 2020 02:15:11 +0000 Received: from localhost ([127.0.0.1]:57803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4EO7-0006ga-41 for submit@debbugs.gnu.org; Fri, 07 Aug 2020 22:15:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4EO5-0006gL-OX for 40408-close@debbugs.gnu.org; Fri, 07 Aug 2020 22:15:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38955) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4EO0-0006P4-Df; Fri, 07 Aug 2020 22:15:04 -0400 Received: from [2605:6000:1a0d:48fb::e9] (port=48060 helo=lenovo-t430) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k4ENz-0005oh-Jl; Fri, 07 Aug 2020 22:15:04 -0400 From: Brett Gilio To: Diego Nicola Barbato Subject: Re: bug#40408: emacs-telega: VoIP doesn't work References: <87ftdk1rbz.fsf@GlaDOS.home> <20200403163002.GB3560@jasmine.lan> <87lfn6xhli.fsf@GlaDOS.home> Date: Fri, 07 Aug 2020 21:15:21 -0500 In-Reply-To: <87lfn6xhli.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Wed, 08 Apr 2020 14:55:05 +0200") Message-ID: <874kpddgsm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40408-close Cc: 40408-close@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Diego Nicola Barbato writes: > >>>From f63cf832869bee91f3f6e87c076bd1e39d32c285 Mon Sep 17 00:00:00 2001 > From: Diego Nicola Barbato > Date: Sat, 4 Apr 2020 19:36:31 +0200 > Subject: [PATCH] gnu: libtgvoip: Fix loading of shared libraries. > > Fixes . > > * gnu/packages/telephony.scm (libtgvoip)[arguments]<#:phases>[patch-dlopen]: > New phase. > --- > gnu/packages/telephony.scm | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm > index f64cdd3fb2..f73efb0deb 100644 > --- a/gnu/packages/telephony.scm > +++ b/gnu/packages/telephony.scm > @@ -1046,6 +1046,23 @@ This package provides the Jami client for the GNOME desktop.") > ("libopusenc" ,libopusenc) > ("openssl" ,openssl) > ("pulseaudio" ,pulseaudio))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + ;; libtgvoip wants to dlopen libpulse and libasound, so tell it where > + ;; they are. > + (add-after 'unpack 'patch-dlopen > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "os/linux/AudioPulse.cpp" > + (("libpulse\\.so") > + (string-append (assoc-ref inputs "pulseaudio") > + "/lib/libpulse.so"))) > + (substitute* '("os/linux/AudioInputALSA.cpp" > + "os/linux/AudioOutputALSA.cpp") > + (("libasound\\.so") > + (string-append (assoc-ref inputs "alsa-lib") > + "/lib/libasound.so"))) > + #t))))) > (synopsis "VoIP library for Telegram clients") > (description "A collection of libraries and header files for implementing > telephony functionality into custom Telegram clients.") This patch was applied in 580414376b03f2430050f8b5405631f4d7e7e8e3. Closing. From unknown Sun Jun 22 00:22:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 05 Sep 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator