From 681cdfab46e0808378578e2e8bd5076d1c8a5d0b Mon Sep 17 00:00:00 2001 From: Sughosha Date: Fri, 3 Oct 2025 07:09:39 +0530 Subject: [PATCH] gnu: xdg-desktop-portal-kde: Move to kde-plasma.scm. * gnu/packages/freedesktop.scm (xdg-desktop-portal-kde): Remove. * gnu/packages/kde-plasma.scm (xdg-desktop-portal-kde): New variable. Change-Id: I1a0b0224f0d7fda7de13ca0f6c22ea8f8dd6e1c1 --- gnu/packages/freedesktop.scm | 52 ------------------------------------ gnu/packages/kde-plasma.scm | 50 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 52 deletions(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index aad1617c0bd4f71045ce77d2a7bf899e4562499b..2d80d6980498312667e05081caa741a785bf83c0 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -111,8 +111,6 @@ #:use-module (gnu packages hunspell) #:use-module (gnu packages ibus) #:use-module (gnu packages image) - #:use-module (gnu packages kde-frameworks) - #:use-module (gnu packages kde) #:use-module (gnu packages language) #:use-module (gnu packages libffi) #:use-module (gnu packages libunwind) @@ -3322,56 +3320,6 @@ interfaces.") "This package provides an @code{xdg-desktop-portal} backend for Hyprland.") (license license:bsd-3))) -(define-public xdg-desktop-portal-kde - (package - (name "xdg-desktop-portal-kde") - (version "6.4.3") - (source (origin - (method url-fetch) - (uri (string-append "mirror://kde/stable/plasma/" version "/" - name "-" version ".tar.xz")) - (sha256 - (base32 - "09zwq52wyr2wj5zvgqrzi02xcy610hrvqx1sb4ykps5b0ph73v1z")))) - (build-system qt-build-system) - (arguments (list - #:tests? #f ;; colorschemetest test fail, because require dbus. - #:qtbase qtbase)) - (native-inputs (list extra-cmake-modules pkg-config - ;; require by test. - python-minimal - python-pygobject)) - (inputs (list cups - kcoreaddons - kconfig - kcrash - ki18n - kdeclarative - kio - kirigami - knotifications - libplasma - plasma-wayland-protocols - kstatusnotifieritem - kwayland - kwidgetsaddons - kwindowsystem - kiconthemes - qtdeclarative - qtwayland - wayland - kglobalaccel - kguiaddons - libxkbcommon - wayland-protocols)) - (propagated-inputs - (list xdg-desktop-portal)) - (synopsis "Backend implementation for xdg-desktop-portal using Qt/KF5") - (description "This package provides a backend implementation -for xdg-desktop-portal that is using Qt/KF5.") - (home-page "https://invent.kde.org/plasma/xdg-desktop-portal-kde") - (license license:lgpl2.0+))) - (define-public xdg-desktop-portal-wlr (package (name "xdg-desktop-portal-wlr") diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index e0b87589d73a5b6b82886c61301ffc84a19d6676..ceaa610f7ee832ab804dbc59d3f7528090ec718f 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -1764,6 +1764,56 @@ on top of Baloo.") (description "This package provides Ocean Sound Theme for Plasma.") (license license:lgpl3+))) +(define-public xdg-desktop-portal-kde + (package + (name "xdg-desktop-portal-kde") + (version "6.3.4") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" version "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0888kybi3xqp45chlvh5w43rs4jw0z9kmn1pslfp5b1dkmkjzijr")))) + (build-system qt-build-system) + (arguments (list + #:tests? #f ;; colorschemetest test fail, because require dbus. + #:qtbase qtbase)) + (native-inputs (list extra-cmake-modules pkg-config + ;; require by test. + python-minimal + python-pygobject)) + (inputs (list cups + kcoreaddons + kconfig + kcrash + ki18n + kdeclarative + kio + kirigami + knotifications + libplasma + plasma-wayland-protocols + kstatusnotifieritem + kwayland + kwidgetsaddons + kwindowsystem + kiconthemes + qtdeclarative + qtwayland + wayland + kglobalaccel + kguiaddons + libxkbcommon + wayland-protocols)) + (propagated-inputs + (list xdg-desktop-portal)) + (synopsis "Backend implementation for xdg-desktop-portal using Qt/KF5") + (description "This package provides a backend implementation +for xdg-desktop-portal that is using Qt/KF5.") + (home-page "https://invent.kde.org/plasma/xdg-desktop-portal-kde") + (license license:lgpl2.0+))) + (define-public plasma (package (name "plasma")