From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QH4VJ6hE8GG+2gAAgWs5BA (envelope-from ) for ; Tue, 25 Jan 2022 19:42:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6JtcJKhE8GEayAAA9RJhRA (envelope-from ) for ; Tue, 25 Jan 2022 19:42:48 +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 77145B3AF for ; Tue, 25 Jan 2022 19:42:47 +0100 (CET) Received: from localhost ([::1]:49986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCQmC-0001B1-VX for larch@yhetil.org; Tue, 25 Jan 2022 13:42:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCQhf-0001Aj-7Q for guix-patches@gnu.org; Tue, 25 Jan 2022 13:38:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCQhe-0001e4-Rr for guix-patches@gnu.org; Tue, 25 Jan 2022 13:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCQhe-0008SD-Ph for guix-patches@gnu.org; Tue, 25 Jan 2022 13:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53388] New package: gallery-dl Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Jan 2022 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53388 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Bird Cc: 53388-done@debbugs.gnu.org, Maxime Devos Received: via spool by 53388-done@debbugs.gnu.org id=D53388.164313584732430 (code D ref 53388); Tue, 25 Jan 2022 18:38:02 +0000 Received: (at 53388-done) by debbugs.gnu.org; 25 Jan 2022 18:37:27 +0000 Received: from localhost ([127.0.0.1]:50085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCQh5-0008R0-4r for submit@debbugs.gnu.org; Tue, 25 Jan 2022 13:37:27 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:57231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCQh2-0008Qi-DL for 53388-done@debbugs.gnu.org; Tue, 25 Jan 2022 13:37:25 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 48F495C014E; Tue, 25 Jan 2022 13:37:19 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 25 Jan 2022 13:37:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=mesmtp; bh=lz0EuBZ2qKe pCQBWSOAYpt4l1MvuO9QqfLNkzjibgQo=; b=Y58h2eFqY1qRepVMwVtABEZ3nKh l0qxUlAiIPaJHNYAZrqITxC2SwZiSsF5HVvmIHjhQGWIWO7R9TX2+WIiDgRlMvK+ ALF02RmP6umQpziDAIBPvdazUb87UUddmctQoyrDgGDl/MoX1El8X7z3knvkcliI ohcGxoUYJVnSaT0s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=lz0EuBZ2qKepCQBWSOAYpt4l1MvuO9QqfLNkzjibg Qo=; b=jsA+GonOHlYXKPVhuMlq/QrSibQxsjjO9UiA1tQ4IAETt9UbELtoq95X4 rGT0gSnh9d2g5CLVSWlJI/OOFiNmgjTUZs9Abv9+Id/CgdYW0x1F8b/Beoc9pGqb HhXg3ypoDIT3gmnVUEpmg+2q3iVBV4pYf90OC+ZkAPdxwoAkBUa/aBwHSuzxFbQF ZM9LWDSPrLdNwuobz6uupxHxIO2JH8zS6YcDHIfD+JTYCv5jSp+BudUYJ8sMx18K z3q+Lws7wbxYbvU40J8760V2BBloQuBP6Cq6paUuZeDWydCLEWVbYpiQQpbB4nsn xmu1759ewOksX5pTFbGmQqUoUzaWA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvdelgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepuefhteduudevtdetfeeghfeiudelvefgfeeitddviedugeduueegleffffej heevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Jan 2022 13:37:18 -0500 (EST) Date: Tue, 25 Jan 2022 13:37:17 -0500 From: Leo Famulari Message-ID: References: <85ee52fx12.fsf@airmail.cc> <978432cd205f87fd00e623be35f0598d53a22155.camel@telenet.be> <851r12pame.fsf@airmail.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <851r12pame.fsf@airmail.cc> 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643136168; 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=lz0EuBZ2qKepCQBWSOAYpt4l1MvuO9QqfLNkzjibgQo=; b=HaX/hn8p1yPIaQOXaG3KoC+uLfdbgdjczGhyix4iIC0FX7BxiceFp6QF4NSAhEJTyk4g0X GDTtHW6dP4CEl8NPi0n9c3GPQuKAnQ/6JLVEePaeFKWE4t1/6PQdiaT63oBSU/VBkDizhu p/WDxepQrRq/C6yoTQ8sGTYN0/VztFbVw//eWdqt9yqhmuDWXw54mixiW93qx6iPWveTpO wJagxQkFPrg4U51CO0Ey1SzLHbE4+GRpXToVZAB4oJS8ez5MO/3z6BJZe3lpIFTHtBISf2 ZJmol5cnTK+B4MaYbdS/2gOVjH1V3MsD5HcdqsLjlyxQIW5xDeSUq2uVhoJ1IA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643136168; a=rsa-sha256; cv=none; b=sTZc0JU3z78Q5prKhSStnIlKcXIyAEiC8WtFewN9Zh2NU7YLOgAxx8A1LL8s94sYQHYkex KYn3SvmdcTJWi7FI13RgpD8P3FQkBrmB731Kw6B5x6HIXsihwBwNZx5JB+ApIW8i0AcTUm awWHZGjbIz/MOAmxWlzXtjrYFNf7SijpTm00LcSsnHM8WXuPCujO1+qd68XdFJWe8oRrmA 2ALekRlSzP7b4xZgsUI1OCT6u3yNru4q5QRek4VC2vpykcl70esoqviUzTEGp5l8IAkVeg ovmJRKR2qL9+zE5pDPU0/uOI+4EvjknNJJy1lOLwwYgy7gBy1meHGlth1mSipQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=Y58h2eFq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=jsA+GonO; 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" X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=Y58h2eFq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=jsA+GonO; 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" X-Migadu-Queue-Id: 77145B3AF X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 88bbL1gX2qHI On Thu, Jan 20, 2022 at 05:42:17PM +0000, Bird wrote: > > The README says it can use ‘youtube-dl’ or ‘yt-dlp’ for vide downloads > > and ‘ffmpeg‘ for some conversion, so maybe these could be added? > > > > Also, propagation can lead to profile collisions which can be > > complicated to resolve, so can this be made a regular input instead of > > a propagated input? Some wrap-program might be necessary. > > Can programs call to regular inputs that are not propagated? Since > gallery-dl will need ffmpeg and python-requests (and possibly yt-dlp), > would it need to be in user's profile? They can, but they need to learn how to find them. Usually that happens by making the package record the "store path" of the input at build-time. On the other hand, propagated-inputs appear on $PATH, so if the calling program does the normal thing it will find them. But, the drawback of propagating, for example, FFmpeg, is that it makes it impossible for users to `guix install` a custom FFmpeg package alongside the propagated FFmpeg. > >> +    (home-page "https://github.com/mikf/gallery-dl") I looked at the source code, and this program respects some configuration options to find the location of youtube-dl and ffmpeg: https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#ugoiraffmpeg-location It's a matter of opinion but, to me, both of those programs are things that users may customize or choose particular versions of, so it's okay to expect users to install them and configure gallery-dl properly. If we want to improve this package in that regard... that's for a followup patch!