summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSughosha <sughosha@disroot.org>2025-10-02 12:51:42 +0530
committerSughosha <sughosha@disroot.org>2025-10-02 13:21:22 +0530
commitadd533fec221f6dff6edae0ba9d4aba2627d7aa0 (patch)
treeeb03a8f550a38d725f889d37e17d8c5a9298cd73 /gnu
parent8016187c75b7b851075220089e27a469cec14cb4 (diff)
gnu: kdeconnect: Move to kde-internet.scm.
* gnu/packages/kde.scm (kdeconnect): Remove variable. * gnu/packages/kde-internet.scm (kdeconnect): New variable. * gnu/packages/rust-apps.scm: Replace (gnu packages kde) with (gnu packages kde-internet). Change-Id: I98da0a094273b03368f45eb167c4b7af1d0a1d5e
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-internet.scm92
-rw-r--r--gnu/packages/kde.scm91
-rw-r--r--gnu/packages/rust-apps.scm2
3 files changed, 93 insertions, 92 deletions
diff --git a/gnu/packages/kde-internet.scm b/gnu/packages/kde-internet.scm
index fcc58a8e60c..4de1b67f130 100644
--- a/gnu/packages/kde-internet.scm
+++ b/gnu/packages/kde-internet.scm
@@ -67,6 +67,7 @@
#:use-module (gnu packages web)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml)
+ #:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg))
(define-public falkon
@@ -163,6 +164,97 @@ This package is part of the KDE networking module.")
(license ;; GPL for programs, LGPL for libraries, FDL for documentation
(list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+(define-public kdeconnect
+ (package
+ (name "kdeconnect")
+ (version "25.08.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/"
+ version "/src/kdeconnect-kde-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "07rmkm8gmfx1hs5n5rql2q9f539hdwv1l8wgjcmd2m5793f0nd4a"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:qtbase qtbase
+ #:configure-flags
+ #~(list (string-append "-DQtWaylandScanner_EXECUTABLE="
+ #$(this-package-native-input "qtwayland")
+ "/lib/qt6/libexec/qtwaylandscanner")
+ "-DKDE_INSTALL_LIBEXECDIR=libexec"
+ ;; So kdeconnect.so isn't installed to lib/plugins
+ "-DPLUGIN_INSTALL_DIR=lib/qt6/plugins")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-dbus-autostart
+ (lambda _
+ ;; 'dbus-daemon' requires an absolute Exec path.
+ (substitute* "daemon/org.kde.kdeconnect.service.in"
+ (("kdeconnectd")
+ (string-append #$output "/bin/kdeconnectd"))))))
+ #:tests? #f)) ; tests fail hard in our build environment
+ (native-inputs
+ (list extra-cmake-modules
+ kdoctools
+ libxtst
+ pkg-config
+ python-wrapper
+ wayland-protocols
+ qtwayland))
+ (inputs
+ (list dbus
+ kcmutils
+ kconfigwidgets
+ kcrash
+ kdbusaddons
+ kguiaddons
+ ki18n
+ kiconthemes
+ kio
+ kirigami
+ kirigami-addons
+ kitemmodels
+ knotifications
+ kpackage
+ kpeople
+ kstatusnotifieritem
+ kwayland
+ libfakekey
+ openssl
+ plasma-wayland-protocols
+ pulseaudio-qt
+ qca-qt6
+ qqc2-desktop-style
+ qtbase
+ qtconnectivity
+ qtdeclarative
+ qtmultimedia
+ qtwayland
+ qtsvg
+ sonnet
+ wayland
+ modemmanager-qt
+ libxkbcommon))
+ (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
+communicate with each other. Here's a few things KDE Connect can do:
+@enumerate
+@item Receive your phone notifications on your desktop computer and reply to messages
+@item Control music playing on your desktop from your phone
+@item Use your phone as a remote control for your desktop
+@item Run predefined commands on your PC from connected devices
+@item Check your phones battery level from the desktop
+@item Ring your phone to help finding it
+@item Share files and links between devices
+@item Browse your phone from the desktop
+@item Control the desktop's volume from the phone
+@end enumerate")
+ (properties `((upstream-name . "kdeconnect-kde")))
+ (license (list license:gpl2 license:gpl3)))) ; dual licensed
+
(define-public kio-extras
(package
(name "kio-extras")
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 105c94dfd0c..7981c217a38 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1276,97 +1276,6 @@ Using a plugin system it is possible to create notifications with many
different notification systems.")
(license license:lgpl3)))
-(define-public kdeconnect
- (package
- (name "kdeconnect")
- (version "25.08.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "mirror://kde/stable/release-service/"
- version "/src/kdeconnect-kde-"
- version ".tar.xz"))
- (sha256
- (base32
- "07rmkm8gmfx1hs5n5rql2q9f539hdwv1l8wgjcmd2m5793f0nd4a"))))
- (build-system qt-build-system)
- (arguments
- (list #:qtbase qtbase
- #:configure-flags
- #~(list (string-append "-DQtWaylandScanner_EXECUTABLE="
- #$(this-package-native-input "qtwayland")
- "/lib/qt6/libexec/qtwaylandscanner")
- "-DKDE_INSTALL_LIBEXECDIR=libexec"
- ;; So kdeconnect.so isn't installed to lib/plugins
- "-DPLUGIN_INSTALL_DIR=lib/qt6/plugins")
- #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-dbus-autostart
- (lambda _
- ;; 'dbus-daemon' requires an absolute Exec path.
- (substitute* "daemon/org.kde.kdeconnect.service.in"
- (("kdeconnectd")
- (string-append #$output "/bin/kdeconnectd"))))))
- #:tests? #f)) ; tests fail hard in our build environment
- (native-inputs
- (list extra-cmake-modules
- kdoctools
- libxtst
- pkg-config
- python-wrapper
- wayland-protocols
- qtwayland))
- (inputs
- (list dbus
- kcmutils
- kconfigwidgets
- kcrash
- kdbusaddons
- kguiaddons
- ki18n
- kiconthemes
- kio
- kirigami
- kirigami-addons
- kitemmodels
- knotifications
- kpackage
- kpeople
- kstatusnotifieritem
- kwayland
- libfakekey
- openssl
- plasma-wayland-protocols
- pulseaudio-qt
- qca-qt6
- qqc2-desktop-style
- qtbase
- qtconnectivity
- qtdeclarative
- qtmultimedia
- qtwayland
- qtsvg
- sonnet
- wayland
- modemmanager-qt
- libxkbcommon))
- (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
-communicate with each other. Here's a few things KDE Connect can do:
-@enumerate
-@item Receive your phone notifications on your desktop computer and reply to messages
-@item Control music playing on your desktop from your phone
-@item Use your phone as a remote control for your desktop
-@item Run predefined commands on your PC from connected devices
-@item Check your phones battery level from the desktop
-@item Ring your phone to help finding it
-@item Share files and links between devices
-@item Browse your phone from the desktop
-@item Control the desktop's volume from the phone
-@end enumerate")
- (properties `((upstream-name . "kdeconnect-kde")))
- (license (list license:gpl2 license:gpl3)))) ; dual licensed
-
(define-public labplot
(package
(name "labplot")
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 7e281d46e98..ee5ef746f32 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -92,7 +92,7 @@
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
- #:use-module (gnu packages kde)
+ #:use-module (gnu packages kde-internet)
#:use-module (gnu packages libusb)
#:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)