From patchwork Mon Jul 5 11:14:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 31171 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 962D627BC81; Mon, 5 Jul 2021 12:15:10 +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 282D327BC78 for ; Mon, 5 Jul 2021 12:15:10 +0100 (BST) Received: from localhost ([::1]:41036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0MZB-0001YA-7f for patchwork@mira.cbaines.net; Mon, 05 Jul 2021 07:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0MZ4-0001Xr-0A for guix-patches@gnu.org; Mon, 05 Jul 2021 07:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0MZ3-0003jy-O0 for guix-patches@gnu.org; Mon, 05 Jul 2021 07:15:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0MZ3-0000BR-Jk for guix-patches@gnu.org; Mon, 05 Jul 2021 07:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49238] [PATCH v3 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 11:15: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 Received: via spool by 49238-submit@debbugs.gnu.org id=B49238.1625483676649 (code B ref 49238); Mon, 05 Jul 2021 11:15:01 +0000 Received: (at 49238) by debbugs.gnu.org; 5 Jul 2021 11:14:36 +0000 Received: from localhost ([127.0.0.1]:44248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0MYd-0000AP-J6 for submit@debbugs.gnu.org; Mon, 05 Jul 2021 07:14:35 -0400 Received: from out1.migadu.com ([91.121.223.63]:58657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0MYZ-0000A9-NQ for 49238@debbugs.gnu.org; Mon, 05 Jul 2021 07:14:33 -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=1625483669; 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=lv2xkjy6Jledi+rpE3z+TuUar44e6w+0gYUHXbLMaDsWS5Ekglu/5W/81vKeKunOv+k2sw Dv0JvbEP2fK7pL0YfS/qHqBx2y8MqiSyyeTssZLnQ9UDscPHpQd9YmVb8oZGY18NZ5MES9 HljEwB3m3zRiwqkmgaSgXTjYQt3ECRC0GagPIVC8P7/gdZinb1hMmQBRDCyOhHGn8vH9Ej pEBvdihsMVxqk7ES9NrUa0wgSSQU6X4j1uA9MdrvdMdgYzG/qLwJw5CU5OyjSQfybpY5zM QvyAgrNSBW/YPyY5qnnxiTDhItdq8yoLTED892YDlOjiCyQhGG/4jaY/g6Rrfw== Date: Mon, 5 Jul 2021 07:14:24 -0400 Message-Id: <20210705111425.14479-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")