From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AAfMBNVRM2fU1gAA62LTzQ:P1 (envelope-from ) for ; Tue, 12 Nov 2024 13:02:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AAfMBNVRM2fU1gAA62LTzQ (envelope-from ) for ; Tue, 12 Nov 2024 14:02:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=BVuFzY4t; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TWyennlC; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731416533; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=1KwzDSgPmeTVgF+g3IHIGU1XaMCBu5W5YXvqftmT2NY=; b=XeqJ3Xj3sCKhxa698tTQqlbflxpitc9P8Zj1Sep8D7oMrqVipHQVeaqFWaLxB4NDTC9rsy jafcsUdwzyOXJr1LvMkCALaOSnMV/2LvWhJps7VYOM0xtpTvdnaGgGyBgYRa59yaD8IRAM J1Bgc2DVM5ghn3Y9pFDPEwAg2J6g/wc+ayabiX1ICUiUi7KWuBcS1kJUOIYlYMSYHM6SwG QhmUVFOoKwOhxFQhfNe6oy5TA3G0PWyAXwWdFcsI9+7ObhUSsWX10hLQEZ5UTagLtOwRW+ LbHIgn/9UMMlAUJzZ86mZ4Frr2/6v65p5P8254OIMWN/rtYlZhptaQDGrS/EfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=BVuFzY4t; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TWyennlC; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731416533; a=rsa-sha256; cv=none; b=D6MOBq2t24j9sI2FDhNu2YaXN9U16Vk2tWS8F7kLezmo/vLHLaPbAINyK6av0Qqe9ocwJQ zAYNbfI00CG0RDgnB+MiS0ly2KrMasABeSDYVS9Cda3xqu4wLDyzMc3LOFo1uTni8WXm+P w6LosiIkUtU+uxE8FsgAQ7Lm0HaQGTGNQrBxFsjSw9IXESe67CnfwVt4lmLzf+UJXXR83j wdKjOqNE0KHDz9SyTZItXR/HbhhGGm4eKDk1ViI75IgbQyI810t8iS+5wWyXIodcHMNvZp 9GNuL8ze6vG3hueSS1O7U/GOYwnsNnSC5ky/H8Fd8OLIIz6BXrlpIudp3RjTzA== 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 9D7B4467CD for ; Tue, 12 Nov 2024 14:02:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAqWn-0005AK-9A; Tue, 12 Nov 2024 08:01:54 -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 1tAqW1-0004rz-Ts for guix-patches@gnu.org; Tue, 12 Nov 2024 08:01:06 -0500 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 1tAqW1-0002xY-JK for guix-patches@gnu.org; Tue, 12 Nov 2024 08:01:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=1KwzDSgPmeTVgF+g3IHIGU1XaMCBu5W5YXvqftmT2NY=; b=BVuFzY4tZF6M7PVdYhhdJ4BfUq5h/Aoc6/3nkUKDrcP27/Mhza67iX5qcOEoghfbFP3P3S0lQykrj5lyckscjT/ayOfkVEhBSrGaQURceX8GmrU6u2GFAe7Z0JBjo9wMAeE8x7DCCqnT9MX6fv6ioZ1aHsXjleSp+RAAJUCY7QhIUQXNtaZalOmqjGeSDtz+ZRxWjuwPh4JbE0BHbxvxRNPu/onx/4glc416o/os6UgpM5Rfki+aD+/UmOncPXHeoNPihbDydEXi24aibekUCZUUjljnWxrx1XKDIy4sjzAiRBgPieHKPYJmfD75En8HhyaHIYyHywX6tJhEwTqcaw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAqVy-0006Id-2D; Tue, 12 Nov 2024 08:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73647] [PATCH] gnu: Add indicator-sound-switcher. References: <1266383a76e3fe2cd6e05894e3c04b5b5fdc0242.1728154207.git.sebastian.willenbrink@gmail.com> In-Reply-To: <1266383a76e3fe2cd6e05894e3c04b5b5fdc0242.1728154207.git.sebastian.willenbrink@gmail.com> Resent-From: Sebastian Willenbrink Original-Sender: "Debbugs-submit" Resent-CC: sebastian.willenbrink@gmail.com, ngraves@gmx.com, ngraves@ngraves.fr, guix-patches@gnu.org Resent-Date: Tue, 12 Nov 2024 13:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73647 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73647@debbugs.gnu.org Cc: Sebastian Willenbrink , Sebastian Willenbrink , Nicolas Graves , Nicolas Graves X-Debbugs-Original-Xcc: Sebastian Willenbrink , Nicolas Graves , Nicolas Graves Received: via spool by 73647-submit@debbugs.gnu.org id=B73647.173141641524137 (code B ref 73647); Tue, 12 Nov 2024 13:01:01 +0000 Received: (at 73647) by debbugs.gnu.org; 12 Nov 2024 13:00:15 +0000 Received: from localhost ([127.0.0.1]:32848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAqVD-0006HD-6O for submit@debbugs.gnu.org; Tue, 12 Nov 2024 08:00:15 -0500 Received: from mail-ej1-f51.google.com ([209.85.218.51]:42326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAqVA-0006Bo-N5 for 73647@debbugs.gnu.org; Tue, 12 Nov 2024 08:00:13 -0500 Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a9e8522c10bso871404766b.1 for <73647@debbugs.gnu.org>; Tue, 12 Nov 2024 05:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731416347; x=1732021147; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1KwzDSgPmeTVgF+g3IHIGU1XaMCBu5W5YXvqftmT2NY=; b=TWyennlCmqS1DxKjcDQTyO6SCwpck5I3E4+yG5LU/h37Osutqahztxb1FaMufSWIyg QNlk8Q2MVbfP1qtRTgoe4cVtge5sX3v5Zb+tchiSi+TK4XgMXLs0HkezB0bRpfeGw+rd SfohDCULhy4PoI3IQUuzIQQ/64cq4huUuHobYjFK8hBbqXjiSlwKl4xIT4WvCWwijITH nct8kdDszemP1JeidkUwOkSeBWJZYzGYz2FHB/cIhRLFKa29yJZ54VRpQorzPAf6Mi1M aUF4Va8izExga1tzvwiwPqvT/J0fpVvHh4kYtxB6GXzIo7HG8GQBHTFREyDh05CCirL+ m1xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731416347; x=1732021147; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1KwzDSgPmeTVgF+g3IHIGU1XaMCBu5W5YXvqftmT2NY=; b=FhSKfQNGkM5CJl0ndaDNWhAsijCZ/8E8vf8WnbfwPrpRs+ysKPCEMF/kxZF3WgWQAo y+oCdC0zPBK8DNxTsDwEmX4zt2rqwobBR0TlknsEDAKL02englhfPxHahOVYEmKlVFif IZ4TW+412tnasATmsZVhjC6H6hPfZ8bt64mj6ahsq4BobMVFafs5hcgekTSPqvaBgz5J V03rUKZr3r+7ZkxqbsUXLFZUI3VpT/oc58XRJXFdtde+pY86osyNhDRgecmauT/kKLYm Vy6jj5BOhbncAyxEp9ffsnp+TYLaVd+bE5d2c0jzcNk9yT9gQoBbyBr9jCIt8tQ6D5nm P/sA== X-Gm-Message-State: AOJu0YyhqsGweQcQtLy6EDAdx/l6Rwk2RNznLGgyHpS7VVOJVNXInlRY axlElAA1aMOjAuZuyyNL5fgYFUhumcbGsQgLVlWCYKEu0h3zpF65NrIiPfrDvF0= X-Google-Smtp-Source: AGHT+IH2Eq0MZgDQdBhX6h74ED1LRXqQPpkGRxM2Gss7eSsYiu085V7yUNu/coSLCkKrb60MifzG1Q== X-Received: by 2002:a17:907:2688:b0:a9a:cea7:1294 with SMTP id a640c23a62f3a-a9eeca81d45mr1614723666b.21.1731416345740; Tue, 12 Nov 2024 04:59:05 -0800 (PST) Received: from framework-guix.fritz.box (ip5f5befc3.dynamic.kabel-deutschland.de. [95.91.239.195]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9ee0def4b5sm721578866b.146.2024.11.12.04.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 04:59:05 -0800 (PST) From: Sebastian Willenbrink Date: Tue, 12 Nov 2024 13:58:59 +0100 Message-ID: <81ee4883a6a714b32146e01c99270d16ae7d44ff.1731415143.git.sebastian.willenbrink@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 5.59 X-Spam-Score: 5.59 X-Migadu-Queue-Id: 9D7B4467CD X-TUID: +renTeXQ809G * gnu/packages/wm.scm (indicator-sound-switcher): New variable. Change-Id: I013091cca83fc96c47b5a7ebe5ccfc7db1354ff1 --- gnu/packages/wm.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 836d4b6c04..61f8d4a310 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -112,6 +112,7 @@ (define-module (gnu packages wm) #:use-module (gnu packages) #:use-module (gnu packages bash) #:use-module (gnu packages admin) + #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bison) @@ -3969,3 +3970,41 @@ (define-public wf-config configuration files of Wayifre. It can set key and mouse bindings, configure input, and customize Wayfire plugins.") (license license:expat))) + +(define-public indicator-sound-switcher + (package + (name "indicator-sound-switcher") + (version "2.3.10.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/yktoo/indicator-sound-switcher") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0y52k56ww2327r7ywwdvld5lx85qmcy8yrpaxc5lim7w3jbf3s85")))) + (build-system python-build-system) + (native-inputs (list gettext-minimal gobject-introspection)) + (inputs (list python-pygobject girara python-pulsectl pulseaudio)) + (propagated-inputs (list libappindicator keybinder)) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'install 'patch-xdg-autostart + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "setup.py" + (("/etc/xdg/autostart") + '"share/etc/xdg/autostart")) + (substitute* + "lib/indicator_sound_switcher/lib_pulseaudio.py" + (("libpulse.so.0") + (search-input-file inputs "/lib/libpulse.so.0")))))))) + (home-page "https://github.com/yktoo/indicator-sound-switcher") + (synopsis "Sound input/output selector indicator for Linux") + (description + "indicator-sound-switcher shows an icon in the indicator area or the system +tray (whatever is available in your desktop environment). The icon's menu allows +you to switch the current sound input and output (i.e. source ports and sink +ports in PulseAudio's terms, respectively) with just two clicks.") + (license license:gpl3))) base-commit: 40625c213ad2007f70117518a7cc290d367e652a -- 2.46.0