From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2FWzBQT2CmMOJwAAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 06:58:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0GbnBAT2CmPOUwEAG6o9tA (envelope-from ) for ; Sun, 28 Aug 2022 06:58:44 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 997EF36255 for ; Sun, 28 Aug 2022 06:58:43 +0200 (CEST) Received: from localhost ([::1]:33970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSANe-0006oZ-Q7 for larch@yhetil.org; Sun, 28 Aug 2022 00:58:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSAN0-0006oN-Nv for guix-patches@gnu.org; Sun, 28 Aug 2022 00:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSAMz-0007Er-Ra for guix-patches@gnu.org; Sun, 28 Aug 2022 00:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSAMz-0000Bu-N3 for guix-patches@gnu.org; Sun, 28 Aug 2022 00:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57458] [PATCH 2/2] gnu: Add pixterm. References: <20220828045142.23275-1-cairn@pm.me> In-Reply-To: <20220828045142.23275-1-cairn@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 04:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57458 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57458@debbugs.gnu.org Cc: Cairn Received: via spool by 57458-submit@debbugs.gnu.org id=B57458.1661662623654 (code B ref 57458); Sun, 28 Aug 2022 04:58:01 +0000 Received: (at 57458) by debbugs.gnu.org; 28 Aug 2022 04:57:03 +0000 Received: from localhost ([127.0.0.1]:57457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSAM0-0000A3-Fc for submit@debbugs.gnu.org; Sun, 28 Aug 2022 00:57:02 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:27999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSALy-00009m-Ep for 57458@debbugs.gnu.org; Sun, 28 Aug 2022 00:56:59 -0400 Date: Sun, 28 Aug 2022 04:56:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661662612; x=1661921812; bh=HGGaAzhMq6y5cx8t8nOY/uXEYKdIz/5WpzTCp/ssMx0=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=glJXb5OZfeIS7WpUN2/YJv6GSyE9snAWoB/jhZnQ5WJtGgnMHuGQJPa3EQCZ/EYHV WUgb+9p7s/b9Bb41RGyp1bN7d9EKHl4IbFfj48lK2QBh1ip6ZMEm7V1Mqpk9TJk5W9 Jb2vzPvhFVI2gQVT9R2zVEBWhXso6bllpRgNKKMMtS/fjp4uDsNeY8EzhYtviuM+5A 73E3YKQaqgr+Qrg2k3vYBSW8vot+wA0X49TS9XLeZpOLN2TjohsC1xFVV0/1PkbDWi VmBOVxj8irmjzzs/DuMHtLNjAPALfjlifIc77Nq9j2cWPVgcwvPOaKcWEC53NDYboj VfPksSI3EYovg== Message-ID: <20220828045631.23626-1-cairn@pm.me> Feedback-ID: 6989168:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Cairn X-ACL-Warn: , Cairn via Guix-patches From: Cairn via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661662723; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HGGaAzhMq6y5cx8t8nOY/uXEYKdIz/5WpzTCp/ssMx0=; b=f3itNDclJ8pw4fUchPKmbdZnkOjNlFvBqtg/ynu1nsY6yCbkTR8n4L34jAaN5VrB7J+FCj KTbtMTPKhwFC0ftmagUK8udUgFgI1L8oVt19vvXXMyVYdX06KSIFvWUQ8rjKtlv1u1ObEv hMr9/Gszb92pEaeU0W7B6XFxdieb7xTg+ylZ2omSTTAPVWUF5XaBIMaXr/zRvgNZmcIQF+ 0XTYQspQIPvD7T0n58/FnohnUo4SN5nJOQ+bFPb/cmC3o7cJ0yqnCIrIHifCjWP3KGZejy rZBfAwO8u5I/ilqfLneRMIjxk6mpz+Ci92SYAmnewmnIfUb9lU5qFrBR+yzhjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661662723; a=rsa-sha256; cv=none; b=UhhxVh3NU4s4o/pOgV95zCu5B16hH+4iZepQ9GhkkNlyGmQVM2UBKp7Xqi7tk0Be7AB5Ro MakiMxSATxF0gXDbwzBiiv06nEIO8QyFd0Ru/8Ujk1I1acKs/LBRUY/SM07wOJIswz9iOD 9JvOWhdIuXnMiwMk+UoE4NDGnaga9SDnuiTRtzAI+aGOezh8pgYixya9cxGU+NVdXRGSYG Ba+4a9k+2rGzOhOkV8PXp6rVljUZqFD7/h9E13m0D2MOJVisppxciikBGIXqtGbQsv6P42 K92sKxrV1F4YvZf5XHbzcKXTqFt6cfQGpl1qUmLdFJdY6cr7GFaHak2Mn4s5fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail3 header.b=glJXb5OZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail3 header.b=glJXb5OZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 997EF36255 X-Spam-Score: -1.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: fNHzGdZNT2AI * 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.sc= m index 52c9584f67..68181ebfcc 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -25,6 +25,7 @@ ;;; Copyright =C2=A9 2021 dissent ;;; Copyright =C2=A9 2022 Michael Rohleder ;;; Copyright =C2=A9 2022 Maxim Cournoyer +;;; Copyright =C2=A9 2022 Cairn ;;; ;;; 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))) =20 +(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, recreati= ng +the pixels through a combination of ANSI character background color and th= e +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") --=20 2.37.2