From: Andrew Wong via Guix-patches via <guix-patches@gnu.org>
To: 75077@debbugs.gnu.org
Cc: Andrew Wong <wongandj@icloud.com>
Subject: [bug#75077] [PATCH] gnu: Add swayimg.
Date: Tue, 24 Dec 2024 19:34:54 -0500 [thread overview]
Message-ID: <20241225003523.13216-1-wongandj@icloud.com> (raw)
Change-Id: I10d098561084117c741cf04bf4da967b411e2729
---
This is my first guix patxh and my first email patch ever!
gnu/packages/image-viewers.scm | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index cb4e903f39..ad332bea1b 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -111,6 +111,51 @@ (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)
+ (native-inputs (list pkg-config giflib))
+ (inputs (list wayland
+ json-c
+ libxkbcommon
+ fontconfig
+ freetype
+ openexr
+ libheif
+ libavif
+ ijg-libjpeg
+ libjxl
+ libpng
+ librsvg
+ libtiff
+ libwebp
+ libexif
+ bash-completion
+ wayland-protocols))
+ (home-page "https://github.com/artemsen/swayimg/tree/master")
+ (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")
--
2.46.0
reply other threads:[~2024-12-25 1:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20241225003523.13216-1-wongandj@icloud.com \
--to=guix-patches@gnu.org \
--cc=75077@debbugs.gnu.org \
--cc=wongandj@icloud.com \
/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.