mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: kate: Update to 23.04.3.
* gnu/packages/kde-utils.scm (kate): Update to 23.04.3. [inputs]: Add qtx11extras. [arguments]: Enable tests.
This commit is contained in:
parent
357f666018
commit
69e7191906
1 changed files with 13 additions and 6 deletions
|
@ -335,14 +335,14 @@ (define-public isoimagewriter
|
||||||
(define-public kate
|
(define-public kate
|
||||||
(package
|
(package
|
||||||
(name "kate")
|
(name "kate")
|
||||||
(version "22.04.3")
|
(version "23.04.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://kde/stable/release-service/" version
|
(uri (string-append "mirror://kde/stable/release-service/" version
|
||||||
"/src/kate-" version ".tar.xz"))
|
"/src/kate-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0dnlr1cld6lqanqv98bss66w2bi2y78vqb8jx26addn2r1w4ygkf"))))
|
(base32 "0yyhh21pvzsaz7swmghdchzsfk089axhqkjwjv1m8j4q3q3rhv86"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list extra-cmake-modules kdoctools))
|
(list extra-cmake-modules kdoctools))
|
||||||
|
@ -368,16 +368,23 @@ (define-public kate
|
||||||
kxmlgui
|
kxmlgui
|
||||||
breeze-icons ;; default icon set
|
breeze-icons ;; default icon set
|
||||||
qtbase-5
|
qtbase-5
|
||||||
qtscript))
|
qtscript
|
||||||
|
qtx11extras))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;; 2/7 tests fail
|
`(#:phases
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-tests
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
;; This test requires a 'bin' diretory under '/usr'.
|
||||||
|
(substitute* "addons/externaltools/autotests/externaltooltest.cpp"
|
||||||
|
(("QStringLiteral[(]\"/usr\"[)]")
|
||||||
|
(format #f "QStringLiteral(\"~a\")"
|
||||||
|
(dirname (dirname (which "ls"))))))))
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda _
|
(lambda _
|
||||||
;; make Qt render "offscreen", required for tests
|
;; make Qt render "offscreen", required for tests
|
||||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
(setenv "XDG_CACHE_HOME" "/tmp/xdg-cache"))))))
|
(setenv "HOME" (getcwd)))))))
|
||||||
(home-page "https://kate-editor.org/")
|
(home-page "https://kate-editor.org/")
|
||||||
(synopsis "Multi-document, multi-view text editor")
|
(synopsis "Multi-document, multi-view text editor")
|
||||||
(description "Kate is a powerful text editor that can open multiple files
|
(description "Kate is a powerful text editor that can open multiple files
|
||||||
|
|
Loading…
Reference in a new issue