]> granicus.if.org Git - graphviz/log
graphviz
4 years agoremove unused vmstub.h
Matthew Fernandez [Sun, 31 May 2020 02:30:06 +0000 (19:30 -0700)]
remove unused vmstub.h

4 years agofix comment typo
Matthew Fernandez [Mon, 25 May 2020 20:44:50 +0000 (13:44 -0700)]
fix comment typo

4 years agoremove unused CLIPBB macro
Matthew Fernandez [Mon, 25 May 2020 18:29:07 +0000 (11:29 -0700)]
remove unused CLIPBB macro

4 years agoremove MEMSET macro
Matthew Fernandez [Mon, 25 May 2020 18:25:39 +0000 (11:25 -0700)]
remove MEMSET macro

This macro stepped the target pointer forwards, but the only place in which it
was used subsequently stepped the pointer backwards. The manual unrolling of
short lengths in the macro is something modern compilers and/or CPUs are capable
of if the length is predictable statically or dynamically, respectively.

4 years agoMerge branch 'jinja2' into 'master'
Mark Hansen [Sat, 30 May 2020 23:58:18 +0000 (23:58 +0000)]
Merge branch 'jinja2' into 'master'

Migrate output format doc generation ksh to jinja2

See merge request graphviz/graphviz!1362

4 years agoghostscript needed for ps2pdf, for pdf docs -- fix for #1719
John Ellson [Sat, 30 May 2020 16:22:35 +0000 (12:22 -0400)]
ghostscript needed for ps2pdf, for pdf docs -- fix for #1719

4 years agoMigrate output format doc generation ksh to jinja2
Mark Hansen [Sat, 16 May 2020 08:08:12 +0000 (18:08 +1000)]
Migrate output format doc generation ksh to jinja2

This commit replaces the ksh-based templating with Python Jinja2
templating.

Previously output.html was generated with:

- output.1
- the output of mkoutput.sh
- output.2

My end goal here is to make it much simpler to generate more complex
output format docs - however I've made this change so that the output is
virtually unchanged, except for HTML-escaping a single apostrophe.

My plan is to follow this up with adding some more features to the
output format documentation.

Templating in general provides a few opportunities:

- safe auto-html-escaping
- easier editing, easier adding of more data
- some separation of logic and templating
- inclusion of subtemplates

I chose Jinja2 because:

- It's the most popular Python templating engine, used by mature
  products like Ansible and Flask.
- Graphviz's docs generation already takes a dependency on Python for
  jconvert.py.
- The Python language is pretty accessible to contributors.
- Jinja2 seems pretty stable, going back to 2007. Unlikely to break
  soon.

Alternatives considered:
- I could just as well have gone with Go's stdlib template/html but I
  don't think Go is already used to build Graphviz, and Go isn't as
  popular as Python, so not as accessible to contributors.
- Python Django templates: they're pretty similar to Jinja2, but I think
  Django's templates are more heavyweight

4 years agoMerge branch 'makef' into 'master'
Mark Hansen [Fri, 29 May 2020 12:04:33 +0000 (12:04 +0000)]
Merge branch 'makef' into 'master'

Add rule to build schema.html in Makefile

See merge request graphviz/graphviz!1354

4 years agoAdd rule to build schema.html in Makefile
Mark Hansen [Thu, 14 May 2020 11:49:32 +0000 (21:49 +1000)]
Add rule to build schema.html in Makefile

Fixes error when running Makefile:

make: *** No rule to make target `schema.html', needed by `all'.  Stop.

4 years agoMerge branch 'man-fix' into 'master'
Mark Hansen [Thu, 28 May 2020 11:21:18 +0000 (11:21 +0000)]
Merge branch 'man-fix' into 'master'

Fixed man pages according to the man page scan

See merge request graphviz/graphviz!1367

