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

286.2. lyx-2.5.3

Document processor that writes LaTeX — structure-first editing with typeset output

2.5.3-1 · GPL-2.0-or-later · 6.9 SBU · 47.5 MiB, 3282 files · 44_apps, 64 of 422 · ports/core/doctools/lyx

Homepage: https://www.lyx.org/

Depends on: qt6-qtbase, qt6-qtsvg, qt6-qtwayland, hunspell, hunspell-en, mythes, file, zlib, python3, imagemagick, ghostscript, libxslt, texlive.

Required by: no port names it.

Sources: lyx-2.5.3.tar.xz (17.8 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/44_apps/phase.env && kpkg install lyx'

build.sh:

./configure --prefix=/usr --sysconfdir=/etc \
	--enable-qt6 \
	--with-hunspell \
	--without-aspell \
	--without-enchant \
	--without-saxon \
	--without-included-mythes \
	--without-included-hunspell \
	--disable-callstack-printing \
	--disable-nls
make
make DESTDIR=$PKG install

for d in "$PKG"/usr/share/lyx/doc/*/ "$PKG"/usr/share/lyx/examples/*/ \
	"$PKG"/usr/share/lyx/templates/*/; do
	case $(basename "$d") in
	[a-z][a-z] | [a-z][a-z]_[A-Z][A-Z]) rm -rf "$d" ;;
	esac
done

Programs: lyx, lyxclient, tex2lyx.

Directories: /usr/share/licenses/lyx, /usr/share/lyx.