me
/
guix
Archived
1
0
Fork 0

gnu: kdbusaddons: Update to 5.108.0.

* gnu/packages/kde-frameworks.scm (kdbusaddons): Update to 5.108.0.
(kxmlgui) [arguments]: exclude KMAINWINDOW_UNITTEST test for make sure
KDBUSADDONS build success.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
master
Zheng Junjie 2023-07-13 00:43:21 +08:00 committed by 宋文武
parent aacb142b64
commit 61906ca308
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 19 additions and 18 deletions

View File

@ -665,7 +665,7 @@ many more.")
(define-public kdbusaddons (define-public kdbusaddons
(package (package
(name "kdbusaddons") (name "kdbusaddons")
(version "5.98.0") (version "5.108.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -674,7 +674,7 @@ many more.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0fwdmlnci2xn5pi1ywgia3xka3zsh6gl6xpx1gvql7lczk1y490a")))) "1siv9ndk0zr9yq6pwjs248zzsh4kgllfj1294jym80rxcb0z6g9r"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
(list extra-cmake-modules dbus qttools-5)) (list extra-cmake-modules dbus qttools-5))
@ -683,21 +683,22 @@ many more.")
;; kinit-bootstrap: kinit package which does not depend on kdbusaddons. ;; kinit-bootstrap: kinit package which does not depend on kdbusaddons.
(arguments (arguments
(list #:phases (list #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'configure 'patch-source (add-before 'configure 'patch-source
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; look for the kdeinit5 executable in kinit's store directory, ;; look for the kdeinit5 executable in kinit's store directory,
;; instead of the current application's directory: ;; instead of the current application's directory:
(substitute* "src/kdeinitinterface.cpp" (substitute* "src/kdeinitinterface.cpp"
(("<< QCoreApplication::applicationDirPath..") (("<< QCoreApplication::applicationDirPath..")
(string-append (string-append
"<< QString::fromUtf8(\"/" (dirname (search-input-file inputs "<< QString::fromUtf8(\"/"
"bin/kdeinit5")) "\")" ))))) (dirname (search-input-file inputs "bin/kdeinit5"))
(replace 'check "\")" )))))
(lambda* (#:key tests? #:allow-other-keys) (replace 'check
(when tests? (lambda* (#:key tests? #:allow-other-keys)
(setenv "DBUS_FATAL_WARNINGS" "0") (when tests?
(invoke "dbus-launch" "ctest"))))))) (setenv "DBUS_FATAL_WARNINGS" "0")
(invoke "dbus-launch" "ctest")))))))
(home-page "https://community.kde.org/Frameworks") (home-page "https://community.kde.org/Frameworks")
(synopsis "Convenience classes for DBus") (synopsis "Convenience classes for DBus")
(description "KDBusAddons provides convenience classes on top of QtDBus, (description "KDBusAddons provides convenience classes on top of QtDBus,
@ -3259,7 +3260,7 @@ the passwords on KDE work spaces.")
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))
(setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail (setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail
(invoke "ctest" "-E" (invoke "ctest" "-E"
"(ktoolbar_unittest|kxmlgui_unittest)"))))))) "(ktoolbar_unittest|kmainwindow_unittest|kxmlgui_unittest)")))))))
(home-page "https://community.kde.org/Frameworks") (home-page "https://community.kde.org/Frameworks")
(synopsis "Framework for managing menu and toolbar actions") (synopsis "Framework for managing menu and toolbar actions")
(description "KXMLGUI provides a framework for managing menu and toolbar (description "KXMLGUI provides a framework for managing menu and toolbar