4 years agoMerge branch '6bb063a6-d073-4d0a-8d5c-3f41f0a3e248' into 'master'
Mark Hansen [Thu, 28 May 2020 10:58:27 +0000 (10:58 +0000)]
Merge branch '6bb063a6-d073-4d0a-8d5c-3f41f0a3e248' into 'master'

remove unused dotgen2

See merge request graphviz/graphviz!1366

4 years agoMerge branch '3ac2f1bd-c3cc-445c-8cc6-6da2d9487a51' into 'master'
Mark Hansen [Thu, 28 May 2020 10:56:39 +0000 (10:56 +0000)]
Merge branch '3ac2f1bd-c3cc-445c-8cc6-6da2d9487a51' into 'master'

use Python 3 compatible syntax in autotools check

Closes #1626

See merge request graphviz/graphviz!1373

4 years agoMerge branch 'phony' into 'master'
Mark Hansen [Thu, 28 May 2020 10:55:15 +0000 (10:55 +0000)]
Merge branch 'phony' into 'master'

Mark Makefiles that don't generate files as .PHONY

See merge request graphviz/graphviz!1361

4 years agoMerge branch 'ps_to_jpg' into 'master'
Mark Hansen [Thu, 28 May 2020 10:54:08 +0000 (10:54 +0000)]
Merge branch 'ps_to_jpg' into 'master'

Remove unused script ps_to_jpg.sh

See merge request graphviz/graphviz!1358

4 years agoMerge branch 'cleanupgif' into 'master'
Mark Hansen [Thu, 28 May 2020 10:53:54 +0000 (10:53 +0000)]
Merge branch 'cleanupgif' into 'master'

make distclean: rm {forward,back,both,nohead}.gif

See merge request graphviz/graphviz!1360

4 years agoMerge branch 'awk' into 'master'
Mark Hansen [Thu, 28 May 2020 10:53:38 +0000 (10:53 +0000)]
Merge branch 'awk' into 'master'

brewer.awk: Close file after opening.

See merge request graphviz/graphviz!1353

4 years agoMerge branch 'psconvert' into 'master'
Mark Hansen [Thu, 28 May 2020 10:53:18 +0000 (10:53 +0000)]
Merge branch 'psconvert' into 'master'

doc: Use 'gmt psconvert' -- new name for ps2raster

See merge request graphviz/graphviz!1357

4 years agoMerge branch 'deadcode' into 'master'
Mark Hansen [Thu, 28 May 2020 10:52:53 +0000 (10:52 +0000)]
Merge branch 'deadcode' into 'master'

Remove unused functions from w3data.js

See merge request graphviz/graphviz!1352

4 years agoMerge branch 'deadmkoutputs' into 'master'
Mark Hansen [Thu, 28 May 2020 10:52:33 +0000 (10:52 +0000)]
Merge branch 'deadmkoutputs' into 'master'

doc: Remove dead code for lines starting with '#<'

See merge request graphviz/graphviz!1356

4 years agoMerge branch 'centos' into 'master'
Magnus Jacobsson [Wed, 27 May 2020 21:24:18 +0000 (21:24 +0000)]
Merge branch 'centos' into 'master'

Squash CentOS Dockerfiles yums into fewer layers

See merge request graphviz/graphviz!1364

4 years agoMerge branch 'mr-graphviz-1363'
Magnus Jacobsson [Wed, 27 May 2020 15:36:58 +0000 (17:36 +0200)]
Merge branch 'mr-graphviz-1363'

4 years agoMerge branch 'noupdate' into 'master'
Magnus Jacobsson [Wed, 27 May 2020 14:42:42 +0000 (14:42 +0000)]
Merge branch 'noupdate' into 'master'

Collapse CI Dockerfile into a single layer

See merge request graphviz/graphviz!1359

4 years agouse Python 3 compatible syntax in autotools check
Matthew Fernandez [Sun, 24 May 2020 16:55:56 +0000 (09:55 -0700)]
use Python 3 compatible syntax in autotools check

