GNU bug report logs - #57458
[PATCH 0/2] gnu: Add pixterm.

Previous Next

Package: guix-patches;

Reported by: Cairn <cairn <at> pm.me>

Date: Sun, 28 Aug 2022 04:53:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57458 in the body.
You can then email your comments to 57458 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57458; Package guix-patches. (Sun, 28 Aug 2022 04:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cairn <cairn <at> pm.me>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 28 Aug 2022 04:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Cairn <cairn <at> pm.me>
To: guix-patches <at> gnu.org
Cc: Cairn <cairn <at> pm.me>
Subject: [PATCH 0/2] gnu: Add pixterm.
Date: Sun, 28 Aug 2022 04:52:03 +0000
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






Information forwarded to guix-patches <at> gnu.org:
bug#57458; Package guix-patches. (Sun, 28 Aug 2022 04:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 57458 <at> debbugs.gnu.org (full text, mbox):

From: Cairn <cairn <at> pm.me>
To: 57458 <at> debbugs.gnu.org
Cc: Cairn <cairn <at> pm.me>
Subject: [PATCH 1/2] gnu: Add go-github-com-disintegration-imaging.
Date: Sun, 28 Aug 2022 04:55:47 +0000
* 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






Information forwarded to guix-patches <at> gnu.org:
bug#57458; Package guix-patches. (Sun, 28 Aug 2022 04:58:01 GMT) Full text and rfc822 format available.

Message #11 received at 57458 <at> debbugs.gnu.org (full text, mbox):

From: Cairn <cairn <at> pm.me>
To: 57458 <at> debbugs.gnu.org
Cc: Cairn <cairn <at> pm.me>
Subject: [PATCH 2/2] gnu: Add pixterm.
Date: Sun, 28 Aug 2022 04:56:39 +0000
* 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 <at> protonmail.com>
 ;;; Copyright © 2022 Michael Rohleder <mike <at> rohleder.de>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2022 Cairn <cairn <at> 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






Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 06 Sep 2022 14:43:01 GMT) Full text and rfc822 format available.

Notification sent to Cairn <cairn <at> pm.me>:
bug acknowledged by developer. (Tue, 06 Sep 2022 14:43:02 GMT) Full text and rfc822 format available.

Message #16 received at 57458-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Cairn <cairn <at> pm.me>
Cc: 57458-done <at> debbugs.gnu.org
Subject: Re: bug#57458: [PATCH 0/2] gnu: Add pixterm.
Date: Tue, 06 Sep 2022 16:42:47 +0200
Hi,

Cairn <cairn <at> pm.me> skribis:

>   gnu: Add go-github-com-disintegration-imaging.
>   gnu: Add pixterm.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Oct 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.