From unknown Sun Aug 10 09:10:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48027] [PATCH] gnu: Add volctl. Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Apr 2021 08:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48027@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16194244352150 (code B ref -1); Mon, 26 Apr 2021 08:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Apr 2021 08:07:15 +0000 Received: from localhost ([127.0.0.1]:44363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lawGq-0000YU-Pm for submit@debbugs.gnu.org; Mon, 26 Apr 2021 04:07:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:53950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lawGo-0000YM-KI for submit@debbugs.gnu.org; Mon, 26 Apr 2021 04:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lawGo-0004G4-Eu for guix-patches@gnu.org; Mon, 26 Apr 2021 04:07:06 -0400 Received: from smtprelay02.ispgateway.de ([80.67.31.29]:52686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lawGm-0008G5-Gw for guix-patches@gnu.org; Mon, 26 Apr 2021 04:07:06 -0400 Received: from [91.40.248.39] (helo=milk) by smtprelay02.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1lawGO-0003CH-Q9; Mon, 26 Apr 2021 10:06:40 +0200 From: Simon Streit Date: Mon, 26 Apr 2021 09:00:30 +0200 Gcc: nnfolder+archive:sent.2021-04 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.31.29; envelope-from=simon@netpanic.org; helo=smtprelay02.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/gtk.scm: New Variable. --- gnu/packages/gtk.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 542e274ce3..b4b7dbb785 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -26,6 +26,7 @@ ;;; Copyright =C2=A9 2020 Guillaume Le Vaillant ;;; Copyright =C2=A9 2020 Maxim Cournoyer ;;; Copyright =C2=A9 2021 Leo Famulari +;;; Copyright =C2=A9 2021 Simon Streit ;;; ;;; This file is part of GNU Guix. ;;; @@ -90,6 +91,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages pulseaudio) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match)) @@ -2371,3 +2373,47 @@ linear or logarithmic scales, as dots or lines, with= markers/labels) as well as user interaction (e.g. measuring distances).") (home-page "https://sourceforge.net/projects/gtkdatabox/") (license license:lgpl2.1+))) + +(define-public volctl + (package + (name "volctl") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/buzz/" name + "/archive/v" version ".tar.gz")) + (sha256 + (base32 + "1xanqn6s2i6s2n6wysvgz6l58lsdkl3zmzz4hccla01gx7h4yx4f")))) + (build-system python-build-system) + (arguments + `(#:tests? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pulse (assoc-ref inputs "pulseaudio")) + (xfixes (assoc-ref inputs "libxfixes"))) + (substitute* "volctl/lib/xwrappers.py" + (("libXfixes.so") + (string-append xfixes "/lib/libXfixes.so"))) + (substitute* "volctl/lib/pulseaudio.py" + (("libpulse.so.0") + (string-append pulse "/lib/libpulse.so.0"))) + #t)))))) + (inputs + `(("gtk+" ,gtk+) + ("libxfixes" ,libxfixes) + ("pulseaudio" ,pulseaudio))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-pyyaml" ,python-pyyaml))) + (home-page "https://buzz.github.io/volctl/") + (synopsis "Per-application volume control and OSD for Linux desktops") + (description "Volctl is a PulseAudio-enabled tray icon volume control = and +OSD applet for Linux desktops. It's not meant to be an replacement for a +full-featured mixer application. If you're looking for that check out the +excellent pavucontrol.") + (license license:gpl2))) --=20 2.31.1 From unknown Sun Aug 10 09:10:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48027] [PATCH] gnu: Add volctl. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 May 2021 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Streit Cc: 48027@debbugs.gnu.org Received: via spool by 48027-submit@debbugs.gnu.org id=B48027.162007617320702 (code B ref 48027); Mon, 03 May 2021 21:10:02 +0000 Received: (at 48027) by debbugs.gnu.org; 3 May 2021 21:09:33 +0000 Received: from localhost ([127.0.0.1]:48734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldfoq-0005Nq-Mv for submit@debbugs.gnu.org; Mon, 03 May 2021 17:09:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldfoo-0005Nk-Un for 48027@debbugs.gnu.org; Mon, 03 May 2021 17:09:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34756) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldfoj-0006OC-Nx; Mon, 03 May 2021 17:09:25 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54870 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ldfoj-0003Xz-8k; Mon, 03 May 2021 17:09:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Mon, 03 May 2021 23:09:22 +0200 In-Reply-To: (Simon Streit's message of "Mon, 26 Apr 2021 09:00:30 +0200") Message-ID: <87wnsftth9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Simon, Simon Streit skribis: > * gnu/packages/gtk.scm: New Variable. [...] > + (source (origin > + (method url-fetch) > + (uri (string-append "https://github.com/buzz/" name > + "/archive/v" version ".tar.gz")) > + (sha256 > + (base32 > + "1xanqn6s2i6s2n6wysvgz6l58lsdkl3zmzz4hccla01gx7h4yx4f"))= )) To placate =E2=80=98guix lint=E2=80=99, could you (1) use =E2=80=98git-fetc= h=E2=80=99 instead of referring to an autogenerated tarball, and (2) add a =E2=80=98file-name=E2= =80=99 field as done elsewhere? > + (arguments > + `(#:tests? #t You can remove this line, it=E2=80=99s the default. > + (synopsis "Per-application volume control and OSD for Linux desktops= ") > + (description "Volctl is a PulseAudio-enabled tray icon volume contro= l and > +OSD applet for Linux desktops. It's not meant to be an replacement for a I=E2=80=99d suggest: s/OSD/on-screen display (OSD)/ s/Linux desktops/graphical desktops/ Could you send an updated patch? Thank you, Ludo=E2=80=99. From unknown Sun Aug 10 09:10:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48027] [PATCH] gnu: Add volctl. Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48027@debbugs.gnu.org Received: via spool by 48027-submit@debbugs.gnu.org id=B48027.162029394629672 (code B ref 48027); Thu, 06 May 2021 09:40:02 +0000 Received: (at 48027) by debbugs.gnu.org; 6 May 2021 09:39:06 +0000 Received: from localhost ([127.0.0.1]:37126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leaTD-0007iF-1h for submit@debbugs.gnu.org; Thu, 06 May 2021 05:39:06 -0400 Received: from smtprelay04.ispgateway.de ([80.67.18.16]:58433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leaT9-0007i9-9z for 48027@debbugs.gnu.org; Thu, 06 May 2021 05:38:58 -0400 Received: from [93.195.166.153] (helo=milk) by smtprelay04.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1leaT0-0004TQ-Gg; Thu, 06 May 2021 11:38:46 +0200 From: Simon Streit References: <87wnsftth9.fsf@gnu.org> Gcc: nnfolder+archive:sent.2021-05 Date: Thu, 06 May 2021 11:39:27 +0200 In-Reply-To: <87wnsftth9.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 03 May 2021 23:09:22 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, Ludovic Court=C3=A8s writes: >> + (source (origin >> + (method url-fetch) >> + (uri (string-append "https://github.com/buzz/" name >> + "/archive/v" version ".tar.gz")) >> + (sha256 >> + (base32 >> + "1xanqn6s2i6s2n6wysvgz6l58lsdkl3zmzz4hccla01gx7h4yx4f")= ))) > > To placate =E2=80=98guix lint=E2=80=99, could you (1) use =E2=80=98git-fe= tch=E2=80=99 instead of > referring to an autogenerated tarball, and (2) add a =E2=80=98file-name= =E2=80=99 field > as done elsewhere? Thanks for your reply. I was using guix lint, but there I wasn't quite sure how to it the correct way. Yes, looking at other definitions I simply copied it from there. The linter is quiet now. Thanks for your tip! > Could you send an updated patch? Applied the suggestions. Please find the updated patch as attachment. I'm well chuffed having this posted now. Cheers, Simon --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-volctl.patch Content-Transfer-Encoding: quoted-printable >From 64730108ee4900836637fe2b37619652e2252606 Mon Sep 17 00:00:00 2001 From: Simon Streit Date: Thu, 6 May 2021 11:22:08 +0200 Subject: [PATCH] gnu: Add volctl. * gnu/packages/gtk.scm (volctl): New Variable. --- gnu/packages/gtk.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 542e274ce3..6d32b70458 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -26,6 +26,7 @@ ;;; Copyright =C2=A9 2020 Guillaume Le Vaillant ;;; Copyright =C2=A9 2020 Maxim Cournoyer ;;; Copyright =C2=A9 2021 Leo Famulari +;;; Copyright =C2=A9 2021 Simon Streit ;;; ;;; This file is part of GNU Guix. ;;; @@ -90,6 +91,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages pulseaudio) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match)) @@ -2371,3 +2373,47 @@ linear or logarithmic scales, as dots or lines, with= markers/labels) as well as user interaction (e.g. measuring distances).") (home-page "https://sourceforge.net/projects/gtkdatabox/") (license license:lgpl2.1+))) + +(define-public volctl + (package + (name "volctl") + (version "0.8.2") + (source (origin + (method git-fetch) + (uri (git-reference (url "https://github.com/buzz/volctl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1cx27j83pz2qffnzb85fbl1x6pp3irv1kbw7g1hri7kaw6ky4xiz")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pulse (assoc-ref inputs "pulseaudio")) + (xfixes (assoc-ref inputs "libxfixes"))) + (substitute* "volctl/lib/xwrappers.py" + (("libXfixes.so") + (string-append xfixes "/lib/libXfixes.so"))) + (substitute* "volctl/lib/pulseaudio.py" + (("libpulse.so.0") + (string-append pulse "/lib/libpulse.so.0"))) + #t)))))) + (inputs + `(("gtk+" ,gtk+) + ("libxfixes" ,libxfixes) + ("pulseaudio" ,pulseaudio))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-pyyaml" ,python-pyyaml))) + (home-page "https://buzz.github.io/volctl/") + (synopsis "Per-application volume control and on-screen display (OSD) = for graphical desktops") + (description "Volctl is a PulseAudio-enabled tray icon volume control = and +OSD applet for graphical desktops. It's not meant to be an replacement fo= r a +full-featured mixer application. If you're looking for that check out the +excellent pavucontrol.") + (license license:gpl2))) --=20 2.31.1 --=-=-=-- From unknown Sun Aug 10 09:10:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Simon Streit Subject: bug#48027: closed (Re: bug#48027: [PATCH] gnu: Add volctl.) Message-ID: References: <87r1ih8k8b.fsf@gnu.org> X-Gnu-PR-Message: they-closed 48027 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48027@debbugs.gnu.org Date: Sat, 08 May 2021 12:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1620478142-3609-1" This is a multi-part message in MIME format... ------------=_1620478142-3609-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48027: [PATCH] gnu: Add volctl. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48027@debbugs.gnu.org. --=20 48027: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48027 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1620478142-3609-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48027-done) by debbugs.gnu.org; 8 May 2021 12:48:30 +0000 Received: from localhost ([127.0.0.1]:50116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfMNi-0000w1-LP for submit@debbugs.gnu.org; Sat, 08 May 2021 08:48:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfMNg-0000vi-DA for 48027-done@debbugs.gnu.org; Sat, 08 May 2021 08:48:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60606) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfMNa-00054G-RG; Sat, 08 May 2021 08:48:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60692 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfMNa-0000re-82; Sat, 08 May 2021 08:48:22 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Streit Subject: Re: bug#48027: [PATCH] gnu: Add volctl. References: <87wnsftth9.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 =?utf-8?Q?Flor=C3=A9al?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 08 May 2021 14:48:20 +0200 In-Reply-To: (Simon Streit's message of "Thu, 06 May 2021 11:39:27 +0200") Message-ID: <87r1ih8k8b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48027-done Cc: 48027-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Simon, Simon Streit skribis: > From 64730108ee4900836637fe2b37619652e2252606 Mon Sep 17 00:00:00 2001 > From: Simon Streit > Date: Thu, 6 May 2021 11:22:08 +0200 > Subject: [PATCH] gnu: Add volctl. > > * gnu/packages/gtk.scm (volctl): New Variable. Applied, thanks! I followed up with a comment: it=E2=80=99s not clear to me whether it=E2=80= =99s GPLv2-only or GPLv2-or-any-later-version, given that =E2=80=98setup.py=E2= =80=99 just says GPLv2. Thoughts? Ludo=E2=80=99. ------------=_1620478142-3609-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Apr 2021 08:07:15 +0000 Received: from localhost ([127.0.0.1]:44363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lawGq-0000YU-Pm for submit@debbugs.gnu.org; Mon, 26 Apr 2021 04:07:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:53950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lawGo-0000YM-KI for submit@debbugs.gnu.org; Mon, 26 Apr 2021 04:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lawGo-0004G4-Eu for guix-patches@gnu.org; Mon, 26 Apr 2021 04:07:06 -0400 Received: from smtprelay02.ispgateway.de ([80.67.31.29]:52686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lawGm-0008G5-Gw for guix-patches@gnu.org; Mon, 26 Apr 2021 04:07:06 -0400 Received: from [91.40.248.39] (helo=milk) by smtprelay02.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1lawGO-0003CH-Q9; Mon, 26 Apr 2021 10:06:40 +0200 From: Simon Streit To: guix-patches@gnu.org Subject: [PATCH] gnu: Add volctl. Date: Mon, 26 Apr 2021 09:00:30 +0200 Gcc: nnfolder+archive:sent.2021-04 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.31.29; envelope-from=simon@netpanic.org; helo=smtprelay02.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/gtk.scm: New Variable. --- gnu/packages/gtk.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 542e274ce3..b4b7dbb785 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -26,6 +26,7 @@ ;;; Copyright =C2=A9 2020 Guillaume Le Vaillant ;;; Copyright =C2=A9 2020 Maxim Cournoyer ;;; Copyright =C2=A9 2021 Leo Famulari +;;; Copyright =C2=A9 2021 Simon Streit ;;; ;;; This file is part of GNU Guix. ;;; @@ -90,6 +91,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages pulseaudio) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match)) @@ -2371,3 +2373,47 @@ linear or logarithmic scales, as dots or lines, with= markers/labels) as well as user interaction (e.g. measuring distances).") (home-page "https://sourceforge.net/projects/gtkdatabox/") (license license:lgpl2.1+))) + +(define-public volctl + (package + (name "volctl") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/buzz/" name + "/archive/v" version ".tar.gz")) + (sha256 + (base32 + "1xanqn6s2i6s2n6wysvgz6l58lsdkl3zmzz4hccla01gx7h4yx4f")))) + (build-system python-build-system) + (arguments + `(#:tests? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pulse (assoc-ref inputs "pulseaudio")) + (xfixes (assoc-ref inputs "libxfixes"))) + (substitute* "volctl/lib/xwrappers.py" + (("libXfixes.so") + (string-append xfixes "/lib/libXfixes.so"))) + (substitute* "volctl/lib/pulseaudio.py" + (("libpulse.so.0") + (string-append pulse "/lib/libpulse.so.0"))) + #t)))))) + (inputs + `(("gtk+" ,gtk+) + ("libxfixes" ,libxfixes) + ("pulseaudio" ,pulseaudio))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-pyyaml" ,python-pyyaml))) + (home-page "https://buzz.github.io/volctl/") + (synopsis "Per-application volume control and OSD for Linux desktops") + (description "Volctl is a PulseAudio-enabled tray icon volume control = and +OSD applet for Linux desktops. It's not meant to be an replacement for a +full-featured mixer application. If you're looking for that check out the +excellent pavucontrol.") + (license license:gpl2))) --=20 2.31.1 ------------=_1620478142-3609-1-- From unknown Sun Aug 10 09:10:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48027] [PATCH] gnu: Add volctl. Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 May 2021 22:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48027@debbugs.gnu.org Received: via spool by 48027-submit@debbugs.gnu.org id=B48027.162051299832323 (code B ref 48027); Sat, 08 May 2021 22:30:02 +0000 Received: (at 48027) by debbugs.gnu.org; 8 May 2021 22:29:58 +0000 Received: from localhost ([127.0.0.1]:52656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfVSP-0008PH-T2 for submit@debbugs.gnu.org; Sat, 08 May 2021 18:29:58 -0400 Received: from smtprelay07.ispgateway.de ([134.119.228.104]:44852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfVSN-0008PB-If for 48027@debbugs.gnu.org; Sat, 08 May 2021 18:29:56 -0400 Received: from [93.195.166.188] (helo=milk) by smtprelay07.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lfVS7-0001xE-Ly; Sun, 09 May 2021 00:29:39 +0200 From: Simon Streit References: <87wnsftth9.fsf@gnu.org> <87r1ih8k8b.fsf@gnu.org> Gcc: nnfolder+archive:sent.2021-05 Date: Sun, 09 May 2021 00:30:30 +0200 In-Reply-To: <87r1ih8k8b.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 08 May 2021 14:48:20 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > Applied, thanks! Thanks as well!=20 > I followed up with a comment: it=E2=80=99s not clear to me whether it=E2= =80=99s > GPLv2-only or GPLv2-or-any-later-version, given that =E2=80=98setup.py=E2= =80=99 just > says GPLv2. Thoughts? I was wondering this as well, and concluded that the auther is simply using v2 [1]. Nothing else is stated.=20 We might just leave it as it is for the time being? Cheers!=20 [1] https://github.com/buzz/volctl/blob/master/LICENSE.txt From unknown Sun Aug 10 09:10:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48027] [PATCH] gnu: Add volctl. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 May 2021 07:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Streit Cc: 48027@debbugs.gnu.org Received: via spool by 48027-submit@debbugs.gnu.org id=B48027.162063349318356 (code B ref 48027); Mon, 10 May 2021 07:59:01 +0000 Received: (at 48027) by debbugs.gnu.org; 10 May 2021 07:58:13 +0000 Received: from localhost ([127.0.0.1]:57302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lg0nt-0004m0-K6 for submit@debbugs.gnu.org; Mon, 10 May 2021 03:58:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lg0nr-0004ln-71 for 48027@debbugs.gnu.org; Mon, 10 May 2021 03:58:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56610) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg0nl-0001DT-TQ; Mon, 10 May 2021 03:58:05 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34262 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg0nk-0001Yg-58; Mon, 10 May 2021 03:58:05 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87wnsftth9.fsf@gnu.org> <87r1ih8k8b.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 =?UTF-8?Q?Flor=C3=A9al?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 10 May 2021 09:58:02 +0200 In-Reply-To: (Simon Streit's message of "Sun, 09 May 2021 00:30:30 +0200") Message-ID: <87h7jb58c5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Simon Streit skribis: > Ludovic Court=C3=A8s writes: >> Applied, thanks! > > Thanks as well!=20 > >> I followed up with a comment: it=E2=80=99s not clear to me whether it=E2= =80=99s >> GPLv2-only or GPLv2-or-any-later-version, given that =E2=80=98setup.py= =E2=80=99 just >> says GPLv2. Thoughts? > > I was wondering this as well, and concluded that the auther is simply > using v2 [1]. Nothing else is stated.=20 > > We might just leave it as it is for the time being? Yes, sounds good. Thanks, Ludo=E2=80=99.