From patchwork Tue Jun 29 19:06:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30789 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 CB65227BC85; Tue, 29 Jun 2021 21:04:32 +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 960E927BC84 for ; Tue, 29 Jun 2021 21:04:29 +0100 (BST) Received: from localhost ([::1]:49176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyJy8-0001yc-KU for patchwork@mira.cbaines.net; Tue, 29 Jun 2021 16:04:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyJ4Y-0006I3-IU for guix-patches@gnu.org; Tue, 29 Jun 2021 15:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyJ4Y-0008Ss-Bg for guix-patches@gnu.org; Tue, 29 Jun 2021 15:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyJ4Y-0005Ts-7m for guix-patches@gnu.org; Tue, 29 Jun 2021 15:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49238] [PATCH v2 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: Tue, 29 Jun 2021 19:07:02 +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 , LibreMiami Received: via spool by 49238-submit@debbugs.gnu.org id=B49238.162499360021031 (code B ref 49238); Tue, 29 Jun 2021 19:07:02 +0000 Received: (at 49238) by debbugs.gnu.org; 29 Jun 2021 19:06:40 +0000 Received: from localhost ([127.0.0.1]:55416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyJ4B-0005T3-P8 for submit@debbugs.gnu.org; Tue, 29 Jun 2021 15:06:40 -0400 Received: from out0.migadu.com ([94.23.1.103]:37238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyJ49-0005St-CU for 49238@debbugs.gnu.org; Tue, 29 Jun 2021 15:06:38 -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=1624993595; 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=SS6mRWwlF5qrCkD/Rd4rI8eUiqFiCJBe14wp4AwLyLI=; b=K1nF/Qi4gQNyA9cMGfu3bZ84FFZFqARHPgZO9qQpwTia3DSPnFT1Rs+qwDb8TiVQfmFM3M 2gT/nwVScWPF9n5sVRM35olctAPR6edRmP0uhIC30vps3XZ1jBu9Y7NmJDxF6UwGiaQiXw dz3WLcbI1wsqo99uRVj7M6LF4xI3uN5jeVF3AyBx8dUBThXma2AG08lzd6NcowHttSBkOj AO/yyZf3SaIF9um2a79QgSn6KIILjOeZRR+EWy1gUjFuJDINlHCajxZuelxwftyxnC1EIS uHHS++zKJmsLy0+Kd8ZOmJvD/ATXfQOZF78fsoZcqwONyyDqKsT7dQXKwnVQCw== Date: Tue, 29 Jun 2021 15:06:16 -0400 Message-Id: <20210629190617.3116-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 1aa53b7825..f0fbe91b73 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")