We expect `python` to be a symlink to Python 3, not Python 2 but it does not
hurt to use syntax compatible with both. Other Python checks in configure.ac
were already using compatible syntax.

Fixes #1626.

4 years agoMerge branch 'class-doc' into 'master'
Magnus Jacobsson [Fri, 22 May 2020 13:59:37 +0000 (13:59 +0000)]
Merge branch 'class-doc' into 'master'

Add documentation for SVG class attribute

See merge request graphviz/graphviz!1369

4 years agoMerge branch 'patch-1' into 'master'
Magnus Jacobsson [Fri, 22 May 2020 12:14:23 +0000 (12:14 +0000)]
Merge branch 'patch-1' into 'master'

Update README.md - latest Graphviz docs URL.

See merge request graphviz/graphviz!1368

4 years agoMerge branch 'fix-windows-dev-version' into 'master'
Magnus Jacobsson [Fri, 22 May 2020 11:13:56 +0000 (11:13 +0000)]
Merge branch 'fix-windows-dev-version' into 'master'

Start 2.45 development series also for CMake builds

Closes #1711

See merge request graphviz/graphviz!1372

4 years agoStart 2.45 development series also for CMake builds
Magnus Jacobsson [Fri, 22 May 2020 10:48:15 +0000 (12:48 +0200)]
Start 2.45 development series also for CMake builds

Fixes https://gitlab.com/graphviz/graphviz/-/issues/1711.

4 years agoMerge branch 'green-ci' into 'master'
Magnus Jacobsson [Fri, 22 May 2020 09:40:34 +0000 (09:40 +0000)]
Merge branch 'green-ci' into 'master'

Make python large tests run on Windows

See merge request graphviz/graphviz!1370

4 years agoRedirect stderr to stdout for python unittest
Mark Hansen [Fri, 22 May 2020 04:42:55 +0000 (14:42 +1000)]
Redirect stderr to stdout for python unittest

Powershell fails the entire batch file if it sees any output on stderr.

Migrated to powershell because batch files are old, I don't really want
to use batch.

4 years agoSkip test_large_graphs on win32.
Mark Hansen [Fri, 22 May 2020 01:52:36 +0000 (11:52 +1000)]
Skip test_large_graphs on win32.

This test is expected to fail on win32 due to Window's smaller stack
size defaults:

- Windows by default uses 1MB stacks:
  https://docs.microsoft.com/en-us/windows/win32/procthread/thread-stack-size

- Linux x86_64 seems to usually have a default of 8MB (architecture
dependent):

  ```
  mark@x86_64_linux $ ulimit -a | grep stack
  Maximum stack size (kB, -s) 8192

  mark@arm32v6 $ ulimit -a | grep stack
  Maximum stack size (kB, -s) 8192
  ```

This test failure is not a regression (it would have been failing before
81c3a3af), and it's blocking other submissions. This change gets the CI
green again to unblock forward progress.

4 years agoMerge branch 'skip-test-large-graphs-on-windows' into 'master'
Magnus Jacobsson [Fri, 22 May 2020 06:57:21 +0000 (06:57 +0000)]
Merge branch 'skip-test-large-graphs-on-windows' into 'master'

Skip test_large_graphs on Windows

Closes #1710

See merge request graphviz/graphviz!1371

4 years agoSkip test_large_graphs on Windows
Magnus Jacobsson [Fri, 22 May 2020 06:02:58 +0000 (08:02 +0200)]
Skip test_large_graphs on Windows

Fixes https://gitlab.com/graphviz/graphviz/-/issues/1710

4 years agoAdd documentation for SVG class attribute
Mark Hansen [Thu, 21 May 2020 07:44:17 +0000 (17:44 +1000)]
Add documentation for SVG class attribute

This was introduced in 2015 in be2d19fb48, but wasn't documented.

4 years agoUpdate README.md - link to https://graphviz.org/
Mark Hansen [Thu, 21 May 2020 07:11:01 +0000 (07:11 +0000)]
Update README.md - link to https://graphviz.org/

