gnu: qt-creator: Update to 14.0.1.

* gnu/packages/qt.scm (qt-creator): Update to 14.0.1.
[source]: Adjust snippet.
[arguments]<#:phases>: adjust patch-paths phase.

Change-Id: Ideafcf3a7c0ce9c85025472d41fb72527cc4b9fb
This commit is contained in:
Zheng Junjie 2024-08-11 00:11:19 +08:00
parent 2b526117e8
commit fc607d0522
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -5565,7 +5565,7 @@ (define-public clazy
(define-public qt-creator
(package
(name "qt-creator")
(version "12.0.2")
(version "14.0.1")
(source (origin
(method url-fetch)
(uri (string-append
@ -5582,13 +5582,21 @@ (define-public qt-creator
;; Marketplace recommends nonfree extensions;
;; remove it.
"src/plugins/marketplace"))
;; qt-creator installation attempts to install the
;; yaml-cpp LICENSE file, but we removed the bundled
;; yaml-cpp, so create an empty file to allow it to
;; install properly.
(mkdir-p "src/libs/3rdparty/yaml-cpp")
(call-with-output-file "src/libs/3rdparty/yaml-cpp/LICENSE"
(lambda (port)
(const #t)))
(substitute* "src/plugins/CMakeLists.txt"
(("add_subdirectory\\(marketplace).*") ""))
(substitute* "src/plugins/plugins.qbs"
((".*marketplace/marketplace.qbs.*") ""))))
(sha256
(base32
"1lgk547pvg31zzqra7gn9gsszm5wrwxiw06crbr5n2kqfavk9r22"))))
"0zc9z4zzypqd1q49p4ckwbgxqcnnsc11jgsys6wli1ppmvzmn2zn"))))
(outputs '("out" "debug"))
(build-system qt-build-system)
(arguments
@ -5638,7 +5646,7 @@ (define-public qt-creator
"src/libs/utils/deviceshell.cpp")
(("/bin/sh")
(search-input-file inputs "bin/sh")))
(substitute* "src/libs/utils/process.cpp"
(substitute* "src/libs/utils/qtcprocess.cpp"
(("/usr/bin/env")
(search-input-file inputs "bin/env")))
(substitute* '("tests/auto/utils/process/tst_process.cpp"