gnu: Remove kwayland-server.

KWaylandServer has been merged with KWin.

* gnu/packages/kde-plasma.scm (kwayland-server): Remove package.
(kwin)[inputs]: Remove kwayland-server.
This commit is contained in:
宋文武 2023-08-02 19:32:20 +08:00
parent a7c632b2b0
commit 67def63b48
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1116,55 +1116,6 @@ (define-public kwallet-pam
(home-page "https://invent.kde.org/plasma/kwallet-pam")
(license (list license:lgpl2.1+))))
(define-public kwayland-server
(package
(name "kwayland-server")
(version "5.24.7")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://kde/stable/plasma/" version
"/" name "-" version ".tar.xz"))
(sha256
(base32
"0kgqldqaq0dxfh0nh705sq9ynndi996rwjzxhhdrvr5ag40zm480"))))
(build-system qt-build-system)
(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
(list plasma-wayland-protocols
qtbase-5
qtwayland-5
kwayland
wayland
wayland-protocols))
(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))))
(define-public kwayland-integration
(package
(name "kwayland-integration")
@ -1331,7 +1282,6 @@ (define-public kwin
kscreenlocker
ktextwidgets
kwayland
kwayland-server
kwindowsystem
kxmlgui
libqaccessibilityclient