[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/44: gnu: geoclue: Update to 2.5.6.
From: |
guix-commits |
Subject: |
32/44: gnu: geoclue: Update to 2.5.6. |
Date: |
Thu, 25 Jun 2020 08:20:56 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 13e26511bb42d5468db094dc700cf2c38851cfe9
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jun 5 01:48:07 2020 -0400
gnu: geoclue: Update to 2.5.6.
* gnu/packages/gnome.scm (geoclue): Update package definition.
[version]: Update to 2.5.6.
[source]<origin>[method]: Change from url-fetch to git-fetch.
[outputs]: New output 'doc'.
[arguments]<#:glib-or-gtk?>: New argument.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml, glib:bin and vala. Remove libnotify
and modem-manager.
[inputs]: Add libnotify and modem-manager.
[propagated-inputs]: Add glib.
[synopsis]: Modify.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 59 ++++++++++++++++++++++++++++++++++++--------------
1 file changed, 43 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 845910e..4ae7d81 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4457,36 +4457,63 @@ output devices.")
(version "2.5.6")
(source
(origin
- (method url-fetch)
+ (method git-fetch)
(uri
- (string-append
"https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
- version "/geoclue-" version ".tar.bz2"))
+ (git-reference
+ (url "https://gitlab.freedesktop.org/geoclue/geoclue.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
(patches (search-patches "geoclue-config.patch"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Ddbus-srv-user=geoclue")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs"
+ (substitute* '("geoclue-docs.xml" "lib/libgeoclue-docs.xml")
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/gtk-doc")
+ (string-append doc "/share/gtk-doc"))
+ #t))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
- ("modem-manager" ,modem-manager)
- ("libnotify" ,libnotify)
("gtk-doc", gtk-doc)
- ("intltool" ,intltool)))
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
(inputs
`(("avahi" ,avahi)
- ("glib:bin" ,glib "bin")
("glib-networking" ,glib-networking)
("json-glib" ,json-glib)
- ("libsoup" ,libsoup)))
+ ("libnotify" ,libnotify)
+ ("libsoup" ,libsoup)
+ ("modem-manager" ,modem-manager)))
+ (propagated-inputs
+ `(("glib" ,glib)))
+ (synopsis "Geoinformation Service")
+ (description "Geoclue is a D-Bus geoinformation service. The goal of the
+Geoclue project is to make creating location-aware applications as simple as
+possible.")
(home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
- (synopsis "Geolocation service")
- (description "Geoclue is a D-Bus service that provides location
-information. The primary goal of the Geoclue project is to make creating
-location-aware applications as simple as possible, while the secondary goal is
-to ensure that no application can access location information without explicit
-permission from user.")
(license license:gpl2+)))
(define-public geocode-glib
- 23/44: gnu: Add nuspell., (continued)
- 23/44: gnu: Add nuspell., guix-commits, 2020/06/25
- 24/44: gnu: enchant-1.6: Update package definition., guix-commits, 2020/06/25
- 25/44: gnu: enchant: Update package definition., guix-commits, 2020/06/25
- 10/44: gnu: appstream-glib: Update package definition., guix-commits, 2020/06/25
- 34/44: gnu: gjs: Update to 1.58.8., guix-commits, 2020/06/25
- 36/44: gnu: Add mutest., guix-commits, 2020/06/25
- 38/44: gnu: gsettings-desktop-schemas: Update package definition., guix-commits, 2020/06/25
- 37/44: gnu: graphene: Update package definition., guix-commits, 2020/06/25
- 27/44: gnu: fcitx: Update package definition., guix-commits, 2020/06/25
- 29/44: gnu: gcr: Update to 3.36.0., guix-commits, 2020/06/25
- 32/44: gnu: geoclue: Update to 2.5.6.,
guix-commits <=
- 39/44: gnu: Add esound., guix-commits, 2020/06/25
- 35/44: gnu: glib-networking: Update to 2.62.4., guix-commits, 2020/06/25
- 41/44: gnu: glib: Update package definition., guix-commits, 2020/06/25
- 16/44: gnu: clutter: Update to 1.26.4., guix-commits, 2020/06/25
- 20/44: gnu: dconf: Update to 0.36.0., guix-commits, 2020/06/25
- 31/44: gnu: gdk-pixbuf+svg: Update package definition., guix-commits, 2020/06/25
- 33/44: gnu: Add sysprof., guix-commits, 2020/06/25
- 42/44: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/06/25
- 43/44: gnu: glib-networking: Update to 2.64.3., guix-commits, 2020/06/25
- 44/44: gnu: gobject-introspection: Update package definition., guix-commits, 2020/06/25