This commit is contained in:
Kovid Goyal
2026-04-06 11:28:12 +05:30
parent c88adfba98
commit 27114c9703
2 changed files with 3 additions and 6 deletions

View File

@@ -1,10 +1,7 @@
Before implementing any code changes or responding to a request, run the Before implementing any code changes or responding to a request, run the
following four commands: following command:
sudo apt-get install -y --fix-missing libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev zsh libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev libxxhash-dev uuid-dev libsimde-dev libsystemd-dev libcairo2-dev zsh bash dash systemd-coredump gdb python3 .github/workflows/ci.py build
sudo chmod -R og-w /usr/share/zsh
curl -fsSL https://download.calibre-ebook.com/ci/fonts.tar.xz | tar -xzf - -C ~/.local/share/fonts
./dev.sh build
This will download needed dependencies, then create all generated files This will download needed dependencies, then create all generated files
and build the project, making it ready for inspection. and build the project, making it ready for inspection.

View File

@@ -111,7 +111,7 @@ def install_deps() -> None:
run('brew', 'install', 'fish', openssl, *items) run('brew', 'install', 'fish', openssl, *items)
else: else:
run('sudo apt-get update') run('sudo apt-get update')
run('sudo apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates' run('sudo apt-get install -y --fix-missing libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates'
' libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev zsh' ' libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev zsh'
' libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev libxxhash-dev uuid-dev' ' libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev libxxhash-dev uuid-dev'
' libsimde-dev libsystemd-dev libcairo2-dev zsh bash dash systemd-coredump gdb') ' libsimde-dev libsystemd-dev libcairo2-dev zsh bash dash systemd-coredump gdb')