From patchwork Fri Oct 25 00:20:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 69434 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 3D22F27BBEA; Fri, 25 Oct 2024 01:24:19 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 1089B27BBED for ; Fri, 25 Oct 2024 01:24:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4877-0006nW-VQ; Thu, 24 Oct 2024 20:23:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4872-0006mT-9g for guix-patches@gnu.org; Thu, 24 Oct 2024 20:23:33 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t4872-00088x-1W for guix-patches@gnu.org; Thu, 24 Oct 2024 20:23:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=jUthFarZ3ho/2jvMAY5y9AsNu0VGOg3bGmkjj/9RbfA=; b=upSrXB3nsObHYyT5PQkWvVEE19D7xKoTo6s6lpHtfjCJOJ9Vk3WesDYWl0KWhymIOl69FbulfzZaf7jKeqczktzhCp+AuUD0Lg2OHE9VOjSSFjUQUZ+N93DvVq5fVucsjyf3crRQRRhYU5fWHQYvgehKB/GebAKQl89OAkOdwcgefqmWp/hiqzMHKidEkN50EPQH/VV7S0GUQQb/3Iv4UmC6edK15C6iVSdgHndog7DXuoxUV4BRGej5Y4F3TiN4FWZPjIGeZigKGGvoLoC6jWHFMWxKOgVd4QVh1Uqn0HRFJ8IaXLh8yYLZswgGPpy6KvAR2MMTflFBDmyrUNc/zQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t487X-0001Gh-7q for guix-patches@gnu.org; Thu, 24 Oct 2024 20:24:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73523] [PATCH v3 3/3] gnu: Add pywlroots version 0.17.0 Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Oct 2024 00:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73523 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73523@debbugs.gnu.org Cc: big bug Received: via spool by 73523-submit@debbugs.gnu.org id=B73523.17298158104796 (code B ref 73523); Fri, 25 Oct 2024 00:24:03 +0000 Received: (at 73523) by debbugs.gnu.org; 25 Oct 2024 00:23:30 +0000 Received: from localhost ([127.0.0.1]:36577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4870-0001FH-4S for submit@debbugs.gnu.org; Thu, 24 Oct 2024 20:23:30 -0400 Received: from mail-qv1-f42.google.com ([209.85.219.42]:44528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t486y-0001FA-Pa for 73523@debbugs.gnu.org; Thu, 24 Oct 2024 20:23:29 -0400 Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-6cbe53a68b5so9816586d6.1 for <73523@debbugs.gnu.org>; Thu, 24 Oct 2024 17:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1729815716; x=1730420516; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jUthFarZ3ho/2jvMAY5y9AsNu0VGOg3bGmkjj/9RbfA=; b=G+FYikltQGTkB2Y863TQrlmbF3oTkjiv9UBU/6ga2G+JYOI+UjQKt/wGi5AjdYlRi8 1eUR84BYIWkKTmZ361vqj5wzR+jodWvDduMe55W+uzlOoMmExej26g1j2hgSc+ejqYhx Emot5E92l4fEydpI8JWf78v8lLQfJzeSZZ1AU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729815716; x=1730420516; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jUthFarZ3ho/2jvMAY5y9AsNu0VGOg3bGmkjj/9RbfA=; b=lKUh7xJkpAfZ0ciWaz757/r0ItX9yQ/lig3O4AwNgLfOlbVLEragnCZFOep31aIwd+ O5LnbYg5s+Qh0T2amkotQuNUDOuQjHMkmdFOEiFpKZa7M+BWqlTNwwYv1xjnqfeWgpvJ xzlDUFb5zFBFEvF4LFvD4imYCuKLSrIyue8zYpl/15igt7wyRyMZXzvrctdlZMGgNqqR UZJyUCC4rhxulb8riZhC8RdS6uzWg5ZSSZb0LQ25HHQ0nRJqcquQoslQCZ9SfuzoHY/z +fZidmlRKz0LXXq4BT/2xq8F6XQtnqMpcv1STt1rPLh0x/aNRLFLt1g3jfuBbGmxdaow BbPg== X-Gm-Message-State: AOJu0YxoiobTGwKIN1Nj2zSpctU1Pq7ucK1goA+VZ7lQWoDEipv9rA4O Czazsl10qEf++1j4SVaLLv6xUME3yt4bST/VgvCY53byCXQI/Kxp4IVdGgDSCqgjdOvyF78+Uq6 KXrjwSfi0P7jwfIl4slPLLcGR+JcqtAReN6/4JOSjs/bHeFi7011A5oP4ZXmJ06cJWWCYTG/ArT lG+F8ST9mM2GXLv9xLdkaWuKQST8goKewM0+GrBrM= X-Google-Smtp-Source: AGHT+IHzYS0DiSqKSBs+7YlCi0i8l/SvlMc7mDnKqbLV1+qqSbh0qdsm1Zyy1VEbV5ihjmY5ayZDgg== X-Received: by 2002:a05:6214:320a:b0:6cc:8705:b5cf with SMTP id 6a1803df08f44-6ce341a9290mr95141576d6.22.1729815716420; Thu, 24 Oct 2024 17:21:56 -0700 (PDT) Received: from mobile-dev.lan ([73.172.106.204]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d179a7227asm869476d6.145.2024.10.24.17.21.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 17:21:55 -0700 (PDT) Date: Thu, 24 Oct 2024 20:20:31 -0400 Message-ID: <20241025002059.995836-3-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241025002059.995836-1-aaron.covrig.us@ieee.org> References: <20241025002059.995836-1-aaron.covrig.us@ieee.org> MIME-Version: 1.0 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: , Reply-to: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: big bug * gnu/packages/python-xyz (python-pywlroots): New variable. --- gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 41ed393f67..d22fef08b9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -287,6 +287,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages version-control) #:use-module (gnu packages video) #:use-module (gnu packages web) + #:use-module (gnu packages wm) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xml) #:use-module (gnu packages xdisorg) @@ -37150,6 +37151,44 @@ (define-public python-pywayland Python.") (license license:asl2.0))) +(define-public python-pywlroots + (package + (name "python-pywlroots") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pywlroots" version)) + (sha256 + (base32 "1frxqkkh2867rh0c6j0jsmzrga8k6235f6ygkk4cph2883hjpjvj")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (add-before 'build 'pre-build + ;; needed, otherwise pixman.h will not be found + (lambda* (#:key inputs #:allow-other-keys) + (let ((pixman (string-append (assoc-ref inputs "pixman") + "/include"))) + (setenv "C_INCLUDE_PATH" + (string-append pixman "/" "pixman-1" ":" + (or (getenv "C_INCLUDE_PATH") + ""))))))))) + (inputs (list pixman wayland libinput libxkbcommon wlroots)) + (propagated-inputs (list python-pywayland python-xkbcommon)) + (native-inputs (append (if (%current-target-system) + (list pkg-config-for-build wayland) + '()) + (list pkg-config python-cffi))) + (home-page "https://github.com/flacjacket/pywlroots") + (synopsis "Python binding to the wlroots library using cffi") + (description + "A Python binding to the wlroots library using cffi. The library uses +pywayland to provide the Wayland bindings and python-xkbcommon to provide +wlroots keyboard functionality.") + (license license:ncsa))) + (define-public python-srt (package (name "python-srt")