guix-commits
[Top][All Lists]
Advanced

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

12/13: gnu: entangle: Fix build.


From: guix-commits
Subject: 12/13: gnu: entangle: Fix build.
Date: Mon, 14 Aug 2023 15:37:11 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit efcdf66fe243d8ad16daf88a7df7f1d772ad5af3
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 6 02:00:00 2023 +0200

    gnu: entangle: Fix build.
    
    * gnu/packages/photo.scm (entangle)[arguments]:
    Add a new 'build-with-meson-0.60 phase.
    [native-inputs]: Add itstool.
---
 gnu/packages/photo.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 6c77d569c3..49f882095e 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -617,7 +617,7 @@ such as Batch image processing.")
 (define-public entangle
   (package
     (name "entangle")
-    (version "3.0")
+    (version "3.0")    ; delete the 'build-with-meson-0.60 phase when updating
     (source
      (origin
        (method git-fetch)
@@ -632,6 +632,12 @@ such as Batch image processing.")
      `(#:glib-or-gtk? #t
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'build-with-meson-0.60
+           ;; Work around ‘ERROR: Function does not take positional 
arguments.’.
+           (lambda _
+             (substitute* "src/meson.build"
+               (("^i18n\\.merge_file.*" match)
+                (string-append match "  data_dirs:")))))
          (add-after 'unpack 'skip-gtk-update-icon-cache
            ;; Don't create 'icon-theme.cache'.
            (lambda _
@@ -654,6 +660,7 @@ such as Batch image processing.")
        ("glib:bin" ,glib "bin")
        ("gobject-introspection" ,gobject-introspection)
        ("gtk-doc" ,gtk-doc)
+       ("itstool" ,itstool)
        ("perl" ,perl)
        ("pkg-config" ,pkg-config)
        ("xmllint" ,libxml2)))



reply via email to

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