From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sKM9GWODxWP5XQAAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 18:03:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uCNgGWODxWNOhgAAauVa8A (envelope-from ) for ; Mon, 16 Jan 2023 18:03:31 +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 F125817BEA for ; Mon, 16 Jan 2023 18:03:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHStD-0008Bk-Br; Mon, 16 Jan 2023 12:03:19 -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 1pHSsx-000837-8D for guix-patches@gnu.org; Mon, 16 Jan 2023 12:03:11 -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 1pHSsw-0007zP-EM for guix-patches@gnu.org; Mon, 16 Jan 2023 12:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHSsv-0007Bh-QZ for guix-patches@gnu.org; Mon, 16 Jan 2023 12:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60840] [PATCH 0/3] gnu: volctl: Update to 0.9.3. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Jan 2023 17:03: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: Sergiu Ivanov Cc: 60840@debbugs.gnu.org Received: via spool by 60840-submit@debbugs.gnu.org id=B60840.167388853127571 (code B ref 60840); Mon, 16 Jan 2023 17:03:01 +0000 Received: (at 60840) by debbugs.gnu.org; 16 Jan 2023 17:02:11 +0000 Received: from localhost ([127.0.0.1]:34548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHSs7-0007Ad-FO for submit@debbugs.gnu.org; Mon, 16 Jan 2023 12:02:11 -0500 Received: from mail-qt1-f177.google.com ([209.85.160.177]:37546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHSs3-0007AD-39 for 60840@debbugs.gnu.org; Mon, 16 Jan 2023 12:02:09 -0500 Received: by mail-qt1-f177.google.com with SMTP id j9so2336773qtv.4 for <60840@debbugs.gnu.org>; Mon, 16 Jan 2023 09:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=4Y9IIwuOTB3ojt8oSJ+kVS2vkSGOKs7VysKyKFvqG8M=; b=TQw049dxhQnB2RIwxovLx6Y8fT5O70IFHserzCh9NXJsbf82qr0+cES/3RIRBLouci MxzrzVaPuT9JqNcEUYB9h2VhGCFzwEOghUDUBteH1bLz+Mxwp6uWBBJmlb64HlIN4r7a Q+PD4CedE6tPf4y3xKPB9fcEjr/fZIhI7FsHdZusyg0qQDIw3UlLs96gH3EEhbA1UQqK clStKqKRdTXV3J7Va3SDZxJEpeo4sHOUi6YNnPNzYrrwZ/kjUNJ/FgBYtqdxjoYhThSJ DxwjtnCCqkljd8mFGlOD2nB4SL8EXhUq6eXyC9Gx/xS1IW3CaH3oKIyONUOrSrCPV+SQ uyfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4Y9IIwuOTB3ojt8oSJ+kVS2vkSGOKs7VysKyKFvqG8M=; b=6KE2fSi//RIoQvFhg6ADU89JZJCGWdCVPIheMEijQcfeXbUdbLX05N24R02aAkOIq0 eObKCAiUtnud1lc0k7PaqcU5upLRgHgvb4RpN5bv5XDRXJsDWh3YUxfmT5IgXEslAM6G qt5ujtuvnIQrAYaATOngCDM8ERMV4Bla7ZLhkJ8k/0EJzyKpOjH0SA+DPdFgG0Mbo2/r 0rzRR6Gqbtk1JIOc0QjIeHFaEFYYUEv8g1DSQiI/NKpRz6QT1veFjD5abm+oi3hWl4KY p1KeQP61Q4l9eSajRsFjmer28hONfIN3ThISaBMr3A+bo7lnj315rcamdHE2yr39yIET 2PzA== X-Gm-Message-State: AFqh2kr2rTPA28hwvYFvVWktwl5E5b6AvUt63tsI/0pomzc9HPUkhFgO A/pNmoBQt4W5zbJZ0Bkelkd2HDPLpzvaI81C X-Google-Smtp-Source: AMrXdXteOxaeGPt2xZWAmUggAoHFk112PZoCrZ1zWbERC6OU9uHxRPveCizukfM/gcSQmVye4cRO2Q== X-Received: by 2002:ac8:7ca3:0:b0:3a7:f08f:4788 with SMTP id z3-20020ac87ca3000000b003a7f08f4788mr110895468qtv.63.1673888521247; Mon, 16 Jan 2023 09:02:01 -0800 (PST) Received: from hurd (dsl-10-130-209.b2b2c.ca. [72.10.130.209]) by smtp.gmail.com with ESMTPSA id hg20-20020a05622a611400b003a81eef14efsm14786026qtb.45.2023.01.16.09.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 09:02:00 -0800 (PST) From: Maxim Cournoyer References: <87k01na0gm.fsf@colimite.fr> <87h6wr8lah.fsf@colimite.fr> Date: Mon, 16 Jan 2023 12:01:59 -0500 In-Reply-To: <87h6wr8lah.fsf@colimite.fr> (Sergiu Ivanov's message of "Sun, 15 Jan 2023 23:49:58 +0100") Message-ID: <871qnu76rc.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TQw049dx; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673888611; a=rsa-sha256; cv=none; b=kV2loFR+t1e+oZJq3EKTY+5ch85xAITrlzqDw8Q9EXOq1CrozZ+A2VfbFQsRPDefzK1c1C cI+R8vuWxYttWEcX7OSF1gbDMdq5e5NLXZ9IRqHeZEeZh6jF6WShcpy4fqVhQDYvdec5Gl bFqkyrk1Il5zGERt8picSX6Tz3PFUfPaUZ0wqoLOuN+Sez90qfII9VleJ+g+jDapBNbdDH pZo+EW2nQ0QpMMUID46JnTEWENnOZ83EsLboSy5L/HFuPBRlRnov8UsUb/9QHcGJke9SJ5 9uXE6mHRE8mX75LBp69WmnXvKilwyhQRMGIVqHrB41KvYNKYK64AqDBPScA7Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673888611; h=from:from:sender:sender: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: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:dkim-signature; bh=4Y9IIwuOTB3ojt8oSJ+kVS2vkSGOKs7VysKyKFvqG8M=; b=IzughkfC+8+0tfQahKl15dJPfYncxwo5Z44Who6a7Hy7rJU/b+nR0cnNiHUenZUJa3/+dY 6EU8fSuBMGn6KPdQNE7TKqWqlHw9QgMBObRq+Dgpo9pDfBUYZDNT+IYmU7TJh0R6o02E/M 5KUZ08mmpxiSF53iXyMp7byf4HJW/bTY0MZTUfj04/sXpA19iDb67PjUJcPJp/gN4W6sSJ gXjVFnymHxo/ix1x8FZajM0VFJ1tG+ifCkeXPNMPimoxdjpEbd6njvOF7cJUrv6RopsllX Uz5Bcy+XLoEOAnSHLMDOuUkkdO30FYgXXKRAc9dG2RGz54Q6ia2BRCWHwJ+cig== X-Migadu-Queue-Id: F125817BEA X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TQw049dx; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Spam-Score: -2.13 X-Spam-Score: -2.13 X-TUID: dPwnxqU/jL14 Hello, Sergiu Ivanov writes: >>>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. Thanks for this contribution! > --- > 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=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 Tests are typically stripped from the pypi source archive (sdist). If you look into the source repository, there are tests under pulsectl/tests, so it'd be better to fetch the source from git. Also note that for the cases where using #:tests? #f is actually needed (when there really are no test suite), a short explanatory comment is expected (;no test suite). > + #: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)))))) Please do not include trailing #t in phases or snippets anymore; they are not needed. Also prefer using a plain list for arguments and g-expressions (gexps). > + (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.") I'd start the description with "This package provides a Python high-level interface [...]", to make it a complete sentence. I'd use plural for the last word (player-like clientS), as there could be more than one client available. Don't forget to CC my email when sending a revised v2 version with the above :-). --=20 Thanks, Maxim