me
/
guix
Archived
1
0
Fork 0

gnu: kate: Update to 24.05.2.

* gnu/packages/kde-utils.scm (kate): Update to 24.05.2.
[inputs]: Remove kactivities, plasma-framework, qtbase-5, qtscript, and
qtx11extras; add plasma-activities, ktextwidgets, libplasma, and
libxkbcommon.
[arguments]: Set #:qtbase to qtbase.

Change-Id: I2e54e303b6b0b2b4b753ac7c61fd5094f6aaa37a
master
Zheng Junjie 2024-07-06 18:13:36 +08:00
parent dd5fa38ab9
commit 913ea1ee6b
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 22 additions and 22 deletions

View File

@ -336,19 +336,20 @@ your computer.")
(define-public kate
(package
(name "kate")
(version "23.04.3")
(version "24.05.2")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version
"/src/kate-" version ".tar.xz"))
(sha256
(base32 "0yyhh21pvzsaz7swmghdchzsfk089axhqkjwjv1m8j4q3q3rhv86"))))
(base32 "085hbl6xzzihnhy8pjwdjdsrww6l1h70m4sf2s1b5c1xsnvhhkvp"))))
(build-system qt-build-system)
(native-inputs
(list extra-cmake-modules kdoctools))
(inputs
(list kactivities
(list breeze-icons ;; default icon set
plasma-activities
kconfig
kcrash
kdbusaddons
@ -362,30 +363,29 @@ your computer.")
kjobwidgets
kparts
ktexteditor
ktextwidgets
ksyntaxhighlighting
kwallet
plasma-framework
kwindowsystem
kxmlgui
breeze-icons ;; default icon set
qtbase-5
qtscript
qtx11extras))
libplasma
libxkbcommon))
(arguments
`(#: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
(lambda _
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "HOME" (getcwd)))))))
(list #:qtbase qtbase
#: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
(lambda _
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "HOME" (getcwd)))))))
(home-page "https://kate-editor.org/")
(synopsis "Multi-document, multi-view text editor")
(description "Kate is a powerful text editor that can open multiple files