[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/77: gnu: at-spi2-core: Update to 2.28.0.
From: |
Ricardo Wurmus |
Subject: |
10/77: gnu: at-spi2-core: Update to 2.28.0. |
Date: |
Mon, 6 Aug 2018 14:29:15 -0400 (EDT) |
rekado pushed a commit to branch wip-gnome-upgrades
in repository guix.
commit 9183c26180a21afe445404134fa136fcef489e97
Author: Ricardo Wurmus <address@hidden>
Date: Sun Aug 5 13:27:40 2018 +0200
gnu: at-spi2-core: Update to 2.28.0.
* gnu/packages/gtk.scm (at-spi2-core): Update to 2.28.0.
[build-system]: Use meson-build-system.
[arguments]: Adjust configure-flags; add build phases:
set-documentation-path,
prepare-doc-directory, move-documentation; move check phase after install.
[native-inputs]: Add gtk-doc and glib:bin.
---
gnu/packages/gtk.scm | 49 +++++++++++++++++++++++++++++++++++++------------
1 file changed, 37 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index ff10bcf..a95533f 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -538,7 +538,7 @@ in the GNOME project.")
(define-public at-spi2-core
(package
(name "at-spi2-core")
- (version "2.26.2")
+ (version "2.28.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -546,22 +546,45 @@ in the GNOME project.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0596ghkamkxgv08r4a1pdhm06qd5zzgcfqsv64038w9xbvghq3n8"))))
- (build-system gnu-build-system)
+ "11qwdxxx4jm0zj04xydlwah41axiz276dckkiql3rr0wn5x4i8j2"))))
+ (build-system meson-build-system)
(outputs '("out" "doc"))
(arguments
'(#:configure-flags
- (list (string-append "--with-html-dir="
- (assoc-ref %outputs "doc")
- "/share/gtk-doc/html"))
+ (list "-Denable_docs=true")
#:phases
(modify-phases %standard-phases
- (replace 'check
- ;; Run test-suite under a dbus session.
- (lambda _
- ;; Don't fail on missing '/etc/machine-id'.
- (setenv "DBUS_FATAL_WARNINGS" "0")
- (invoke "dbus-launch" "make" "check"))))))
+ (add-after 'unpack 'set-documentation-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Ensure that the cross-references point to the "doc" output.
+ (substitute* "doc/libatspi/meson.build"
+ (("docpath =.*")
+ (string-append "docpath = '" (assoc-ref outputs "doc")
"/share/gtk-doc/html'\n")))
+ #t))
+ (add-before 'install 'prepare-doc-directory
+ (lambda* (#:key outputs #:allow-other-keys)
+ (mkdir-p (string-append (assoc-ref outputs "doc") "/share"))
+ #t))
+ (add-after 'install 'move-documentation
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (copy-recursively
+ (string-append out "/share/gtk-doc")
+ (string-append doc "/share/gtk-doc"))
+ (delete-file-recursively
+ (string-append out "/share/gtk-doc")))
+ #t))
+ (add-after 'install 'check
+ (lambda _
+ (setenv "HOME" (getenv "TMPDIR")) ; xfconfd requires a writable
HOME
+ ;; Run test-suite under a dbus session.
+ (setenv "XDG_DATA_DIRS" ; for finding org.xfce.Xfconf.service
+ (string-append %output "/share"))
+ ;; Don't fail on missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0") ;
+ (invoke "dbus-launch" "ninja" "test")))
+ (delete 'check))))
(propagated-inputs
;; atspi-2.pc refers to all these.
`(("dbus" ,dbus)
@@ -571,6 +594,8 @@ in the GNOME project.")
("libxtst" ,libxtst)))
(native-inputs
`(("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("glib" ,glib "bin")
("intltool" ,intltool)
("pkg-config" ,pkg-config)))
(synopsis "Assistive Technology Service Provider Interface, core
components")
- 14/77: gnu: shotwell: Update to 0.28.3., (continued)
- 14/77: gnu: shotwell: Update to 0.28.3., Ricardo Wurmus, 2018/08/06
- 12/77: gnu: yelp-xsl: Update to 3.28.0., Ricardo Wurmus, 2018/08/06
- 21/77: gnu: glibmm: Update to 2.56.0., Ricardo Wurmus, 2018/08/06
- 15/77: gnu: file-roller: Update to 3.28.0., Ricardo Wurmus, 2018/08/06
- 19/77: gnu: Add libusbmuxd., Ricardo Wurmus, 2018/08/06
- 18/77: gnu: Add libplist., Ricardo Wurmus, 2018/08/06
- 24/77: gnu: libproxy: Use INVOKE in check phase., Ricardo Wurmus, 2018/08/06
- 20/77: gnu: Add libimobiledevice., Ricardo Wurmus, 2018/08/06
- 23/77: gnu: libproxy: Remove network-manager., Ricardo Wurmus, 2018/08/06
- 11/77: gnu: yelp: Update to 3.28.1., Ricardo Wurmus, 2018/08/06
- 10/77: gnu: at-spi2-core: Update to 2.28.0.,
Ricardo Wurmus <=
- 16/77: gnu: gedit: Use gtksourceview-3., Ricardo Wurmus, 2018/08/06
- 22/77: gnu: gnome-maps: Update to 3.28.2., Ricardo Wurmus, 2018/08/06
- 17/77: gnu: libusb.scm: Use license: prefix., Ricardo Wurmus, 2018/08/06
- 25/77: gnu: gnome-desktop: Update to 3.28.2., Ricardo Wurmus, 2018/08/06
- 28/77: gnu: gsettings-desktop-schemas: Update to 3.28.0., Ricardo Wurmus, 2018/08/06
- 29/77: gnu: adwaita-icon-theme: Update to 3.28.0., Ricardo Wurmus, 2018/08/06
- 33/77: gnu: gnumeric: Update to 1.12.41., Ricardo Wurmus, 2018/08/06
- 31/77: gnu: libgsf: Update to 1.14.43., Ricardo Wurmus, 2018/08/06
- 32/77: gnu: goffice: Update to 0.10.41., Ricardo Wurmus, 2018/08/06
- 26/77: gnu: enchant: Update to 2.2.3., Ricardo Wurmus, 2018/08/06