From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IIc/KI7DuWS5lQAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 01:30:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0PFmJ47DuWTjYAAAG6o9tA (envelope-from ) for ; Fri, 21 Jul 2023 01:30:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 47AD465252 for ; Fri, 21 Jul 2023 01:30:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=UAycH2Ty; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689895822; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qDTZAdIHMkk5bvwGoOHCXW5JxaUQDJDjPqDcP2s65e8=; b=qInMJIBexTh+gc3NeyifmU0QvF/OpCUMOa8tPNv0T1StY3uNSYzsFcj3/S5r2jKp2+Dw6H adJ1cBUDi25Z0qOlWLc5FlT0Ix4/DuBsABLR80JSqPoIVyQM0d9m3Ho0cKy95kMNdB+ezA w6YoKcOCzG3o0tGLvEdkAxiZxmJlWvPt4ydN6X2h2+wIO4QCaxJ5c+TLsZCV6wekG7vNYX tG7hMqxVEeFv4vMMklMyqn/TCy/ICzly8WUl6p7/U0hgi8nBP/0UACmmXmconkoVbtk8iS T+QvAUxNamBth9SQDXV7f+OWuVUhcmT88r87r+EvAoPosc5kxp7dyU13HFSyTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=UAycH2Ty; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689895822; a=rsa-sha256; cv=none; b=rlozbmZ68u1it+jdZqZ7jStZUdXe9aAVg854uSbvva7DgT0/bVwEvJn4pdyKtUn6U6quNx lL8kqkP1PN/+mpf12ZASXuzSyQuvfbmvmol0WEArz8brHGD0E9rGHIlCrejLWNLl7BrYIH zqDARvpWeWpHeDstSvBLtJd2igMuCKF9Xhcs706jB3liSSmNvnexzqlMTmQLHIeX3E86A2 HWZ56eRtBUicmxRoVrTn9XfA8T+GrMo8U7VfZjgSfjgzx/uhffTYUo3utMgjYThC9jl/0E 8babA9o8KL32pC2ia7mvidJ+9VVFXFpCHGNJea451ED8sQkJr0DCVGSX3/iaXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMd65-0001IP-3S; Thu, 20 Jul 2023 19:30:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMd62-0001IG-8t for guix-patches@gnu.org; Thu, 20 Jul 2023 19:30:10 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMd61-0006Vg-TX for guix-patches@gnu.org; Thu, 20 Jul 2023 19:30:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMd5u-0007qi-Jj; Thu, 20 Jul 2023 19:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64748] [PATCH v2] gnu: webrtc-for-telegram-desktop: Update to a45d8b8 References: <20230720171841.31901-1-distopico@riseup.net> In-Reply-To: <20230720171841.31901-1-distopico@riseup.net> Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: rg@raghavgururajan.name, hako@ultrarare.space, saku@laesvuori.fi, guix-patches@gnu.org Resent-Date: Thu, 20 Jul 2023 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64748 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64748@debbugs.gnu.org Cc: Distopico , rg@raghavgururajan.name, hako@ultrarare.space, saku@laesvuori.fi X-Debbugs-Original-Xcc: rg@raghavgururajan.name, hako@ultrarare.space, saku@laesvuori.fi Received: via spool by 64748-submit@debbugs.gnu.org id=B64748.168989574630084 (code B ref 64748); Thu, 20 Jul 2023 23:30:02 +0000 Received: (at 64748) by debbugs.gnu.org; 20 Jul 2023 23:29:06 +0000 Received: from localhost ([127.0.0.1]:60190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMd4z-0007p9-FS for submit@debbugs.gnu.org; Thu, 20 Jul 2023 19:29:05 -0400 Received: from mx1.riseup.net ([198.252.153.129]:45840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMd4u-0007oc-M2 for 64748@debbugs.gnu.org; Thu, 20 Jul 2023 19:29:03 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R6TQv0QxRzDqKr for <64748@debbugs.gnu.org>; Thu, 20 Jul 2023 23:28:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1689895735; bh=deesPfLVJSS5JT77fAurOCVkj2CoSYLTx/ywesaaRgE=; h=From:To:Cc:Subject:Date:From; b=UAycH2TyRxMaGwQvNHOHoN2ZmeQckYn1BuVWUTKA+Wwe5FdBMBngMKcXcKpLLHB6Z p3oIGBUlu60Hm++D2IKYmMOCw8oPVf+PlJmDhgkuH+kPqCROrWF7PyC1qReRQFNxGa M0PePM29EBd4CIvEPYWPwgcF6BlNRGU01bp10ay4= X-Riseup-User-ID: EE551987009BDE17E3E2012C07CBA35773691132515D1BE3E385EF2AACF8CF7A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R6TQt2ZsDzJn1j; Thu, 20 Jul 2023 23:28:54 +0000 (UTC) From: Distopico Date: Thu, 20 Jul 2023 18:26:59 -0500 Message-ID: <20230720232843.17471-1-distopico@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 3.75 X-Migadu-Queue-Id: 47AD465252 X-Migadu-Spam-Score: 3.75 X-Migadu-Scanner: mx0.migadu.com X-TUID: NGitjoXoKvex Fixes telegram-desktop call not working with openSSL 3 Add libsrtp-for-telegram-desktop because webrtc (tg_owt) now use `libsrtp` as submodule and in the code use code source directly from the submodule. see: https://github.com/telegramdesktop/tdesktop/issues/26108 * gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Update to a45d8b8 revision commit * gnu/packages/telegram.scm (libsrtp-for-telegram-desktop): Add libsrtp a566a9 revision commit --- Add more context about the change in the commit message gnu/packages/telegram.scm | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index aa01c2f692..aeab249198 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2022 Hilton Chain ;;; Copyright © 2023 Saku Laesvuori +;;; Copyright © 2023 Camilo Q.S. (Distopico) ;;; ;;; This file is part of GNU Guix. ;;; @@ -96,6 +97,21 @@ (define libyuv-for-telegram-desktop (base32 "0mm56p8iapfild2xdw4w8zi35c3xm06fgagiali644gnxdmnym6c"))))) +(define libsrtp-for-telegram-desktop + (let ((commit "a566a9cfcd619e8327784aa7cff4a1276dc1e895") + (revision "1494")) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cisco/libsrtp") + (commit commit))) + (file-name (git-file-name + "libsrtp-for-telegram-desktop" + (git-version "0" revision commit))) + (sha256 + (base32 + "1ichw2v9s2mggi5p2wbbmlg55q4r48dxi3ks7ykfcfkmh7pb1w1s"))))) + (define cmake-helpers-for-telegram-desktop (origin (method git-fetch) @@ -265,8 +281,8 @@ (define tgcalls-for-telegram-desktop "193m2gkvipijqbfd6a8mhg9nd63wlnshzgspk3pip57vk21l709z")))) (define-public webrtc-for-telegram-desktop - (let ((commit "5098730b9eb6173f0b52068fe2555b7c1015123a") - (revision "328")) + (let ((commit "a45d8b8f0a99bd0e5118dda1dc4a8b7b3ad5dcfd") + (revision "388")) (hidden-package (package (name "webrtc-for-telegram-desktop") @@ -282,14 +298,14 @@ (define-public webrtc-for-telegram-desktop (file-name (git-file-name name version)) (sha256 - (base32 "1lk54zlrff59rj5k9dylsgz4sdds4728psrk8m3v9qn5y8d6z8qy")) + (base32 "1qs3ikkd6l56brj40cv6wlhx5gj5avisj9mj8ypjfwcyw9hb2n5y")) (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1))) (snippet #~(begin (let ((keep - '("libsrtp" "rnnoise" + '("rnnoise" "libsrtp_config" ;; Not available in Guix. "pffft"))) (with-directory-excursion "src/third_party" @@ -311,9 +327,12 @@ (define-public webrtc-for-telegram-desktop (add-after 'unpack 'unpack-additional-sources (lambda _ (let* ((third-party (string-append (getcwd) "/src/third_party")) - (libyuv-to (string-append third-party "/libyuv"))) + (libyuv-to (string-append third-party "/libyuv")) + (libsrtp-to (string-append third-party "/libsrtp"))) (copy-recursively #$libyuv-for-telegram-desktop - libyuv-to))))))) + libyuv-to) + (copy-recursively #$libsrtp-for-telegram-desktop + libsrtp-to))))))) (native-inputs (list pkg-config python-wrapper yasm)) (inputs (list abseil-cpp-cxxstd17 base-commit: 13cb9b302868b5a966a6ae177412c474084f4bf1 -- 2.41.0