Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002420graphvizBuild/Installpublic2014-02-01 13:512014-02-02 17:48
Reporterryandesign 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSOS XOS Version10.9.1
Summary0002420: Ming support fails to build
DescriptionTrying to build graphviz 2.36.0 or 2.37.20140201.0545 with ming support (--with-ming) fails:


gvrender_ming.c:45:15: warning: unused variable 'action' [-Wunused-variable]
    SWFAction action;
              ^
gvrender_ming.c:94:50: error: unknown type name 'textpara_t'; did you mean 'textspan_t'?
static void ming_textpara(GVJ_t * job, pointf p, textpara_t * para)
                                                 ^~~~~~~~~~
                                                 textspan_t
../../lib/common/textspan.h:63:7: note: 'textspan_t' declared here
    } textspan_t;
      ^
gvrender_ming.c:126:45: error: no member named 'fontsize' in 'textspan_t'
    SWFTextField_setHeight(textfield, para->fontsize);
                                      ~~~~ ^
gvrender_ming.c:133:20: error: no member named 'width' in 'textspan_t'
 offset.x = -para->width;
             ~~~~ ^
gvrender_ming.c:137:20: error: no member named 'width' in 'textspan_t'
 offset.x = -para->width/2.;
             ~~~~ ^
gvrender_ming.c:141:23: error: no member named 'height' in 'textspan_t'
    offset.y = -para->height + para->fontsize*.4;
                ~~~~ ^
gvrender_ming.c:141:38: error: no member named 'fontsize' in 'textspan_t'
    offset.y = -para->height + para->fontsize*.4;
                               ~~~~ ^
1 warning and 6 errors generated.


See also https://trac.macports.org/ticket/42348 [^]
Steps To Reproduce./configure --with-ming
make
Additional Informationming 0.4.5 is installed
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.36.0
Attached Files

- Relationships

-  Notes
User avatar (0000684)
erg (administrator)
2014-02-02 17:48

Update text use to rely on the new span_t type rather than the old para_t type. It builds and runs, though on my machine it reports a problem about opening font files. I note from the comment that this plugin isn't finished, in that it basically ignores font face information.

- Issue History
Date Modified Username Field Change
2014-02-01 13:51 ryandesign New Issue
2014-02-02 17:48 erg Note Added: 0000684
2014-02-02 17:48 erg Assigned To => erg
2014-02-02 17:48 erg Status new => resolved
2014-02-02 17:48 erg Resolution open => fixed


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker