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
This commit is contained in:
parent
67536fda73
commit
5870b4071f
1 changed files with 45 additions and 10 deletions
|
@ -43,6 +43,7 @@
|
||||||
#:use-module (gnu packages firmware)
|
#:use-module (gnu packages firmware)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
|
#:use-module (gnu packages gdb)
|
||||||
#:use-module (gnu packages ghostscript)
|
#:use-module (gnu packages ghostscript)
|
||||||
#:use-module (gnu packages gnupg)
|
#:use-module (gnu packages gnupg)
|
||||||
#:use-module (gnu packages gl)
|
#:use-module (gnu packages gl)
|
||||||
|
@ -69,6 +70,7 @@
|
||||||
#:use-module (gnu packages polkit)
|
#:use-module (gnu packages polkit)
|
||||||
#:use-module (gnu packages pulseaudio)
|
#:use-module (gnu packages pulseaudio)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
|
#:use-module (gnu packages python-xyz)
|
||||||
#:use-module (gnu packages package-management) ; flatpak
|
#:use-module (gnu packages package-management) ; flatpak
|
||||||
#:use-module (gnu packages unicode)
|
#:use-module (gnu packages unicode)
|
||||||
#:use-module (gnu packages video)
|
#:use-module (gnu packages video)
|
||||||
|
@ -281,7 +283,7 @@ games, and tools.")
|
||||||
(define-public drkonqi
|
(define-public drkonqi
|
||||||
(package
|
(package
|
||||||
(name "drkonqi")
|
(name "drkonqi")
|
||||||
(version "5.27.7")
|
(version "6.1.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://kde/stable/plasma/"
|
(uri (string-append "mirror://kde/stable/plasma/"
|
||||||
|
@ -289,21 +291,43 @@ games, and tools.")
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1li1j85yvg2nj392rl1jmdqx3mzmrdj0lf72j37xd8r2bi0ic9z8"))))
|
"19965cim06lfmkaansmrx814axfz7fxsmgfl52x2q3ar5vrmn05a"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases #~(modify-phases %standard-phases
|
(list #:qtbase qtbase
|
||||||
(replace 'check
|
#:configure-flags
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
#~(list "-DCMAKE_DISABLE_FIND_PACKAGE_Systemd=TRUE"
|
||||||
(when tests?
|
"-DWITH_GDB12=TRUE"
|
||||||
(invoke "ctest" "-E" "connectiontest")))))))
|
"-DWITH_PYTHON_VENDORING=FALSE")
|
||||||
(native-inputs (list extra-cmake-modules))
|
#: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
|
(inputs (list ki18n
|
||||||
kcoreaddons
|
kcoreaddons
|
||||||
kconfig
|
kconfig
|
||||||
kservice
|
kservice
|
||||||
kdeclarative
|
kdeclarative
|
||||||
kjobwidgets
|
kjobwidgets
|
||||||
|
kstatusnotifieritem
|
||||||
kio
|
kio
|
||||||
kcrash
|
kcrash
|
||||||
kcompletion
|
kcompletion
|
||||||
|
@ -312,9 +336,20 @@ games, and tools.")
|
||||||
knotifications
|
knotifications
|
||||||
kidletime
|
kidletime
|
||||||
kwindowsystem
|
kwindowsystem
|
||||||
|
qtdeclarative
|
||||||
|
kuserfeedback
|
||||||
|
|
||||||
|
python-minimal
|
||||||
|
python-pygdbmi
|
||||||
|
python-chai
|
||||||
|
python-psutil
|
||||||
|
python-sentry-sdk
|
||||||
|
gdb
|
||||||
|
;; qml module runtime dependency
|
||||||
ksyntaxhighlighting
|
ksyntaxhighlighting
|
||||||
qtdeclarative-5
|
kcmutils
|
||||||
kuserfeedback))
|
kitemmodels
|
||||||
|
kirigami))
|
||||||
(synopsis "Crash handler for KDE software")
|
(synopsis "Crash handler for KDE software")
|
||||||
(description "This package provides an automatic handler for crashed apps.")
|
(description "This package provides an automatic handler for crashed apps.")
|
||||||
(home-page "https://invent.kde.org/plasma/drkonqi")
|
(home-page "https://invent.kde.org/plasma/drkonqi")
|
||||||
|
|
Reference in a new issue