[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: libshumate: Update to 1.0.5.
From: |
guix-commits |
Subject: |
04/11: gnu: libshumate: Update to 1.0.5. |
Date: |
Sun, 24 Sep 2023 05:56:26 -0400 (EDT) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit 8c28401c6d0e8ea69edef80a82e2af31abab93e8
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Fri Sep 15 20:07:13 2023 +0200
gnu: libshumate: Update to 1.0.5.
* gnu/packages/gnome.scm (libshumate): Update to 1.0.5.
[#:phases]:<pre-check>: Removed, moving logic…
<check>: … here. Also set other environment variables and run tests using
‘dbus-run-session’.
[native-inputs]: Add dbus and at-spi2-core.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/gnome.scm | 36 +++++++++++++++++++++++-------------
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3e461729ab..16516d289c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4944,7 +4944,7 @@ libxml to ease remote use of the RESTful API.")
(define-public libshumate
(package
(name "libshumate")
- (version "1.0.0.beta") ;no stable release yet
+ (version "1.0.5")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -4952,25 +4952,35 @@ libxml to ease remote use of the RESTful API.")
name "-" version ".tar.xz"))
(sha256
(base32
- "13xrc07fm0967gzbqab8k0l3dnknh00p0a6f2dm7k0aa56q41sda"))))
+ "0v4m07vxm3m4a2vqkp2wfsc3zsf92fpigc1k8yq49vkpj7gxikx8"))))
(build-system meson-build-system)
- (arguments (list #:configure-flags #~(list "-Dlibsoup3=true")
- #:phases #~(modify-phases %standard-phases
- (add-before 'check 'pre-check
- (lambda _
- ;; The 'coordinate' test requires a
- ;; writable HOME.
- (setenv "HOME" "/tmp")
+ (arguments
+ (list #:configure-flags #~(list "-Dlibsoup3=true")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? test-options #:allow-other-keys)
+ (when tests?
+ ;; Some tests expect to write to $HOME.
+ (setenv "HOME" "/tmp")
+ (setenv "XDG_RUNTIME_DIR" "/tmp/run")
+ (setenv "XDG_CACHE_HOME" "/tmp/cache")
+
+ ;; Tests require a running X server.
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1")
- ;; Tests require a running X server.
- (system "Xvfb :1 &")
- (setenv "DISPLAY" ":1"))))))
+ (apply invoke "dbus-run-session" "--" "meson" "test"
+ "--print-errorlogs" test-options)))))))
(native-inputs
(list gi-docgen
`(,glib "bin")
gobject-introspection
pkg-config
- xorg-server-for-tests))
+ ;; For tests:
+ xorg-server-for-tests
+ dbus
+ at-spi2-core))
(propagated-inputs
;; All the libraries are listed as "Requires' in the .pc file.
(list cairo
- branch gnome-team updated (e9ff5d51e3 -> afa9da8425), guix-commits, 2023/09/24
- 04/11: gnu: libshumate: Update to 1.0.5.,
guix-commits <=
- 05/11: gnu: pcre2: Install static libraries., guix-commits, 2023/09/24
- 06/11: gnu: qemu: Use pcre2., guix-commits, 2023/09/24
- 02/11: gnu: gnome-photos: Update to 43.1., guix-commits, 2023/09/24
- 03/11: gnu: totem: Update to 43.0., guix-commits, 2023/09/24
- 07/11: gnu: tracker: Update to 3.6.0., guix-commits, 2023/09/24
- 10/11: gnu: editorconfig-core-c: Update to 0.12.6., guix-commits, 2023/09/24
- 08/11: gnu: NetworkManager: Update to 1.44.0., guix-commits, 2023/09/24
- 09/11: gnu: gnome-text-editor: Add missing input., guix-commits, 2023/09/24
- 01/11: gnu: vala: Update to 0.56.13., guix-commits, 2023/09/24
- 11/11: gnu: gnome-text-editor: Update to 44.0., guix-commits, 2023/09/24