Skip to content

Commit

Permalink
Update Graphviz to 12.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaines committed Jul 4, 2024
1 parent 26faea0 commit 2352678
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
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/11.0.0/graphviz-11.0.0.tar.gz" ./graphviz.tar.gz
ADD "https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/12.0.0/graphviz-12.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
3 changes: 1 addition & 2 deletions 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, "11.0.0");
assert.strictEqual(viz.graphvizVersion, "12.0.0");
});
});

Expand All @@ -31,7 +31,6 @@ describe("Viz", function() {
"ismap",
"json",
"json0",
"mp",
"pic",
"plain",
"plain-ext",
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 @@ -266,7 +266,7 @@ stop
status: "failure",
output: undefined,
errors: [
{ level: "error", message: "Format: \"invalid\" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pic plain plain-ext pov ps ps2 svg svg_inline tk xdot xdot1.2 xdot1.4 xdot_json" }
{ level: "error", message: "Format: \"invalid\" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 pic plain plain-ext pov ps ps2 svg svg_inline tk xdot xdot1.2 xdot1.4 xdot_json" }
]
});
});
Expand Down
3 changes: 1 addition & 2 deletions 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, "11.0.0");
assert.strictEqual(VizPackage.graphvizVersion, "12.0.0");
});
});

Expand All @@ -25,7 +25,6 @@ describe("formats", function() {
"ismap",
"json",
"json0",
"mp",
"pic",
"plain",
"plain-ext",
Expand Down

0 comments on commit 2352678

Please sign in to comment.