Cleanup: missing word in comment.
[dcpomatic.git] / DEVELOP.md
index be8ed61e6891d2e30dbdd351cb3bd00d0f0be5bd..5c16c6a1879b3b382b1b341b8bdb80d45cac7e44 100644 (file)
@@ -4,6 +4,16 @@ This file collects a few notes relevant to DCP-o-matic developers.  There is als
 [on the web site](https://dcpomatic.com/development).
 
 
+## Building on macOS/arm64
+
+Build `osx-environment` in `$HOME`
+```
+bash platform/osx/copy_resources.sh
+source platform/osx/set_paths.sh
+./waf configure --target-macos-arm64
+```
+
+
 ## Disk writer logging
 
 As we have no `film' folder to log to during disk writes, the logs end up:
@@ -108,3 +118,15 @@ The manual PDF looks nice if vector screenshots are used.  These can be taken as
 - Start `take-vector-screenshot`, click "Take screenshot" then click on the DCP-o-matic window.
 - Find a PDF in `/tmp/dcpomatic2.pdf`
 - Copy this to `doc/manual/raw-screenshots` 
+
+
+## Adding a new variant
+
+Files to edit:
+- `cscript`
+- `wscript`
+- `src/lib/variant.cc`
+- `src/tools/wscript`
+- `platform/osx/make_dmg.sh`
+- `platform/windows/wscript`
+- `platform/osx/wscript`