From: Raghav Gururajan <raghavgururajan@disroot.org>
To: 40646@debbugs.gnu.org
Subject: [bug#40646] gnu: Add blueman.
Date: Wed, 15 Apr 2020 13:52:34 -0400 [thread overview]
Message-ID: <20200415135234.3bd638ea.raghavgururajan@disroot.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 84 bytes --]
Hello Guix!
Please find the attached patch to add 'blueman' package.
Regards,
RG.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: blueman.patch --]
[-- Type: text/x-patch, Size: 5156 bytes --]
From 5f1a319c6b75b3eb28e8f80ea9b31fc5d6cf70df Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
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
next reply other threads:[~2020-04-15 17:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 17:52 Raghav Gururajan [this message]
2020-04-19 11:22 ` [bug#40646] gnu: Add blueman Ludovic Courtès
2020-04-19 11:27 ` Raghav Gururajan
2020-04-19 22:21 ` Ludovic Courtès
2020-04-20 0:25 ` Raghav Gururajan
2020-04-20 6:10 ` [bug#40646] gnu: Add blueman. (v2) Raghav Gururajan
2020-04-22 15:20 ` bug#40646: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200415135234.3bd638ea.raghavgururajan@disroot.org \
--to=raghavgururajan@disroot.org \
--cc=40646@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).