Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

153.6. calcurse-4.8.2

A calendar and todo list whose storage is two text files

4.8.2-1 · BSD-2-Clause · 0.8 SBU · 503.5 KiB, 31 files · 41_system, 851 of 1047 · ports/core/pim/calcurse

Homepage: https://calcurse.org/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/pim.txt:

Its database is two plain text files — greppable, diffable, syncable with the rest of $HOME, and a backup is a copy.

Depends on: autoconf, autoconf-archive, automake, gettext, pkgconf, ncurses, asciidoc, docbook-xsl, libxslt, python3, python3-httplib2.

Required by: no port names it.

Sources: calcurse-4.8.2.tar.gz (455.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install calcurse'

build.sh:

./autogen.sh

export XML_CATALOG_FILES=/etc/xml/catalog

./configure --prefix=/usr --sysconfdir=/etc --disable-nls --enable-docs
make doc_langs=
make DESTDIR=$PKG doc_langs= install

install -d "$PKG/usr/share/applications"
cat > "$PKG/usr/share/applications/calcurse.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=Calendar (calcurse)
GenericName=Calendar and Todo
Comment=Appointments, todos and reminders
Exec=calcurse
Icon=x-office-calendar
Terminal=true
Categories=Office;Calendar;
Keywords=calendar;appointment;todo;reminder;calcurse;
EOF
chmod 644 "$PKG/usr/share/applications/calcurse.desktop"

Programs: calcurse, calcurse-caldav, calcurse-upgrade, calcurse-vdir.

Directories: /usr/share/doc/calcurse, /usr/share/licenses/calcurse.