From patchwork Sun Jun 27 05:47:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30741 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2B1F027BC83; Sun, 27 Jun 2021 06:49:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C747727BC81 for ; Sun, 27 Jun 2021 06:49:08 +0100 (BST) Received: from localhost ([::1]:35642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxNfH-0007m6-Sx for patchwork@mira.cbaines.net; Sun, 27 Jun 2021 01:49:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxNfB-0007lc-Ty for guix-patches@gnu.org; Sun, 27 Jun 2021 01:49:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lxNfB-0000k2-Mu for guix-patches@gnu.org; Sun, 27 Jun 2021 01:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lxNfB-0000zL-KT for guix-patches@gnu.org; Sun, 27 Jun 2021 01:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49238] [PATCH v1 1/2] gnu: Add python-ueberzug. References: In-Reply-To: Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jun 2021 05:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 49238@debbugs.gnu.org Cc: Raghav Gururajan , jgart@dismail.de, LibreMiami Received: via spool by 49238-submit@debbugs.gnu.org id=B49238.16247728903726 (code B ref 49238); Sun, 27 Jun 2021 05:49:01 +0000 Received: (at 49238) by debbugs.gnu.org; 27 Jun 2021 05:48:10 +0000 Received: from localhost ([127.0.0.1]:48876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxNeH-0000xr-VX for submit@debbugs.gnu.org; Sun, 27 Jun 2021 01:48:10 -0400 Received: from out2.migadu.com ([188.165.223.204]:59686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxNeF-0000xi-Vi for 49238@debbugs.gnu.org; Sun, 27 Jun 2021 01:48:04 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1624772882; h=from:from: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; bh=63KLb7NOCx6zfECsIvcFgFGBpJ90vMtMYET+9KU0sl0=; b=CoGh60bX9QzF95yXEPoAWmjp8PEuPXLUf1MSwixuKFsyWEBsyTrXrb0ihahptbkW6uD4DC VTk2CZDBmXkGCNX9KB4DA175m/Ja8ahyDxj6w+lUqV17SgfViTQcy1WxmJ3doSU3nv8iZ1 2D+1sPGg7yEvVFNndjjz7Vh30Ve69+NF/X47jTJs8+hNHY9tV0WNGtNdsXW6eaPUJ5blpK ogBVVnLDRezsVqa7ZQjD20ny9abzeA3MuMD1bnQGH1D7cZyUEQxCQrpu1KqEa1xWzQyR28 7iyrZRFYxFprpBqwrB51D7pSfJFYFlF3fEBv6qXqtWOi+2wpYimJmpco/ErKvQ== Date: Sun, 27 Jun 2021 01:47:36 -0400 Message-Id: <20210627054737.7972-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches From: LibreMiami * gnu/packages/python-xyz.scm (python-ueberzug): New variable. Co-authored-by: Raghav Gururajan Co-authored-by: jgart --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7dae6607a0..41761d8b7a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -101,6 +101,7 @@ ;;; Copyright © 2021 LibreMiami ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 jgart ;;; Copyright © 2021 Danial Behzadi ;;; ;;; This file is part of GNU Guix. @@ -221,6 +222,42 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public python-ueberzug + (package + (name "python-ueberzug") + (version "18.1.9") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ueberzug" version)) + (sha256 + (base32 + "1hxd45dnwa9yv908acarr98n2drmar66wzq9z2qd3irj24srzr3w")))) + (build-system python-build-system) + (inputs + `(("libx11" ,libx11) + ("libxext" ,libxext))) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-docopt" ,python-docopt) + ("python-pillow" ,python-pillow) + ("python-xlib" ,python-xlib))) + (home-page "https://github.com/seebye/ueberzug") + (synopsis "Command line util to display images in combination with X11") + (description "Überzug is a command line util which allows to draw images on +terminals by using child windows. The advantages of using Überzug are: +@itemize +@item No race conditions as a new window is created to display images. +@item Expose events will be processed, so images will be redrawn on switch +workspaces. +@item Tmux support (excluding multi pane windows). +@item Terminals without the WINDOWID environment variable are supported. +@item Chars are used as position - and size unit. +@item No memory leak (/ unlimited cache). +@end itemize") + (license license:gpl3+))) + + (define-public python-fire (package (name "python-fire")