Bug 270710 - graphics/graphviz does not install dotty
Summary: graphics/graphviz does not install dotty
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 20:42 UTC by ddrinnon
Modified: 2023-04-09 05:51 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+
dinoex: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ddrinnon 2023-04-08 20:42:49 UTC
After building and installing graphics/graphviz the dotty executable is missing in /usr/local/bin/
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2023-04-08 21:35:27 UTC
I kept dotty alive as long as possible

But upstream removed this tool:

1)
CHANGELOG.md
## [4.0.0] – 2022-05-29
- build system support for `dotty`, `lefty`, and `lneato` has been removed

2)
https://gitlab.com/graphviz/graphviz/-/merge_requests/2779

Lefty, and its dependent tools Dotty and Lneato, have been suspected unused for a long time. They were scheduled for removal, but we took a cautious and very slow approach to this given how pervasive Graphviz is and the limited visibility we have into its usage:

    2021-09-25 make Lefty default to disabled in the build system¹
    2022-01-16 disable Lefty in published graphviz.org packages²
    2022-03-28 remove build system support³

This completes the final step of removing the code from the repository. It is still retained in the history, should anyone need access to it or need to build a past version of Graphviz with Lefty.

So far, we have only heard two notable reactions from the downstream world:

    Lefty disabling was not quite complete on the first attempt.⁴
    There has been an offer of assistance to maintain Lefty.⁵ No patches have yet emerged, but if and when they do we could feasibly reverse direction on this and reinstate Lefty and friends.
Comment 2 ddrinnon 2023-04-08 21:49:08 UTC
(In reply to Dirk Meyer from comment #1)

Thank you for posting this information.  net/netmap has a run_depends on dotty and will not build.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-04-09 05:46:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b5a37bd131cfb135d3ac5e623c04562827928c4b

commit b5a37bd131cfb135d3ac5e623c04562827928c4b
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-04-09 05:46:10 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-04-09 05:46:10 +0000

    net/netmap: fix build with new graphviz

    PR: 270710
    MFH:    2023Q2
    Display is still possible with dot an a viewer

 net/netmap/Makefile                 |  6 +++---
 net/netmap/files/patch-README (new) | 21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-04-09 05:48:45 UTC
A commit in branch 2023Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a5678c612780ccbc881ba63f4558bea816821b7

commit 9a5678c612780ccbc881ba63f4558bea816821b7
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-04-09 05:46:10 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-04-09 05:48:11 +0000

    net/netmap: fix build with new graphviz

    PR: 270710
    MFH:    2023Q2
    Display is still possible with dot an a viewer

    (cherry picked from commit b5a37bd131cfb135d3ac5e623c04562827928c4b)

 net/netmap/Makefile                 |  6 +++---
 net/netmap/files/patch-README (new) | 21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2023-04-09 05:51:32 UTC
Thanks for reporting.

You can use "dot" and any suited viewer for the results.

Some Examples:

dot -Tpdf netmap.pdf netmap.dot
xpdf netmap.pdf

dot -Tsvg netmap.svg netmap.dot
gqview netmap.svg

dot -Tpng netmap.png netmap.dot
xv netmap.png

packages for net/netmap will still be build.