From patchwork Wed Jun 22 06:20:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 40220 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CB43027BBEA; Wed, 22 Jun 2022 07:22:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3C84627BBE9 for ; Wed, 22 Jun 2022 07:22:51 +0100 (BST) Received: from localhost ([::1]:54842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3tlK-00013l-CJ for patchwork@mira.cbaines.net; Wed, 22 Jun 2022 02:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3tjc-0007sX-GH for guix-patches@gnu.org; Wed, 22 Jun 2022 02:21:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3tjZ-0004VH-VL for guix-patches@gnu.org; Wed, 22 Jun 2022 02:21:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3tjZ-0005q5-SM for guix-patches@gnu.org; Wed, 22 Jun 2022 02:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56128] [PATCH 3/4] gnu: Add gnome-shell-extension-sound-output-device-chooser References: In-Reply-To: Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jun 2022 06:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56128 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56128@debbugs.gnu.org Received: via spool by 56128-submit@debbugs.gnu.org id=B56128.165587884922389 (code B ref 56128); Wed, 22 Jun 2022 06:21:01 +0000 Received: (at 56128) by debbugs.gnu.org; 22 Jun 2022 06:20:49 +0000 Received: from localhost ([127.0.0.1]:33798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3tjM-0005p3-Uv for submit@debbugs.gnu.org; Wed, 22 Jun 2022 02:20:49 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:42401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3tjL-0005om-9i for 56128@debbugs.gnu.org; Wed, 22 Jun 2022 02:20:48 -0400 Date: Wed, 22 Jun 2022 06:20:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail3; t=1655878840; x=1656138040; bh=vFT6EwNpPhYtksRs689e3jM+d+S9Pkh/bnI2JcLhWQ8=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=NV40GxepOJAzknxRit38T2KvYIok97dcv/FSzCQwwRzL58GbfYk7ijOCRiAO/r39U 9ch+jDrUWYmkOpiChZf7+OZgb2wIPIc+csYBbjcjrjx3RuWbagzxF7kAdGKH375fqs wq69qXc4nVJhSBTS87ahvv1BpF97rPMoRz8RyJbcm+orFPH5OodfgA+H/2ZGd3FKNO e7MCColIfchk4G8v43UtJl3kXLxHJTbVsKbjngxLHk+KZXV7ioae1xqOM8m84f2czW zyDl+lITGG6OeN0MD18Bc75TMUZmg09iB7vRanlFbFfMAVpTq2Ed/qR7NzfThw4+la gLwXe3FXLN+Cw== Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha X-getmail-retrieved-from-mailbox: Patches From f6090daf39b938440bc5381bfd53ffc69083f25f Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 22 Jun 2022 08:08:04 +0200 Subject: [PATCH 3/4] gnu: Add gnome-shell-extension-sound-output-device-chooser * gnu/packages/gnome-xyz.scm: Add gnome-shell-extension-sound-output-device-chooser --- gnu/packages/gnome-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) -- 2.36.1 diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index f91d59dd62..0c256c3187 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -1038,6 +1038,40 @@ (define-public gnome-shell-extension-radio "This extension allows to browse, add and play internet radio streams.") (license license:gpl3+))) +(define-public gnome-shell-extension-sound-output-device-chooser + (package + (name "gnome-shell-extension-sound-output-device-chooser") + (version "43") + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/kgshank/gse-sound-output-device-chooser") + (commit version))) + (sha256 + (base32 + "1qk6ypyqbv8zwwlky6cgk9hgp1zh32jmzw4wza200g4v94ifkwm9")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-hardcoded-path + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("INSTALL_DIR=~/.*") (string-append "INSTALL_DIR=" + (assoc-ref outputs "out") + "/share/gnome-shell/extensions"))))) + (delete 'configure)))) + (native-inputs `(("gettext" ,gettext-minimal) ("glib:bin" ,glib "bin"))) + (inputs (list python)) + (home-page + "https://extensions.gnome.org/extension/906/sound-output-device-chooser") + (synopsis "Sound output chooser for GNOME Shell") + (description + "This extension shows a list of sound output and input devices (similar to gnome sound settings) in the status menu below the volume slider. Various active ports like HDMI , Speakers etc. of the same device are also displayed for selection.") + (license license:gpl3))) + (define-public arc-theme (package (name "arc-theme")