From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 02 08:59:32 2018 Received: (at submit) by debbugs.gnu.org; 2 Mar 2018 13:59:32 +0000 Received: from localhost ([127.0.0.1]:40283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erlDg-00013k-Ck for submit@debbugs.gnu.org; Fri, 02 Mar 2018 08:59:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1erlDe-00013W-Ur for submit@debbugs.gnu.org; Fri, 02 Mar 2018 08:59:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erlDY-0004O0-4j for submit@debbugs.gnu.org; Fri, 02 Mar 2018 08:59:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_40, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1erlDY-0004Nw-0t for submit@debbugs.gnu.org; Fri, 02 Mar 2018 08:59:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erlDW-0004HZ-NX for guix-patches@gnu.org; Fri, 02 Mar 2018 08:59:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erlDS-0004M7-3z for guix-patches@gnu.org; Fri, 02 Mar 2018 08:59:22 -0500 Received: from mail-pl0-x22d.google.com ([2607:f8b0:400e:c01::22d]:35103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erlDR-0004Lw-SK for guix-patches@gnu.org; Fri, 02 Mar 2018 08:59:18 -0500 Received: by mail-pl0-x22d.google.com with SMTP id bb3-v6so5750385plb.2 for ; Fri, 02 Mar 2018 05:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=98ne+90tA0Ez36e2Nm1sJe7eGSLumcP+4oG1blTx3VE=; b=oyib102+d+fNGatfkkCPTIGaBLrUblu5M1cSS8nVaHqrjXbCk0VDpaddRbrDA9I0jM SEYv6uk+2alVjJpiamybjn/A8K8gUAzmbIa9GLHGLG0aFk72mPNUxGoNn5WU7V7XhAyA XbNgtU4gWeoPQPeLhFQIcj97vjZzCmXFSVf1GFyUx1032X2wHeLGIk59rIFth9RxOWdu NdC8PkAmQONDb2KehwxAmvyNRlg8dlzhE04ni6nK3mJnEAiFhOLIO9H61fZ7YhY1rwXc +4g/A4F+Y14+1Up7Ac4DmqiSeOWzC6e0Pm6b9V7P5LHt8kgMMryJczKQKOXYOKdm8Als Pgyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version; bh=98ne+90tA0Ez36e2Nm1sJe7eGSLumcP+4oG1blTx3VE=; b=ulGZRwlj8WbfaxCUunMoST49i/93QrqO8Hu38qn1X0HMBGcORTn8R+lyJv9+Hi8vgT lL48nDR3fSgI9ijzXeSERnxuHpDm6X4c2c6/QLDrh60iVxKechGKQho4JP3HtDJ0Ol1E u568NBF9uQYUtUjHl6QWtKuMMk23MVbD0GnoIlxFfQL1CKxVwXo1HtAn59IP0pq3aHig a8XqPdkAwJ1VF3Km0J+NHJSbqJoH44MRRwuAC18GwxwERfN+ZYP6KnVGGoFDu4DMJHxE wM17c7uZOyH96HPfEUkFvFu4P/r5ZKsQSYUyoiZum9Uxse6tu0EPkp88gpGnFaClAiOc ZJWA== X-Gm-Message-State: APf1xPBa3wknGHAbo2dE/vGeAZVM4Ja3B5wYJa4ATEs3i0GjQmfwXrTk M/fPj7aMtRANxVs3ppuaa0g= X-Google-Smtp-Source: AG47ELu/H23zFiVkWHIV9YpcT1YxV/Vtwk8PGMNnTbCXIeaIK+YsMJ8QdeWkn9yl75BjWODSbg167g== X-Received: by 2002:a17:902:b613:: with SMTP id b19-v6mr5271679pls.173.1519999156778; Fri, 02 Mar 2018 05:59:16 -0800 (PST) Received: from debian (n219073080084.netvigator.com. [219.73.80.84]) by smtp.gmail.com with ESMTPSA id k3sm11014464pff.41.2018.03.02.05.59.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Mar 2018 05:59:16 -0800 (PST) From: Alex Vong To: guix-patches@gnu.org Subject: [PATCH] gnu: youtube-viewer: Add '$out/lib/perl5/site_perl/' to search path. Date: Fri, 02 Mar 2018 21:59:07 +0800 Message-ID: <87woyuk28k.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit Cc: alexvong1995@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, This patch should fix . --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-youtube-viewer-Add-out-lib-perl5-site_perl-to-se.patch Content-Transfer-Encoding: quoted-printable From=202ad112584b40754fadb8269b7d5880500abe0050 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 2 Mar 2018 21:22:59 +0800 Subject: [PATCH] gnu: youtube-viewer: Add '$out/lib/perl5/site_perl/' to search path. Fixes . Reported by Ricardo Wurmus . * gnu/packages/video.scm (youtube-viewer)[arguments]: In 'wrap-program' phase, add '$out/lib/perl5/site_perl/' to search path. =2D-- gnu/packages/video.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 8190b0ffc..74dd290a3 100644 =2D-- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1344,16 +1344,18 @@ audio, images) from the Web. It can use either mpv= or vlc for playback.") (guix build utils) (srfi srfi-26)) #:module-build-flags '("--gtk") =2D #:phases (modify-phases %standard-phases =2D (add-after 'install 'wrap-program =2D (lambda* (#:key outputs #:allow-other-keys) =2D (let ((bin-dir (string-append (assoc-ref outputs "= out") =2D "/bin/")) =2D (perl-path (getenv "PERL5LIB"))) =2D (for-each (cut wrap-program <> =2D `("PERL5LIB" ":" prefix (,perl-pa= th))) =2D (find-files bin-dir)) =2D #t)))))) + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin-dir (string-append out "/bin/")) + (site-dir (string-append out "/lib/perl5/site_perl/")) + (lib-path (getenv "PERL5LIB"))) + (for-each (cut wrap-program <> + `("PERL5LIB" ":" prefix (,lib-path ,site-dir= ))) + (find-files bin-dir)) + #t)))))) (synopsis "Lightweight application for searching and streaming videos from YouT= ube") (description =2D-=20 2.16.2 --=-=-= Content-Type: text/plain Cheers, Alex --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTdXC2pN4kXBjiMDs8cGaIXrbrArQUCWplYqwAKCRAcGaIXrbrA rd1xAP0WH5dlwvwesUtgxc40+8DYpO/1HoSvAHpYlFnDmUD0FwD/eA9oKL9tappR taZvpLY18N3Jf4Y3mSk06zraoc3+jgo= =Qy/j -----END PGP SIGNATURE----- --==-=-=--