From patchwork Thu Dec 27 08:53:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rutger Helling X-Patchwork-Id: 554 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AEAB0169AD; Thu, 27 Dec 2018 08:55:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 6B01416997 for ; Thu, 27 Dec 2018 08:55:15 +0000 (GMT) Received: from localhost ([127.0.0.1]:50329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcRRj-000597-2V for patchwork@mira.cbaines.net; Thu, 27 Dec 2018 03:55:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcRRa-000574-CY for guix-patches@gnu.org; Thu, 27 Dec 2018 03:55:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcRRW-0003cD-75 for guix-patches@gnu.org; Thu, 27 Dec 2018 03:55:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:55724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcRRW-0003c7-3s for guix-patches@gnu.org; Thu, 27 Dec 2018 03:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gcRRW-0005FM-1T for guix-patches@gnu.org; Thu, 27 Dec 2018 03:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33884] [PATCH] gnu: Add slurp. Resent-From: Rutger Helling Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Dec 2018 08:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33884 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33884@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154590088420121 (code B ref -1); Thu, 27 Dec 2018 08:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2018 08:54:44 +0000 Received: from localhost ([127.0.0.1]:38162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcRRA-0005EJ-Ao for submit@debbugs.gnu.org; Thu, 27 Dec 2018 03:54:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcRR5-0005Dw-Cu for submit@debbugs.gnu.org; Thu, 27 Dec 2018 03:54:39 -0500 Received: from lists.gnu.org ([208.118.235.17]:51981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gcRQz-0002fK-H1 for submit@debbugs.gnu.org; Thu, 27 Dec 2018 03:54:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcRQv-0004z3-9V for guix-patches@gnu.org; Thu, 27 Dec 2018 03:54:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcRQp-0002Om-34 for guix-patches@gnu.org; Thu, 27 Dec 2018 03:54:25 -0500 Received: from mx.kolabnow.com ([95.128.36.42]:38080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcRQo-0002MA-MP for guix-patches@gnu.org; Thu, 27 Dec 2018 03:54:19 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 579B340456 for ; Thu, 27 Dec 2018 09:54:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h= content-type:content-type:mime-version:message-id:subject :subject:from:from:date:date:received:received:received; s= dkim20160331; t=1545900849; x=1547715250; bh=7yw5fcWMo/EDUJctDoJ EakXfi8O5Y81zx9Y/Ayp5IBg=; b=SPKRJIFFgijsEbEfZvw1G4UysQy0ynWFtWv 4DJcZsRz/DZHuiheic2hXn95VM2B9jhJpqM3HhF13wa+czG2LtgVMHcubhwAKk1z U9UvRD+fqJtNRo8K1gGEtO/9o7tRpIHiTDXWKG6hDhLapu+vkaL9rSDsHijI4FLU LgJrxoNb6eXWZwelfWZ50/Jk+ID726azO8GCiwBMrWrnAH5tgLvdzdiXCdzt2d2P NHS4qQhBYEpMq8eq3RMqY5YkppK9jb1K5VM9dkgdG42DgFJDcwcLEj6U9KOZbFzg wfqM+GPD8z5o1vf87B/UTGWukItLSeo30pRsCnjmJLhoPbTa1GkS/Jd0PI37vTGS CjOs2sN/qESWamKx1rMP4W749SdLAOMeYkBQ4hT7uIMDKCFwPyVR4Ozf9+eVY9q1 u2GzdqKSSlxw30FKq8eNj4o06iPS42vhW8R70Axj1PhhKDf6CI/im1C8FOusPhRr ppbU5jMU7ds4oFBEbBxTNLLY3WwuBz/kcSBTKHjCfW0mz+uBK6OdUb519mrU1zZd qwHO0Fna1x2TPmnTxkIQdzgjLz0+/cFGrmK6mxkjA6BX3FdcZG/EI7F/e+oc1+Ya T31A9iRCEbpFr/pWU944rxUxskK5CqUoJBlMMGA2HAhmHEmKqnQrmzrJzl9hzfDd UVvlFv1o= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BUSteymaEYxs for ; Thu, 27 Dec 2018 09:54:09 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 0381B403E6 for ; Thu, 27 Dec 2018 09:54:08 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id DF815BDA for ; Thu, 27 Dec 2018 09:54:08 +0100 (CET) Date: Thu, 27 Dec 2018 09:53:47 +0100 From: Rutger Helling Message-ID: <20181227095347.34c43c40@mykolab.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hey Guix, this patch adds slurp. From b1fd7ccd589a5f28b998296cbeb255bead9eb75d Mon Sep 17 00:00:00 2001 From: Rutger Helling 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