Kalgoorlie Retro Docs

Documentation for the Kalgoorlie Retro BBS, its games and servers

User Tools

Site Tools


mulga:building

This is an old revision of the document!


Building Mulga from source

Download mulga-0.1.3-source.tar.gz (or the ZIP) from the download page.

What you need

  • Linux, 64-bit
  • A current stable Rust (built with 1.99), from rustup
  • A C compiler, pkg-config and the PCRE2 development files
  • An internet connection for the first build: Cargo downloads the libraries, including some from GitHub

On Debian and Ubuntu:

sudo apt install build-essential pkg-config libpcre2-dev

Building

tar -xzf mulga-0.1.3-source.tar.gz
cd mulga-0.1.3-source
cargo build --release
./target/release/mulga

cargo test –workspace runs about 300 tests.

Packages

scripts/build-packages.sh makes the .deb and the tar archive in dist/ (it needs dpkg-deb and dpkg-shlibdeps). scripts/build-source.sh makes the source packages.

scripts/build-windows.sh builds the Windows installer and ZIP on Linux. It needs the Rust target x86_64-pc-windows-gnu, MinGW-w64 (gcc and windres), makensis and zip.

A program built this way needs the same glibc as the computer that built it, or newer. The published packages were built against glibc 2.35 with cargo zigbuild; the script explains how at its top.

Layout

Path What it holds
src/ The window, the editor, commands and dialogs
crates/mulga-search Search and replace, Find in Files
crates/mulga-io Encodings and safe saving
crates/mulga-text Compare, sort, JSON, XML and HTML tools
crates/mulga-automation Macros, scripts, tools and templates
crates/mulga-remote FTP, SFTP, SSH and Telnet
spec/ The specification the program was written from

Mulga is under the MIT licence. Licences of bundled parts are in third_party/licenses.

mulga/building.1795677067.txt.gz · Last modified: by slaterm