Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit eba272e

Browse files
committed
Finalized graphviz
1 parent 63f217a commit eba272e

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2257,7 +2257,7 @@
22572257
"datasourceTemplate": "gitlab-tags",
22582258
"depNameTemplate": "graphviz/graphviz",
22592259
"fileMatch": [
2260-
"^tools/graphwiz/manifest.yaml$"
2260+
"^tools/graphviz/manifest.yaml$"
22612261
],
22622262
"matchStrings": [
22632263
"version: \"?(?<currentValue>.*?)\"?\\n"

tools/graphwiz/Dockerfile.template renamed to tools/graphviz/Dockerfile.template

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ apt-get -y install --no-install-recommends \
1919
m4 \
2020
libtool \
2121
build-essential \
22-
bison
22+
bison \
23+
flex
2324
EOF
2425
WORKDIR /tmp/graphviz
2526
RUN <<EOF
26-
git clone -q --config advice.detachedHead=false --depth 1 --branch "${version}" https://gitlab.com/graphviz/graphviz .
27+
curl --silent --location --fail "https://gitlab.com/graphviz/graphviz/-/archive/${version}/graphviz-${version}.tar.gz" \
28+
| tar --extract --gzip --strip-components=1
2729
./autogen.sh
28-
export LDFLAGS=-static
2930
./configure \
3031
--prefix="${prefix}${target}" \
3132
--enable-static=yes \
@@ -57,12 +58,8 @@ export LDFLAGS=-static
5758
--with-ann=no \
5859
--with-glade=no \
5960
--with-qt=no \
60-
--with-x=nomake \
61-
LDFLAGS=-static
62-
#make install
63-
EOF
64-
65-
# foo
66-
RUN <<EOF
67-
touch "${prefix}${target}/foo"
61+
--with-x=nomake
62+
make -j 4
63+
make install
64+
mv "${prefix}${target}/bin/dot_static" "${prefix}${target}/bin/dot"
6865
EOF

tools/graphwiz/manifest.yaml renamed to tools/graphviz/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: graphwiz
1+
name: graphviz
22
version: "8.0.5"
33
check: ""
44
platforms:

0 commit comments

Comments
 (0)