aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-06 13:10:08 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:08 +0800
commit5870b4071fd77be8aaf480afaa65aad18578ed67 (patch)
tree5e36b5826478fdac4250a926158de907b3d63c78 /gnu/packages
parent67536fda73ab14ef50853f7da4d01dce09d442de (diff)
downloadguix-5870b4071fd77be8aaf480afaa65aad18578ed67.tar
guix-5870b4071fd77be8aaf480afaa65aad18578ed67.tar.gz
gnu: drkonqi: Update to 6.1.2.
* gnu/packages/kde-plasma.scm (drkonqi): Update to 6.1.2. [inputs]: Remove qtdeclarative-5; add kstatusnotifieritem, qtdeclarative, python-minimal, python-pygdbmi, python-chai, python-psutil, python-sentry-sdk, gdb, kcmutils, kitemmodels, and kirigami. [native-inputs]: Add pkg-config. [arguments]: Set #:qtbase to qtbase. <#:configure-flags>: Pass -DCMAKE_DISABLE_FIND_PACKAGE_Systemd=TRUE -DWITH_GDB12=TRUE -DWITH_PYTHON_VENDORING=FALSE. <#:phases>: Add set-gdb-path, wrap-program phases. Adjust check phase. Change-Id: I53883ca276eda4e7e363f64170a7f7a0ccd67f75
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde-plasma.scm55
1 files changed, 45 insertions, 10 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index b9e8348573..3b12454950 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -43,6 +43,7 @@
#:use-module (gnu packages firmware)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages gdb)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gl)
@@ -69,6 +70,7 @@
#:use-module (gnu packages polkit)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages package-management) ; flatpak
#:use-module (gnu packages unicode)
#:use-module (gnu packages video)
@@ -281,7 +283,7 @@ games, and tools.")
(define-public drkonqi
(package
(name "drkonqi")
- (version "5.27.7")
+ (version "6.1.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/"
@@ -289,21 +291,43 @@ games, and tools.")
version ".tar.xz"))
(sha256
(base32
- "1li1j85yvg2nj392rl1jmdqx3mzmrdj0lf72j37xd8r2bi0ic9z8"))))
+ "19965cim06lfmkaansmrx814axfz7fxsmgfl52x2q3ar5vrmn05a"))))
(build-system qt-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "ctest" "-E" "connectiontest")))))))
- (native-inputs (list extra-cmake-modules))
+ (list #:qtbase qtbase
+ #:configure-flags
+ #~(list "-DCMAKE_DISABLE_FIND_PACKAGE_Systemd=TRUE"
+ "-DWITH_GDB12=TRUE"
+ "-DWITH_PYTHON_VENDORING=FALSE")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-gdb-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((gdb (search-input-file inputs "/bin/gdb")))
+ (substitute* "src/data/debuggers/internal/gdbrc"
+ (("TryExec=gdb")
+ (string-append "TryExec=" gdb "\n"
+ "CodeName=gdb"))
+ (("(Exec|ExecWithSymbolResolution)=gdb" _ letters)
+ (string-append letters "=" gdb))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ctest" "-E" "(connectiontest|preambletest)"))))
+ (add-after 'install 'wrap-program
+ (lambda _
+ (wrap-program (string-append #$output
+ "/libexec/drkonqi")
+ `("GUIX_PYTHONPATH" ":" prefix
+ (,(getenv "GUIX_PYTHONPATH")))))))))
+ (native-inputs (list extra-cmake-modules pkg-config))
(inputs (list ki18n
kcoreaddons
kconfig
kservice
kdeclarative
kjobwidgets
+ kstatusnotifieritem
kio
kcrash
kcompletion
@@ -312,9 +336,20 @@ games, and tools.")
knotifications
kidletime
kwindowsystem
+ qtdeclarative
+ kuserfeedback
+
+ python-minimal
+ python-pygdbmi
+ python-chai
+ python-psutil
+ python-sentry-sdk
+ gdb
+ ;; qml module runtime dependency
ksyntaxhighlighting
- qtdeclarative-5
- kuserfeedback))
+ kcmutils
+ kitemmodels
+ kirigami))
(synopsis "Crash handler for KDE software")
(description "This package provides an automatic handler for crashed apps.")
(home-page "https://invent.kde.org/plasma/drkonqi")