Skip to content

maxima-ecl: make Gnuplot a separate install - #78

Closed
dimpase wants to merge 1 commit into
mainfrom
fix/maxima-optional-plotting
Closed

dimpase wants to merge 1 commit into
mainfrom
fix/maxima-optional-plotting

Conversation

@dimpase

@dimpase dimpase commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

maxima-ecl currently installs Gnuplot unconditionally. For sagemath-deps in #77, this brings in gnuplot → qtbase → wayland on Linux, along with Mesa, LLVM, GTK and other desktop libraries. Sage uses Maxima for symbolic computation and Matplotlib for its normal plotting.

Remove Gnuplot as a mandatory dependency and document brew install gnuplot for users of Maxima's Gnuplot plotting backend. The backend remains available when Gnuplot is installed. Bump the formula revision so replacement bottles record the smaller dependency set. CI skips dependent builds on this branch, allowing these bottles to be published independently of Sage.

Tracing the current formula graph for #77 on ARM removes 54 dependency formulae on Linux (211 → 157) and 15 on macOS (157 → 142). No changes to sagemath or sagemath-deps are needed to benefit once the updated Maxima formula and bottles are published.

Validation:

  • With Gnuplot absent from PATH, standalone Maxima passes symbolic integration and rational simplification checks.
  • The existing editable Sage development venv passes its native arithmetic, Maxima/PARI/GAP, Matplotlib PNG generation, NumPy/SciPy, CVXOPT/PPL and database checks with Gnuplot absent from PATH.
  • Compared the full dependency graph using the changed Maxima formula: Gnuplot, Qt, Wayland, Mesa, LLVM and GTK disappear from the Linux closure.
  • Formula style, workflow lint and whitespace checks pass.
  • Full standalone Maxima suite: both with and without Gnuplot on PATH, 14,547 tests run and the same five existing tests fail (rtest16:600, rtest3:222, rtest_zeta:26, rtest_gamma:399,407). Removing Gnuplot introduces no additional failures.

@github-actions
github-actions Bot deleted the fix/maxima-optional-plotting branch October 16, 2026 04:12
@github-actions github-actions Bot closed this in 215bfd2 Oct 16, 2026
dimpase added a commit that referenced this pull request Oct 16, 2026
Publish the tested final tree from PR #77, including the Maxima dependency reduction from #78.

Closes #77.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant