From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 GGGoOP1qBGQZ1AAAbAwnHQ (envelope-from ) for ; Sun, 05 Mar 2023 11:12:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MCexOP1qBGQVhAAA9RJhRA (envelope-from ) for ; Sun, 05 Mar 2023 11:12:13 +0100 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 6A8D214D63 for ; Sun, 5 Mar 2023 11:12:13 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678011133; 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: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; bh=cvtktFQ3j8dHXyuoA38OZrWzpgBjhwyS9HU6bTP9lQs=; b=jpwbUIzvngVKeRS0UXxNh7PC8YHX9u/Bx5iQtv3yunDCr/b+MpKDf48k8FK4iv55Vitp4Y U0MabaVrp0tmBWyt7425uQxdqaqBjHlR4j1yuJniHZD/NGVI039Pu7bsuB+/wDAwfYk/cy mTj6ojSJJVZdzcPmtk7bwkBxUht1MG/6kUAKphSfchUB59ToU3qoQNyAojmEnIbesvozJG 0Hczrc3s9RcRgy5U1F1sLp5dC6fVnvgi6xnfH3H8ao6MehH4BUMqBhpi9TyPgu+hnWNVpz eH9ZKxwJrm4e0bweEStjHDms3xYzLIFpvAe/4zEaUQSrsBZYx/2hE/fnvxqpbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678011133; a=rsa-sha256; cv=none; b=gjdyPWGYv3/8URpohnuUm/fB+LaeN7PmwbH4W+YrBU8roOfp8jllVNqvTIRb0gEFqHW+xG FXv3+8N8ug7gNDg2h7UVxJlE0J5m/p3sm4xd/Tq2eko9jQafDldwYunv2bCpYogOkQ4G7m WiEsuLMpwDkbH16jiC48uzW4l2G+ED1nFEA9tmg7TQ6lwDx0pYJ+CYLbGPED3Lzx7VTN9z HWkonV7JC9AyiQDHH/3VMic5srnvCwNA5UIrDt3iAnL+6lN80BMjKNYexAoafNrWzQprZ7 E9FD4UVgnEdqLgZnIBTY91QP6P6B/Y8xXjI0VhZF7Y5t1FXSS2VJUdArga3FUw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYlLb-0004mB-BH; Sun, 05 Mar 2023 05:12:07 -0500 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 1pYlLX-0004lP-J2 for guix-patches@gnu.org; Sun, 05 Mar 2023 05:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYlLX-0008Q1-7K for guix-patches@gnu.org; Sun, 05 Mar 2023 05:12:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYlLX-0001CI-41 for guix-patches@gnu.org; Sun, 05 Mar 2023 05:12:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61117] Update svtplay-dl to 4.18 Resent-From: Jessica Tallon Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Mar 2023 10:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61117 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: Tobias Geerinckx-Rice Cc: 61117@debbugs.gnu.org X-Debbugs-Original-Cc: 61117@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 61117-submit@debbugs.gnu.org id=B61117.16780110784518 (code B ref 61117); Sun, 05 Mar 2023 10:12:03 +0000 Received: (at 61117) by debbugs.gnu.org; 5 Mar 2023 10:11:18 +0000 Received: from localhost ([127.0.0.1]:38529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYlKn-0001Ao-P7 for submit@debbugs.gnu.org; Sun, 05 Mar 2023 05:11:18 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:35932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYlKl-0001Aa-Kd for 61117@debbugs.gnu.org; Sun, 05 Mar 2023 05:11:16 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4PTyCZ5yjKz9swN; Sun, 5 Mar 2023 11:11:06 +0100 (CET) References: <5646122.DvuYhMxLoT@localhost.localdomain> <87357ult1k.fsf@nckx> From: Jessica Tallon Date: Sun, 05 Mar 2023 11:05:28 +0100 In-reply-to: <87357ult1k.fsf@nckx> Message-ID: <877cvv33vo.fsf@tsyesika.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 6A8D214D63 X-Spam-Score: -2.21 X-Migadu-Spam-Score: -2.21 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-TUID: sNdMHdDij+fY --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Sorry for the long delay on addressing this feedback. Tobias Geerinckx-Rice writes: > [[PGP Signed Part:Undecided]] > Jessica, > > Please avoid propagation whenever possible; it breaks all kinds of > nice things. > > Propagating A from B means that Guix will effectively =E2=80=98install=E2= =80=99 A > alongside B when the user installs only B. Or how classical package > managers bluntly handle =E2=80=98dependencies=E2=80=99. Not good! > Thanks for the tip, I've included a patch which does it this way. > >> it's needed while the program is running to merge two files, not >> while building. > > So 4.17 did not need or use ffmpeg this way? > > Otherwise, put each unrelated changes into a separate commit: one to > improve the ffmpeg situation, and one to update svtplay-dl. You can > send multiple related commits as one patch series to one bug number, > though. 4.17 did indeed need ffmpeg, I've included two patches one which resolves the ffmpeg issue and the other which updates it to 4.18. Thanks, Jessica. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0000-cover-letter.patch Content-Description: Cover letter >From 1b81f1786ba0cb038bf76ab74cbc90847d06206b Mon Sep 17 00:00:00 2001 Message-Id: From: Jessica Tallon Date: Sun, 5 Mar 2023 11:02:49 +0100 Subject: [PATCH 0/2] Upgrade svtplay-dl to 4.18 & fix wrapping with ffmpeg The first patch fixes svtplay-dl which needs ffmpeg to create a unified file with both sound and video combined. Before it didn't have access to ffmpeg so it would display an error and leave the two files uncombined. The second upgrades svtplay-dl to the latest version, 4.18. Jessica Tallon (2): gnu: fix svtplay-dl wrapping to use ffmpeg gnu: svtplay-dl update to 4.18 gnu/packages/video.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) -- 2.39.1 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-fix-svtplay-dl-wrapping-to-use-ffmpeg.patch Content-Transfer-Encoding: quoted-printable Content-Description: Patch to fix ffmpeg issue >From e9d073dbf37323d11bddae32a1c54d65864959be Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Jessica Tallon Date: Sun, 5 Mar 2023 10:43:58 +0100 Subject: [PATCH 1/2] gnu: fix svtplay-dl wrapping to use ffmpeg * gnu/packages/video.scm (svtplay-dl): Wrap program to give access to ffmpe= g. --- gnu/packages/video.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 13299fdf06..721f7c4d4e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -64,6 +64,7 @@ ;;; Copyright =C2=A9 2022 Chadwain Holness ;;; Copyright =C2=A9 2022 Andy Tai ;;; Copyright =C2=A9 2023 Ott Joon +;;; Copyright =C2=A9 2023 Jessica Tallon ;;; ;;; This file is part of GNU Guix. ;;; @@ -5690,8 +5691,19 @@ (define-public svtplay-dl (base32 "0yjxmvldskw4pji3lg69pbx05izvxahz9my7z5p31mkiz6v33dmx")))) (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (ffmpeg (assoc-ref inputs "ffmpeg"))) + (wrap-program (string-append out "/bin/svtplay-dl") + `("PATH" ":" prefix + ,(list (string-append ffmpeg "/bin")))))))))) (inputs (list ffmpeg python-pyaml python-requests python-pysocks - python-cryptography)) + python-cryptography bash-minimal)) (home-page "https://svtplay-dl.se/") (synopsis "Download or stream SVT Play's (and others) TV programmes") (description --=20 2.39.1 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-svtplay-dl-update-to-4.18.patch Content-Description: Patch to update svtplay-dl to 4.18 >From 1b81f1786ba0cb038bf76ab74cbc90847d06206b Mon Sep 17 00:00:00 2001 Message-Id: <1b81f1786ba0cb038bf76ab74cbc90847d06206b.1678010569.git.tsyesika@tsyesika.se> In-Reply-To: References: From: Jessica Tallon Date: Sun, 5 Mar 2023 10:56:54 +0100 Subject: [PATCH 2/2] gnu: svtplay-dl update to 4.18 * gnu/packages/video.scm (svtplay-dl) update to 4.18 --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 721f7c4d4e..fbebaaff28 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -5680,7 +5680,7 @@ (define-public video-contact-sheet (define-public svtplay-dl (package (name "svtplay-dl") - (version "4.17") + (version "4.18") (source (origin (method git-fetch) (uri (git-reference @@ -5689,7 +5689,7 @@ (define-public svtplay-dl (file-name (git-file-name name version)) (sha256 (base32 - "0yjxmvldskw4pji3lg69pbx05izvxahz9my7z5p31mkiz6v33dmx")))) + "1xb2n3bwjddr86mjynbfd8m2g98gzqbj5mmsfc735q9xp14l30pf")))) (build-system python-build-system) (arguments (list -- 2.39.1 --=-=-=--