all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nly <nly@disroot.org>
To: 34216@debbugs.gnu.org
Subject: bug#34216: Shroud require xclip for x clipboard
Date: Sun, 27 Jan 2019 16:23:52 +0530	[thread overview]
Message-ID: <87lg36tlq7.fsf@disroot.org> (raw)
In-Reply-To: <87y376tneg.fsf@disroot.org> (Amar Singh's message of "Sun, 27 Jan 2019 15:47:43 +0530")



> /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

  parent reply	other threads:[~2019-01-27 10:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-27 10:17 bug#34216: Shroud require xclip for x clipboard Amar Singh
2019-01-27 10:29 ` Efraim Flashner
2019-01-27 10:53 ` nly [this message]
2019-01-27 11:02   ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lg36tlq7.fsf@disroot.org \
    --to=nly@disroot.org \
    --cc=34216@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.