guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/75: gnu: gnome-characters: Update to 46.0.


From: guix-commits
Subject: 12/75: gnu: gnome-characters: Update to 46.0.
Date: Fri, 27 Sep 2024 15:42:56 -0400 (EDT)

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

commit 224e0789504014541cce6b287ebd8469894b7957
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
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 548c1b5f6e..e08ea314a0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2130,7 +2130,7 @@ to other formats.")
 (define-public gnome-characters
   (package
     (name "gnome-characters")
-    (version "44.0")
+    (version "46.0")
     (source
      (origin
        (method url-fetch)
@@ -2139,7 +2139,7 @@ to other formats.")
                            "/gnome-characters-" version ".tar.xz"))
        (sha256
         (base32
-         "02zm3w43lvsnld3681z9w1428pwdza2gv4k05vwsx461ih15rc85"))))
+         "0z42blzj4kp0vgwqdaf8fip28i3qag6yg94lk55j0j5z232y5s54"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -2152,6 +2152,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
@@ -2163,8 +2173,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

[Prev in Thread] Current Thread [Next in Thread]