all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rutger Helling <rhelling@mykolab.com>
To: 33884@debbugs.gnu.org
Subject: [bug#33884] [PATCH] gnu: Add slurp.
Date: Thu, 27 Dec 2018 09:53:47 +0100	[thread overview]
Message-ID: <20181227095347.34c43c40@mykolab.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 37 bytes --]

Hey Guix,

this patch adds slurp.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-slurp.patch --]
[-- Type: text/x-patch, Size: 1694 bytes --]

From b1fd7ccd589a5f28b998296cbeb255bead9eb75d Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Thu, 27 Dec 2018 09:25:45 +0100
Subject: [PATCH] gnu: Add slurp.

* gnu/packages/image.scm (slurp): New variable.
---
 gnu/packages/image.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 08a9f86be..f95eae238 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1595,3 +1595,30 @@ identical visual appearance.")
    (description "grim can create screenshots from a Wayland compositor.")
    ;; MIT license.
    (license license:expat)))
+
+(define-public slurp
+  (package
+   (name "slurp")
+   (version "1.0")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://github.com/emersion/slurp.git")
+           (commit (string-append "v" version))))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32 "03igv8r8n772xb0y7whhs1pa298l3d94jbnknaxpwp2n4fi04syb"))))
+   (build-system meson-build-system)
+   (native-inputs `(("pkg-config" ,pkg-config)))
+   (inputs `(("cairo" ,cairo)
+             ("scdoc" ,scdoc)
+             ("wayland" ,wayland)
+             ("wayland-protocols" ,wayland-protocols)))
+   (home-page "https://github.com/emersion/slurp")
+   (synopsis "Select a region in a Wayland compositor and print it to the
+standard output")
+   (description "Slurp can select a region in a Wayland compositor and print it
+to the standard output.  It works well together with grim.")
+   ;; MIT license.
+   (license license:expat)))
2.20.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2018-12-27  8:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-27  8:53 Rutger Helling [this message]
2019-01-06 20:13 ` [bug#33884] [PATCH] gnu: Add slurp Ludovic Courtès
2019-01-07  7:33   ` bug#33884: " Rutger Helling

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=20181227095347.34c43c40@mykolab.com \
    --to=rhelling@mykolab.com \
    --cc=33884@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.