From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8F1GAmyDxGPv2gAAbAwnHQ (envelope-from ) for ; Sun, 15 Jan 2023 23:51:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kJVvAWyDxGNDQAAAG6o9tA (envelope-from ) for ; Sun, 15 Jan 2023 23:51:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C219CE7DC for ; Sun, 15 Jan 2023 23:51:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHBqC-0007zf-I2; Sun, 15 Jan 2023 17:51:05 -0500 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 1pHBqA-0007zE-CS for guix-patches@gnu.org; Sun, 15 Jan 2023 17:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHBqA-00070d-3X for guix-patches@gnu.org; Sun, 15 Jan 2023 17:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHBq9-0000Nl-WD for guix-patches@gnu.org; Sun, 15 Jan 2023 17:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60840] [PATCH 2/3] gnu: packages: Add python-pulsectl. Resent-From: Sergiu Ivanov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Jan 2023 22:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60840@debbugs.gnu.org Received: via spool by 60840-submit@debbugs.gnu.org id=B60840.16738230371430 (code B ref 60840); Sun, 15 Jan 2023 22:51:01 +0000 Received: (at 60840) by debbugs.gnu.org; 15 Jan 2023 22:50:37 +0000 Received: from localhost ([127.0.0.1]:59877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHBpl-0000N0-G1 for submit@debbugs.gnu.org; Sun, 15 Jan 2023 17:50:37 -0500 Received: from marvid.fr ([163.172.81.107]:58914 helo=courriel.marvid.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHBpj-0000Mh-S3 for 60840@debbugs.gnu.org; Sun, 15 Jan 2023 17:50:36 -0500 Received: from localhost (schwifty.marvid.fr [51.159.4.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id 712A07CA550C for <60840@debbugs.gnu.org>; Sun, 15 Jan 2023 23:50:30 +0100 (CET) References: <87k01na0gm.fsf@colimite.fr> User-agent: mu4e 1.8.13; emacs 28.2 From: Sergiu Ivanov Date: Sun, 15 Jan 2023 23:49:58 +0100 In-reply-to: Message-ID: <87h6wr8lah.fsf@colimite.fr> MIME-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0002-gnu-packages-Add-python-pulsectl.patch Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673823083; a=rsa-sha256; cv=none; b=JiFRpuywW1UBuBv/9f+DJsKotbg+S8JU7fDd5qDDHvMgo8ocpXnI0OZ7RX5O2JNRsfCmPQ GJHJMA98d/Dgtgn1ZHGduYRa95ri5zdyb1UaxdCfe5W6gj31ApNuGdCxtoMqlFQUaWqEPd D7nt8LZGg8oZ/1qs+K02DgVNEEkktqEm12GUKr0OJVL5IfIizCLLDCo+pUUV02zGI7cRox oSSBGN/T5BhHVI/w7zE7lGKVbh9s24vP+bps1/6/rWE0yeLhsuOw2cpLfyVMLgzk7+9aPD AtNc0qfPRy36F45Tp0c1iZ7mp9b1lKRVE6rxvSUfQVUvtgR/YeL3c5SowsC3/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673823083; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=jT/Qkd/lkkgTNmqqo7lAMJrrqOPa5pwXY87F8/sd884=; b=NBcIdELcZgMHUY8UDZShHc9iKL7pI2q4TC0wLbRTTvmH5fkKM3yYwuu0LiVKfswiNSh7UE 4IaiySpuIv/xp2FBlKMqbmXcLfaLEsJylIFgZw20tE267137msMUekzlI4TE4V8o68z3AJ ATMT0fUCMaerfA/EN2hW7+bgmAaPJfPv1hs0PQ93/sKJqu0BHVEipGhR7ydcGDA38JnWBE tUOCNFIEJjrnlwcH0pU7yO0XMy+xM/3uPtiUHN3AAd5t9VvixIGt4XmjqK2nso6R7LKdg+ vHwgaVsqrM6ixJaDf6I7HsoeCI46hfzD1HGFay4yHVjAhEcvQKscKJbbqlFHJg== X-Migadu-Queue-Id: C219CE7DC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -3.12 X-Spam-Score: -3.12 X-TUID: 6swyWJhfvZcR >From b92cdb4ce99bc7ad45e0caba7f863db5931741db Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Sun, 15 Jan 2023 23:16:02 +0100 Subject: [PATCH 2/3] gnu: packages: Add python-pulsectl. * gnu/packages/audio.scm (python-pulsectl): New variable. --- gnu/packages/audio.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index d72cf0ca87..391a763e45 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -40,6 +40,7 @@ ;;; Copyright =C2=A9 2022 Juliana Sims ;;; Copyright =C2=A9 2022 Simon Streit ;;; Copyright =C2=A9 2022 Andy Tai +;;; Copyright =C2=A9 2023 Sergiu Ivanov ;;; ;;; This file is part of GNU Guix. ;;; @@ -2779,6 +2780,39 @@ (define-public python-pyaudio cross-platform audio input/output stream library.") (license license:expat))) =20 +(define-public python-pulsectl + (package + (name "python-pulsectl") + (version "22.3.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "pulsectl" version)) + (sha256 + (base32 + "115ha1cwpd2r84ssnxdbr59hgs0jbx0lz3xpqli64kmxxqf4w5yc")))) + (build-system python-build-system) + (inputs (list pulseaudio)) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pulse (assoc-ref inputs "pulseaudio"))) + (substitute* "pulsectl/_pulsectl.py" + (("libpulse.so.0") + (string-append pulse "/lib/libpulse.so.0"))) + #t)))))) + (home-page "https://github.com/mk-fg/python-pulse-control") + (synopsis + "Python bindings for mixer-like controls in PulseAudio") + (description + "Python high-level interface and ctypes-based bindings for +PulseAudio (libpulse), to use in simple synchronous code. This wrapper is +mostly for mixer-like controls and introspection-related operations, as +opposed to e.g. submitting sound samples to play and player-like client.") + (license license:expat))) + (define-public python-pyliblo (package (name "python-pyliblo") --=20 2.38.1