From patchwork Tue Feb 4 15:31:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Amin Bandali X-Patchwork-Id: 20128 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 D114C168CB; Tue, 4 Feb 2020 15:32:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7B37D168C9 for ; Tue, 4 Feb 2020 15:32:09 +0000 (GMT) Received: from localhost ([::1]:60390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz0BN-0005sF-1i for patchwork@mira.cbaines.net; Tue, 04 Feb 2020 10:32:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45579) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz0BH-0005rY-At for guix-patches@gnu.org; Tue, 04 Feb 2020 10:32:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz0BG-0003O0-4F for guix-patches@gnu.org; Tue, 04 Feb 2020 10:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz0BG-0003Nk-0P for guix-patches@gnu.org; Tue, 04 Feb 2020 10:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iz0BF-0002Zz-T9 for guix-patches@gnu.org; Tue, 04 Feb 2020 10:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39422] [PATCH] gnu: Add pasystray. Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Feb 2020 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39422 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39422@debbugs.gnu.org Cc: Amin Bandali X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15808303219906 (code B ref -1); Tue, 04 Feb 2020 15:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2020 15:32:01 +0000 Received: from localhost ([127.0.0.1]:44583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0B8-0002Zb-Ji for submit@debbugs.gnu.org; Tue, 04 Feb 2020 10:32:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:44536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0B2-0002ZQ-TJ for submit@debbugs.gnu.org; Tue, 04 Feb 2020 10:31:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45512) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz0B1-0005bI-GL for guix-patches@gnu.org; Tue, 04 Feb 2020 10:31:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iz0B1-00037R-CE for guix-patches@gnu.org; Tue, 04 Feb 2020 10:31:47 -0500 Received: from cpe00fc8d518353-cm00fc8d518350.cpe.net.cable.rogers.com ([99.228.8.225]:44524 helo=chaman.hitronhub.home) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iz0B0-0002SO-CH; Tue, 04 Feb 2020 10:31:46 -0500 From: Amin Bandali Date: Tue, 4 Feb 2020 10:31:23 -0500 Message-Id: <20200204153123.17099-1-mab@gnu.org> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gtk.scm (pasystray): New variable. --- gnu/packages/gtk.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index f934eabe27..0dc83cf473 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2019 Meiyo Peng ;;; Copyright © 2019 Giacomo Leidi +;;; Copyright © 2020 Amin Bandali ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) + #:use-module (gnu packages avahi) #:use-module (gnu packages base) #:use-module (gnu packages texinfo) #:use-module (gnu packages check) @@ -75,6 +77,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pretty-print) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages guile) @@ -1892,3 +1895,41 @@ displayed on the other side of the bus.") ;; Dual-licensed under either LGPLv2.1 or LGPLv3. (license (list license:lgpl2.1 license:lgpl3)))) + +(define-public pasystray + (package + (name "pasystray") + (version "0.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/christophgysin/pasystray.git") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'bootstrap 'remove-bootstrap.sh + (lambda _ + (delete-file "bootstrap.sh") ; not useful in the context of Guix + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) ; for aclocal + ("pkg-config" ,pkg-config))) + (inputs + `(("pulseaudio" ,pulseaudio) + ("avahi" ,avahi) + ("gtk+" ,gtk+) + ("libx11" ,libx11) + ("libnotify" ,libnotify))) + (home-page "https://github.com/christophgysin/pasystray") + (synopsis "PulseAudio controller for the system tray") + (description "@command{pasystray} enables control of various +PulseAudio server settings from the X11 system tray. See the project +README.md for a detailed list of features.") + (license license:lgpl2.1+)))