From patchwork Mon Mar 29 18:47:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 28176 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8781727BC63; Mon, 29 Mar 2021 19:48:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 121C727BC64 for ; Mon, 29 Mar 2021 19:48:09 +0100 (BST) Received: from localhost ([::1]:48522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQwvo-0001xY-8j for patchwork@mira.cbaines.net; Mon, 29 Mar 2021 14:48:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQwvh-0001xS-Si for guix-patches@gnu.org; Mon, 29 Mar 2021 14:48:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQwvh-0006h1-LA for guix-patches@gnu.org; Mon, 29 Mar 2021 14:48:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQwvh-0000at-Js for guix-patches@gnu.org; Mon, 29 Mar 2021 14:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47274] Linphone Packages Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Mar 2021 18:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47274 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 47274@debbugs.gnu.org Received: via spool by 47274-submit@debbugs.gnu.org id=B47274.16170436422238 (code B ref 47274); Mon, 29 Mar 2021 18:48:01 +0000 Received: (at 47274) by debbugs.gnu.org; 29 Mar 2021 18:47:22 +0000 Received: from localhost ([127.0.0.1]:49589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQwv4-0000a1-Bk for submit@debbugs.gnu.org; Mon, 29 Mar 2021 14:47:22 -0400 Received: from out1.migadu.com ([91.121.223.63]:51191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQwuz-0000Zp-Px for 47274@debbugs.gnu.org; Mon, 29 Mar 2021 14:47:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1617043635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=y83J7XOmCdGQkn0hXWZUrMwqFKOKQ/6MWzFmr1uycxw=; b=ckPZk73xBvOHvwR5oUd7ExBvI+OsnKvQQwtSymxqSqATYnCjMu9clN8dH5seLy1xR10yK2 FkUCrh/kxsNIRP5ZU62sBAqFv0DNpb3EnTdSPNHNnD5EwXYApe53taxTIFSDm8MSesDN9M 3YKTBl1w3XSBj19eV6qZZWUl6RUKcXajWqxWjyskeiCLHZ3/Aws3UyTb+S/wHU6hggP9GO oybXdogjMpF77JLTTDZDQR/bC6aRSurCS1Mg9g8U67gbw09zhoe5A9EEI+7qzeQ/iRpnN6 zI5AQu78VVwsIS9UYOtITTKkrj8PiFybGijO4siPa625xxho0iTnknbPlvUlJw== References: <2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name> <947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name> <66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name> <26fe14fd-bd97-44fd-5101-26fe608e2e2a@raghavgururajan.name> <871rbyd2t7.fsf_-_@gmail.com> <804f8013-7ceb-77d0-b31b-69e4edd6215b@raghavgururajan.name> <87mtulbyao.fsf@gmail.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Message-ID: <9944d20f-23f1-6fcf-ac63-34f2b359e750@raghavgururajan.name> Date: Mon, 29 Mar 2021 14:47:13 -0400 MIME-Version: 1.0 In-Reply-To: <87mtulbyao.fsf@gmail.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches Hi Maxim! > Yes! Both running the binary directly from the store or in a pure > environment, multiple times have worked after the above change. Do you > experience failures still? Yes! Connection to linphone account fails due to missing /share/linphone/rootca.pem and loading of codecs fails due to missing /lib. I have fixed them in the attached patch. Could you merge it please? Thank you! Regards, RG. From a974271757ea113e9b757c2f520273e774134b6a Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 29 Mar 2021 03:19:09 -0400 Subject: [PATCH] gnu: linphone-desktop: Fix functionality. * gnu/packages/linphone.scm (linphone-desktop)[phases](post-install): Modify phase. --- gnu/packages/linphone.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index 2107560aa0..deda49a4bc 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -839,10 +839,14 @@ and video calls or instant messaging capabilities to an application.") ;; Remove unnecessary Qt configuration file. (delete-file (string-append out "/bin/qt.conf")) ;; Not using the FHS exposes an issue where the client - ;; refers to its own "share" directory, which lacks files + ;; refers to its own directories, which lacks files ;; installed by the dependencies. + (symlink (string-append liblinphone "/lib") + (string-append out "/lib")) (symlink (string-append liblinphone "/share/sounds") (string-append out "/share/sounds")) + (symlink (string-append liblinphone "/share/linphone/rootca.pem") + (string-append out "/share/linphone/rootca.pem")) (mkdir-p (dirname grammar-dest)) (symlink (string-append liblinphone "/share/belr/grammars") grammar-dest))))))) -- 2.31.1