aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gcal.scm
blob: 32d3849faaa10bc6c47dc8ec55d0fe10aff5c1ea (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2018 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages gcal)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix licenses))

(define-public gcal
  (package
    (name "gcal")
    (version "4.1")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/gcal/gcal-"
                                 version ".tar.xz"))
             (sha256
              (base32
               "1av11zkfirbixn05hyq4xvilin0ncddfjqzc4zd9pviyp506rdci"))
             (modules '((guix build utils)))
             (snippet
              '(begin
                 ;; Adjust the bundled gnulib to work with glibc 2.28.  See e.g.
                 ;; "m4-gnulib-libio.patch".  This is a phase rather than patch
                 ;; or snippet to work around <https://bugs.gnu.org/32347>.
                 (substitute* (find-files "lib" "\\.c$")
                   (("#if defined _IO_ftrylockfile")
                    "#if defined _IO_EOF_SEEN"))
                 (substitute* "lib/stdio-impl.h"
                   (("^/\\* BSD stdio derived implementations")
                    (string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n"
                                   "# define _IO_IN_BACKUP 0x100\n"
                                   "#endif\n\n"
                                   "/* BSD stdio derived implementations")))
                 #t))))
    (build-system gnu-build-system)
    (home-page "https://www.gnu.org/software/gcal/")
    (synopsis "Calculating and printing a wide variety of calendars")
    (description
     "Gcal is a program to calculate and print calendars on the
command-line.  Calendars can be printed in 1-month, 3-month or whole-year
views.  In addition, eternal holiday lists can be generated for many
countries, which can be complemented by user-made lists of fixed dates to
make an agenda.  Gcal can also calculate astronomical data, such as the
phases of the moon, and supports alternative calendar formats: Julian,
Gregorian, Islamic, Chinese and more.")
    (license gpl3+)))
iable. Change-Id: I96a690b41af78e331744daacba1cf5ee77f8257a Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reviewed-by: Skyler Ferris <skyvine@protonmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Paul A. Patience 2024-11-03gnu: Add debug-assert....* gnu/packages/cpp.scm (debug-assert): New variable. Change-Id: I4cee49ea2f5b761ab72bb7b063c2ea8fd99b991c Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reviewed-by: Skyler Ferris <skyvine@protonmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Paul A. Patience 2024-10-23gnu: atomic-queue: Update to 1.6.5....* gnu/packages/cpp.scm (atomic-queue): Update to 1.6.5. Change-Id: I322352ecd7cdc70d54ed53fba4356de20c858d1f Efraim Flashner 2024-10-04gnu: reproc: Update to 14.2.5....* gnu/packages/cpp.scm (reproc): Update to 14.2.5. Change-Id: Ia030c4494c56c15f11b64aaa58d319a5fb7ed8b9 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Artyom V. Poptsov 2024-10-04gnu: kokkos: Mark as tunable....* gnu/packages/cpp.scm (kokkos)[properties]: New field. Change-Id: I763828ab23547dd519c2fe104ef2ac0b31e1add7 Ludovic Courtès 2024-09-29gnu: abseil-cpp: Skip 2 tests on riscv64-linux....* gnu/packages/cpp.scm (abseil-cpp)[arguments]: When building for riscv64-linux replace the 'check phase to skip 2 tests. Change-Id: I92a35795dad1a00606954aae7515701ad402f243 Efraim Flashner 2024-09-28gnu: aws-sdk-cpp: Update to 1.11.402....* gnu/packages/cpp.scm (aws-sdk-cpp): Update to 1.11.402. Change-Id: I105b7bfc80f264eb9374ca71dfaf5e5417f98cbe Greg Hogan 2024-09-28gnu: aws-crt-cpp: Update to 0.28.2....* gnu/packages/cpp.scm (aws-crt-cpp): Update to 0.28.2. Change-Id: I0335caaf5705cbf635045568759cad3afc19345b Greg Hogan 2024-09-28gnu: folly: Update to 2024.09.09.00....* gnu/packages/cpp.scm (folly): Update to 2024.09.09.00. [inputs]: Add fast-float. Change-Id: Icbe6ec261561729178df0920a53ece7d4eded15d Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2024-09-28gnu: fast-float: Update to 6.1.6....* gnu/packages/cpp.scm (fast-float): Update to 6.1.6. [license]: Add BSL-1.0. Change-Id: Ia85d6146332453a45cf54837cb53b3e05ca052f7 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2024-09-28gnu: fast-float-test-files: Update to 1.0.0....* gnu/packages/cpp.scm (fast-float-test-files): Update to 1.0.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2024-09-27gnu: magic-enum: Update to 0.9.6....* gnu/packages/cpp.scm (magic-enum): Update to 0.9.6. Change-Id: I9d1175554d3fd956b063e3f29dff623c4cdb0059 Zheng Junjie 2024-09-26gnu: Add cpp-ada-url-parser....* gnu/packages/cpp.scm (cpp-ada-url-parser): New variable. (cpm-for-cpp-ada-url-parser): New variable. Change-Id: I0b61c3b136e2781774c6a5e67eeb6b662e97dd88 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> dan 2024-09-26gnu: simdjson: Update to 3.10.1....* gnu/packages/cpp.scm (simdjson): Update to 3.10.1. Change-Id: I6711077e162bcfbf6702d521fdeec44e3b21f074 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> dan 2024-09-18gnu: ftxui: Fix cross-compiling....* gnu/packages/cpp.scm (ftxui)[arguments]<#:configure-flags>: Disable FTXUI_BUILD_TESTS when cross-compiling. Change-Id: I0c4578febcbd40076dc0b85505406e16d4b65ba1 Zheng Junjie 2024-09-18gnu: ftxui: Build shared libraries....* gnu/packages/cpp.scm (ftxui)[arguments]<#:configure-flags>: Add -DBUILD_SHARED_LIBS=ON. Change-Id: I0c4578febcbd40076dc0b85505406e16d4b65ba1 Zheng Junjie 2024-09-16gnu: kokkos: Update to 4.4.00....* gnu/packages/cpp.scm (kokkos): Update to 4.4.00. Change-Id: I58b6fed438721bce58645a03b76851183e675a69 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Romain GARBAGE 2024-09-06gnu: cpp-httplib: Update to 0.16.0....* gnu/packages/cpp.scm (cpp-httplib): Update to 0.16.0. David Elsing 2024-09-06gnu: asmjit: Update to commit 062e69c....* gnu/packages/cpp.scm (asmjit): Update to commit 062e69c. David Elsing 2024-09-05gnu: mpark-variant: Fix build....* gnu/packages/cpp.scm (mpark-variant)[native-inputs]: Add gcc-12. Liliana Marie Prikler 2024-08-31gnu: tomlplusplus: Fix build....* gnu/packages/cpp.scm (tomlplusplus)[arguments]<#:phases>: Move the "C" locale to part of the utf8 locale list. [native-inputs]: Add ‘libc-utf8-locales-for-target’. Change-Id: I1e6362dd27e88d22e1c40aea1ccf1767c93fbeac John Kehayias