New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18272 (closed defect: fixed)

Opened 3 years ago

Last modified 7 months ago

graphviz, graphviz-devel: ${prefix}/lib/graphviz/config(5) should be part of destroot

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: graphviz, graphviz-devel

Description

Graphviz requires a file config or config5 in ${prefix}/lib/graphviz to work. This file lists which plugins got built. The file is created by running "dot -c" after installation in the post-activate phase, but that means the file doesn't get to be part of the destroot. It was done this way because there was no way to tell "dot -c" to write to a destroot; it always wrote to the real file.

The current development version of Graphviz lets you specify an alternate directory to write the file in. I forget how to do that, and I don't know if the latest stable version 2.20.3 already supports this or whether I have to wait for 2.22. If I have to wait on 2.22, then maybe I should wait until that's released before updating graphviz-devel too, otherwise graphviz-devel will have it as part of the destroot and graphviz won't, making it hard to switch between the two ports.

Change History

  Changed 3 years ago by ryandesign@…

It's the GVBINDIR environment variable described in the  command-line documentation, e.g.:

GVBINDIR=${destroot}${prefix}/lib/graphviz dot -c

in reply to: ↑ description   Changed 3 years ago by ryandesign@…

  • status changed from new to assigned

Fixed for graphviz-devel in r46351.

  Changed 3 years ago by ryandesign@…

  • status changed from assigned to closed
  • resolution set to fixed

Fixed for graphviz is r46658.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

  Changed 7 months ago by ryandesign@…

Removed the compatibility code for easing upgrades in r80885; everyone should have already by now.

Note: See TracTickets for help on using tickets.