[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/347: gnu: Add kcalendarcore-6.
From: |
guix-commits |
Subject: |
19/347: gnu: Add kcalendarcore-6. |
Date: |
Fri, 28 Jun 2024 09:57:20 -0400 (EDT) |
z572 pushed a commit to branch kde-team
in repository guix.
commit 641d01131aec4e4668298750bef4f7d33ebc434d
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Thu Mar 7 11:35:18 2024 +0800
gnu: Add kcalendarcore-6.
* gnu/packages/kde-frameworks.scm (kcalendarcore-6): New variable.
(kcalendarcore): Inherit above.
Change-Id: I9382d16f516031e83dfa2a5c8e79aad009dcbbab
---
gnu/packages/kde-frameworks.scm | 66 +++++++++++++++++++++++++++++++++--------
1 file changed, 53 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 7960ca07e0..720d51d599 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -563,10 +563,10 @@ GZip format, via a subclass of QIODevice.")
(list bzip2 qtbase-5 xz zlib `(,zstd "lib")))
(synopsis "Qt 5 addon providing access to numerous types of archives")))
-(define-public kcalendarcore
+(define-public kcalendarcore-6
(package
(name "kcalendarcore")
- (version "5.114.0")
+ (version "6.1.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -575,29 +575,33 @@ GZip format, via a subclass of QIODevice.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0aimda01zqw4fz5ldvz4vh767bi10r00kvm62n89nxhsq46wlk7p"))))
+ "16qkl92cqn5q83pj1hgqmvybnv5pzi1j1q85cz17jsq7lhrfzzqw"))))
(build-system cmake-build-system)
(native-inputs
(list extra-cmake-modules perl tzdata-for-tests))
- (inputs
- (list libical qtbase-5))
+ (inputs (list libical qtbase))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-test
- (lambda _
- ;; Reported as https://bugs.kde.org/show_bug.cgi?id=484306
- (substitute* "autotests/CMakeLists.txt"
- (("testdateserialization")
- ""))))
(add-before 'check 'check-setup
- (lambda* (#:key inputs #:allow-other-keys) ;;; XXX: failing test
+ (lambda* (#:key inputs #:allow-other-keys)
(setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "TZ" "Europe/Prague")
(setenv "TZDIR"
(search-input-directory inputs
- "share/zoneinfo")))))))
+ "share/zoneinfo"))))
+ (replace 'check
+ (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
+ (when tests?
+ ;; alse fail in upstream
+ (invoke "ctest" "-E"
+ "(testicaltimezones|\
+Compat-AppleICal_1.5.ics|Compat-KOrganizer_3.1a.ics|Compat-Mozilla_1.0.ics)"
+ "-j"
+ (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1"))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for interfacing with calendars")
(description "This library provides access to and handling of calendar
@@ -610,6 +614,42 @@ that calendar information via well known calendar formats
iCalendar (or iCal)
and the older vCalendar.")
(license (list license:lgpl3+ license:bsd-2))))
+(define-public kcalendarcore
+ (package
+ (inherit kcalendarcore-6)
+ (name "kcalendarcore")
+ (version "5.114.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0aimda01zqw4fz5ldvz4vh767bi10r00kvm62n89nxhsq46wlk7p"))))
+ (native-inputs
+ (list extra-cmake-modules perl tzdata-for-tests))
+ (inputs
+ (list libical qtbase-5))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-test
+ (lambda _
+ ;; Reported as https://bugs.kde.org/show_bug.cgi?id=484306
+ (substitute* "autotests/CMakeLists.txt"
+ (("testdateserialization")
+ ""))))
+ (add-before 'check 'check-setup
+ (lambda* (#:key inputs #:allow-other-keys) ;;; XXX: failing test
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (setenv "TZ" "Europe/Prague")
+ (setenv "TZDIR"
+ (search-input-directory inputs
+ "share/zoneinfo")))))))))
+
(define-public kcodecs-6
(package
(name "kcodecs")
- 09/347: gnu: Add ki18n-6., (continued)
- 09/347: gnu: Add ki18n-6., guix-commits, 2024/06/28
- 10/347: gnu: Add kidletime-6., guix-commits, 2024/06/28
- 12/347: gnu: Add kguiaddons-6., guix-commits, 2024/06/28
- 11/347: gnu: Add kitemviews-6., guix-commits, 2024/06/28
- 14/347: gnu: Add kwidgetsaddons-6., guix-commits, 2024/06/28
- 13/347: gnu: Add kplotting-6., guix-commits, 2024/06/28
- 17/347: gnu: Add ksyntaxhighlighting-6., guix-commits, 2024/06/28
- 20/347: gnu: Add kcompletion-6., guix-commits, 2024/06/28
- 16/347: gnu: Add kitemmodels-6., guix-commits, 2024/06/28
- 15/347: gnu: Add kconfig-6., guix-commits, 2024/06/28
- 19/347: gnu: Add kcalendarcore-6.,
guix-commits <=
- 23/347: gnu: Add networkmanager-qt-6., guix-commits, 2024/06/28
- 22/347: gnu: Add kwindowsystem-6., guix-commits, 2024/06/28
- 18/347: gnu: Add karchive-6., guix-commits, 2024/06/28
- 21/347: gnu: Add kpty-6., guix-commits, 2024/06/28
- 24/347: gnu: Add oxygen-icons-6., guix-commits, 2024/06/28
- 32/347: gnu: Add kcrash-6., guix-commits, 2024/06/28
- 35/347: gnu: Add kunitconversion-6., guix-commits, 2024/06/28
- 36/347: gnu: Add syndication-6., guix-commits, 2024/06/28
- 37/347: gnu: polkit-qt: Update to 0.200.0., guix-commits, 2024/06/28
- 40/347: gnu: Add kjobwidgets-6., guix-commits, 2024/06/28