all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 38030@debbugs.gnu.org
Subject: [bug#38030] [PATCH 04/13] gnu: Add kcalendarcore.
Date: Sat,  2 Nov 2019 10:09:41 +0100	[thread overview]
Message-ID: <20191102090950.18043-4-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <20191102090950.18043-1-h.goebel@crazy-compilers.com>

This is now a part of KDE Frameworks.

* gnu/packages/kde-frameworks.scm(kcalendarcore): New variable.
---
 gnu/packages/kde-frameworks.scm | 60 +++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 85c3736669..cc9066d445 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,65 @@ 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)))
+    (inputs
+     `(("libical" ,libical)
+       ("qtbase" ,qtbase)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'disable-failing-libical3-tests
+           (lambda _
+             (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
+               "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")
-- 
2.21.0

  parent reply	other threads:[~2019-11-02  9:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-02  9:07 [bug#38030] [PATCH 00/13] Update KDE frameworks and other KDE stuff Hartmut Goebel
2019-11-02  9:09 ` [bug#38030] [PATCH 01/13] gnu: phonon: Update to 4.11.1 Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 02/13] gnu: phonon-backend-gstreamer: Update to 4.10.0 Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 03/13] gnu: kde-frameworks: Update to 5.63.0 Hartmut Goebel
2019-11-02  9:09   ` Hartmut Goebel [this message]
2019-11-03 16:08     ` [bug#38030] [PATCH 04/13] gnu: Add kcalendarcore Marius Bakke
2019-11-02  9:09   ` [bug#38030] [PATCH 05/13] gnu: Add kcontacts Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 06/13] gnu: Add syndication Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 07/13] gnu: kde plasma: Update to 5.17.0 Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 08/13] gnu: libkomparediff2: Update to 19.08.2 Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 09/13] gnu: kqtquickcharts: " Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 10/13] gnu: kdevelop: Update to 5.4.2 Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 11/13] gnu: krita: Update to 4.2.7.1 Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 12/13] gnu: ktouch: Update to 19.08.2 Hartmut Goebel
2019-11-02  9:09   ` [bug#38030] [PATCH 13/13] gnu: kpmcore: Update to 4.0.1 Hartmut Goebel
2019-11-02 18:38     ` Miguel Arruga Vivas
2019-11-03 10:13       ` Hartmut Goebel
2019-11-03 16:11 ` [bug#38030] [PATCH 00/13] Update KDE frameworks and other KDE stuff Marius Bakke
2019-11-05 20:58   ` Hartmut Goebel
2019-11-08 10:48     ` Hartmut Goebel
2019-11-05 20:55 ` [bug#38030] [Patch 13/13 v2] gnu: kpmcore: Update to 4.0.1 Hartmut Goebel
2019-11-09 23:09   ` Marius Bakke
2019-11-10 21:20     ` bug#38030: " Hartmut Goebel
2019-11-14  0:27 ` [bug#38030] (no subject) Andrius Štikonas via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191102090950.18043-4-h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=38030@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.