From patchwork Sun Jan 5 10:17:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 36628 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 B6A2127BBEA; Sun, 5 Jan 2025 10:18:33 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 912D627BBE2 for ; Sun, 5 Jan 2025 10:18:32 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUNht-0007og-Gy; Sun, 05 Jan 2025 05:18:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUNhq-0007oD-II for guix-patches@gnu.org; Sun, 05 Jan 2025 05:18:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUNhp-00022u-Rd for guix-patches@gnu.org; Sun, 05 Jan 2025 05:18:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=l9NEvP0YtH/2vc6H9vklnmSt3v94mOMgUeSqCnvYfog=; b=Q5vDJOHuAxwE5kthYmxRebhn1SxlR7GPSYhojnu/TyWI1jIHglPeuziLGKYoHGv/PdeuY59jC4wxo9a1OgYHj7QOySdu7LfQE1CeUnHj01lYmbgmKrHm4e7v19A4JclbDBmaog7LRei7K2oAtJ2uRFk6/hdUixs+eLd8x9eEXvTLDU9aDPDVneGfYOIKgqH/McYzijqjNnHTbL0R4gVdkFMLvviosHJTCXzT8K3h3QTtPPwRDRb1dssxts3lvvh7fS+Lb8luKfTdMNIk+Ugqb4LFdZRtIcc6xSbsWX9EPJdRczwbARK4j6dcwnv4bnHlVQcNN+xudw/0qcWbDv4Nzg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUNhp-0001Ef-MR for guix-patches@gnu.org; Sun, 05 Jan 2025 05:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75077] [PATCH v2] gnu: Add swayimg. References: <20241225003523.13216-1-wongandj@icloud.com> In-Reply-To: <20241225003523.13216-1-wongandj@icloud.com> Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Jan 2025 10:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75077@debbugs.gnu.org Cc: Andrew Wong Received: via spool by 75077-submit@debbugs.gnu.org id=B75077.17360722674704 (code B ref 75077); Sun, 05 Jan 2025 10:18:01 +0000 Received: (at 75077) by debbugs.gnu.org; 5 Jan 2025 10:17:47 +0000 Received: from localhost ([127.0.0.1]:59982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUNhb-0001Do-Bi for submit@debbugs.gnu.org; Sun, 05 Jan 2025 05:17:47 -0500 Received: from qs51p00im-qukt01071702.me.com ([17.57.155.7]:52293) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUNhZ-0001Db-Hf for 75077@debbugs.gnu.org; Sun, 05 Jan 2025 05:17:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1736072259; bh=l9NEvP0YtH/2vc6H9vklnmSt3v94mOMgUeSqCnvYfog=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=I3jKQ83yta+O8lvtHPUXxc3XAa53XBW5e41zIDDgus02jWf34gGxz7Nl1LlaO85Gd gD8Uax4xNYAyC2wRoY0myx+HDkQ/fQTdWeXQmMBgJ7ZzmVA5SjsnSt5eSTwl4P5D1u dSlClr0N3Ys/v0deTI9LvVyB1HWyEGclZiBj/LnwlpN0o4HhB8cEazrTktZlubl6g/ ON1BMFuMxrysbztBtZZzMdARC+xlmVnJp9asZIpAhhet5NJ+KE1VwfqbMiDfdaUslr goHjX2IbL7BglNjGOQjrtZ8ukzwxS/EBE4rEDBDa4KIOsg0oQPve9Edtb3Sy9GdBI6 GyqGKsDwRFmHQ== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071702.me.com (Postfix) with ESMTPSA id 2DFFF3500115; Sun, 5 Jan 2025 10:17:39 +0000 (UTC) Date: Sun, 5 Jan 2025 05:17:27 -0500 Message-ID: <5f74d533e59b0ac1bd26a5f276f8332e0fe02497.1736072247.git.wongandj@icloud.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-Proofpoint-GUID: hp0B9j9tbPu1AUOONc40VKUGnA9odSio X-Proofpoint-ORIG-GUID: hp0B9j9tbPu1AUOONc40VKUGnA9odSio X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-02_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 adultscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2501050095 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: , Reply-to: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/image-viewers.scm (swayimg): New variable. Change-Id: I5e6d2d01278d34df412a128a67e2ead46ad5afc2 --- gnu/packages/image-viewers.scm | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) base-commit: e383e8e34097b064d4baa4207673c6ba30617347 diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index cb4e903f39..c3f4b8d8de 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -111,6 +111,57 @@ (define-module (gnu packages image-viewers) #:use-module (gnu packages xorg) #:use-module (gnu packages)) +(define-public swayimg + (package + (name "swayimg") + (version "3.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artemsen/swayimg") + (commit (string-append "v" version)))) + (sha256 + (base32 "15nqb1igikkvrzx3dhyj9msynfpvrnqvql6plqm8fhg10fbimfhd")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags '(,(string-append "-Dversion=" version)))) + (native-inputs (list pkg-config)) + (inputs (list fontconfig + freetype + giflib + ijg-libjpeg + imath + json-c + libavif + libexif + libheif + libjxl + libpng + librsvg + libtiff + libwebp + libxkbcommon + openexr + wayland + wayland-protocols + bash-completion)) + (home-page "https://github.com/artemsen/swayimg") + (synopsis "Customizable and lightweight image viewer for Wayland") + (description + "Fully customizable and lightweight image viewer for Wayland based +display servers. Support for the most popular image formats (JPEG, +JPEG XL, PNG, GIF, SVG, WebP, HEIF/AVIF, AV1F/AVIFS, TIFF, EXR, BMP, +PNM, TGA, QOI, DICOM, Farbfeld). Fully customizable keyboard bindings, +colors, and many other parameters. Loading images from files and +pipes. Gallery and viewer modes with slideshow and animation support. +Preload images in a separate thread. Cache in memory, no data is +written to permanent storage. Sway integration mode: the application +creates an \"overlay\" above the currently active window, which gives +the illusion that you are opening the image directly in a terminal +window.") + (license license:expat))) + (define-public ytfzf (package (name "ytfzf")