From patchwork Fri Feb 12 12:18:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 27011 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 B9B3227BC2E; Fri, 12 Feb 2021 12:19:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1143827BC27 for ; Fri, 12 Feb 2021 12:19:11 +0000 (GMT) Received: from localhost ([::1]:40208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAXPi-0005Kk-9a for patchwork@mira.cbaines.net; Fri, 12 Feb 2021 07:19:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAXPb-0005KP-0q for guix-patches@gnu.org; Fri, 12 Feb 2021 07:19:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAXPa-0006vM-Od for guix-patches@gnu.org; Fri, 12 Feb 2021 07:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAXPa-0005ST-L6 for guix-patches@gnu.org; Fri, 12 Feb 2021 07:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46462] [PATCH 1/1] gnu: Add swappy Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Feb 2021 12:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46462@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161313233120962 (code B ref -1); Fri, 12 Feb 2021 12:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2021 12:18:51 +0000 Received: from localhost ([127.0.0.1]:60066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAXPO-0005S2-Rg for submit@debbugs.gnu.org; Fri, 12 Feb 2021 07:18:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:41820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAXPK-0005Rr-PN for submit@debbugs.gnu.org; Fri, 12 Feb 2021 07:18:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAXPK-0005IR-Ir for guix-patches@gnu.org; Fri, 12 Feb 2021 07:18:46 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAXPI-0006m0-P4 for guix-patches@gnu.org; Fri, 12 Feb 2021 07:18:46 -0500 Received: by mail-wr1-x432.google.com with SMTP id l12so7614406wry.2 for ; Fri, 12 Feb 2021 04:18:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=32LfMxLRtH0ZHynRXkahM56mfNZaG4SXlGhRCCLxFBQ=; b=TuWldw3Xt4tRf70noZDfkNRNDdQ7MLb9dNbqQRpPvHrIDwFwdKljYiuMZBgDaEgIl0 jeRabX3tYjBzjRIHgs4L3P6QKv/rZGIZyI6bxWyfXtQktRs4NXIzNT3xO/hf2ROqzmYD jUhCVbxOmaQa3F+4gecoeMPEMVJGc1XkxkvmPI2FOmqcAFxqogNlBkhCwURUxOhVSPPK 1sTBg9CSyVgK0xmc29TxK7mj0R158zCFifADBgnBJGagmLH086zBDJvzx18DYgaqweP1 9AwOeO2vPBv+gMvpce6JGYHXkHyD18yVjaUIP3UNE/7WeTAq9C4i5u1uYfqm8rBlCfGJ vrmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=32LfMxLRtH0ZHynRXkahM56mfNZaG4SXlGhRCCLxFBQ=; b=qq2WAlwHqGlJZHOKWSJgWfSKKQspLkPJNOW3F6w1IeEWnEpbD9/nC1jsPi+zBlDq2b GvbiEczLaszH3kY9QcLEADk8g0wDLq4KNgKnZOULo7DjpEn9hMYC09a4KFL9R7F7sfMq iN6qBW+o6QNOi2kVkXclC5LTmdVNys3Ln+BXR8XExE5MOrwVhQROuqkiL3HIkbt+zPNT +cKwh2rGDuNvW6mOsshgDutdhEfCDMhbyZj33pXQl5RbzchmaDkw/aoMRG4M5quA/Af0 ZNdeHGhMYFxef7djWMd8fW/ohe2YShNnibTrR8rvervTDxWxI+WI4i6SMOIJmwirWnhB nbXg== X-Gm-Message-State: AOAM530ZwLEQW7yL+zDZfU4G7KJaAAAhlnaEsMILoZY7TkYQj9dlyldc hTXoD16VbzN+1uAPrBAdtLJeaHzBNwp+Iv23NDb+23kX X-Google-Smtp-Source: ABdhPJzK3JxAdw5dTVE2uIjPothibOdCUfxyfEgdaFqGnXO4yFKN++tB4mOCuQTkCmsSeWjm9bz9J7af8TxZCebmB0Y= X-Received: by 2002:adf:ce8a:: with SMTP id r10mr3145042wrn.1.1613132322135; Fri, 12 Feb 2021 04:18:42 -0800 (PST) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Fri, 12 Feb 2021 12:18:31 +0000 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 From 897c5f262977fbb65e1b21b27d80ca39efc7e8e2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 12 Feb 2021 12:16:31 +0000 Subject: [PATCH] gnu: Add swappy * gnu/packages/image.scm (swappy): New variable --- gnu/packages/image.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 339bd7dcf2..60a46eb2b9 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2020 Maxim Cournoyer ;;; Copyright © 2020 Zhu Zihao ;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2021 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -51,6 +52,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages boost) + #:use-module (gnu packages build-tools) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages curl) @@ -1820,6 +1822,36 @@ Features: @end itemize\n") (license license:gpl3+))) +(define-public swappy + (package + (name "swappy") + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jtheoof/swappy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14ac2jmnak7avcz0jhqjm30vk7pv3gq5aq5rdyh84k8c613kkicf")))) + (build-system meson-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("meson" ,meson-for-build) + ("scdoc" ,scdoc) + ("glib" ,glib "bin"))) ; for 'glib-compile-resources' + (inputs + `(("gtk+" ,gtk+) + ("libnotify" ,libnotify))) + (home-page "https://github.com/jtheoof/swappy") + (synopsis "Wayland native snapshot editing tool, inspired by Snappy on macOS") + (description + "A Wayland native snapshot and editor tool, inspired by Snappy on macOS. +Works great with grim, slurp and sway. But can easily work with other screen +copy tools that can output a final PNG image to stdout.") + (license license:expat))) + (define-public gifsicle (package (name "gifsicle") -- 2.30.0