[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
198/295: gnu: libgdata: Update package definition.
From: |
guix-commits |
Subject: |
198/295: gnu: libgdata: Update package definition. |
Date: |
Mon, 27 Jul 2020 06:26:10 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit c13cdc51e7dd146466fc8ab0c5270c6c8537af1c
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sun Jul 5 21:27:40 2020 -0400
gnu: libgdata: Update package definition.
* gnu/packages/gnome.scm (libgdata) [version]: Update to 0.17.12.
[source]<origin>[sha256]: Modify base32.
[build-system]: Change from gnu to meson.
[outputs]: New output "doc".
[arguments]<#glib-or-gtk?>: New argument.
<#:configure-flags>[-Doauth1]: New flag.
[-Dman]: New flag.
[-Dgtk_doc]: New flag.
<#:phases>['disable-failing-tests]: Remove phase.
['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml, gobject-introspection, gtk-doc,
gtk+:bin and vala.
[inputs]: Remove cyrus-sasl and glib-networking. Add gtk+ and
gdk-pixbuf+svg.
[propagated-inputs]: Add glib-networking.
[synopsis]: Modify.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 85 ++++++++++++++++++++++++++++++++------------------
1 file changed, 54 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 079682f..74f51b3 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1377,54 +1377,77 @@ relationship modeling, and network diagrams. The
program supports various file
formats like PNG, SVG, PDF and EPS.")
(license license:gpl2+))))
-;; This is the unstable release, but it is required for the current stable
-;; release of gvfs (1.38.1).
(define-public libgdata
(package
(name "libgdata")
- (version "0.17.9")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
- (build-system gnu-build-system)
+ (version "0.17.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0613nihsvwvdnmlbjnwi8zqxgmpwyxdapzznq4cy1fp84246zzd0"))))
+ (build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- '(#:phases
+ '(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Doauth1=enabled"
+ "-Dman=true"
+ "-Dgtk_doc=true")
+ #:phases
(modify-phases %standard-phases
- (add-before 'check 'disable-failing-tests
- (lambda _
- ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
- ;; They have been removed in libgdata 0.17.6, so just do the same.
- (substitute* "gdata/tests/Makefile"
- (("picasaweb\\$\\(EXEEXT\\) ") ""))
- #t)))))
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs/reference"
+ (substitute* '("gdata-docs.xml"
+ "gdata-overview.xml"
+ "gdata-running.xml")
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
+ (add-after 'install 'move-docs
+ (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
- `(("glib:bin" ,glib "bin")
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("gtk-doc" ,gtk-doc)
+ ("gtk+:bin" ,gtk+ "bin")
("intltool" ,intltool)
("pkg-config" ,pkg-config)
- ("uhttpmock" ,uhttpmock)))
+ ("uhttpmock" ,uhttpmock)
+ ("vala" ,vala)))
(inputs
- `(("cyrus-sasl" ,cyrus-sasl)
- ("glib-networking" ,glib-networking)))
+ `(("gdk-pixbuf" ,gdk-pixbuf+svg)
+ ("gtk+" ,gtk+)))
(propagated-inputs
`(("gcr" ,gcr)
("glib" ,glib)
+ ("glib-networking" ,glib-networking)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
("json-glib" ,json-glib)
- ("liboauth" ,liboauth)
("libsoup" ,libsoup)
- ("libxml2" ,libxml2)))
+ ("libxml2" ,libxml2)
+ ("oauth" ,liboauth)))
+ (synopsis "Google Data APIs")
+ (description "LibGData is a GLib-based library for accessing online service
+APIs using the GData protocol. It provides APIs to access the common Google
+services, and has full asynchronous support.")
(home-page "https://wiki.gnome.org/Projects/libgdata")
- (synopsis "Library for accessing online service APIs")
- (description
- "libgdata is a GLib-based library for accessing online service APIs using
-the GData protocol — most notably, Google's services. It provides APIs to
-access the common Google services, and has full asynchronous support.")
(license license:lgpl2.1+)))
(define-public libgxps
- 195/295: gnu: gtksourceview-3: Update package definition., (continued)
- 195/295: gnu: gtksourceview-3: Update package definition., guix-commits, 2020/07/27
- 209/295: gnu: libnotify: Update package definition., guix-commits, 2020/07/27
- 167/295: gnu: Add libvideogfx., guix-commits, 2020/07/27
- 178/295: gnu: Add mediasdk., guix-commits, 2020/07/27
- 174/295: gnu: Add libopenmpt., guix-commits, 2020/07/27
- 185/295: gnu: Add iqa., guix-commits, 2020/07/27
- 184/295: gnu: Add zxing-cpp., guix-commits, 2020/07/27
- 179/295: gnu: Add svt-hevc., guix-commits, 2020/07/27
- 190/295: gnu: Add libcloudproviders., guix-commits, 2020/07/27
- 196/295: gnu: gtksourceview-2: Update package definition., guix-commits, 2020/07/27
- 198/295: gnu: libgdata: Update package definition.,
guix-commits <=
- 205/295: gnu: ibus: Update package definition., guix-commits, 2020/07/27
- 207/295: gnu: libcanberra: Update package definition., guix-commits, 2020/07/27
- 208/295: gnu: libgee: Update package definition., guix-commits, 2020/07/27
- 210/295: gnu: librsvg@2.40.21: Update package definition., guix-commits, 2020/07/27
- 212/295: gnu: Add rust-cssparser@0.27.2., guix-commits, 2020/07/27
- 213/295: gnu: Add rust-downcast-rs@1.2.0., guix-commits, 2020/07/27
- 217/295: gnu: Add rust-serial-test@0.1.0., guix-commits, 2020/07/27
- 218/295: gnu: Add rust-serial-test-derive@0.1.0., guix-commits, 2020/07/27
- 220/295: gnu: Add rust-gdk-pixbuf@0.8.0., guix-commits, 2020/07/27
- 221/295: gnu: Add rust-string-cache@0.8.0., guix-commits, 2020/07/27