[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
177/401: gnu: gnome-online-accounts: Update package definition.
From: |
guix-commits |
Subject: |
177/401: gnu: gnome-online-accounts: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:21:23 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 22aeedbd5c9358b6367f298380242be0459afc0a
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 23 11:19:25 2020 -0400
gnu: gnome-online-accounts: Update package definition.
* gnu/packages/gnome.scm (gnome-online-accounts): Update package
definition.
[outputs]: New output 'doc'.
[arguments]<#:configure-flags>[--disable-static]: New flag.
[--enable-documentation]: New flag.
[--enable-gtk-doc]: New flag.
[--enable-inspector]: New flag.
[--enable-media-server]: New flag.
[--enable-lastfm]: New flag.
[--with-html-dir=]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
[native-inputs]: Add docbook-xml, docbook-xsl and gtk-doc. Remove
glib:bin.
[inputs]: Remove docbook-xsl. Add dbus, gcr, mit-krb5, libsoup and
libxml2.
[propagated-inputs]: Add glib-networking.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 70 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 49 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 361a105..14c91a4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7305,24 +7305,46 @@ window manager.")
(package
(name "gnome-online-accounts")
(version "3.36.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
- (outputs '("out" "lib"))
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
(build-system glib-or-gtk-build-system)
+ (outputs '("out" "lib" "doc"))
(arguments
`(#:configure-flags
- (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
+ (list
+ (string-append "--libdir="
+ (assoc-ref %outputs "out")
+ "/lib")
+ "--disable-static"
+ "--enable-documentation"
+ "--enable-gtk-doc"
+ "--enable-inspector"
+ "--enable-media-server"
+ "--enable-lastfm"
+ (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html"))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "doc"
+ (substitute* '("goa-daemon.xml"
+ "goa-docs.xml" "goa-overview.xml")
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
(add-before 'configure 'patch-libgoa-output
(lambda* (#:key outputs #:allow-other-keys)
- (let ((lib (assoc-ref outputs "lib")))
+ (let* ((lib (assoc-ref outputs "lib")))
(substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
(("@prefix@") lib)
(("@exec_prefix@") lib)
@@ -7334,28 +7356,34 @@ window manager.")
(setenv "outputs" "out lib")
#t))))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("docbook-xsl" ,docbook-xsl)
("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
("intltool" ,intltool)
("pkg-config" ,pkg-config)
("vala" ,vala)
("xsltproc" ,libxslt)))
- (propagated-inputs
- `(("glib" ,glib) ; required by goa-1.0.pc
- ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
(inputs
- `(("docbook-xsl" ,docbook-xsl)
+ `(("dbus" ,dbus)
+ ("gcr" ,gcr)
("json-glib" ,json-glib)
+ ("krb5" ,mit-krb5)
("libsecret" ,libsecret)
+ ("libsoup" ,libsoup)
+ ("libxml2" ,libxml2)
("rest" ,rest)
("webkitgtk" ,webkitgtk)))
+ (propagated-inputs
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("gtk+" ,gtk+)))
(synopsis "Single sign-on framework for GNOME")
+ (description "GNOME Online Accounts aims to provide a way for users to
setup
+online accounts to be used by the core system and core applications only.
+Calendar entries show up in GNOME Shell, e-mail in Evolution, online storages
+are exposed as GVolumes, and so on.")
(home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
- (description
- "GNOME Online Accounts provides interfaces so that applications and
-libraries in GNOME can access the user's online accounts. It has providers for
-Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
-Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
(license license:lgpl2.0+)))
(define-public evolution-data-server
- 90/401: gnu: gtksourceview-3: Update package definition., (continued)
- 90/401: gnu: gtksourceview-3: Update package definition., guix-commits, 2020/08/18
- 94/401: gnu: gvfs: Update package definition., guix-commits, 2020/08/18
- 102/401: gnu: libcanberra: Update package definition., guix-commits, 2020/08/18
- 149/401: gnu: Add libsigc++-2., guix-commits, 2020/08/18
- 154/401: gnu: atkmm: Update package definition., guix-commits, 2020/08/18
- 155/401: gnu: pangomm: Update package definition., guix-commits, 2020/08/18
- 156/401: gnu: Add pangomm-2.42., guix-commits, 2020/08/18
- 163/401: gnu: babl: Update package definition., guix-commits, 2020/08/18
- 165/401: gnu: Add gtx., guix-commits, 2020/08/18
- 169/401: gnu: Add poly2tri-c., guix-commits, 2020/08/18
- 177/401: gnu: gnome-online-accounts: Update package definition.,
guix-commits <=
- 109/401: gnu: Add rust-serial-test-derive@0.4.0., guix-commits, 2020/08/18
- 107/401: gnu: Add rust-cssparser@0.27.2., guix-commits, 2020/08/18
- 114/401: gnu: Add rust-string-cache-codegen@0.5.1., guix-commits, 2020/08/18
- 119/401: git: rust-rgb: Update to 0.8.20., guix-commits, 2020/08/18
- 121/401: gnu: Add rust-tinyvec@0.3.3., guix-commits, 2020/08/18
- 130/401: gnu: Add libdatrie., guix-commits, 2020/08/18
- 137/401: gnu: Add wpewebkit., guix-commits, 2020/08/18
- 142/401: gnu: yelp-xsl: Update package definition., guix-commits, 2020/08/18
- 136/401: gnu: woff2: Update package definition., guix-commits, 2020/08/18
- 140/401: gnu: pipewire: Update package definition., guix-commits, 2020/08/18