4 years agoFixed man pages according to the man page scan
Jaroslav Škarvada [Wed, 20 May 2020 13:03:36 +0000 (15:03 +0200)]
Fixed man pages according to the man page scan

In Fedora we did man page scan and it revealed few options missing from
the manual pages. This is an attempt to add them.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
4 years agoremove unused dotgen2
Matthew Fernandez [Tue, 19 May 2020 00:14:27 +0000 (17:14 -0700)]
remove unused dotgen2

4 years agoSquash Centos Dockerfiles yums into fewer layers
Mark Hansen [Sun, 17 May 2020 03:15:17 +0000 (13:15 +1000)]
Squash Centos Dockerfiles yums into fewer layers

This should speed up builds, giving yum some more opportunity for
parallelism, and should decrease the Docker image size because the files
that are 'cleaned up' at the end are no longer in any of the Docker
filesystem layers.

4 years agoRemove end-of-life Ubuntu 19.04 Dockerfile
Mark Hansen [Sun, 17 May 2020 01:41:27 +0000 (11:41 +1000)]
Remove end-of-life Ubuntu 19.04 Dockerfile

All references to this were removed in
26b466828b419efff7a633f153f286fa0d35f1c6.

It no longer builds - the apt-get update step fails as Ubuntu is no
longer hosting packages for 19.04.

4 years agoCollapse CI Dockerfile into a single layer
Mark Hansen [Sat, 16 May 2020 05:04:29 +0000 (15:04 +1000)]
Collapse CI Dockerfile into a single layer

Speed up CI Docker build: apt-get update once

This is cribbed from
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get,
particularly the 'well-formed RUN instruction that demonstrates all the
apt-get recommendations'.

This ensures that:

- apt-get has a lot of parallelism available to speed up downloading of
  packages
- apt-get only has to read package information into memory once
  (speeding up the build)
- one single revision of the Ubuntu package sets are used by all apt-get
  installs (previously if Ubuntu updates packages between RUN commands
  we might get packages from different revisions - unlikely but
  possible)
