Skip to content

M-Film: film simulation for Canon EOS cameras with Magic Lantern. 72 film stocks (Portra, Velvia, Tri-X, CineStill…), a film-camera interface and an in-camera darkroom that develops your RAWs. 5D Mark III, 6D, 600D, 650D, 700D, EOS M and more.

Build tools: zip checked up front too

Claude34253f73195a
diff --git a/ml-dev/build_fork.sh b/ml-dev/build_fork.sh
index 93749c0..cd30324 100644
--- a/ml-dev/build_fork.sh
+++ b/ml-dev/build_fork.sh
@@ -38,7 +38,7 @@ LOG="${LOG:-$HOME/ml/build_fork_$PLAT$TAG.log}"
# distutils imported by that script: from Python 3.12 only setuptools has it
# numpy the films' colour tables (films/lut.py)
# segno the donation QR codes (filmos/tools/genqr.py)
-# unzip the card files out of ML's zip
+# zip, unzip ML's make zips the card files (platform/Makefile), and they come out of it
# setup_wsl.sh installs them with apt: Ubuntu's own python3 has no pip, and pip
# won't install into it (PEP 668). In a venv, or the Python CI sets up, pip does.
APT=""
@@ -49,6 +49,7 @@ command -v rst2html > /dev/null || command -v rst2html5 > /dev/null || command -
python3 -c "from distutils.spawn import find_executable" 2> /dev/null || need python3-setuptools setuptools
python3 -c "import numpy" 2> /dev/null || need python3-numpy numpy
python3 -c "import segno" 2> /dev/null || need python3-segno segno
+command -v zip > /dev/null || need zip
command -v unzip > /dev/null || need unzip
if [ -n "$APT" ]; then
echo "the build needs:$APT"
diff --git a/ml-dev/setup_wsl.sh b/ml-dev/setup_wsl.sh
index 4dc81ac..0f61b33 100644
--- a/ml-dev/setup_wsl.sh
+++ b/ml-dev/setup_wsl.sh
@@ -12,7 +12,7 @@ echo "== Installing packages (asks for your Ubuntu password) =="
sudo apt-get update
# the compiler, and what build_fork.sh needs (it checks before it builds): ML's module help
# text (docutils; distutils, from setuptools), the films' colour tables (numpy), the donation
-# QR codes (segno), the card files (unzip) and the film OS module's link test (newlib,
+# QR codes (segno), the card files (zip, unzip) and the film OS module's link test (newlib,
# qemu-user), as CI has them. Ubuntu's python3 has no pip, so the Python modules come from apt.
sudo apt-get install -y build-essential make git zip unzip python3 \
gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi qemu-user \