* [bug#57458] [PATCH 0/2] gnu: Add pixterm.
@ 2022-08-28 4:52 Cairn via Guix-patches via
2022-08-28 4:55 ` [bug#57458] [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging Cairn via Guix-patches via
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Cairn via Guix-patches via @ 2022-08-28 4:52 UTC (permalink / raw)
To: 57458; +Cc: Cairn
Just adding PIXterm and one dependency.
https://github.com/eliukblau/pixterm
Cairn (2):
gnu: Add go-github-com-disintegration-imaging.
gnu: Add pixterm.
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
gnu/packages/image-viewers.scm | 32 ++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
--
2.37.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#57458] [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging.
2022-08-28 4:52 [bug#57458] [PATCH 0/2] gnu: Add pixterm Cairn via Guix-patches via
@ 2022-08-28 4:55 ` Cairn via Guix-patches via
2022-08-28 4:56 ` [bug#57458] [PATCH 2/2] gnu: Add pixterm Cairn via Guix-patches via
2022-09-06 14:42 ` bug#57458: [PATCH 0/2] " Ludovic Courtès
2 siblings, 0 replies; 4+ messages in thread
From: Cairn via Guix-patches via @ 2022-08-28 4:55 UTC (permalink / raw)
To: 57458; +Cc: Cairn
* gnu/packages/golang.scm (go-github-com-disintegration-imaging): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d2f3dc39df..dd0e24b61e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9914,3 +9914,26 @@ (define-public go-github-com-sourcegraph-jsonrpc2
(description
"Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
(license license:expat)))
+
+(define-public go-github-com-disintegration-imaging
+ (package
+ (name "go-github-com-disintegration-imaging")
+ (version "1.6.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/disintegration/imaging")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1sl201nmk601h0aii4234sycn4v2b0rjxf8yhrnik4yjzd68q9x5"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/disintegration/imaging"))
+ (inputs (list go-golang-org-x-image))
+ (home-page "https://github.com/disintegration/imaging")
+ (synopsis "Simple image processing for Go")
+ (description "This package provides basic image processing functions
+(resize, rotate, crop, brightness/contrast adjustments, etc.).")
+ (license license:expat)))
--
2.37.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#57458] [PATCH 2/2] gnu: Add pixterm.
2022-08-28 4:52 [bug#57458] [PATCH 0/2] gnu: Add pixterm Cairn via Guix-patches via
2022-08-28 4:55 ` [bug#57458] [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging Cairn via Guix-patches via
@ 2022-08-28 4:56 ` Cairn via Guix-patches via
2022-09-06 14:42 ` bug#57458: [PATCH 0/2] " Ludovic Courtès
2 siblings, 0 replies; 4+ messages in thread
From: Cairn via Guix-patches via @ 2022-08-28 4:56 UTC (permalink / raw)
To: 57458; +Cc: Cairn
* gnu/packages/image-viewers.scm (pixterm): New variable.
---
gnu/packages/image-viewers.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 52c9584f67..68181ebfcc 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2021 dissent <disseminatedissent@protonmail.com>
;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Cairn <cairn@pm.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -50,6 +51,7 @@ (define-module (gnu packages image-viewers)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
@@ -71,6 +73,7 @@ (define-module (gnu packages image-viewers)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages gtk)
#:use-module (gnu packages graphics)
#:use-module (gnu packages image)
@@ -502,6 +505,35 @@ (define-public catimg
It supports JPEG, PNG and GIF formats.")
(license license:expat)))
+(define-public pixterm
+ (package
+ (name "pixterm")
+ (version "1.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eliukblau/pixterm")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0fm6c0mjz6zillqjirnjjf7mkrax1gyfcv6777i07ms3bnv0pcii"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/eliukblau/pixterm/cmd/pixterm"
+ #:unpack-path "github.com/eliukblau/pixterm"))
+ (inputs (list go-github-com-disintegration-imaging
+ go-golang-org-colorful
+ go-golang-org-x-crypto
+ go-golang-org-x-image))
+ (home-page "https://github.com/eliukblau/pixterm")
+ (synopsis "Draw images in your ANSI terminal with true color")
+ (description "PIXterm shows images directly in your terminal, recreating
+the pixels through a combination of ANSI character background color and the
+unicode lower half block element. It supports JPEG, PNG, GIF, BMP, TIFF
+and WebP.")
+ (license license:mpl2.0)))
+
(define-public luminance-hdr
(package
(name "luminance-hdr")
--
2.37.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#57458: [PATCH 0/2] gnu: Add pixterm.
2022-08-28 4:52 [bug#57458] [PATCH 0/2] gnu: Add pixterm Cairn via Guix-patches via
2022-08-28 4:55 ` [bug#57458] [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging Cairn via Guix-patches via
2022-08-28 4:56 ` [bug#57458] [PATCH 2/2] gnu: Add pixterm Cairn via Guix-patches via
@ 2022-09-06 14:42 ` Ludovic Courtès
2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-09-06 14:42 UTC (permalink / raw)
To: Cairn; +Cc: 57458-done
Hi,
Cairn <cairn@pm.me> skribis:
> gnu: Add go-github-com-disintegration-imaging.
> gnu: Add pixterm.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-06 15:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-28 4:52 [bug#57458] [PATCH 0/2] gnu: Add pixterm Cairn via Guix-patches via
2022-08-28 4:55 ` [bug#57458] [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging Cairn via Guix-patches via
2022-08-28 4:56 ` [bug#57458] [PATCH 2/2] gnu: Add pixterm Cairn via Guix-patches via
2022-09-06 14:42 ` bug#57458: [PATCH 0/2] " Ludovic Courtès
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.