Branch: refs/heads/master
Home: https://github.com/LinuxCNC/linuxcnc
Commit: 5a804b421f2499a324c3f23592fd6ef8613897a6
https://github.com/LinuxCNC/linuxcnc/commit/5a804b421f2499a324c3f23592fd6ef8613897a6
Author: Luca Toniolo <107...@us...>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M debian/configure
A scripts/inkscape
Log Message:
-----------
docs: shim inkscape calls from dblatex to rsvg-convert
dblatex hardcodes 'inkscape -D --export-filename=OUT IN' for SVG
conversion, which spams the build log with Pango/GtkRecentManager
warnings on headless runs (issue #4040).
Drop a small shim named 'inkscape' in scripts/ (already on the docs
build PATH per docs/src/Submakefile:7) that translates the dblatex
call into rsvg-convert. Falls back to the real inkscape if args do
not match the expected pattern, if rsvg-convert is missing, or if
LINUXCNC_DOCS_NO_RSVG=1 is set.
Add librsvg2-bin to DOC_DEPENDS; inkscape stays as fallback.
Measured: Master_Documentation PDF build 51.5s -> 46.8s (9%), zero
pixel diff across all 1055 pages. Per-SVG conversion ~6x faster
in isolation.
Commit: 0e9988015e21b53212b05cf07b7b2dd459390c91
https://github.com/LinuxCNC/linuxcnc/commit/0e9988015e21b53212b05cf07b7b2dd459390c91
Author: Luca Toniolo <107...@us...>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M scripts/inkscape
Log Message:
-----------
docs: handle Inkscape 0.x syntax in shim (CI uses old dblatex)
CI runners on debian bookworm/trixie/sid use an older dblatex variant
that invokes inkscape with the 0.x syntax:
inkscape -z -D --export-png=OUT IN
inkscape -z -D --export-pdf=OUT IN
inkscape -z -D --export-eps=OUT IN
The shim only matched the 1.x --export-filename= form, so on those
runners every call fell through to the real Inkscape and the
GtkRecentManager warnings persisted.
Accept -z and --without-gui as no-ops, parse --export-{png,pdf,eps}=
with explicit format, and keep extension inference for the 1.x form.
Commit: c1b2cc75cf150558ff3e48cba27d4df69b23bdcc
https://github.com/LinuxCNC/linuxcnc/commit/c1b2cc75cf150558ff3e48cba27d4df69b23bdcc
Author: Luca Toniolo <107...@us...>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M scripts/inkscape
Log Message:
-----------
docs: make scripts/inkscape executable
git index had mode 100644 from initial commit (core.fileMode=false
locally masked the +x bit). On CI the file was checked out as
non-executable and inkscape calls fell through to /usr/bin/inkscape
on every system, leaving the warnings in place. Set the executable
bit in the index.
Commit: 60597ee0718873d2449058c824262a275e5e4bad
https://github.com/LinuxCNC/linuxcnc/commit/60597ee0718873d2449058c824262a275e5e4bad
Author: andypugh <an...@bo...>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M debian/configure
A scripts/inkscape
Log Message:
-----------
Merge pull request #4043 from grandixximo/docs-inkscape-rsvg-shim
docs: shim inkscape -> rsvg-convert in docs build (fixes #4040)
Compare: https://github.com/LinuxCNC/linuxcnc/compare/ded5c73f128f...60597ee07188
To unsubscribe from these emails, change your notification settings at https://github.com/LinuxCNC/linuxcnc/settings/notifications
|