From mboxrd@z Thu Jan 1 00:00:00 1970 From: nly Subject: bug#34216: Shroud require xclip for x clipboard Date: Sun, 27 Jan 2019 16:23:52 +0530 Message-ID: <87lg36tlq7.fsf@disroot.org> References: <87y376tneg.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gni5f-0003RF-Ku for bug-guix@gnu.org; Sun, 27 Jan 2019 05:55:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gni5e-00028P-Sj for bug-guix@gnu.org; Sun, 27 Jan 2019 05:55:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47714) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gni5e-00027m-7h for bug-guix@gnu.org; Sun, 27 Jan 2019 05:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gni5e-00079j-2I for bug-guix@gnu.org; Sun, 27 Jan 2019 05:55:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y376tneg.fsf@disroot.org> (Amar Singh's message of "Sun, 27 Jan 2019 15:47:43 +0530") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34216@debbugs.gnu.org > /gnu/store/w862nkwzvv2m3ng5lg5zlic1i962g416-gnupg-2.2.12 238.8 10.1 3.8% > /gnu/store/agz9m74v7235h30mc3bdmj2nmyxqga4c-xclip-0.13 102.7 0.1 0.0% > Looks like xclip is already in the closure of shroud, I see, thanks. > patch the reference to it so shroud can always find xclip. How? Snippet from (shroud utils): ;; Instance of use of xclip (define (call-with-clipboard proc) "Call PROC with an open output port to the X clipboard." (call-with-output-pipe* (list %xclip "-selection" "clipboard") proc)) ;; Use of gpg (define (call-with-encrypted-output-file file user-id proc) "Apply PROC with an output port that writes encrypted data to FILE for the recipient USER-ID." (call-with-output-pipe* `(,(gpg-binary) "--no-tty" "--batch" "--yes" "--encrypt" "--armor" "--recipient" ,user-id "--output" ,file) proc)) Thanks, amar