gnu: ktexteditor: Update to 6.21.0.

* gnu/packages/kde-frameworks.scm (ktexteditor): Update to 6.21.0.
[arguments]<#:test-exclude>: Exclude the failing tests.
<#:phases>: In 'check phase, replace the tests to exclude with the test-exclude
keyword.

Change-Id: Ia421b1d332739aa6a55dd41ae2a86cab5e4cd5e8
This commit is contained in:
Sughosha 2025-12-24 14:40:46 +05:30
parent 873534bb14
commit 52faa6737b
No known key found for this signature in database
GPG key ID: CDBC0BD95943A706

View file

@ -4367,7 +4367,7 @@ Items.")
(define-public ktexteditor
(package
(name "ktexteditor")
(version "6.19.0")
(version "6.21.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -4376,7 +4376,7 @@ Items.")
"ktexteditor-" version ".tar.xz"))
(sha256
(base32
"1w87m110rarqv4il292a34jmgn2q7psyix6y0zyjps9jzq82jf7j"))))
"1i4xz71mr62ag077rjfq46wgdjchvvr19bfpwxp0dyvpx372xn6i"))))
(build-system cmake-build-system)
(propagated-inputs
(list kparts
@ -4401,18 +4401,19 @@ Items.")
qtspeech
sonnet))
(arguments
(list #:phases
(list #:test-exclude
(string-append "("
(string-join '("exiv2extractortest"
"usermetadatawritertest")
"|")
")")
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? ;; Maybe locale issues with tests?
(lambda* (#:key tests? test-exclude #:allow-other-keys)
(when tests?
(setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "ctest" "-E"
(string-append
"(kateview_test"
"|movingrange_test"
;; fails with: timeout (1000 ms) was too short.
"|messagetest)"))))))))
(invoke "ctest" "-E" test-exclude)))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Full text editor component")
(description "KTextEditor provides a powerful text editor component that you