Archived
1
0
Fork 0

gnu: qtwebengine-5: Update to 5.15.8.

Fixes <https://issues.guix.gnu.org/52672>.

* gnu/packages/qt.scm (qtwebengine-5): Update to 5.15.8.
[source]: Fix indentation.
[arguments]: Use gexps.
This commit is contained in:
Maxim Cournoyer 2023-03-27 16:09:55 -04:00
parent d1bafb1086
commit 0f47e71840
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2430,14 +2430,14 @@ using the Enchant spell-checking library.")
(package (package
(inherit qtsvg-5) (inherit qtsvg-5)
(name "qtwebengine") (name "qtwebengine")
(version "5.15.5") (version "5.15.8")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (qt-urls name version)) (uri (qt-urls name version))
(sha256 (sha256
(base32 (base32
"0zahr9w6rqdxwh2whsgk3fhcszs7wa9j95lq4sqi8xzin2wcgl17")) "1qv15g5anhlfsdwnjxy21vc3zxxm8149vysi774l93iab6mxqmjg"))
(modules '((ice-9 ftw) (modules '((ice-9 ftw)
(ice-9 match) (ice-9 match)
(srfi srfi-1) (srfi srfi-1)
@ -2595,9 +2595,10 @@ using the Enchant spell-checking library.")
(substitute* (substitute*
"base/third_party/dynamic_annotations/dynamic_annotations.c" "base/third_party/dynamic_annotations/dynamic_annotations.c"
(("base/third_party/valgrind") "valgrind")) (("base/third_party/valgrind") "valgrind"))
(substitute* (substitute* '("third_party/breakpad/breakpad/src/common\
'("third_party/breakpad/breakpad/src/common/linux/http_upload.cc" /linux/http_upload.cc"
"third_party/breakpad/breakpad/src/common/linux/libcurl_wrapper.h") "third_party/breakpad/breakpad/src/common/\
linux/libcurl_wrapper.h")
(("third_party/curl") "curl")) (("third_party/curl") "curl"))
(substitute* (substitute*
'("components/viz/common/gpu/vulkan_context_provider.h" '("components/viz/common/gpu/vulkan_context_provider.h"
@ -2689,10 +2690,9 @@ using the Enchant spell-checking library.")
(guix build utils) (guix build utils)
(ice-9 textual-ports))) (ice-9 textual-ports)))
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases #~(modify-phases #$phases
(add-before 'configure 'substitute-source (add-before 'configure 'substitute-source
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(with-atomic-file-replacement (with-atomic-file-replacement
"src/buildtools/config/linux.pri" "src/buildtools/config/linux.pri"
(lambda (in out) (lambda (in out)
@ -2705,9 +2705,11 @@ using the Enchant spell-checking library.")
;; translations and locales in the store. ;; translations and locales in the store.
(substitute* "src/core/web_engine_library_info.cpp" (substitute* "src/core/web_engine_library_info.cpp"
(("QLibraryInfo::location\\(QLibraryInfo::TranslationsPath\\)") (("QLibraryInfo::location\\(QLibraryInfo::TranslationsPath\\)")
(string-append "QLatin1String(\"" out "/share/qt5/translations\")")) (string-append "QLatin1String(\"" #$output
"/share/qt5/translations\")"))
(("QLibraryInfo::location\\(QLibraryInfo::DataPath\\)") (("QLibraryInfo::location\\(QLibraryInfo::DataPath\\)")
(string-append "QLatin1String(\"" out "/share/qt5\")"))) (string-append "QLatin1String(\"" #$output
"/share/qt5\")")))
;; Substitute full dynamic library path for nss. ;; Substitute full dynamic library path for nss.
(substitute* "src/3rdparty/chromium/crypto/nss_util.cc" (substitute* "src/3rdparty/chromium/crypto/nss_util.cc"
(("libnssckbi.so") (("libnssckbi.so")
@ -2715,7 +2717,7 @@ using the Enchant spell-checking library.")
;; Substitute full dynamic library path for udev. ;; Substitute full dynamic library path for udev.
(substitute* "src/3rdparty/chromium/device/udev_linux/udev1_loader.cc" (substitute* "src/3rdparty/chromium/device/udev_linux/udev1_loader.cc"
(("libudev.so.1") (("libudev.so.1")
(search-input-file inputs "lib/libudev.so.1")))))) (search-input-file inputs "lib/libudev.so.1")))))
(add-before 'configure 'set-env (add-before 'configure 'set-env
(lambda _ (lambda _
;; Avoids potential race conditions. ;; Avoids potential race conditions.