diff options
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r-- | gnu/packages/image.scm | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 1f434667f8..6accf68ef0 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2023 Zheng Junjie <[email protected]> ;;; Copyright © 2023-2024 Nicolas Goaziou <[email protected]> ;;; Copyright © 2023 Artyom V. Poptsov <[email protected]> +;;; Copyright © 2024 chris <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -752,7 +753,7 @@ collection of tools for doing simple manipulations of TIFF images.") (define-public leptonica (package (name "leptonica") - (version "1.83.1") + (version "1.84.1") (source (origin (method git-fetch) @@ -761,7 +762,7 @@ collection of tools for doing simple manipulations of TIFF images.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1j7qf9flb48q0aymf0yx9rypy3bs6hfjcln08zmy8qn2qcjzrmvi")))) + (base32 "0b4ikf1p2ll4310n4dg5lg0b79wys71fb6nj22i7pz17wjdma0j8")))) (build-system gnu-build-system) (native-inputs (list gnuplot ;needed for test suite @@ -779,6 +780,9 @@ collection of tools for doing simple manipulations of TIFF images.") zlib)) (arguments (list + ;; Parallel tests cause some tests to fail randomly. + ;; Same thing observed on Debian. + #:parallel-tests? #f #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-reg-wrapper @@ -2816,3 +2820,38 @@ Graphics (PNGs), intended as an easy-to-use replacement for @code{libpng}.") (license license:bsd-2) ;; Supports SSE on x86-64 and NEON on AArch64. (properties '((tunable? . #t))))) + +(define-public libsixel + (package + (name "libsixel") + (version "1.10.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libsixel/libsixel") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nny4295ipy4ajcxmmh04c796hcds0y7z7rv3qd17mj70y8j0r2d")))) + (build-system meson-build-system) + (arguments + (list + #:build-type "release" + #:configure-flags #~(list "--buildtype=plain" + "-Dtests=enabled" + "-Dlibcurl=disabled" + "-Dgdk-pixbuf2=enabled"))) + (native-inputs (list pkg-config)) + (inputs (list gdk-pixbuf libjpeg-turbo libpng python)) + (home-page "https://github.com/libsixel/libsixel") + (synopsis + "Encoder and decoder implementation for DEC SIXEL graphics") + (description + "LibSIXEL is a an encoder/decoder implementation for DEC SIXEL graphics, +and some converter programs. SIXEL is one of image formats for printer and +terminal imaging introduced by @acronym{DEC, Digital Equipment Corp.}. Its +data scheme is represented as a terminal-friendly escape sequence. So if you +want to view a SIXEL image file, all you have to do is @command{cat} it to +your terminal.") + (license license:expat))) |