Skip to content

Commit

Permalink
Update Graphviz to 11.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaines committed May 5, 2024
1 parent 161ef9f commit 520d72b
Show file tree
Hide file tree
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
Expand Up @@ -2,6 +2,8 @@

## Unreleased

* Update Graphviz to 11.0.0.

## 3.4.0

* Update Graphviz to 10.0.1.
Expand Down
2 changes: 1 addition & 1 deletion packages/viz/src/module/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/10.0.1/graphviz-10.0.1.tar.gz" ./graphviz.tar.gz
ADD "https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/11.0.0/graphviz-11.0.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"
Expand Down
2 changes: 1 addition & 1 deletion packages/viz/test/context-info.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("Viz", function() {

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

Expand Down
2 changes: 1 addition & 1 deletion packages/viz/test/render.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ node a 0.375 0.25 0.75 0.5 図 solid ellipse black lightgrey
stop
`,
errors: [
{ level: "warning", message: "no value for width of non-ASCII character 229. Falling back to width of space character" }
{ level: "warning", message: "Warning: no value for width of non-ASCII character 229. Falling back to width of space character" }
]
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/viz/test/standalone.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Viz from "../src/viz.mjs";

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

Expand Down

0 comments on commit 520d72b

Please sign in to comment.