[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
342/373: gnu: Add kservice-5.
From: |
guix-commits |
Subject: |
342/373: gnu: Add kservice-5. |
Date: |
Mon, 8 Jul 2024 08:05:17 -0400 (EDT) |
z572 pushed a commit to branch kde-team
in repository guix.
commit 137aafa2f22f345a708e619e96e872e96a74ac68
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Mon Jul 8 13:46:24 2024 +0800
gnu: Add kservice-5.
* gnu/packages/kde-frameworks.scm (kservice-5): New variable.
Change-Id: I076f60ef2f9e68dc3fe30d78c737ad9f8859554c
---
gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 064759df93..f434409aef 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3739,6 +3739,50 @@ types or handled by application specific code.")
;; triple licensed
(license (list license:gpl2+ license:gpl3+ license:lgpl2.1+))))
+(define-public kservice-5
+ (package
+ (inherit kservice)
+ (name "kservice")
+ (version "5.116.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0sd8yj9a1ja97c515g9shjqyzdz0jd7rn3r06g5659nh2z1w5dsj"))))
+ (propagated-inputs
+ (list kconfig-5 kcoreaddons-5 kdoctools-5))
+ (native-inputs
+ (list bison extra-cmake-modules flex shared-mime-info))
+ (inputs
+ (list kcrash-5 kdbusaddons-5 kdoctools-5 ki18n-5 qtbase-5))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ ;; Adopted from NixOS' patches "qdiriterator-follow-symlinks"
and
+ ;; "no-canonicalize-path".
+ (lambda _
+ (substitute* "src/sycoca/kbuildsycoca.cpp"
+ ;; make QDirIterator follow symlinks
+ (("^\\s*(QDirIterator it\\(.*,
QDirIterator::Subdirectories)(\\);)" _ a b)
+ (string-append a " | QDirIterator::FollowSymlinks" b)))
+ (substitute* "src/sycoca/vfolder_menu.cpp"
+ ;; Normalize path, but don't resolve symlinks (taken from
+ ;; NixOS)
+ (("^\\s*QString resolved =
QDir\\(dir\\)\\.canonicalPath\\(\\);")
+ "QString resolved = QDir::cleanPath(dir);"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" (getcwd))
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ ;; Disable failing tests.
+ (invoke "ctest" "-E"
"(kautostarttest|ksycocatest|kapplicationtradertest)")))))))))
+
(define-public kstatusnotifieritem
(package
(name "kstatusnotifieritem")
- 302/373: gnu: Remove kalendar., (continued)
- 302/373: gnu: Remove kalendar., guix-commits, 2024/07/08
- 327/373: gnu: Add ki18n-5., guix-commits, 2024/07/08
- 335/373: gnu: Add kjobwidgets-5., guix-commits, 2024/07/08
- 338/373: gnu: Add solid-5., guix-commits, 2024/07/08
- 326/373: gnu: Add kconfig-5., guix-commits, 2024/07/08
- 323/373: gnu: Add karchive-5., guix-commits, 2024/07/08
- 334/373: gnu: Add kcompletion-5., guix-commits, 2024/07/08
- 320/373: gnu: okular: Update to 24.05.2., guix-commits, 2024/07/08
- 316/373: gnu: ark: Update to 24.05.2., guix-commits, 2024/07/08
- 340/373: gnu: Remove kblog., guix-commits, 2024/07/08
- 342/373: gnu: Add kservice-5.,
guix-commits <=
- 345/373: gnu: Add kiconthemes-5., guix-commits, 2024/07/08
- 347/373: gnu: Add kglobalaccel-5., guix-commits, 2024/07/08
- 350/373: gnu: Add kbookmarks-5., guix-commits, 2024/07/08
- 164/373: gnu: kcachegrind: Update to 24.05.2., guix-commits, 2024/07/08
- 187/373: gnu: krdc: Enable VNC., guix-commits, 2024/07/08
- 190/373: gnu: khelpcenter: Update to 24.05.2., guix-commits, 2024/07/08
- 209/373: gnu: elisa: Update to 24.05.2., guix-commits, 2024/07/08
- 287/373: gnu: plasmatube: Update to 24.05.2., guix-commits, 2024/07/08
- 300/373: gnu: Add mimetreeparser., guix-commits, 2024/07/08
- 312/373: gnu: itinerary: Update to 23.04.3., guix-commits, 2024/07/08