guix-patches
[Top][All Lists]
Advanced

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

[bug#45337] [PATCH] gnu: evince: Update to 3.38.0.


From: Michael Rohleder
Subject: [bug#45337] [PATCH] gnu: evince: Update to 3.38.0.
Date: Sun, 20 Dec 2020 15:10:45 +0100

* gnu/packages/gnome.scm (evince): Update to 3.38.0.
[build-system]: Changed to meson-build-system.
[arguments]: Changed configure-flags to meson style.
Changed phase 'skip-gtk-update-icon-cache to add-after 'unpack.
[inputs]: Removed python2-dogtail, because we have no tests.
---
 gnu/packages/gnome.scm | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index aff8f89640..bc58c227f9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2489,7 +2489,7 @@ forgotten when the session ends.")
 (define-public evince
   (package
     (name "evince")
-    (version "3.36.5")
+    (version "3.38.0")
     (source (origin
              (method url-fetch)
              (uri (string-append "mirror://gnome/sources/evince/"
@@ -2497,17 +2497,17 @@ forgotten when the session ends.")
                                  "evince-" version ".tar.xz"))
              (sha256
               (base32
-               "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
-    (build-system glib-or-gtk-build-system)
+               "0j0ry0y9qi1mlm7dcjwrmrw45s1225ri8sv0s9vb8ibm85x8kpr6"))))
+    (build-system meson-build-system)
     (arguments
-     `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
+     `(#:configure-flags '("-Dnautilus=false" "-Dgtk_doc=false")
        #:phases
        (modify-phases %standard-phases
-         (add-before 'install 'skip-gtk-update-icon-cache
+         (add-after 'unpack 'skip-gtk-update-icon-cache
            ;; Don't create 'icon-theme.cache'.
            (lambda _
-             (substitute* "data/Makefile"
-               (("gtk-update-icon-cache") "true"))
+             (substitute* "meson_post_install.py"
+               (("gtk-update-icon-cache") (which "true")))
              #t)))))
     (inputs
      `(("libarchive" ,libarchive)
@@ -2536,10 +2536,7 @@ forgotten when the session ends.")
        ("shared-mime-info" ,shared-mime-info)
        ("dconf" ,dconf)
        ("libcanberra" ,libcanberra)
-       ("libsecret" ,libsecret)
-
-       ;; For tests.
-       ("dogtail" ,python2-dogtail)))
+       ("libsecret" ,libsecret)))
     (native-inputs
      `(("itstool" ,itstool)
        ("intltool" ,intltool)
-- 
2.29.2






reply via email to

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