all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#75077] [PATCH] gnu: Add swayimg.
@ 2024-12-25  0:34 Andrew Wong via Guix-patches via
  2025-01-05 10:17 ` [bug#75077] [PATCH v2] " Andrew Wong via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Wong via Guix-patches via @ 2024-12-25  0:34 UTC (permalink / raw)
  To: 75077; +Cc: Andrew Wong

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#75077] [PATCH v2] gnu: Add swayimg.
  2024-12-25  0:34 [bug#75077] [PATCH] gnu: Add swayimg Andrew Wong via Guix-patches via
@ 2025-01-05 10:17 ` Andrew Wong via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Wong via Guix-patches via @ 2025-01-05 10:17 UTC (permalink / raw)
  To: 75077; +Cc: Andrew Wong

* gnu/packages/image-viewers.scm (swayimg): New variable.

Change-Id: I5e6d2d01278d34df412a128a67e2ead46ad5afc2
---
 gnu/packages/image-viewers.scm | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

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")

base-commit: e383e8e34097b064d4baa4207673c6ba30617347
-- 
2.47.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-05 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-25  0:34 [bug#75077] [PATCH] gnu: Add swayimg Andrew Wong via Guix-patches via
2025-01-05 10:17 ` [bug#75077] [PATCH v2] " Andrew Wong via Guix-patches via

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.