(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
- (list qtbase-5 qtwayland qtx11extras plasma-wayland-protocols wayland))
- (list qtbase-5 qtx11extras))
++ (list qtbase-5 qtwayland-5 qtx11extras plasma-wayland-protocols wayland))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Utilities for graphical user interfaces")
(description "The KDE GUI addons provide utilities for graphical user
(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
- (list qtbase-5 plasma-wayland-protocols qtwayland wayland wayland-protocols))
- (list qtbase-5 qtwayland-5 wayland wayland-protocols))
++ (list qtbase-5 plasma-wayland-protocols qtwayland-5 wayland wayland-protocols))
(arguments
- `(#:tests? #f ; FIXME tests require weston to run
- ; weston requires wayland flags in mesa
- #:phases
+ `(#:phases
(modify-phases %standard-phases
- (add-before 'check 'check-setup
+ (add-after 'unpack 'skip-specific-tests
(lambda _
- (setenv "XDG_RUNTIME_DIR" "/tmp")
- #t)))))
+ ;; PlasmaWindowModelTest::testChangeWindowAfterModelDestroy(icon)
+ (substitute* "autotests/client/test_plasma_window_model.cpp"
+ ((".*changedSpy\\.wait.*") ""))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (when tests? ;; One test fails.
+ (invoke "ctest" "-E" "kwayland-testWaylandRegistry")))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Qt-style API to interact with the wayland client and server")
(description "As the names suggest they implement a Client respectively a
;; For testing.
dbus))
(inputs
- (list kwayland libxrandr qtbase-5 qtx11extras))
+ (list kwayland libxrandr plasma-wayland-protocols
- qtbase-5 qtwayland wayland qtx11extras))
++ qtbase-5 qtwayland-5 wayland qtx11extras))
(arguments
'(#:tests? #f)) ; FIXME: 55% tests passed, 5 tests failed out of 11
(home-page "https://community.kde.org/Solid/Projects/ScreenManagement")
with a ksysguardd daemon, which may also run on a remote system.")
(license license:gpl3+)))
- qtwayland
+(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
++ qtwayland-5
+ 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))))
+
libvnc
libxcb
libxtst
- oxygen-icons ;; default icon set
+ breeze-icons ;; default icon set
pipewire-0.3
+ plasma-wayland-protocols
qtbase-5
- qtwayland
++ qtwayland-5
qtx11extras
+ wayland
xcb-util-image
zlib))
- (home-page "https://kde.org/applications/internet/org.kde.krfb")
+ (home-page "https://apps.kde.org/krfb/")
(synopsis "Desktop Sharing utility")
(description "KDE Desktop Sharing is a server application that allows you
to share your current session with a user on another machine. The desktop
qtmultimedia-5
qtquickcontrols-5
qtquickcontrols2-5
- qtx11extras))
+ qtx11extras
- qtwayland
++ qtwayland-5
+ wayland))
(home-page "https://community.kde.org/KDEConnect")
(synopsis "Enable your devices to communicate with each other")
(description "KDE Connect is a project that enables all your devices to
set of plugins for interacting with pulseaudio and GStreamer.")
(license (package-license qtbase))))
- (define-public qtwayland
+ (define-public qtwayland-5
(package (inherit qtsvg-5)
(name "qtwayland")
- (version "5.15.2")
+ (version "5.15.5")
(source (origin
(method url-fetch)
(uri (qt-urls name version))