2019-02-12 22:17:00 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
2019-02-12 22:21:01 +00:00
|
|
|
;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
|
2017-06-09 11:12:08 +00:00
|
|
|
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
|
2020-12-12 12:16:45 +00:00
|
|
|
;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2019-02-24 18:42:17 +00:00
|
|
|
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2020-12-18 02:25:51 +00:00
|
|
|
;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
|
2022-02-02 03:13:48 +00:00
|
|
|
;;; Copyright © 2022 Brendan Tildesley <mail@brendan.scot>
|
2019-02-12 22:17:00 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages kde-plasma)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2021-11-27 10:35:30 +00:00
|
|
|
#:use-module (guix gexp)
|
2019-02-12 22:17:00 +00:00
|
|
|
#:use-module (guix build-system cmake)
|
gnu: Cleanup KDE packages to use the update qt-build-system.
* gnu/packages/kde.scm (grantleetheme): [arguments] Remove.
(kdeconnect)[arguments]<phases>{check-setup}: Remove.
libkdegames: Use qt-build-system. [arguments]: Remove.
* gnu/packages/kde-frameworks.scm (kguiaddons, kitemmodels,
kitemviews, kplotting, sonnet, kcompletion, kcrash, kdesignerplugin,
kglobalaccel, kparts, ktextwidgets, khtml, kmediaplayer): Use
qt-build-system. [arguments]: Remove.
(kpeople): Use qt-build-system. [arguments]<phases>: Remove.
(kconfigwidgets, kwidgetsaddons) Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-plasma.scm (kdecoration) Use qt-build-system.
[arguments]: Remove.
(libkscreen): Use qt-build-system. [arguments]<phases>: Remove.
(libksysguard): Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-utils.scm (kronometer, rsibreak): [arguments]
Remove.
2020-01-23 20:13:42 +00:00
|
|
|
#:use-module (guix build-system qt)
|
2022-02-02 03:13:48 +00:00
|
|
|
#:use-module (gnu packages admin)
|
2019-02-12 22:17:00 +00:00
|
|
|
#:use-module (gnu packages compression)
|
2017-06-09 11:20:42 +00:00
|
|
|
#:use-module (gnu packages freedesktop)
|
2019-02-12 22:17:00 +00:00
|
|
|
#:use-module (gnu packages glib)
|
2022-06-30 07:58:34 +00:00
|
|
|
#:use-module (gnu packages gtk)
|
2019-02-12 22:17:00 +00:00
|
|
|
#:use-module (gnu packages kde-frameworks)
|
2017-06-09 11:20:42 +00:00
|
|
|
#:use-module (gnu packages linux)
|
2019-02-12 22:17:00 +00:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2022-06-30 07:58:34 +00:00
|
|
|
#:use-module (gnu packages python)
|
2019-02-12 22:17:00 +00:00
|
|
|
#:use-module (gnu packages qt)
|
2021-10-14 07:11:57 +00:00
|
|
|
#:use-module (gnu packages xdisorg)
|
2022-06-30 07:58:34 +00:00
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
#:use-module (gnu packages web))
|
2019-02-12 22:17:00 +00:00
|
|
|
|
2020-12-12 12:16:45 +00:00
|
|
|
(define-public breeze
|
|
|
|
(package
|
|
|
|
(name "breeze")
|
2022-08-01 09:36:59 +00:00
|
|
|
(version "5.25.3")
|
2020-12-12 12:16:45 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://kde/stable/plasma/" version "/"
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-01 09:36:59 +00:00
|
|
|
"0za75ckgfcdxrh2qxgyl2c1273g2xqwmd55njsis1yvwryadypqw"))))
|
2020-12-12 12:16:45 +00:00
|
|
|
(build-system qt-build-system)
|
|
|
|
;; TODO: Warning at /gnu/store/…-kpackage-5.34.0/…/KF5PackageMacros.cmake:
|
|
|
|
;; warnings during generation of metainfo for org.kde.breezedark.desktop:
|
|
|
|
;; Package type "Plasma/LookAndFeel" not found
|
|
|
|
;; TODO: Check whether is makes sence splitting into several outputs, like
|
|
|
|
;; Debian does:
|
|
|
|
;; - breeze-cursor-theme
|
|
|
|
;; - "out", "devel"
|
|
|
|
;; - kde-style-breeze - Widget style
|
|
|
|
;; - kde-style-breeze-qt4 - propably not useful
|
|
|
|
;; - kwin-style-breeze
|
|
|
|
;; - qml-module-qtquick-controls-styles-breeze - QtQuick style
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list extra-cmake-modules pkg-config))
|
2020-12-12 12:16:45 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list kcmutils ; optional
|
|
|
|
kconfigwidgets
|
|
|
|
kcoreaddons
|
|
|
|
kde-frameworkintegration ; optional
|
|
|
|
kdecoration
|
|
|
|
kguiaddons
|
|
|
|
ki18n
|
2022-08-01 09:36:59 +00:00
|
|
|
kirigami
|
2021-12-13 16:18:24 +00:00
|
|
|
kiconthemes ; for optional kde-frameworkintegration
|
|
|
|
kpackage
|
|
|
|
kwayland ; optional
|
|
|
|
kwindowsystem
|
|
|
|
qtbase-5
|
2022-07-18 01:03:18 +00:00
|
|
|
qtdeclarative-5 ; optional
|
2021-12-13 16:18:24 +00:00
|
|
|
qtx11extras))
|
2020-12-12 12:16:45 +00:00
|
|
|
(home-page "https://invent.kde.org/plasma/breeze")
|
|
|
|
(synopsis "Default KDE Plasma theme")
|
|
|
|
(description "Artwork, styles and assets for the Breeze visual style for
|
|
|
|
the Plasma Desktop. Breeze is the default theme for the KDE Plasma desktop.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2022-06-30 07:58:34 +00:00
|
|
|
(define-public breeze-gtk
|
|
|
|
(package
|
|
|
|
(name "breeze-gtk")
|
|
|
|
(version "5.19.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://kde/stable/plasma/"
|
|
|
|
version "/" name
|
|
|
|
"-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1j2nq9yw1ragmgwrz9f6ca4ifpi86qv1bbprdgd2qm2yh7vb44sj"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f)) ;no 'test' target
|
|
|
|
(native-inputs (list breeze extra-cmake-modules sassc python
|
|
|
|
python-pycairo))
|
|
|
|
(home-page "https://invent.kde.org/plasma/breeze")
|
|
|
|
(synopsis "Default KDE Plasma theme (GTK+ port)")
|
|
|
|
(description "GTK+ port of the Breeze visual style for the Plasma Desktop.
|
|
|
|
Breeze is the default theme for the KDE Plasma desktop.")
|
|
|
|
(license (list license:bsd-3 ;cmake/FindSass.cmake
|
|
|
|
license:lgpl2.1+)))) ;<all other files>
|
|
|
|
|
2017-06-09 11:12:08 +00:00
|
|
|
(define-public kdecoration
|
|
|
|
(package
|
|
|
|
(name "kdecoration")
|
2022-08-01 09:36:59 +00:00
|
|
|
(version "5.25.3")
|
2017-06-09 11:12:08 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://kde/stable/plasma/" version
|
|
|
|
"/kdecoration-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-01 09:36:59 +00:00
|
|
|
"0b6ynqkndmlac89hv339k365m7wykp9y238df62jlq4vpr1r9x9y"))))
|
gnu: Cleanup KDE packages to use the update qt-build-system.
* gnu/packages/kde.scm (grantleetheme): [arguments] Remove.
(kdeconnect)[arguments]<phases>{check-setup}: Remove.
libkdegames: Use qt-build-system. [arguments]: Remove.
* gnu/packages/kde-frameworks.scm (kguiaddons, kitemmodels,
kitemviews, kplotting, sonnet, kcompletion, kcrash, kdesignerplugin,
kglobalaccel, kparts, ktextwidgets, khtml, kmediaplayer): Use
qt-build-system. [arguments]: Remove.
(kpeople): Use qt-build-system. [arguments]<phases>: Remove.
(kconfigwidgets, kwidgetsaddons) Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-plasma.scm (kdecoration) Use qt-build-system.
[arguments]: Remove.
(libkscreen): Use qt-build-system. [arguments]<phases>: Remove.
(libksysguard): Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-utils.scm (kronometer, rsibreak): [arguments]
Remove.
2020-01-23 20:13:42 +00:00
|
|
|
(build-system qt-build-system)
|
2017-06-09 11:12:08 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list extra-cmake-modules))
|
2017-06-09 11:12:08 +00:00
|
|
|
(inputs
|
2022-02-02 03:13:48 +00:00
|
|
|
(list kcoreaddons ki18n qtbase-5))
|
gnu: KDE: Fix old cgit home-pages.
Fix all home-pages pointing to git-repos a cgit.kde.org, which is
gone, to now use the correct repo at invent.kde.org.
* gnu/packages/kde.scm (grantleetheme, kdiagram): Update home-page.
* gnu/packages/kde-frameworks.scm (kholidays): Likewise.
* gnu/packages/kde-internet.scm (libgravatar, libktorrent): Likewise.
* gnu/packages/kde-multimedia.scm (libkcddb, libkcompactdisc): Likewise.
* gnu/packages/kde-pim.scm (kblog, kdav, kdepim-apps-libs,
kdepim-runtime, keventviews, kincidenceeditor, kmailcommon,
kmailimporter, kmessagelib, kpimcommon, ksmtp, libkdepim, libkgapi,
libkleo, libksieve): Likewise.
* gnu/packages/kde-plasma.scm (kdecoration, kscreenlocker): Likewise.
2020-12-12 17:22:37 +00:00
|
|
|
(home-page "https://invent.kde.org/plasma/kdecoration")
|
2017-06-09 11:12:08 +00:00
|
|
|
(synopsis "Plugin based library to create window decorations")
|
|
|
|
(description "KDecoration is a library to create window decorations.
|
|
|
|
These window decorations can be used by for example an X11 based window
|
|
|
|
manager which re-parents a Client window to a window decoration frame.")
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
2020-12-18 02:25:51 +00:00
|
|
|
(define-public ksshaskpass
|
|
|
|
(package
|
|
|
|
(name "ksshaskpass")
|
2022-08-01 09:36:59 +00:00
|
|
|
(version "5.25.3")
|
2020-12-18 02:25:51 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://kde/stable/plasma/" version
|
|
|
|
"/ksshaskpass-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-01 09:36:59 +00:00
|
|
|
"0sfl77szvfq9c7v0gsv5nnf7h5kxigyy2z2p1cwmhm1pq4n606nk"))))
|
2020-12-18 02:25:51 +00:00
|
|
|
(build-system qt-build-system)
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list extra-cmake-modules kdoctools))
|
2020-12-18 02:25:51 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list kcoreaddons ki18n kwallet kwidgetsaddons qtbase-5))
|
2020-12-18 02:25:51 +00:00
|
|
|
(home-page "https://invent.kde.org/plasma/ksshaskpass")
|
|
|
|
(synopsis "Front-end for ssh-add using kwallet")
|
|
|
|
(description "Ksshaskpass is a front-end for @code{ssh-add} which stores the
|
|
|
|
password of the ssh key in KWallet. Ksshaskpass is not meant to be executed
|
|
|
|
directly, you need to tell @code{ssh-add} about it. @code{ssh-add} will then
|
|
|
|
call it if it is not associated to a terminal.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2021-10-14 07:11:57 +00:00
|
|
|
(define-public layer-shell-qt
|
|
|
|
(package
|
|
|
|
(name "layer-shell-qt")
|
2022-08-01 09:36:59 +00:00
|
|
|
(version "5.25.3")
|
2021-10-14 07:11:57 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://kde/stable/plasma/" version
|
|
|
|
"/layer-shell-qt-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-01 09:36:59 +00:00
|
|
|
"06rxqm4wh4mcszrwb2dbgpxj3dqfx0rccyyjp091lbsncqm1gib0"))))
|
2021-10-14 07:11:57 +00:00
|
|
|
(build-system qt-build-system)
|
|
|
|
(native-inputs
|
|
|
|
(list extra-cmake-modules pkg-config))
|
|
|
|
(inputs
|
|
|
|
(list libxkbcommon
|
|
|
|
qtbase-5
|
|
|
|
qtdeclarative-5
|
2022-09-29 13:53:35 +00:00
|
|
|
qtwayland-5
|
2021-10-14 07:11:57 +00:00
|
|
|
wayland
|
|
|
|
wayland-protocols))
|
|
|
|
(home-page "https://invent.kde.org/plasma/layer-shell-qt")
|
|
|
|
(synopsis "Qt component for the Wayland ql-layer-shell protocol")
|
|
|
|
(description "Qt component for the Wayland ql-layer-shell protocol.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2017-06-09 11:20:42 +00:00
|
|
|
(define-public kscreenlocker
|
|
|
|
(package
|
|
|
|
(name "kscreenlocker")
|
2022-08-01 09:36:59 +00:00
|
|
|
(version "5.25.3")
|
2017-06-09 11:20:42 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://kde/stable/plasma/" version
|
|
|
|
"/kscreenlocker-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-01 09:36:59 +00:00
|
|
|
"1kii3r3j89avwyb00wrw80k5sj0q4wqgmy1q0yxfps9jk729k3wc"))))
|
2019-11-27 21:26:34 +00:00
|
|
|
(build-system qt-build-system)
|
2017-06-09 11:20:42 +00:00
|
|
|
(arguments
|
2019-11-27 21:26:34 +00:00
|
|
|
`(#:tests? #f ;; TODO: make tests pass
|
|
|
|
#:phases
|
2017-06-09 11:20:42 +00:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'check-setup
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2021-07-14 12:09:51 +00:00
|
|
|
(system "Xvfb :1 -screen 0 640x480x24 &")
|
2017-06-09 11:20:42 +00:00
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
#t))
|
|
|
|
(delete 'check)
|
|
|
|
;; Tests use the installed library and require a DBus session.
|
|
|
|
(add-after 'install 'check
|
2019-11-27 21:26:34 +00:00
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(if tests?
|
|
|
|
(begin
|
|
|
|
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
2022-02-02 03:13:48 +00:00
|
|
|
(invoke "dbus-launch" "ctest")))
|
2019-11-27 21:26:34 +00:00
|
|
|
#t)))))
|
2017-06-09 11:20:42 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list extra-cmake-modules pkg-config
|
|
|
|
;; For tests.
|
|
|
|
dbus xorg-server-for-tests))
|
2017-06-09 11:20:42 +00:00
|
|
|
(inputs
|
2022-02-02 03:13:48 +00:00
|
|
|
(list kcmutils
|
2022-08-01 09:36:59 +00:00
|
|
|
kconfig
|
2022-02-02 03:13:48 +00:00
|
|
|
kcrash
|
|
|
|
kdeclarative
|
|
|
|
kglobalaccel
|
|
|
|
ki18n
|
|
|
|
kidletime
|
|
|
|
knotifications
|
|
|
|
ktextwidgets
|
|
|
|
kwayland
|
|
|
|
kwindowsystem
|
|
|
|
kxmlgui
|
|
|
|
layer-shell-qt
|
|
|
|
libseccomp ;for sandboxing the look'n'feel package
|
|
|
|
libxcursor ;missing in CMakeList.txt
|
|
|
|
libxi ;XInput, required for grabbing XInput2 devices
|
|
|
|
linux-pam
|
|
|
|
elogind ;optional loginctl support
|
|
|
|
qtbase-5
|
|
|
|
qtdeclarative-5
|
|
|
|
qtx11extras
|
|
|
|
solid
|
|
|
|
wayland
|
|
|
|
xcb-util-keysyms))
|
gnu: KDE: Fix old cgit home-pages.
Fix all home-pages pointing to git-repos a cgit.kde.org, which is
gone, to now use the correct repo at invent.kde.org.
* gnu/packages/kde.scm (grantleetheme, kdiagram): Update home-page.
* gnu/packages/kde-frameworks.scm (kholidays): Likewise.
* gnu/packages/kde-internet.scm (libgravatar, libktorrent): Likewise.
* gnu/packages/kde-multimedia.scm (libkcddb, libkcompactdisc): Likewise.
* gnu/packages/kde-pim.scm (kblog, kdav, kdepim-apps-libs,
kdepim-runtime, keventviews, kincidenceeditor, kmailcommon,
kmailimporter, kmessagelib, kpimcommon, ksmtp, libkdepim, libkgapi,
libkleo, libksieve): Likewise.
* gnu/packages/kde-plasma.scm (kdecoration, kscreenlocker): Likewise.
2020-12-12 17:22:37 +00:00
|
|
|
(home-page "https://invent.kde.org/plasma/kscreenlocker")
|
2017-06-09 11:20:42 +00:00
|
|
|
(synopsis "Screen locking library")
|
|
|
|
(description
|
|
|
|
"@code{kscreenlocker} is a library for creating secure lock screens.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2019-02-12 22:17:00 +00:00
|
|
|
(define-public libkscreen
|
|
|
|
(package
|
|
|
|
(name "libkscreen")
|
2022-08-01 09:36:59 +00:00
|
|
|
(version "5.25.3")
|
2019-02-12 22:17:00 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://kde/stable/plasma/" version "/"
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
2022-08-01 09:36:59 +00:00
|
|
|
(base32 "1mxkrk04wcyw4xbfiyxbp5iwnhqr10yk39zx5bbjd9zag0vdi7z5"))))
|
gnu: Cleanup KDE packages to use the update qt-build-system.
* gnu/packages/kde.scm (grantleetheme): [arguments] Remove.
(kdeconnect)[arguments]<phases>{check-setup}: Remove.
libkdegames: Use qt-build-system. [arguments]: Remove.
* gnu/packages/kde-frameworks.scm (kguiaddons, kitemmodels,
kitemviews, kplotting, sonnet, kcompletion, kcrash, kdesignerplugin,
kglobalaccel, kparts, ktextwidgets, khtml, kmediaplayer): Use
qt-build-system. [arguments]: Remove.
(kpeople): Use qt-build-system. [arguments]<phases>: Remove.
(kconfigwidgets, kwidgetsaddons) Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-plasma.scm (kdecoration) Use qt-build-system.
[arguments]: Remove.
(libkscreen): Use qt-build-system. [arguments]<phases>: Remove.
(libksysguard): Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-utils.scm (kronometer, rsibreak): [arguments]
Remove.
2020-01-23 20:13:42 +00:00
|
|
|
(build-system qt-build-system)
|
2019-02-12 22:17:00 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list extra-cmake-modules
|
|
|
|
;; For testing.
|
|
|
|
dbus))
|
2019-02-12 22:17:00 +00:00
|
|
|
(inputs
|
2022-02-02 03:13:48 +00:00
|
|
|
(list kwayland libxrandr plasma-wayland-protocols
|
2022-10-12 11:33:56 +00:00
|
|
|
qtbase-5 qtwayland-5 wayland qtx11extras))
|
2019-02-12 22:17:00 +00:00
|
|
|
(arguments
|
gnu: Cleanup KDE packages to use the update qt-build-system.
* gnu/packages/kde.scm (grantleetheme): [arguments] Remove.
(kdeconnect)[arguments]<phases>{check-setup}: Remove.
libkdegames: Use qt-build-system. [arguments]: Remove.
* gnu/packages/kde-frameworks.scm (kguiaddons, kitemmodels,
kitemviews, kplotting, sonnet, kcompletion, kcrash, kdesignerplugin,
kglobalaccel, kparts, ktextwidgets, khtml, kmediaplayer): Use
qt-build-system. [arguments]: Remove.
(kpeople): Use qt-build-system. [arguments]<phases>: Remove.
(kconfigwidgets, kwidgetsaddons) Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-plasma.scm (kdecoration) Use qt-build-system.
[arguments]: Remove.
(libkscreen): Use qt-build-system. [arguments]<phases>: Remove.
(libksysguard): Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-utils.scm (kronometer, rsibreak): [arguments]
Remove.
2020-01-23 20:13:42 +00:00
|
|
|
'(#:tests? #f)) ; FIXME: 55% tests passed, 5 tests failed out of 11
|
2019-02-12 22:17:00 +00:00
|
|
|
(home-page "https://community.kde.org/Solid/Projects/ScreenManagement")
|
|
|
|
(synopsis "KDE's screen management software")
|
|
|
|
(description "KScreen is the new screen management software for KDE Plasma
|
|
|
|
Workspaces which tries to be as magic and automatic as possible for users with
|
|
|
|
basic needs and easy to configure for those who want special setups.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
(define-public libksysguard
|
|
|
|
(package
|
|
|
|
(name "libksysguard")
|
2022-08-01 09:36:59 +00:00
|
|
|
(version "5.25.3")
|
2019-02-12 22:17:00 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2022-02-02 03:13:48 +00:00
|
|
|
(uri (string-append "mirror://kde/stable/plasma/" version
|
2019-02-12 22:17:00 +00:00
|
|
|
"/libksysguard-" version ".tar.xz"))
|
|
|
|
(sha256
|
2022-08-01 09:36:59 +00:00
|
|
|
(base32 "1mrrrxjvqmrnkjwafvqrd2hlvl9gr9y4hn7dv0gf70lp5bl06i89"))))
|
2019-02-12 22:17:00 +00:00
|
|
|
(native-inputs
|
2022-02-02 03:13:48 +00:00
|
|
|
(list extra-cmake-modules pkg-config qttools-5))
|
2019-02-12 22:17:00 +00:00
|
|
|
(inputs
|
2022-02-02 03:13:48 +00:00
|
|
|
(list kauth
|
|
|
|
kcompletion
|
|
|
|
kconfig
|
|
|
|
kconfigwidgets
|
|
|
|
kcoreaddons
|
|
|
|
kdeclarative
|
|
|
|
kglobalaccel
|
|
|
|
ki18n
|
|
|
|
kiconthemes
|
|
|
|
kio
|
|
|
|
knewstuff
|
|
|
|
kservice
|
|
|
|
kwidgetsaddons
|
|
|
|
kwindowsystem
|
|
|
|
libnl
|
|
|
|
libcap
|
|
|
|
libpcap
|
|
|
|
`(,lm-sensors "lib")
|
|
|
|
plasma-framework
|
|
|
|
qtbase-5
|
|
|
|
qtdeclarative-5
|
|
|
|
qtscript
|
|
|
|
qtwebchannel-5
|
|
|
|
qtwebengine-5
|
|
|
|
qtwebkit
|
|
|
|
qtx11extras
|
|
|
|
zlib))
|
gnu: Cleanup KDE packages to use the update qt-build-system.
* gnu/packages/kde.scm (grantleetheme): [arguments] Remove.
(kdeconnect)[arguments]<phases>{check-setup}: Remove.
libkdegames: Use qt-build-system. [arguments]: Remove.
* gnu/packages/kde-frameworks.scm (kguiaddons, kitemmodels,
kitemviews, kplotting, sonnet, kcompletion, kcrash, kdesignerplugin,
kglobalaccel, kparts, ktextwidgets, khtml, kmediaplayer): Use
qt-build-system. [arguments]: Remove.
(kpeople): Use qt-build-system. [arguments]<phases>: Remove.
(kconfigwidgets, kwidgetsaddons) Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-plasma.scm (kdecoration) Use qt-build-system.
[arguments]: Remove.
(libkscreen): Use qt-build-system. [arguments]<phases>: Remove.
(libksysguard): Use qt-build-system.
[arguments]<phases>{check-setup}: Remove.
* gnu/packages/kde-utils.scm (kronometer, rsibreak): [arguments]
Remove.
2020-01-23 20:13:42 +00:00
|
|
|
(build-system qt-build-system)
|
2019-02-12 22:17:00 +00:00
|
|
|
(arguments
|
2022-02-02 03:13:48 +00:00
|
|
|
(list #:phases
|
2021-11-27 10:35:30 +00:00
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
2022-02-02 03:13:48 +00:00
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
;; TODO: Fix this failing test-case
|
|
|
|
(invoke "ctest" "-E" "processtest")))))))
|
2019-02-15 10:24:49 +00:00
|
|
|
(home-page "https://userbase.kde.org/KSysGuard")
|
2019-02-12 22:17:00 +00:00
|
|
|
(synopsis "Network enabled task and system monitoring")
|
|
|
|
(description "KSysGuard can obtain information on system load and
|
|
|
|
manage running processes. It obtains this information by interacting
|
|
|
|
with a ksysguardd daemon, which may also run on a remote system.")
|
|
|
|
(license license:gpl3+)))
|
2021-10-03 02:42:31 +00:00
|
|
|
|
|
|
|
(define-public kwayland-server
|
|
|
|
(package
|
|
|
|
(name "kwayland-server")
|
|
|
|
(version "5.24.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://kde/stable/plasma/" version
|
|
|
|
"/" name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1279nqhy1qyz84dkn23rvzak8bg71hbrp09jlhv9mkjdb3bhnyfi"))))
|
|
|
|
(build-system qt-build-system)
|
|
|
|
(native-inputs
|
|
|
|
(list extra-cmake-modules pkg-config))
|
|
|
|
(inputs
|
|
|
|
(list plasma-wayland-protocols
|
|
|
|
qtbase-5
|
2022-10-12 11:33:56 +00:00
|
|
|
qtwayland-5
|
2021-10-03 02:42:31 +00:00
|
|
|
kwayland
|
|
|
|
wayland
|
|
|
|
wayland-protocols-next))
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-install-path
|
|
|
|
(lambda _
|
|
|
|
;; Fixes errors including nonexistant /include/KF5
|
|
|
|
(substitute* "src/server/CMakeLists.txt"
|
|
|
|
(("KF5_INSTALL") "KDE_INSTALL"))))
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
(setenv "XDG_RUNTIME_DIR" (getcwd))
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
(invoke "ctest" "-E"
|
|
|
|
;; This test fails inconsistently.
|
|
|
|
"kwayland-testDragAndDrop")))))))
|
|
|
|
(home-page "https://api.kde.org/kwayland-server/html/index.html")
|
|
|
|
(synopsis "KDE wayland server component")
|
|
|
|
(description
|
|
|
|
"KWayland is a Qt-style API to interact with the wayland-client and
|
|
|
|
wayland-server API.")
|
|
|
|
;; Most files are LGPL2.1 or LGPL3.0 only, at the users option.
|
|
|
|
(license (list license:lgpl2.1 license:lgpl3
|
|
|
|
;; src/server/drm_fourcc.h carries the MIT license.
|
|
|
|
license:expat))))
|
|
|
|
|