From patchwork Mon Jul 5 15:10:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 31176 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 28D0027BC81; Mon, 5 Jul 2021 16:11:11 +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 D78B227BC78 for ; Mon, 5 Jul 2021 16:11:10 +0100 (BST) Received: from localhost ([::1]:35188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0QFZ-0003da-QS for patchwork@mira.cbaines.net; Mon, 05 Jul 2021 11:11:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0QFT-0003d4-05 for guix-patches@gnu.org; Mon, 05 Jul 2021 11:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0QFS-0005zK-Oy for guix-patches@gnu.org; Mon, 05 Jul 2021 11:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0QFS-0003eK-9c for guix-patches@gnu.org; Mon, 05 Jul 2021 11:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49238] [PATCH v5 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: Mon, 05 Jul 2021 15:11: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 , maximedevos@telenet.be, jgart Received: via spool by 49238-submit@debbugs.gnu.org id=B49238.162549781413955 (code B ref 49238); Mon, 05 Jul 2021 15:11:02 +0000 Received: (at 49238) by debbugs.gnu.org; 5 Jul 2021 15:10:14 +0000 Received: from localhost ([127.0.0.1]:46423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0QEg-0003d0-Br for submit@debbugs.gnu.org; Mon, 05 Jul 2021 11:10:14 -0400 Received: from out2.migadu.com ([188.165.223.204]:17207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0QEd-0003ce-7A for 49238@debbugs.gnu.org; Mon, 05 Jul 2021 11:10:12 -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=1625497809; 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=M0NYftBhdwMWQRjhTZ9JRrAOOiwsvEKyP0xPGOsxYjw=; b=Rx2LTDrSeKCAYsXBpcDN+DG4NkNVAnrsW3BAy9vMIXu0kQylJhJqObxO9RDhhxiGcwalxj 4XD1VY+DjtlWxMs77WgcT/hCiG7jb1/bc+i/0KCewp2F94ZWYKaJonkoBwaeb7yfLbxWJL dmBAmB2OS9Fg0E8jzKATuuvh2DuTqmytlwTrlGeypkYbWzUq4cjLdWvwapyeZ+j2q1K9q1 uXS5b9qVwwUKv1J+cGmde3jidN3fWk8NV72cIBcAbTVAE2a9vN9nyLDrPPv6ZerSmsCO4+ vA8nebLS2od9QRseaJyP8irHwkw3z2xwBWTRofMEl76Ktz+xuBCFUAyhiaKZaA== Date: Mon, 5 Jul 2021 11:10:01 -0400 Message-Id: <20210705151002.24052-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 * gnu/packages/python-xyz.scm (python-ueberzug): New variable. Co-authored-by: jgart --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b74b3b808f..aa2406287d 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,41 @@ #: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")