[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/62: gnu: at-spi2-core: Update to 2.28.0.
From: |
guix-commits |
Subject: |
04/62: gnu: at-spi2-core: Update to 2.28.0. |
Date: |
Wed, 23 Jan 2019 06:12:44 -0500 (EST) |
rekado pushed a commit to branch wip-gnome-upgrades
in repository guix.
commit f3169b4b8d347368dc2b6e7c800dd52186c5a307
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 250b39f..a0240c9 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -559,7 +559,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 "/"
@@ -567,22 +567,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)
@@ -592,6 +615,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")
- branch wip-gnome-upgrades created (now f03530a), guix-commits, 2019/01/23
- 01/62: gnu: gtksourceview: Update to 4.0.2., guix-commits, 2019/01/23
- 07/62: gnu: yelp-tools: Update to 3.28.0., guix-commits, 2019/01/23
- 08/62: gnu: file-roller: Update to 3.28.0., guix-commits, 2019/01/23
- 13/62: gnu: gnome-desktop: Update to 3.28.2., guix-commits, 2019/01/23
- 05/62: gnu: yelp: Update to 3.28.1., guix-commits, 2019/01/23
- 19/62: gnu: five-or-more: Update to 3.28.0., guix-commits, 2019/01/23
- 23/62: gnu: totem-pl-parser: Update to 3.26.1., guix-commits, 2019/01/23
- 02/62: gnu: Add gtksourceview-3., guix-commits, 2019/01/23
- 06/62: gnu: yelp-xsl: Update to 3.28.0., guix-commits, 2019/01/23
- 04/62: gnu: at-spi2-core: Update to 2.28.0.,
guix-commits <=
- 12/62: gnu: libproxy: Remove network-manager., guix-commits, 2019/01/23
- 15/62: gnu: gsettings-desktop-schemas: Update to 3.28.0., guix-commits, 2019/01/23
- 14/62: gnu: gcr: Update to 3.28.0., guix-commits, 2019/01/23
- 28/62: gnu: gvfs: Update to 1.36.2., guix-commits, 2019/01/23
- 32/62: gnu: gjs: Update to 1.52.3., guix-commits, 2019/01/23
- 31/62: gnu: devhelp: Update to 3.28.1., guix-commits, 2019/01/23
- 41/62: gnu: gucharmap: Update to 10.0.4., guix-commits, 2019/01/23
- 47/62: gnu: gnome-clocks: Update to 3.28.0., guix-commits, 2019/01/23
- 48/62: gnu: gnome-screenshot: Update to 3.26.0., guix-commits, 2019/01/23
- 46/62: gnu: gnome-todo: Update to 3.28.1., guix-commits, 2019/01/23