lilyp pushed a commit to branch gnome-team
in repository guix.

commit 8387b4428162966c9bab6d8b82568db262c65e63
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sun Jul 14 11:04:05 2024 +0200

    gnu: gnome-characters: Update to 46.0.
    
    * gnu/packages/gnome.scm (gnome-characters): Update to 46.0.
    [#:phases]: Add ‘fix-test-setup’.
    [native-inputs]: Remove python-minimal.
    Add gobject-introscpetion, xorg-server-for-tests, and xvfb-run.
---
 gnu/packages/gnome.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4b87e50c83..971135a19d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2135,7 +2135,7 @@ to other formats.")
 (define-public gnome-characters
   (package
     (name "gnome-characters")
-    (version "44.0")
+    (version "46.0")
     (source
      (origin
        (method url-fetch)
@@ -2144,7 +2144,7 @@ to other formats.")
                            "/gnome-characters-" version ".tar.xz"))
        (sha256
         (base32
-         "02zm3w43lvsnld3681z9w1428pwdza2gv4k05vwsx461ih15rc85"))))
+         "0z42blzj4kp0vgwqdaf8fip28i3qag6yg94lk55j0j5z232y5s54"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -2157,6 +2157,16 @@ to other formats.")
                           "gtk_update_icon_cache: false")
                          (("update_desktop_database: true")
                           "update_desktop_database: false"))))
+                   (add-after 'unpack 'fix-test-setup
+                     (lambda _
+                       (substitute* "tests/meson.build"
+                         (("'GI_TYPELIB_PATH': (.*)," all path)
+                          (string-append "'GI_TYPELIB_PATH':"
+                                         " ["
+                                         path
+                                         ", '"
+                                         (getenv "GI_TYPELIB_PATH")
+                                         "'],")))))
                    (add-after 'install 'wrap
                      (lambda* (#:key outputs #:allow-other-keys)
                        ;; GNOME Characters needs Typelib files from GTK and
@@ -2168,8 +2178,10 @@ to other formats.")
     (native-inputs
      (list gettext-minimal
            `(,glib "bin")
+           gobject-introspection
            pkg-config
-           python-minimal))
+           xorg-server-for-tests
+           xvfb-run))
     (inputs
      (list bash-minimal  ;for wrap-program
            gjs

Reply via email to