[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
94/100: gnu: libgdata: Update package definition.
From: |
guix-commits |
Subject: |
94/100: gnu: libgdata: Update package definition. |
Date: |
Wed, 8 Jul 2020 03:37:00 -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
- 89/100: gnu: gtk+: Propagate libcloudproviders., (continued)
- 89/100: gnu: gtk+: Propagate libcloudproviders., guix-commits, 2020/07/08
- 92/100: gnu: gtksourceview-2: Update package definition., guix-commits, 2020/07/08
- 93/100: gnu: fuse: Update package definition., guix-commits, 2020/07/08
- 97/100: gnu: Add opensles., guix-commits, 2020/07/08
- 86/100: gnu: Add libcloudproviders., guix-commits, 2020/07/08
- 87/100: gnu: gtk+: Update package definition., guix-commits, 2020/07/08
- 77/100: gnu: Add vo-aacenc., guix-commits, 2020/07/08
- 82/100: gnu: Add rtmpdump., guix-commits, 2020/07/08
- 95/100: gnu: gvfs: Update package definition., guix-commits, 2020/07/08
- 99/100: gnu: gst-plugins-ugly: Update package definition., guix-commits, 2020/07/08
- 94/100: gnu: libgdata: Update package definition.,
guix-commits <=
- 96/100: gnu: Add openni2., guix-commits, 2020/07/08
- 76/100: gnu: Add transcode., guix-commits, 2020/07/08
- 78/100: gnu: Add webrtc-audio-processing., guix-commits, 2020/07/08
- 80/100: gnu: Add zxing-cpp., guix-commits, 2020/07/08
- 83/100: gnu: Add libnice., guix-commits, 2020/07/08
- 90/100: gnu: gtksourceview: Update package definition., guix-commits, 2020/07/08
- 91/100: gnu: gtksourceview-3: Update package definition., guix-commits, 2020/07/08
- 98/100: gnu: gst-plugins-bad: Update package definition., guix-commits, 2020/07/08
- 100/100: gnu: gst-libav: Update package definition., guix-commits, 2020/07/08