From patchwork Mon Apr 20 06:10:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 21367 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 CFE2B27BBE4; Mon, 20 Apr 2020 07:11:09 +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 472F627BBE1 for ; Mon, 20 Apr 2020 07:11:09 +0100 (BST) Received: from localhost ([::1]:58090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQPe8-00035I-PM for patchwork@mira.cbaines.net; Mon, 20 Apr 2020 02:11:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34132 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQPe3-00035C-TN for guix-patches@gnu.org; Mon, 20 Apr 2020 02:11:04 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQPe3-00014l-50 for guix-patches@gnu.org; Mon, 20 Apr 2020 02:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34935) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQPe2-000140-PZ for guix-patches@gnu.org; Mon, 20 Apr 2020 02:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQPe2-0005EQ-IY for guix-patches@gnu.org; Mon, 20 Apr 2020 02:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40646] gnu: Add blueman. (v2) Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Apr 2020 06:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40646 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: 40646@debbugs.gnu.org Received: via spool by 40646-submit@debbugs.gnu.org id=B40646.158736305620099 (code B ref 40646); Mon, 20 Apr 2020 06:11:02 +0000 Received: (at 40646) by debbugs.gnu.org; 20 Apr 2020 06:10:56 +0000 Received: from localhost ([127.0.0.1]:46481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQPdw-0005E6-73 for submit@debbugs.gnu.org; Mon, 20 Apr 2020 02:10:56 -0400 Received: from knopi.disroot.org ([178.21.23.139]:34086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQPdu-0005Dx-2N for 40646@debbugs.gnu.org; Mon, 20 Apr 2020 02:10:55 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 9E93925035; Mon, 20 Apr 2020 08:10:52 +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 xFqK4BYcKVtB; Mon, 20 Apr 2020 08:10:51 +0200 (CEST) Date: Mon, 20 Apr 2020 02:10:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1587363049; bh=fbYTZfK2F5BJaI92+ZoH5DkmiL27Ij0Z+OmXpgsOJjE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=aGRvfjDpxTThjkjOcRKvcdttkGgNSljcNA0oq8W4tJMtBfUrje036m/7O/Nwjc+gJ 4lc6U6d05u8DjSpumLX+hJtOpBca2QbD0oUtv4YA8+Pc2j6j0wlu/VvGUJSNNNru6C A23HzAw+Wo30JX7Kmk3T+zhIjcUOmoog9Gtju8mZt16Sai8JmmUnRjjiocQc2WLUEr W7h8tmRvr7OlL/OU5GzabSI2BEpeDyxlm9KHLIxDO7cDuLwno9jiDXMgTssvxtQ8vY E6RdHZQf/jCWbDsZSI2osIOGKxEzOHP8HLXkXMbOSQTXpIWizAWoIh9kh5Ym666esh b9VWFdK/xYSPA== From: Raghav Gururajan Message-ID: <20200420021032.3f191a82.raghavgururajan@disroot.org> In-Reply-To: <1082E275-C6A5-4D33-997F-2E45C7A36BB4@disroot.org> References: <87mu773ekd.fsf@gnu.org> <20200415135234.3bd638ea.raghavgururajan@disroot.org> <87ftcz15i4.fsf@gnu.org> <1082E275-C6A5-4D33-997F-2E45C7A36BB4@disroot.org> Mime-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 Hi Ludo! > Yes yes, sorry, I did not over look. I was gonna try it and then goon let you > know. :-) > > Regards, > RG. > > On April 19, 2020 6:21:23 p.m. EDT, "Ludovic Courtès" wrote: > >Hi, > > > >"Raghav Gururajan" skribis: > > > >>>> + (substitute* "apps/blueman-adapters.in" > >>>> + (("@PYTHON@") (string-append (assoc-ref inputs "python") > >>>> + "/bin/python3.7"))) > >>> > >>> Are you sure this is necessary? If these are scripts, the > >>> ‘patch-shebangs’ phase should take care of it. Perhaps it’s enough > >to > >>> add ‘python-wrapper’ as an input (it provides a “python” executable) > >and > >>> then you can remove all this? > >> > >> It is not necessary. Those scripts were not patched by > >'patch-shebangs' phase, and received warnings during build. So > >corrected them manually. :-) > > > >I think you overlooked the rest of my comment: if you add > >‘python-wrapper’ as an input, everything will be fine. > > > >Could you check? > > > >Thanks in advance! Please find the revised patch attached with this email. I tried 'python-wrapper', but still getting warnings during build. Regards, RG. From 8278afcea18d19324b790343e3a047bc9ab567d7 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 20 Apr 2020 02:05:49 -0400 Subject: [PATCH] gnu: Add blueman. * gnu/packages/networking.scm (blueman): New variable. --- gnu/packages/networking.scm | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index f754683bb9..43d14197f4 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,55 @@ #: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 + (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-wrapper) + ("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.1