From patchwork Sat Jul 23 12:46:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 40870 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 53FA727BBEA; Sat, 23 Jul 2022 14:12:14 +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 17F9527BBE9 for ; Sat, 23 Jul 2022 14:12:14 +0100 (BST) Received: from localhost ([::1]:57590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFEvV-0007qM-7C for patchwork@mira.cbaines.net; Sat, 23 Jul 2022 09:12:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFEvK-0007p4-Qw for guix-patches@gnu.org; Sat, 23 Jul 2022 09:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFEvK-00089q-IG for guix-patches@gnu.org; Sat, 23 Jul 2022 09:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFEvK-0000f1-EX for guix-patches@gnu.org; Sat, 23 Jul 2022 09:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56717] [PATCH v4 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 13:12: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: "(" , "Maxime Devos" Cc: 56717@debbugs.gnu.org Received: via spool by 56717-submit@debbugs.gnu.org id=B56717.16585819202523 (code B ref 56717); Sat, 23 Jul 2022 13:12:02 +0000 Received: (at 56717) by debbugs.gnu.org; 23 Jul 2022 13:12:00 +0000 Received: from localhost ([127.0.0.1]:43770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFEvI-0000ec-AF for submit@debbugs.gnu.org; Sat, 23 Jul 2022 09:12:00 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:60406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFEvF-0000eI-KV for 56717@debbugs.gnu.org; Sat, 23 Jul 2022 09:11:59 -0400 Message-Id: <8bf4277efc2ed428bfc3cdbd640790fca97246cc.1658581723.git.hako@ultrarare.space> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658581911; 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: in-reply-to:in-reply-to:in-reply-to:references:references:references; bh=7J4xaFqpZBRFb78yEOXYteXAbR8aD9HEygzjr2csnkE=; b=uXKNvpXAIjV6ldPKER9pjorXte3qupoizb9fr9PWIGu2wZIcCYUpU+S/EB7zyecEn/nWC/ juw9TAdMQrtTqIpiyGR39TBAlSA+juLWPLPlXg6Qtv+jGmfa0u+UkvLCdGm5sDKoKhSIKa ttBoLfskUIDzFtcCLvaN8WjsWowx5JLki03LbBTAqOnYQDF1wIpCchaUbIpl5diL2ca2dB 6N7rvp+wDwpiXvFWgnCy50d8bOiLP0qf+R07KzQ5GONUvmKYxpN3sc9co0XADfvk9ikUUi JgUt87Z9Wrb6qMxMqBluy9kwq8ggrq2NsUHhzd8RTdygFbU2C6ZmyrbRqwDnug== In-Reply-To: References: Date: Sat, 23 Jul 2022 20:46:53 +0800 In-Reply-To: References: <767257c5d3ae679d4638341ddca510c17f574cb1.1658580543.git.hako@ultrarare.space> MIME-Version: 1.0 X-Spamd-Bar: +++++ Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.36.1 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 11f709f7b5..d67b535d40 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,26 @@ (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 (list #:tests? #f)) ;FIXME: some tests are unable to run + (propagated-inputs (list python-xlib)) + (home-page "https://github.com/altdesktop/i3ipc-python") + (synopsis "Python library for controlling i3 and Sway") + (description + "This package provides a Python library for controlling the i3 and Sway + window managers.") + (license license:bsd-3))) From patchwork Sat Jul 23 12:48:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 40871 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 9F08227BBEA; Sat, 23 Jul 2022 14:13:11 +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 67E7B27BBE9 for ; Sat, 23 Jul 2022 14:13:11 +0100 (BST) Received: from localhost ([::1]:58050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFEwQ-0008Bf-Jk for patchwork@mira.cbaines.net; Sat, 23 Jul 2022 09:13:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFEwI-0008BT-5z for guix-patches@gnu.org; Sat, 23 Jul 2022 09:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFEwH-0008Lj-TA for guix-patches@gnu.org; Sat, 23 Jul 2022 09:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFEwH-0000he-Ns for guix-patches@gnu.org; Sat, 23 Jul 2022 09:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56717] [PATCH v4 2/2] gnu: Add i3-autotiling. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Jul 2022 13:13:01 +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: "(" , "Maxime Devos" Cc: 56717@debbugs.gnu.org Received: via spool by 56717-submit@debbugs.gnu.org id=B56717.16585819452622 (code B ref 56717); Sat, 23 Jul 2022 13:13:01 +0000 Received: (at 56717) by debbugs.gnu.org; 23 Jul 2022 13:12:25 +0000 Received: from localhost ([127.0.0.1]:43775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFEvg-0000gE-NO for submit@debbugs.gnu.org; Sat, 23 Jul 2022 09:12:25 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:42248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFEve-0000fi-Ra for 56717@debbugs.gnu.org; Sat, 23 Jul 2022 09:12:23 -0400 Message-Id: <393dcb660e887bcb15d35ee51ea1d92a1e365128.1658581723.git.hako@ultrarare.space> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658581937; 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: in-reply-to:in-reply-to:in-reply-to:references:references:references; bh=lmtqfaTmTlrHeZAPlaseejD02nVlxkPwJtCNncmFnrk=; b=VoEamBWpCrsxn6iCodzwlfiwR5ZWcPOpVBM/KhCxNMmk6LEW9t+4pjBWAuxKHO+fHdl4Yh YohGmBIj/TenoBUjavUHtVvB3OZ5/1PGvHh2IIfclK3f58O4DLnRVIrDETvvVjlMMbVF0/ zG5o6Z+IIWxyVM+zB7IhkNGeEGR1dNPP37UWy1gaqWW3EdtnOD5SKsrKkdk+BGx26yIZCk ojvhcrgIHMe4wbaI9VMqcKg2mcZvIfHrq07B+Vvcz0TikLBOLuga511yxR7ECL6aC0Fwkl B2Maa4C304HKI9MvFPNs9FWGMEywScah8DAjMpYRP+BHfL7+/umNhOFLXUL+Wg== In-Reply-To: References: Date: Sat, 23 Jul 2022 20:48:19 +0800 In-Reply-To: <8bf4277efc2ed428bfc3cdbd640790fca97246cc.1658581723.git.hako@ultrarare.space> References: <8bf4277efc2ed428bfc3cdbd640790fca97246cc.1658581723.git.hako@ultrarare.space> MIME-Version: 1.0 X-Spamd-Bar: +++++ Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space 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 (i3-autotiling): New variable. Signed-off-by: Hilton Chain --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.36.1 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d67b535d40..114d7817fe 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30227,3 +30227,27 @@ (define-public python-i3ipc "This package provides a Python library for controlling the i3 and Sway window managers.") (license license:bsd-3))) + +(define-public i3-autotiling + (package + (name "i3-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 (list #:tests? #f)) ;no tests + (native-inputs (list python-wheel)) + (propagated-inputs (list python-i3ipc)) + (home-page "https://github.com/nwg-piotr/autotiling") + (synopsis "Automatically tile windows in i3 and Sway") + (description + "Script for Sway and i3 to automatically switch the horizontal/vertical + window split orientation.") + (license license:gpl3)))