After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639272 - Regression: Image generated with @dot has global pathname
Regression: Image generated with @dot has global pathname
Status: RESOLVED DUPLICATE of bug 638656
Product: doxygen
Classification: Other
Component: general
1.7.3
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-01-12 01:33 UTC by Wolfgang Bangerth
Modified: 2011-01-12 19:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wolfgang Bangerth 2011-01-12 01:33:01 UTC
This used to work fine with doxygen 1.6.3, but it is broken in 1.7.3:

When using a file like this:
-----------------------------
/**
 * abc
 * @dot
 digraph G
{
  graph[rankdir="TB",bgcolor="transparent"];
  
  Tria -> DoFHandler;
}
 * @enddot
 */
class X
{};
-------------------------------
...then doxygen generates the image file into the correct directory
but the HTML file contains a *global* pathname to it, in my case
like this:

<img src="/home/bangerth/tmp/doxygen/html/inline_dotgraph_1.dot.png" alt="/home/bangerth/tmp/doxygen/html/inline_dotgraph_1.dot" border="0" usemap="#/home/bangerth/tmp/doxygen/html/inline_dotgraph_1.dot.map">
<map name="/home/bangerth/tmp/doxygen/html/inline_dotgraph_1.dot.map" id="/home/bangerth/tmp/doxygen/html/inline_dotgraph_1.dot.map"></map>

This is bad since it doesn't allow you to relocate the built documentation,
for example to the website of the project it documents. Rather, it should
just use the relative name -- which is simple enough since the file ends
up in the same place as the html files. As mentioned, this is what 1.6.3
did.

Best and thanks
 Wolfgang
Comment 1 Wolfgang Bangerth 2011-01-12 01:40:05 UTC
Might be related to PR140259.
I think this is a duplicate of PR638656, though that one doesn't have a testcase.
Comment 2 Dimitri van Heesch 2011-01-12 19:49:22 UTC
Confirmed as a duplicate. Should be fixed in the next subversion update.

*** This bug has been marked as a duplicate of bug 638656 ***