From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id xnTIILW7hmCIkwAAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 15:10:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oL4mG7W7hmDqeQAAbx9fmQ (envelope-from ) for ; Mon, 26 Apr 2021 13:10:13 +0000 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 DEBF61647F for ; Mon, 26 Apr 2021 15:10:12 +0200 (CEST) Received: from localhost ([::1]:33636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb107-0008Kv-U6 for larch@yhetil.org; Mon, 26 Apr 2021 09:10:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lawHi-0005Gr-Oa for guix-patches@gnu.org; Mon, 26 Apr 2021 04:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lawHi-0000R4-HH for guix-patches@gnu.org; Mon, 26 Apr 2021 04:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lawHi-0000Zw-An for guix-patches@gnu.org; Mon, 26 Apr 2021 04:08:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 26 Apr 2021 09:08:13 -0400 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619442613; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=JSbuBZAJ2MTk3Ob2sD3050wK2BXvBykRN0A1OHVPYYw=; b=npdKzx+u5RMhIGRXHtGrAkvzG26UPFzCemgzOJ1EBoMSoWk4W7VyDdBNGBF3bhyfwdrwGy Gy1lZho3pb2IVH9WMuMp9D2cKPrTtMSodMfaJq0T6gZYdQgE12BoxV+X+Q38v4tN7VQOzD r+OV8nVdHYs6dos6/QKp59dfntjVvrEXhwxn7ZEGtmSfktn7Kup9X5i1+mwfcMaSUGungS dg7FFqaJVkmIGHk+Tx9CbIjnZumk07Y/KKB1vKiNGzJxjxFB9+cs2HI4kOFuu3dcFxgfy7 21w5qicHIy+UoJ1LBiY5DOBtutxyi8wMCqPQCW/3sYOWG3txUjNrtgfcCeLk5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619442613; a=rsa-sha256; cv=none; b=JOJUAnzVxGL0fTeFpH/dFifOjhL2nTeMRIIwaAMd/qgn8fIZPCO/UUmGFFDpLfoVN7ggzF uFvKBltCFpnZHMUncmyAwaR5yAQCfSsu93LvKbKEctkEv6+CDl3obQXbsbPLIJM+hMc9zG Ab+BunZcFoVMSIPc9uJeFjkWM9t5kjT3VZIeiVv/fCDzmkAiulm+YeesWqk5mDIA5z3fli GcK/lFA173Wd7Aqy4IiloVuAOPsRdVIHiL5CSgtVg+z5XxWM4GrV3fmPyHUobJ6iSdimue Gdl6bvwbdAIzITYF9VnCyy2z3gXKwI9yXY9u/IVLlSPsuxX+SKM/KUpm+p1dCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DEBF61647F X-Spam-Score: -3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4v+PmzHNuSWw * 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