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

241.1. gmime-3.2.15

MIME parsing and generation — notmuch reads every message through it

3.2.15-1 · LGPL-2.1-or-later · 1.5 SBU · 947.4 KiB, 68 files · 43_toolkits, 202 of 344 · ports/core/mail/gmime

Homepage: https://github.com/jstedfast/gmime

Why it is in KDOS. The comment above it in script/phases/43_toolkits/packages.d/mail.txt:

MIME parsing that verifies a signature and decrypts a part correctly, which is the whole value over a hand-rolled parser.

Depends on: autoconf, automake, libtool, pkgconf, glib, zlib, libidn2, gpgme, gtk-doc.

Required by (1): notmuch.

Sources: gmime-3.2.15.tar.gz (7.5 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install gmime'

build.sh:

touch ChangeLog
gtkdocize

autoreconf -fi

./configure --prefix=/usr --libdir=/usr/lib \
	--disable-static \
	--disable-introspection \
	--disable-vala \
	--disable-gtk-doc \
	--enable-crypto \
	--with-libidn
make
make DESTDIR=$PKG install

Libraries: libgmime-3.0.so.

Directories: /usr/include/gmime-3.0, /usr/share/licenses/gmime.