From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8D4SDwwIKGPeoAAAbAwnHQ (envelope-from ) for ; Mon, 19 Sep 2022 08:11:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kB01DgwIKGNBVAEAG6o9tA (envelope-from ) for ; Mon, 19 Sep 2022 08:11:24 +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 99B553AEDC for ; Mon, 19 Sep 2022 08:11:20 +0200 (CEST) Received: from localhost ([::1]:45124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oa9zz-00086D-Ob for larch@yhetil.org; Mon, 19 Sep 2022 02:11:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oa9zi-0007vH-Vm for guix-patches@gnu.org; Mon, 19 Sep 2022 02:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oa9zi-0005pJ-N6 for guix-patches@gnu.org; Mon, 19 Sep 2022 02:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oa9zi-0002So-I0 for guix-patches@gnu.org; Mon, 19 Sep 2022 02:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57675] [PATCH v4 01/10] gnu: webrtc-for-telegram-desktop: Simplify inputs. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Sep 2022 06:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57675@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 57675-submit@debbugs.gnu.org id=B57675.16635678609455 (code B ref 57675); Mon, 19 Sep 2022 06:11:02 +0000 Received: (at 57675) by debbugs.gnu.org; 19 Sep 2022 06:11:00 +0000 Received: from localhost ([127.0.0.1]:51897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa9zg-0002SR-0C for submit@debbugs.gnu.org; Mon, 19 Sep 2022 02:11:00 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:45364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa9ze-0002SE-9C for 57675@debbugs.gnu.org; Mon, 19 Sep 2022 02:10:58 -0400 Date: Mon, 19 Sep 2022 14:10:41 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1663567852; 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=xOhnYxcxstFpvSU5iW6JgVjbCad1os/2cTYDmeQo628=; b=2rmOxsHGeCaQVN9RKDiUOJtOaOu1uDG/rdnKx3Ee9Wluf7+xnxFsp1QVHgvR3SxxBuGdfZ XXJuG5kfH4/JOlAIwh8cNNQo9MEa/ZwjvML3x7uBSbJRziMudZGgB3P2IAzXj+1qndEpTk XOP+IAsh8V/vNSgV88EDNWzrcg1XYG8BzsaD1DqWGtt8MrK8fVEPBJfMLzkyqCXFhBwDZl V/wlu2fc80VGuF8vG78ZctKv5DSCQFSqpNJd4RxbW5UdqWSbKVSkLL2dthZW6vPWU64NSm gjos+4VutwsSAARge7IUxl453ZfjQvvJl6LmKivZ6xEknSMalShHMHIKbmtEAQ== Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / 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" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663567881; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=xOhnYxcxstFpvSU5iW6JgVjbCad1os/2cTYDmeQo628=; b=c1/BLSvpivAoI2U60XhO8VtAzErzXGCWVXYkcdXsXzAZz9wIZGVSG7GKaZJKvo26WhDxNf ZGSi8NJvVrE6S9juWUnhEDf3sLpB/034lIyaIWT9eAGI04xgnvs+0/9emebX7U95NFqNWa 2cE3TBdCh0V0+FmcUd2R7wAP24HxtOggo0ebZzddgcMROqupHG0tYalG9A6TYufYn0COl0 BaHxrYIlQiv60nB9W9gYNLKUcd2HVtvfRnfgbN205t5WCJPHxcsiNesF6BLdlq1iXrs3W2 koS07Q54cM+8Def67h17otH/1PiHNFCXcsMU+aM8a9AW2jvet+m1rZNpMrxUeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663567881; a=rsa-sha256; cv=none; b=m1sPodewt/Fsgq47/ROjyy/IZDSuGVJYJHpaNxM/ufzEgGKNngrfDf2zhZBomqtQuFxipC oReEkRnHkMT2ndnso0/Ypg2V+dBJxCNiVCRuqo5DtE4dN4qEf0wBjEiyNqIQkOi68izp24 TdcFX3hHX1A+Zk5whI5RNTeXrs2ZR1etYfWbLj7go1W1g1SLTxEEV+zZhqwPR6bNib4GVR VXHSni7pXQ6mHZGH108j80omDIzQywy/GTTOoUGJSfIX4xGRvQYsZyivpVyGeH+DejD7Em hxBa+lbx6ztKmsB/wc+x+vd4PWa+pCGI4QjspX59bKHZ1q9EIoqZZmOyC3G2EQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=2rmOxsHG; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=2rmOxsHG; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 99B553AEDC X-Spam-Score: -4.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: kLTG8qONri5/ * gnu/packages/telegram.scm (webrtc-for-telegram-desktop)[source,#:phases]: Remove unneeded #t. [native-inputs,inputs]: Simplify inputs. --- gnu/packages/telegram.scm | 93 +++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 47 deletions(-) diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index 1a22d230d2..3a46ab086c 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -106,8 +106,7 @@ (define-public webrtc-for-telegram-desktop (for-each delete-file-recursively (lset-difference string=? (scandir ".") - (cons* "." ".." keep)))) - #t))))) + (cons* "." ".." keep))))))))) (build-system cmake-build-system) (arguments `(#:tests? #f ; No target @@ -126,52 +125,52 @@ (define-public webrtc-for-telegram-desktop (libyuv-to (string-append (getcwd) "/src/third_party/libyuv"))) (copy-recursively libvpx-from libvpx-to) - (copy-recursively libyuv-from libyuv-to)) - #t))))) - (native-inputs - `(("perl" ,perl) - ("pkg-config" ,pkg-config) - ("python" ,python-wrapper) - ("yasm" ,yasm))) + (copy-recursively libyuv-from libyuv-to))))))) + (native-inputs (list perl pkg-config python-wrapper yasm)) (inputs - `(("alsa" ,alsa-lib) - ("ffmpeg" ,ffmpeg) - ("libjpeg" ,libjpeg-turbo) - ("glib" ,glib) - ("libvpx" - ,(origin - (method git-fetch) - (uri - (git-reference - (url "https://chromium.googlesource.com/webm/libvpx") - (commit "5b63f0f821e94f8072eb483014cfc33b05978bb9"))) - (file-name - (git-file-name "libvpx-for-webrtc-for-telegram-desktop" version)) - (sha256 - (base32 "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))) - ("libyuv" - ,(origin - (method git-fetch) - (uri - (git-reference - (url "https://chromium.googlesource.com/libyuv/libyuv") - (commit "ad890067f661dc747a975bc55ba3767fe30d4452"))) - (file-name - (git-file-name "libyuv-for-webrtc-for-telegram-desktop" version)) - (sha256 - (base32 "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))) - ("libxcomposite" ,libxcomposite) - ("libxdamage" ,libxdamage) - ("libxrender" ,libxrender) - ("libxrandr" ,libxrandr) - ("openssl" ,openssl) - ("opus" ,opus) - ("pipewire" ,pipewire) - ("protobuf" ,protobuf) - ("pulseaudio" ,pulseaudio) - ("x11" ,libx11) - ("xext" ,libxext) - ("xtst" ,libxtst))) + (modify-inputs + `(("libvpx" + ,(origin + (method git-fetch) + (uri + (git-reference + (url "https://chromium.googlesource.com/webm/libvpx") + (commit "5b63f0f821e94f8072eb483014cfc33b05978bb9"))) + (file-name + (git-file-name + "libvpx-for-webrtc-for-telegram-desktop" version)) + (sha256 + (base32 + "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68")))) + ("libyuv" + ,(origin + (method git-fetch) + (uri + (git-reference + (url "https://chromium.googlesource.com/libyuv/libyuv") + (commit "ad890067f661dc747a975bc55ba3767fe30d4452"))) + (file-name + (git-file-name + "libyuv-for-webrtc-for-telegram-desktop" version)) + (sha256 + (base32 + "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll"))))) + (append alsa-lib + ffmpeg + libjpeg-turbo + glib + libxcomposite + libxdamage + libxrender + libxrandr + openssl + opus + pipewire + protobuf + pulseaudio + libx11 + libxext + libxtst))) (synopsis "WebRTC support for Telegram Desktop") (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by Telegram project, for its use in telegram desktop client.") -- 2.37.3