Skip to content

Commit

Permalink
Update Graphviz to 12.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaines committed Aug 12, 2024
1 parent a1f3134 commit 461459e
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/viz/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@

## Unreleased

* Update Graphviz to 12.1.0.

## 3.7.0

* Update Graphviz to 12.0.0.
2 changes: 1 addition & 1 deletion packages/viz/src/module/Dockerfile
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ RUN mkdir -p expat && tar -zxf ./expat.tar.gz --strip-components 1 --directory e
RUN cd expat && emconfigure ./configure --host=wasm32 --disable-shared --prefix="${PREFIX}" --libdir="${PREFIX}/lib" CFLAGS="-Oz" CXXFLAGS="-Oz"
RUN cd expat/lib && emmake make all install

ADD "https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/12.0.0/graphviz-12.0.0.tar.gz" ./graphviz.tar.gz
ADD "https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/12.1.0/graphviz-12.1.0.tar.gz" ./graphviz.tar.gz

RUN mkdir -p graphviz && tar -zxf ./graphviz.tar.gz --strip-components 1 --directory graphviz
RUN cd graphviz && emconfigure ./configure --host=wasm32 --disable-ltdl --prefix="${PREFIX}" --libdir="${PREFIX}/lib" EXPAT_CFLAGS="-I${PREFIX}/include" EXPAT_LIBS="-L${PREFIX}/lib -lexpat" CFLAGS="-Oz" CXXFLAGS="-Oz"
2 changes: 1 addition & 1 deletion packages/viz/test/context-info.test.mjs
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ describe("Viz", function() {

describe("graphvizVersion", function() {
it("returns the Graphviz version", function() {
assert.strictEqual(viz.graphvizVersion, "12.0.0");
assert.strictEqual(viz.graphvizVersion, "12.1.0");
});
});

2 changes: 1 addition & 1 deletion packages/viz/test/render.test.mjs
Original file line number Diff line number Diff line change
@@ -290,7 +290,7 @@ stop
status: "success",
output: "graph {\n\tgraph [_background=123,\n\t\tbb=\"0,0,0,0\"\n\t];\n\tnode [label=\"\\N\"];\n}\n",
errors: [
{ level: "warning", message: "Could not parse \"_background\" attribute in graph %3" },
{ level: "warning", message: "Could not parse \"_background\" attribute in graph %1" },
{ level: "warning", message: " \"123\"" }
]
});
2 changes: 1 addition & 1 deletion packages/viz/test/standalone.test.mjs
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import Viz from "../src/viz.mjs";

describe("graphvizVersion", function() {
it("returns the Graphviz version", function() {
assert.strictEqual(VizPackage.graphvizVersion, "12.0.0");
assert.strictEqual(VizPackage.graphvizVersion, "12.1.0");
});
});

0 comments on commit 461459e

Please sign in to comment.