From patchwork Wed Apr 15 17:52:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 21278 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 A44B527BBE4; Wed, 15 Apr 2020 18:54:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,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 861A427BBE1 for ; Wed, 15 Apr 2020 18:54:11 +0100 (BST) Received: from localhost ([::1]:53374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOmEl-0003KH-3s for patchwork@mira.cbaines.net; Wed, 15 Apr 2020 13:54:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47455) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOmEe-0003IV-6A for guix-patches@gnu.org; Wed, 15 Apr 2020 13:54:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOmEc-0008UR-Mn for guix-patches@gnu.org; Wed, 15 Apr 2020 13:54:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53792) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOmEc-0008UL-IM for guix-patches@gnu.org; Wed, 15 Apr 2020 13:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOmEc-0001Sa-1t for guix-patches@gnu.org; Wed, 15 Apr 2020 13:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40646] gnu: Add blueman. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Apr 2020 17:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40646 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40646@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15869731925548 (code B ref -1); Wed, 15 Apr 2020 17:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2020 17:53:12 +0000 Received: from localhost ([127.0.0.1]:37105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOmDe-0001RB-PH for submit@debbugs.gnu.org; Wed, 15 Apr 2020 13:53:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:58602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOmDU-0001Qf-PG for submit@debbugs.gnu.org; Wed, 15 Apr 2020 13:53:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47330) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOmDS-0002bW-UB for guix-patches@gnu.org; Wed, 15 Apr 2020 13:52:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOmDR-0007nX-B8 for guix-patches@gnu.org; Wed, 15 Apr 2020 13:52:50 -0400 Received: from knopi.disroot.org ([178.21.23.139]:39334) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOmDQ-0007mn-P4 for guix-patches@gnu.org; Wed, 15 Apr 2020 13:52:49 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8407F237A2 for ; Wed, 15 Apr 2020 19:52:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ht_x4nDLkiLQ for ; Wed, 15 Apr 2020 19:52:44 +0200 (CEST) Date: Wed, 15 Apr 2020 13:52:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1586973164; bh=+qV115MeiQLocrWlYSNED5+3J6hFG+EmtucAxXFp7vI=; h=Date:From:To:Subject; b=VftucncepoqkO2iMN19tyUQwF4css6d9ZeLV8eGhhiOrQG0Ywqa+Xd5LS0T2onINa J4lKlIVvsXMfym50K8qy9hX/3UJcHFbV4HlAC3zpr8wRbHXdP7yY91XqKoTD9Q3ZnK G9/jNIu4AXuBOUqAlM27jb8xenef7e8JcaR06Vs7hemwU+chRB+MSbgtBD1p0qaoXA TfHfE9/pK1+Vrqr4l8b3lJdMsiN5VA5lPSr58EXpLff8ZyAg9IjFpIaAoD2latNVGx HJbtA2yPMrqWiJl+wuJCsBBLcCcWJzAM9Gm4Mui7fu7wi0+qUJWpKB8Rxxd1TuzgdJ Pq+7Qa4v9Kikg== From: Raghav Gururajan Message-ID: <20200415135234.3bd638ea.raghavgururajan@disroot.org> Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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 Hello Guix! Please find the attached patch to add 'blueman' package. Regards, RG. From 5f1a319c6b75b3eb28e8f80ea9b31fc5d6cf70df Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 15 Apr 2020 13:49:55 -0400 Subject: [PATCH 2/2] gnu: Add blueman. * gnu/packages/networking.scm (blueman): New variable. --- gnu/packages/networking.scm | 86 +++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 79b07e23f0..c174911c0a 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -105,7 +105,9 @@ #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) #:use-module (gnu packages pretty-print) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) @@ -122,6 +124,90 @@ #:use-module (gnu packages xml) #:use-module (ice-9 match)) +(define-public blueman + (package + (name "blueman") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/blueman-project/blueman/releases/" + "download/2.1.2/blueman-2.1.2.tar.gz")) + (sha256 + (base32 "0wamxdw36c8i3aqwmja5q70fajqwd7inpkvlpkldd54wdxbcd38d")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + (list + "--enable-polkit" + "--disable-appindicator" ; Deprecated + "--with-systemdsystemunitdir=no" ; Not required + "--with-systemduserunitdir=no") ; Not required + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-python-shebangs + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "apps/blueman-adapters.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-applet.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-assistant.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-manager.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-mechanism.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-report.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-rfcomm-watcher.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-sendto.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-services.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + (substitute* "apps/blueman-tray.in" + (("@PYTHON@") (string-append (assoc-ref inputs "python") + "/bin/python3.7"))) + #t))))) + (native-inputs + `(("cython" ,python-cython) + ("glib:bin" ,glib "bin") + ("gtk+:bin" ,gtk+ "bin") + ("intltool" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("adwaita-icon-theme" ,adwaita-icon-theme) + ("bluez" ,bluez) + ("dbus" ,dbus) + ("gdkpixbuf" ,gdk-pixbuf) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("iproute2" ,iproute) + ("net-tools" ,net-tools) + ("pango" ,pango) + ("polkit" ,polkit) + ("pulseaudio" ,pulseaudio) + ("pycairo" ,python-pycairo) + ("pygobject" ,python-pygobject) + ("python" ,python) + ("libnm" ,libnma))) + (synopsis "GTK+ Bluetooth Manager") + (description "Blueman is a bluetooth management utility using bluez dbus +backend. It is designed to be easy to use for most common bluetooth tasks.") + (home-page "https://github.com/blueman-project/blueman") + (license license:gpl3+))) + ;; The gnu.org ‘home’ for this GNU project is a directory listing with 1.6.0 as ;; the latest version. The author's git repository, mentioned in the 1.6.0 ;; README and otherwise legit-looking, contains a proper 1.7.0 release tarball -- 2.26.0