- the /var/lib/apt/lists/* files are not present in any docker
  filesystem layer, saving space (previously they were present in all
  layers but the last layer, so the removal at the end didn't save any
  space)

4 years agoMark Makefiles that don't generate files as .PHONY
Mark Hansen [Sat, 16 May 2020 05:42:58 +0000 (15:42 +1000)]
Mark Makefiles that don't generate files as .PHONY

See
https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html.

These targets aren't the name of a file, they're just a name for some
behaviour to run.

Marking them as .PHONY ensures that even if a file called 'clean' or
'distclean' or 'all' or 'install' exists in the directory, the code will
still be run.

4 years agomake distclean: rm {forward,back,both,nohead}.gif
Mark Hansen [Sat, 16 May 2020 05:16:54 +0000 (15:16 +1000)]
make distclean: rm {forward,back,both,nohead}.gif

These are generated files by `make` that weren't removed with
`make distclean`.

4 years agoRemove unused script ps_to_jpg.sh
Mark Hansen [Sat, 16 May 2020 04:45:07 +0000 (14:45 +1000)]
Remove unused script ps_to_jpg.sh

4 years agodoc: Use `gmt psconvert` -- new name for ps2raster
Mark Hansen [Sat, 16 May 2020 04:27:34 +0000 (14:27 +1000)]
doc: Use `gmt psconvert` -- new name for ps2raster

ps2raster isn't found in Ubuntu 18.04 (gmt --version 5.4.3).

Nor in mac/homebrew (gmt --version 6.0.0).

Here's the note that ps2raster is now psconvert:

https://github.com/GenericMappingTools/gmt/blob/master/doc/rst/source/changes.rst#id282

Docs for psconvert command:
https://docs.generic-mapping-tools.org/5.4/psconvert.html

4 years agodoc: Remove dead code for lines starting with `#<`
Mark Hansen [Sat, 16 May 2020 02:21:09 +0000 (12:21 +1000)]
doc: Remove dead code for lines starting with `#<`

This `mkoutput.sh` file only operates on the `outputs` file, which has
no lines starting with `#<`. Seems like dead code.

I thought maybe I could use this functionality to include schema.html
without using javascript, but I failed: no lines were included
in the output.

4 years agoTry to fix Windows regression test by putting build first in Path in case other dot...
Stephen C North [Fri, 15 May 2020 16:02:32 +0000 (12:02 -0400)]
Try to fix Windows regression test by putting build first in Path in case other dot.exe are around somewhere

4 years agoMerge branch 'd0651094-084d-4067-80cf-6dc37bb70fd3' into 'master'
Stephen C. North [Fri, 15 May 2020 12:24:45 +0000 (12:24 +0000)]
Merge branch 'd0651094-084d-4067-80cf-6dc37bb70fd3' into 'master'

fix a misuse of agerr

See merge request graphviz/graphviz!1351

4 years agoMerge branch 'd27650d0-4598-4236-b0c9-75444ef17c3b' into 'master'
Stephen C. North [Fri, 15 May 2020 12:24:09 +0000 (12:24 +0000)]
Merge branch 'd27650d0-4598-4236-b0c9-75444ef17c3b' into 'master'

fix out-of-bounds access with labels involving \

Closes #1699

See merge request graphviz/graphviz!1350

4 years agobrewer.awk: Close file after opening.
Mark Hansen [Thu, 14 May 2020 11:39:41 +0000 (21:39 +1000)]
brewer.awk: Close file after opening.

macOS awk seems to have a limit to how many files it will open at once.

Fixes this error on macOS awk:
$ make
...
awk -f brewer.awk ../../lib/common/brewer_colors
awk: colortmp/brbg7 makes too many open files
 input record number 131, file ../../lib/common/brewer_colors
 source line number 13
make: *** [colors.html] Error 2

4 years agoRemove unused functions from w3data.js
Mark Hansen [Thu, 14 May 2020 10:45:06 +0000 (20:45 +1000)]
Remove unused functions from w3data.js

Confirmed they were unused by searching the codebase for usages.

Only w3IncludeHTML is used.

4 years agofix a -Wformat-overflow warning with GCC 8.3
Matthew Fernandez [Sat, 9 May 2020 00:16:36 +0000 (17:16 -0700)]
fix a -Wformat-overflow warning with GCC 8.3

4 years agofix: print index instead of pointer value in debugging message
Matthew Fernandez [Sat, 9 May 2020 00:16:18 +0000 (17:16 -0700)]
fix: print index instead of pointer value in debugging message

The .v and .av members of the structs being used here are node_t**s. So the
addition of an integer results in a node_t**. This does not seem like what was
intended to be printed here, but rather the integer value being added. This
issue was found by adding __attribute__((format(printf, 2, 3))) to agerr() and
then using compiler flag -Werror=format.

4 years agofix a misuse of agerr
Matthew Fernandez [Fri, 8 May 2020 03:21:14 +0000 (20:21 -0700)]
fix a misuse of agerr

4 years agofix out-of-bounds access with labels involving \
Matthew Fernandez [Fri, 8 May 2020 02:52:59 +0000 (19:52 -0700)]
fix out-of-bounds access with labels involving \

The following input would result in entering these loops with str == "\":

  digraph structs {
  node [shape=record];
  struct1 [shape=record,label="<f0> left|<f1> mid\ dle|<f2> right"];
  struct2 [shape=record,label="<f0> one| two"];
  struct3 [shape=record,label="hello\nworld |{ b |{c|<h\re> d|e}| f}| g | h"];
  struct1 -> struct2;
  struct1 -> struct3;
  }

This would result in iterating past the end of the array. As reported by
@le3d1ng. Closes #1699.

4 years agoMerge branch 'gshklove_fixes' into 'master'
Stephen C. North [Thu, 7 May 2020 02:03:07 +0000 (02:03 +0000)]
Merge branch 'gshklove_fixes' into 'master'

small fixes for larger graphs

See merge request graphviz/graphviz!1345

4 years agosmall fixes for larger graphs
Gregory Shklover [Thu, 7 May 2020 02:03:07 +0000 (02:03 +0000)]
small fixes for larger graphs

4 years agoMerge branch 'no-malloc-include' into 'master'
Stephen C. North [Thu, 30 Apr 2020 02:38:01 +0000 (02:38 +0000)]
Merge branch 'no-malloc-include' into 'master'

PriorityQueue: don't include deprecated malloc.h

Closes #1696

See merge request graphviz/graphviz!1349

4 years agoPriorityQueue: don't include deprecated malloc.h
Henrik Grimler [Mon, 27 Apr 2020 06:24:34 +0000 (08:24 +0200)]
PriorityQueue: don't include deprecated malloc.h

We could guard it with `#ifdef HAVE_MALLOC_H` but it is not necessary in any
case, stdlib.h (and possibly malloc.h), are already included by memory.h which
PriorityQueue.c includes.

Should fix https://gitlab.com/graphviz/graphviz/-/issues/1696

4 years agoMerge branch 'use-pytest-as-test-runner' into 'master'
Magnus Jacobsson [Sun, 26 Apr 2020 20:41:59 +0000 (20:41 +0000)]
Merge branch 'use-pytest-as-test-runner' into 'master'

Use pytest as test runner

See merge request graphviz/graphviz!1348

4 years agoGenerate one pytest case for each shape/output_type combination
Magnus Jacobsson [Mon, 20 Apr 2020 21:03:01 +0000 (23:03 +0200)]
Generate one pytest case for each shape/output_type combination

4 years agoAdd pytest for Python 3 to Docker images missing it
Magnus Jacobsson [Mon, 20 Apr 2020 11:42:05 +0000 (13:42 +0200)]
Add pytest for Python 3 to Docker images missing it

4 years agoStop building & testing EOL Ubuntu 19.04
Magnus Jacobsson [Mon, 20 Apr 2020 10:28:32 +0000 (12:28 +0200)]
Stop building & testing EOL Ubuntu 19.04

4 years agoAdd fakeroot to Ubuntu Docker images
Magnus Jacobsson [Mon, 20 Apr 2020 09:06:20 +0000 (11:06 +0200)]
Add fakeroot to Ubuntu Docker images

4 years agoAdd update and --no-install-recommends to all installs in Ubuntu Dockerfiles
Magnus Jacobsson [Mon, 20 Apr 2020 07:24:52 +0000 (09:24 +0200)]
Add update and --no-install-recommends to all installs in Ubuntu Dockerfiles

4 years agoAdd clean up stage to all Dockerfiles
Magnus Jacobsson [Mon, 20 Apr 2020 07:06:13 +0000 (09:06 +0200)]
Add clean up stage to all Dockerfiles

4 years agoAdd python3 to Centos 6 Docker image
Magnus Jacobsson [Mon, 20 Apr 2020 06:01:33 +0000 (08:01 +0200)]
Add python3 to Centos 6 Docker image

4 years agoAdd pytest to Docker images
Magnus Jacobsson [Mon, 20 Apr 2020 06:01:06 +0000 (08:01 +0200)]
Add pytest to Docker images

4 years agoEnable JUnit test reports
Magnus Jacobsson [Sun, 19 Apr 2020 18:55:16 +0000 (20:55 +0200)]
Enable JUnit test reports

4 years agoReplace direct test script execution with pytest
Magnus Jacobsson [Sun, 19 Apr 2020 18:54:54 +0000 (20:54 +0200)]
Replace direct test script execution with pytest

4 years agoAdd test_shapes.py
Magnus Jacobsson [Sun, 19 Apr 2020 16:44:27 +0000 (18:44 +0200)]
Add test_shapes.py

4 years agoAdd test_installation.py
Magnus Jacobsson [Sun, 19 Apr 2020 16:43:55 +0000 (18:43 +0200)]
Add test_installation.py

4 years agoMerge branch 'improve-testing' into 'master'
Magnus Jacobsson [Wed, 22 Apr 2020 04:33:01 +0000 (04:33 +0000)]
Merge branch 'improve-testing' into 'master'

Improve testing

See merge request graphviz/graphviz!1347

4 years agoAvoid having to run ./configure before test
Magnus Jacobsson [Thu, 16 Apr 2020 15:17:54 +0000 (17:17 +0200)]
Avoid having to run ./configure before test

4 years agoMove shapes test code from Makefile to new script
Magnus Jacobsson [Thu, 16 Apr 2020 15:17:12 +0000 (17:17 +0200)]
Move shapes test code from Makefile to new script

4 years agoRemove installation of rpm's not needed for test
Magnus Jacobsson [Thu, 16 Apr 2020 09:43:19 +0000 (11:43 +0200)]
Remove installation of rpm's not needed for test

4 years agoAdd installation test
Magnus Jacobsson [Wed, 15 Apr 2020 15:34:43 +0000 (17:34 +0200)]
Add installation test

4 years agoMake test jobs depend only on build job for their own os
Magnus Jacobsson [Tue, 14 Apr 2020 20:21:19 +0000 (22:21 +0200)]
Make test jobs depend only on build job for their own os

4 years agoMerge branch 'add-build-of-ubuntu-20.04' into 'master'
Magnus Jacobsson [Wed, 22 Apr 2020 03:41:38 +0000 (03:41 +0000)]
Merge branch 'add-build-of-ubuntu-20.04' into 'master'

Add build of ubuntu 20.04

See merge request graphviz/graphviz!1346

4 years agoUse any python version for python bindings
Magnus Jacobsson [Sun, 12 Apr 2020 14:39:03 +0000 (16:39 +0200)]
Use any python version for python bindings

In order to work on Ubuntu 20.04 which does not have a "python" lib,
only "python3" and "python2".

See https://www.fosslinux.com/26413/ubuntu-20-04-lts-focal-fossa-set-to-remove-python-2.htm.

Also needed was to replace pyversion which found only Python 2
versions. Possibly this can done in a better way by someone who
understands Debian packaging in general and Lintian in particular.

See https://lintian.debian.org/tags/debian-pyversions-is-obsolete.html.

4 years agoAdd build & test stage for Ubuntu 20.04
Magnus Jacobsson [Sun, 12 Apr 2020 15:15:03 +0000 (17:15 +0200)]
Add build & test stage for Ubuntu 20.04

4 years agoAdd Dockerfile for Ubuntu 20.04
Magnus Jacobsson [Sun, 12 Apr 2020 14:52:32 +0000 (16:52 +0200)]
Add Dockerfile for Ubuntu 20.04

4 years agoMerge branch 'add-test-stage' into 'master'
Magnus Jacobsson [Mon, 13 Apr 2020 07:21:14 +0000 (07:21 +0000)]
Merge branch 'add-test-stage' into 'master'

Add test stage

See merge request graphviz/graphviz!1344

4 years agoUse specific Python version to run shapes.py
Magnus Jacobsson [Sun, 12 Apr 2020 06:31:51 +0000 (08:31 +0200)]
Use specific Python version to run shapes.py

The script runs fine with both Python 2 and Python 3, but on
e.g. Fedora 31, Centos 8 & Ubuntu 20.04 there is no "python"
program. Only "python2" and "python3".

For some rationale regarding Centos 8, see
https://www.liquidweb.com/kb/how-to-install-python-on-centos-8/

4 years agoInstall only RPM's needed for test
Magnus Jacobsson [Sat, 11 Apr 2020 11:37:24 +0000 (13:37 +0200)]
Install only RPM's needed for test

4 years agoAdd test stage for Centos 6-8 & Fedora 29-33
Magnus Jacobsson [Sat, 11 Apr 2020 10:00:40 +0000 (12:00 +0200)]
Add test stage for Centos 6-8 & Fedora 29-33

4 years agoMove test code from .gitlab-ci.yml to new ci/test.sh script
Magnus Jacobsson [Sat, 11 Apr 2020 09:36:02 +0000 (11:36 +0200)]
Move test code from .gitlab-ci.yml to new ci/test.sh script

4 years agoMove build code from .gitlab-ci.yml to new ci/build.sh script
Magnus Jacobsson [Sat, 11 Apr 2020 09:13:13 +0000 (11:13 +0200)]
Move build code from .gitlab-ci.yml to new ci/build.sh script

4 years agoAdd Dockerfile for Fedora 30
Magnus Jacobsson [Sun, 5 Apr 2020 13:11:52 +0000 (15:11 +0200)]
Add Dockerfile for Fedora 30

4 years agoAdd test for Ubuntu 19.04
Magnus Jacobsson [Wed, 1 Apr 2020 10:50:04 +0000 (12:50 +0200)]
Add test for Ubuntu 19.04

4 years agoAdd test for Ubuntu 18.04
Magnus Jacobsson [Wed, 1 Apr 2020 10:49:55 +0000 (12:49 +0200)]
Add test for Ubuntu 18.04

4 years agoUse template for test
Magnus Jacobsson [Wed, 1 Apr 2020 10:12:01 +0000 (12:12 +0200)]
Use template for test

4 years agoAdd test stage and ubuntu19-10-test
Magnus Jacobsson [Mon, 30 Mar 2020 14:28:29 +0000 (16:28 +0200)]
Add test stage and ubuntu19-10-test

4 years agofix warning from dot -c being run too early because of rpm dependency ordering
John Ellson [Sun, 12 Apr 2020 23:54:50 +0000 (19:54 -0400)]
fix warning from dot -c being run too early because of rpm dependency ordering

4 years agoMerge branch 'drand48-weak' into 'master'
John Ellson [Sun, 12 Apr 2020 21:04:40 +0000 (21:04 +0000)]
Merge branch 'drand48-weak' into 'master'

make drand48 weak

See merge request graphviz/graphviz!1343

4 years agodon't remove any foreign plugins that other packages may have installed
John Ellson [Sun, 12 Apr 2020 15:59:18 +0000 (11:59 -0400)]
don't remove any foreign plugins that other packages may have installed

4 years agotry to fix failure to run 'dot -c' on centos 6. This change also removes support...
John Ellson [Sun, 12 Apr 2020 15:35:26 +0000 (11:35 -0400)]
try to fix failure to run 'dot -c' on centos 6.  This change also removes support for binary rpm relocation.

4 years agomake drand48 weak
Antoine du HAMEL [Wed, 22 Jan 2020 16:05:33 +0000 (17:05 +0100)]
make drand48 weak

4 years agoupdate ChangeLog
John Ellson [Thu, 9 Apr 2020 20:23:27 +0000 (16:23 -0400)]
update ChangeLog

4 years agoapplying RH's graphviz-2.42.2-ocaml-allow-const-cast.patch
John Ellson [Thu, 9 Apr 2020 20:18:22 +0000 (16:18 -0400)]
applying RH's graphviz-2.42.2-ocaml-allow-const-cast.patch

4 years agoapplying RH's graphviz-2.42.2-dotty-menu-fix.patch
John Ellson [Thu, 9 Apr 2020 20:14:20 +0000 (16:14 -0400)]
applying RH's graphviz-2.42.2-dotty-menu-fix.patch

4 years agoapplying RH's graphviz-2.42.2-coverity-scan-fixes.patch
John Ellson [Thu, 9 Apr 2020 20:11:58 +0000 (16:11 -0400)]
applying RH's graphviz-2.42.2-coverity-scan-fixes.patch