From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#33884] [PATCH] gnu: Add slurp. Resent-Message-ID: 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) 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 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/2EyZFqdmyW_OUFT84PfPYy6"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33884@debbugs.gnu.org --Sig_/2EyZFqdmyW_OUFT84PfPYy6 Content-Type: multipart/mixed; boundary="MP_/=H+XVZAi9UweMCD5H+coOnI" --MP_/=H+XVZAi9UweMCD5H+coOnI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hey Guix, this patch adds slurp. --MP_/=H+XVZAi9UweMCD5H+coOnI Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-slurp.patch =46rom 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 pri= nt it +to the standard output. It works well together with grim.") + ;; MIT license. + (license license:expat))) 2.20.1 --MP_/=H+XVZAi9UweMCD5H+coOnI-- --Sig_/2EyZFqdmyW_OUFT84PfPYy6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEAVThuRzJ2e93ZI3n86cn20T8yjYFAlwkkxsACgkQ86cn20T8 yjbUvggAqwI1GhbAtx1AI4bGaeG2/iCSW6+tA+FZS+PMpVaiC8lFpLPMDy1psoZh T8QNhaBaxikeaPrHOTvGmI4dTl7ypjDCfgdGkpdkPPdCTmsUbvSZyBi0SlrUAQbC 1/WWN8cxd5/JY61No4EVkgoZ7uzXqhOABWsTL87MesQ2lu9wfj85WN4SvBopoHFK k0qg/zyVlnvUTCJ7D9EkkBV9jzwElAw5vCyCARYsNe+kqSVk5PMmHugTtgRpEbSO mi1qSNz5ijtPW6gqXxRsKbWcsDLcIhKZMzwgDvfvqmFjz0F7APGC5q8WOMvubI08 JW3AnGpXFE2NinVpUqJmCsVFUK1lFQ== =XlPf -----END PGP SIGNATURE----- --Sig_/2EyZFqdmyW_OUFT84PfPYy6--