From patchwork Sat Jul 23 06:31:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 40860 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 E456127BBEA; Sat, 23 Jul 2022 08:15:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9F79E27BBE9 for ; Sat, 23 Jul 2022 08:15:42 +0100 (BST) Received: from localhost ([::1]:48638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oF9MT-0002Ua-NG for patchwork@mira.cbaines.net; Sat, 23 Jul 2022 03:15:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF9Lq-0002Tm-Vd for guix-patches@gnu.org; Sat, 23 Jul 2022 03:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oF9Lq-00086U-MX for guix-patches@gnu.org; Sat, 23 Jul 2022 03:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oF9Lq-0002j5-II for guix-patches@gnu.org; Sat, 23 Jul 2022 03:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56717] [PATCH 1/2] gnu: Add python-i3ipc Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Jul 2022 07:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56717@debbugs.gnu.org Received: via spool by 56717-submit@debbugs.gnu.org id=B56717.165856047410413 (code B ref 56717); Sat, 23 Jul 2022 07:15:02 +0000 Received: (at 56717) by debbugs.gnu.org; 23 Jul 2022 07:14:34 +0000 Received: from localhost ([127.0.0.1]:43117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF9LO-0002ht-2o for submit@debbugs.gnu.org; Sat, 23 Jul 2022 03:14:34 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:44414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF9LM-0002hd-AX for 56717@debbugs.gnu.org; Sat, 23 Jul 2022 03:14:32 -0400 Message-Id: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658560466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jARGgIKjlHUQLvcAQaw03egj3Vu5DE88mJH+wNInmno=; b=dABgnTfMzUXHZu61sP9cj6J4prvbxIby8x5gwVJmj1zoAYGXlPSs4pRloSFR5c3ur1+GTO v01wde8ZRk+cFz0F9Y0bpd52GkajuPwOSu+aDili7L1iTiGeoNQj8E3AJEJxpRE+tahb18 RhmOexo8Tim6C6QG58CbFJA+zKx3ojc+fmTydHg86H1d5cdsIJxTKUmAHK3bTjePL+wJ0k VR6wV8b5bUDzUZ3PpL5DAkpr2DD+yjCtb8hxPikeoUCgIrbMUFvvPMlkubO+gZuZP2h9aS 2pexTPDEbQAmZDYbWtbMFKr8HeqMFgDj3UhqpVt98BKsmmxrSudXU7PVh3Yx9Q== In-Reply-To: References: Date: Sat, 23 Jul 2022 14:31:30 +0800 MIME-Version: 1.0 Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-i3ipc): New variable. Signed-off-by: Hilton Chain --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 11f709f7b5..4bf6b3d965 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -124,6 +124,7 @@ ;;; Copyright © 2022 Artyom V. Poptsov ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ +;;; Copyright © 2022 Hilton Chain ;;; ;;; This file is part of GNU Guix. ;;; @@ -30203,3 +30204,25 @@ (define-public python-bsdiff4 binary diff utility. It also provides two command-line tools, @code{bsdiff4} and @code{bspatch4}.") (license license:bsd-2))) + +(define-public python-i3ipc + (package + (name "python-i3ipc") + (version "2.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/altdesktop/i3ipc-python") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13bzs9dcv27czpnnbgz7a037lm8h991c8gk0qzzk5mq5yak24715")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) + (inputs (list python-xlib)) + (home-page "https://github.com/altdesktop/i3ipc-python") + (synopsis "Python library for controlling i3wm and sway") + (description "An improved Python library to control i3wm and sway.") + (license license:bsd-3))) From patchwork Sat Jul 23 06:33:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 40861 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 BB08127BBEA; Sat, 23 Jul 2022 08:16:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 780A227BBE9 for ; Sat, 23 Jul 2022 08:16:52 +0100 (BST) Received: from localhost ([::1]:49108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oF9Nb-0002x0-KC for patchwork@mira.cbaines.net; Sat, 23 Jul 2022 03:16:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF9Mo-0002w1-Ox for guix-patches@gnu.org; Sat, 23 Jul 2022 03:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oF9Mo-0008Nv-F3 for guix-patches@gnu.org; Sat, 23 Jul 2022 03:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oF9Mo-0004vv-AB for guix-patches@gnu.org; Sat, 23 Jul 2022 03:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56717] [PATCH 2/2] gnu: Add python-autotiling. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Jul 2022 07:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56717@debbugs.gnu.org Received: via spool by 56717-submit@debbugs.gnu.org id=B56717.165856053617173 (code B ref 56717); Sat, 23 Jul 2022 07:16:02 +0000 Received: (at 56717) by debbugs.gnu.org; 23 Jul 2022 07:15:36 +0000 Received: from localhost ([127.0.0.1]:43126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF9MN-0004Rz-Fk for submit@debbugs.gnu.org; Sat, 23 Jul 2022 03:15:35 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:38502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF9ML-00047n-Tf for 56717@debbugs.gnu.org; Sat, 23 Jul 2022 03:15:34 -0400 Message-Id: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658560528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9ydVGjgu6pbuoeFB9USq8gqPQfEO5gqbW54FiBDsgqs=; b=zgugIme7yQ9GAn/HTy2VyXuGgmsKGUD62CeD36bplRGP5WNQ+ErYLqLnGGfL56AJnFsGn2 I5HMLEVvxy1HvtcKcFR8wa+9KibJYL0lYaFde83CnnXmf+sab84SKcm2rbdWuqzuBGu4Zd MaiH/3qMIK6UnxA/cszv1ffMDSsui7HreqUFeNZ+SIQ110YrYyKF60emRlkqke2wK2GRim HsMgXzy8Q4Wlo/Z9rHBEzd+xL/hQ9UnP2oPwJFb+d+lVoI8DlVJY79t6w+hUgI6xA5Bciz DHLXxgIO1T5pXhYSrddo2Re3SYdN6Kly5QSQk9xZ06E582vJcnb/H5+KgA/5Ig== In-Reply-To: References: Date: Sat, 23 Jul 2022 14:33:09 +0800 MIME-Version: 1.0 Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-autotiling): New variable. Signed-off-by: Hilton Chain --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4bf6b3d965..8fd413a683 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30226,3 +30226,30 @@ (define-public python-i3ipc (synopsis "Python library for controlling i3wm and sway") (description "An improved Python library to control i3wm and sway.") (license license:bsd-3))) + +(define-public python-autotiling + (package + (name "autotiling") + (version "1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nwg-piotr/autotiling") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hjlvg7095s322gb43r9g7mqlsy3pj13l827jpnbn5x0918rq9rr")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) + (inputs (list python-wheel python-xlib)) + (propagated-inputs (list python-i3ipc)) + (home-page "https://github.com/nwg-piotr/autotiling") + (synopsis + "Automatically switch the horizontal/vertical window split orientation in + i3 and sway") + (description "This script uses the i3ipc-python library to switch the layout +splith/splitv depending on the currently focused window dimensions. It works on +both sway and i3 window managers.") + (license license:gpl3)))