Subject: [PATCH gnome-team 1/3] gnu: blueprint-compiler: Fix build.

From: Liliana Marie Prikler <[email-masked]>
Date: Tue, 29 Oct 2024 10:22:22 +0100

* gnu/packages/gnome.scm (blueprint-compiler)[#:phases]: Add ‘fix-tests’.
---
 gnu/packages/gnome.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 733fd2720d..fc60721fb5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3359,6 +3359,16 @@ (define-public blueprint-compiler
       #~(modify-phases %standard-phases
           (add-after 'glib-or-gtk-wrap 'wrap-python
             (assoc-ref python:%standard-phases 'wrap))
+          (add-after 'unpack 'fix-tests
+            (lambda _
+              (with-atomic-file-replacement
+                  "tests/sample_errors/deprecations.err"
+                (lambda (in out)
+                  (dump-port in out)
+                  (newline out)
+                  (display
+                   "9,3,12,signal Gtk.Window::keys-changed () is deprecated\n"
+                   out)))))
           (add-before 'check 'pre-check
             (lambda _
               (system "Xvfb :1 &")
-- 
2.46.0