From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yIuBKrTu6WGWJgAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 00:22:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ePE7I7Tu6WHCGwAAG6o9tA (envelope-from ) for ; Fri, 21 Jan 2022 00:22:28 +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 568591B875 for ; Fri, 21 Jan 2022 00:22:28 +0100 (CET) Received: from localhost ([::1]:46786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAgl5-0006ex-1D for larch@yhetil.org; Thu, 20 Jan 2022 18:22:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAbRx-0003Pa-W6 for guix-patches@gnu.org; Thu, 20 Jan 2022 12:42:19 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAbRi-0003Ph-9Q for guix-patches@gnu.org; Thu, 20 Jan 2022 12:42:17 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAbRi-00018C-4B for guix-patches@gnu.org; Thu, 20 Jan 2022 12:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53388] New package: gallery-dl Resent-From: Bird Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 17:42: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: Maxime Devos Cc: 53388@debbugs.gnu.org, Bird Received: via spool by 53388-submit@debbugs.gnu.org id=B53388.16427004684250 (code B ref 53388); Thu, 20 Jan 2022 17:42:02 +0000 Received: (at 53388) by debbugs.gnu.org; 20 Jan 2022 17:41:08 +0000 Received: from localhost ([127.0.0.1]:59105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAbQq-00016U-Gt for submit@debbugs.gnu.org; Thu, 20 Jan 2022 12:41:08 -0500 Received: from [37.120.193.123] (port=43798 helo=mail.cock.li) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAbQk-00015f-CY for 53388@debbugs.gnu.org; Thu, 20 Jan 2022 12:41:06 -0500 From: Bird DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1642700454; bh=jm1KwrZTbfUhPACKlD3PrLnGGhl5XxxQqoywvl3xvGo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=DcOT/qT0uc8jRqq38ZYI8bec/9WyoNUj4CGrUqc7PWRTfoGYhRCaWZrgWURq3NP3l BSffSufMabTmJbxLgk1imxsNQO1dcg7bAdDs2WCq/SksXLqZRsJXyzJIRCeT/kuW/H /ck8TJxQj5mJNYwOiJyil/X7fjds1pIqDX8DP3E7+RJHIaTd1GgbIP2rVF/3LzH0Y+ ty1+yHadJnXK0q3t1ZA87+cdfkRw7g5Q+pfNLbmYRsvQpXf+vCr2vV+y3uRF3kDeo1 5kZ1b+pXg+X/J/dWgDozAmg2zm3oiuFxbgmvsTFmS2tggkH4JB2MflevXUMPVRwTJS 6/A3wt1HGMRcA== References: <85ee52fx12.fsf@airmail.cc> <978432cd205f87fd00e623be35f0598d53a22155.camel@telenet.be> Date: Thu, 20 Jan 2022 17:42:17 +0000 In-Reply-To: <978432cd205f87fd00e623be35f0598d53a22155.camel@telenet.be> (Maxime Devos's message of "Thu, 20 Jan 2022 17:10:02 +0000") Message-ID: <851r12pame.fsf@airmail.cc> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1642720948; 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=QekAhlG4+te9YnLxU/p0OJ9MsfG5hjZsPBfWS9rc5FA=; b=W2S7WNQiosn1aBPrHYl5+Nk6No1aNU8dhp9le3fZ5sinymTGbqyKaHvdgxAtX+reusTa+z NPSdXxkBAbSa88wy3cxmsUoylKqkLttl+e82VBAs4GniPmfGDFMXGXuwc4k5q89/C8LR6W iSuLn0wmNcKTNlYu6edFonHL4DGA14PdTxfymypA59G2XtP2XNOnCWldkqdPkKdB7/lfIu hQ2y2875U7Ylopk1aNUKLW4pix3cX0Qj16GHGUORc1F16I9bkCJHRuo6hCp/12KoQqjv4Q 1qJ3TjPJkw00VKdjaQ0g9+U/7EZaUrzkkQRSry0rRc8bDcItBFuC0pFW2TJLzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642720948; a=rsa-sha256; cv=none; b=HaDUlF/MI3SBIDgSn6cK1aj2CPILfWSi4pEVvOSX3doylMoYYy7W24OnKpgkDuQORm9hbB OwGP7eUrSkdTDWYz3NW1DnpTcou/vfV7mId3XaqN7FVeZdYhCNM/tVCZNnBxZrvCZsnL6j zSKJerp4/oNj4q0hYf8oJHVfmR2rBXQxl/s5IIqeh87o+8Q95ojuBGm7hZlqbhlGPd19jP mdl55Zn3dREed7nWB3+PPokaI/h3gVCIgvLoygxXOTuMlrt9+M2+l1jkR3AtOIjhoS+TbB 9nvME4/gtD8C/xsp7PyHLCDNLkFCCtNK1si12fzjS4zQggJVK1JeTnXDB/tZcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=airmail.cc header.s=mail header.b="DcOT/qT0"; 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.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=airmail.cc header.s=mail header.b="DcOT/qT0"; 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: 568591B875 X-Spam-Score: -3.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: oHEApOK03Wie Maxime Devos writes: > Hi, > > Bird schreef op do 20-01-2022 om 11:48 [+0000]: >> +=C2=A0=C2=A0=C2=A0 (propagated-inputs (list python-requests)) > > The README says it can use =E2=80=98youtube-dl=E2=80=99 or =E2=80=98yt-dl= p=E2=80=99 for vide downloads > and =E2=80=98ffmpeg=E2=80=98 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? > >> +=C2=A0=C2=A0=C2=A0 (home-page "https://github.com/mikf/gallery-dl") >> +=C2=A0=C2=A0=C2=A0 (synopsis "Command-line program to download images f= rom several >> sites") >> +=C2=A0=C2=A0=C2=A0 (description "Command-line program to download image= galleries >> + and collections from several image hosting sites") > > Does it only support images, or also videos? From the =E2=80=98ffmpeg=E2= =80=99 and > =E2=80=98youtube-dl=E2=80=99 dependency, I would assume the latter. Also= , when I'm > reading this description, it reminds me a lot of youtube-dl -- perhaps > the description could explain it supports more video sites, or less > video sites, or not only video but also images, or something along > these lines. > It's really similar to youtube-dl but targets images primarily, i'll make that clearer in the next patch > >> +=C2=A0=C2=A0=C2=A0 (license gpl2+) >> +=C2=A0=C2=A0=C2=A0 (arguments >> +=C2=A0=C2=A0=C2=A0=C2=A0 '(#:tests? #f)))) > > Why are tests disabled here? > Sorry, I just assumed it will fail the tests due to network-lessness of build environment, it actually passes the tests. > > Also, 'gallery-dl' (indirectly) uses openssl for the S in HTTPS, > so you may need to add SSL_CERT_DIR (or SSL_CERT_FILE, not sure) to > native-search-paths to make "guix shell --pure yt-dlp nss-certs" work. > > Although there appears to be some disagreement in that area, see e.g. > some discussion in #53324, so maybe not. > I did a quick grep of SSL_CERT_FILE and SSL_CERT_DIR in gnu/packages/ but didn't find anything, could you please explain what i should do here?=20 > > Greetings, > Maxime. > Thanks, Bird