gnu: epiphany: Update to 40.3.

* gnu/packages/gnome.scm (epiphany): Update to 40.3.
[source]: Fix the URI.
[arguments]: Remove trailing #t.
[inputs]: Add libarchive, libhandy and libportal.
This commit is contained in:
Mathieu Othacehe 2021-09-24 19:18:55 +00:00
parent f23c46216a
commit f5acb8198a
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -6723,15 +6723,15 @@ a secret password store, an adblocker, and a modern UI.")
(define-public epiphany (define-public epiphany
(package (package
(name "epiphany") (name "epiphany")
(version "3.34.4") (version "40.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/epiphany/" (uri (string-append "mirror://gnome/sources/epiphany/"
(version-major+minor version) "/" (version-major version) "/"
"epiphany-" version ".tar.xz")) "epiphany-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0")))) "0r7m34xzz3shdfxf2abxb069izak3yv3ijlg29qy4pfmyawkilfs"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
@ -6742,23 +6742,20 @@ a secret password store, an adblocker, and a modern UI.")
;; Don't create 'icon-theme.cache'. ;; Don't create 'icon-theme.cache'.
(lambda _ (lambda _
(substitute* "post_install.py" (substitute* "post_install.py"
(("gtk-update-icon-cache") "true")) (("gtk-update-icon-cache") "true"))))
#t))
(add-after 'unpack 'disable-failing-tests (add-after 'unpack 'disable-failing-tests
(lambda _ (lambda _
(substitute* "tests/meson.build" (substitute* "tests/meson.build"
;; embed_shell fails, because webkitgtk apparently no longer supports ;; embed_shell fails, because webkitgtk apparently no longer
;; overriding the ftp schema ;; supports overriding the ftp schema web_app_utils fails due
;; web_app_utils fails due to missing network access ;; to missing network access.
(("(embed_shell|web_app_utils)_test,") (("(embed_shell|web_app_utils)_test,")
"find_program('sh'), args: ['-c', 'exit 77'],")) "find_program('sh'), args: ['-c', 'exit 77'],"))))
#t))
(add-before 'check 'pre-check (add-before 'check 'pre-check
(lambda _ (lambda _
;; Tests require a running X server. ;; Tests require a running X server.
(system "Xvfb :1 &") (system "Xvfb :1 &")
(setenv "DISPLAY" ":1") (setenv "DISPLAY" ":1"))))
#t)))
#:configure-flags #:configure-flags
;; Otherwise, the RUNPATH will lack the final 'epiphany' path component. ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
(list (string-append "-Dc_link_args=-Wl,-rpath=" (list (string-append "-Dc_link_args=-Wl,-rpath="
@ -6782,8 +6779,11 @@ a secret password store, an adblocker, and a modern UI.")
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("json-glib" ,json-glib) ("json-glib" ,json-glib)
("iso-codes" ,iso-codes) ("iso-codes" ,iso-codes)
("libarchive" ,libarchive)
("libdazzle" ,libdazzle) ("libdazzle" ,libdazzle)
("libhandy" ,libhandy)
("libnotify" ,libnotify) ("libnotify" ,libnotify)
("libportal" ,libportal)
("libsecret" ,libsecret) ("libsecret" ,libsecret)
("libxslt" ,libxslt) ("libxslt" ,libxslt)
("nettle" ,nettle) ; for hogweed ("nettle" ,nettle) ; for hogweed