From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#40646] gnu: Add blueman. (v2) Resent-Message-ID: Date: Mon, 20 Apr 2020 02:10:32 -0400 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 Content-Type: multipart/mixed; boundary="MP_/gThFdmofF=gWP03L7vLQ=E2" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40646@debbugs.gnu.org --MP_/gThFdmofF=gWP03L7vLQ=E2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Ludo! > Yes yes, sorry, I did not over look. I was gonna try it and then goon let= you > know. :-) >=20 > Regards, > RG. >=20 > On April 19, 2020 6:21:23 p.m. EDT, "Ludovic Court=C3=A8s" = wrote: > >Hi, > > > >"Raghav Gururajan" skribis: > > =20 > >>>> + (substitute* "apps/blueman-adapters.in" > >>>> + (("@PYTHON@") (string-append (assoc-ref inputs "python") > >>>> + "/bin/python3.7"))) =20 > >>>=20 > >>> Are you sure this is necessary? If these are scripts, the > >>> =E2=80=98patch-shebangs=E2=80=99 phase should take care of it. Perhap= s it=E2=80=99s enough =20 > >to =20 > >>> add =E2=80=98python-wrapper=E2=80=99 as an input (it provides a =E2= =80=9Cpython=E2=80=9D executable) =20 > >and =20 > >>> then you can remove all this? =20 > >> > >> It is not necessary. Those scripts were not patched by =20 > >'patch-shebangs' phase, and received warnings during build. So > >corrected them manually. :-) > > > >I think you overlooked the rest of my comment: if you add > >=E2=80=98python-wrapper=E2=80=99 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. --MP_/gThFdmofF=gWP03L7vLQ=E2 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-blueman.patch =46rom 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)) =20 +(define-public blueman + (package + (name "blueman") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/blueman-project/blueman/release= s/" + "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=3Dno" ; Not required + "--with-systemduserunitdir=3Dno"))) ; 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 db= us +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 =E2=80=98home=E2=80=99 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 tar= ball --=20 2.26.1 --MP_/gThFdmofF=gWP03L7vLQ=E2--