[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/13: gnu: Add kcalendarcore.
From: |
guix-commits |
Subject: |
04/13: gnu: Add kcalendarcore. |
Date: |
Sun, 10 Nov 2019 16:19:15 -0500 (EST) |
htgoebel pushed a commit to branch staging
in repository guix.
commit 862862e592e4e63f28854ab2550ab1dd754c88a0
Author: Hartmut Goebel <address@hidden>
Date: Wed Oct 23 17:43:58 2019 +0200
gnu: Add kcalendarcore.
This is now a part of KDE Frameworks.
* gnu/packages/kde-frameworks.scm(kcalendarcore): New variable.
---
gnu/packages/kde-frameworks.scm | 62 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 85c3736..96bd36a 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -38,6 +38,7 @@
#:use-module (gnu packages boost)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages calendar)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages disk)
@@ -429,6 +430,67 @@ GZip format, via a subclass of QIODevice.")
(license (list license:lgpl2.1 license:lgpl2.1+
license:lgpl3+ license:bsd-2))))
+(define-public kcalendarcore
+ (package
+ (name "kcalendarcore")
+ (version "5.63.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1cqqwpd6faz7sd6jrda564xxvwr231b175h2w3ilxx6hvz9yrps3"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("perl" ,perl)
+ ("tzdata" ,tzdata-for-tests)))
+ (inputs
+ `(("libical" ,libical)
+ ("qtbase" ,qtbase)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'disable-failing-libical3-tests
+ (lambda _
+ ;; testicaltimezones fails with some time-zone issue
+ (substitute* "autotests/CMakeLists.txt"
+ (("macro_unit_tests\\(testicaltimezones\\)" line)
+ (string-append "## " line))
+ (("target_link_libraries\\(testicaltimezones " line)
+ (string-append "## " line)))
+ (for-each
+ delete-file
+ (list
+ ;; test cases are generated for each .ics file. These fail:
+ "autotests/data/Compat-libical3/AppleICal_1.5.ics"
+
"autotests/data/Compat-libical3/Evolution_2.8.2_timezone_test.ics"
+ "autotests/data/Compat-libical3/KOrganizer_3.1a.ics"
+ "autotests/data/Compat-libical3/MSExchange.ics"
+ "autotests/data/Compat-libical3/Mozilla_1.0.ics"))
+ #t))
+ (add-before 'check 'set-timezone
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "TZ" "Europe/Prague")
+ (setenv "TZDIR"
+ (string-append (assoc-ref inputs "tzdata")
+ "/share/zoneinfo"))
+ #t)))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "Library for interfacing with calendars")
+ (description "This library provides access to and handling of calendar
+data. It supports the standard formats iCalendar and vCalendar and the group
+scheduling standard iTIP.
+
+A calendar contains information like incidences (events, to-dos, journals),
+alarms, time zones, and other useful information. This API provides access to
+that calendar information via well known calendar formats iCalendar (or iCal)
+and the older vCalendar.")
+ (license (list license:lgpl3+ license:bsd-2))))
+
(define-public kcodecs
(package
(name "kcodecs")
- branch staging updated (8bfd7c8 -> 38988db), guix-commits, 2019/11/10
- 01/13: gnu: phonon: Update to 4.11.1., guix-commits, 2019/11/10
- 02/13: gnu: phonon-backend-gstreamer: Update to 4.10.0., guix-commits, 2019/11/10
- 04/13: gnu: Add kcalendarcore.,
guix-commits <=
- 05/13: gnu: Add kcontacts., guix-commits, 2019/11/10
- 06/13: gnu: Add syndication., guix-commits, 2019/11/10
- 08/13: gnu: libkomparediff2: Update to 19.08.2., guix-commits, 2019/11/10
- 11/13: gnu: ktouch: Update to 19.08.2., guix-commits, 2019/11/10
- 12/13: gnu: Move kpmcore to kde.scm., guix-commits, 2019/11/10
- 10/13: gnu: krita: Update to 4.2.7.1., guix-commits, 2019/11/10
- 13/13: gnu: kpmcore: Update to 4.0.1., guix-commits, 2019/11/10
- 03/13: gnu: kde-frameworks: Update to 5.63.0., guix-commits, 2019/11/10
- 07/13: gnu: kde plasma: Update to 5.17.0., guix-commits, 2019/11/10
- 09/13: gnu: kqtquickcharts: Update to 19.08.2., guix-commits, 2019/11/10