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

148.2. wine-gecko-2.47.4

The HTML engine Wine's MSHTML uses, 32- and 64-bit, as upstream builds it

2.47.4-2 · MPL-2.0 · 0.5 SBU · 207.4 MiB, 61 files · 41_system, 490 of 1047 · ports/core/emulators/wine-gecko

Homepage: https://gitlab.winehq.org/wine/wine-gecko

Why it is in KDOS. The comment above wine-mono and wine-gecko in script/phases/41_system/packages.d/emulators.txt:

The Mono and Gecko installers Wine would otherwise download the first time a program asks for them.

Wine Gecko is the HTML engine Wine’s MSHTML loads, a build of Gecko for Windows. The port installs the 32- and 64-bit trees upstream publishes into /usr/share/wine/gecko, where Wine finds them without downloading them on a prefix’s first start.

Depends on: unzip.

Required by (1): wine.

Sources: wine-gecko-2.47.4.tar.xz (41.0 MiB), wine-gecko-2.47.4-x86_64.tar.xz (40.0 MiB). Every step kpkg takes applies to this port.

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

build.sh:

install -d "$PKG/usr/share/wine/gecko/wine-gecko-$version-x86"
cp -a . "$PKG/usr/share/wine/gecko/wine-gecko-$version-x86/"
cp -a "$SRC_ROOT/wine-gecko-$version-x86_64" "$PKG/usr/share/wine/gecko/"
install -d "$PKG/usr/share/licenses/$name"
unzip -p omni.ja chrome/toolkit/content/global/license.html > "$PKG/usr/share/licenses/$name/license.html" || [ $? -eq 2 ]
grep -q 'Mozilla Public License' "$PKG/usr/share/licenses/$name/license.html"

Directories: /usr/share/licenses/wine-gecko, /usr/share/wine/gecko.