From owner-freebsd-ports@FreeBSD.ORG Wed Nov 10 03:46:27 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51197106566C for ; Wed, 10 Nov 2010 03:46:27 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by mx1.freebsd.org (Postfix) with ESMTP id 36BFA8FC13 for ; Wed, 10 Nov 2010 03:46:27 +0000 (UTC) Received: from omta21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by qmta13.emeryville.ca.mail.comcast.net with comcast id V6fc1f0031u4NiLADFZGF7; Wed, 10 Nov 2010 03:33:16 +0000 Received: from kirby.cyberbotx.com ([71.238.30.182]) by omta21.emeryville.ca.mail.comcast.net with comcast id VFZD1f00J3vlkZB8hFZF1y; Wed, 10 Nov 2010 03:33:16 +0000 Message-ID: <4CDA1279.4050809@cyberbotx.com> Date: Tue, 09 Nov 2010 22:33:13 -0500 From: Naram Qashat User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101029 Thunderbird/3.0.10 MIME-Version: 1.0 To: Andrea Venturoli References: <4CD9CB8D.1070407@netfence.it> In-Reply-To: <4CD9CB8D.1070407@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: doxygen font error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 03:46:27 -0000 On 11/09/10 17:30, Andrea Venturoli wrote: > Hello. > > Sorry for the confusion... > > Doxygen is giving me a lot of these: > Error: Error: Could not find/open font > > > > Digging a bit, I found that it calls dot: > > %dot -v foo.dot -Tps -o foo.eps > dot - graphviz version 2.26.3 (20100126.1600) > Activated plugin library: libgvplugin_gd.so.6 > Using textlayout: textlayout:gd > Activated plugin library: libgvplugin_dot_layout.so.6 > Using layout: dot:dot_layout > Activated plugin library: libgvplugin_core.so.6 > Using render: ps:core > Using device: ps:ps:core > The plugin configuration file: > /usr/local/lib/graphviz/config6 > was successfully loaded. > render : dot fig gd map ps svg tk vml vrml xdot > layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi > textlayout : textlayout > device : canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap > imap_np ismap jpe j > loadimage : (lib) eps gd gd2 gif jpe jpeg jpg png ps svg > Error: Could not find/open font > fontname: "FreeSans.ttf" resolved to: [internal times] > Error: Could not find/open font > Error: Could not find/open font > Error: Could not find/open font > Error: Could not find/open font > Error: Could not find/open font > Error: Could not find/open font > Error: Could not find/open font > Error: Could not find/open font > Error: Could not find/open font > network simplex: 10 nodes 9 edges maxiter=2147483647 balance=1 > network simplex: 10 nodes 9 edges 0 iter 0.00 sec > mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0 > mincross G: 0 crossings, 0.00 secs. > network simplex: 19 nodes 26 edges maxiter=2147483647 balance=2 > network simplex: 19 nodes 26 edges 4 iter 0.00 sec > routesplines: 9 edges, 27 boxes 0.00 sec > Using render: ps:core > Using device: ps:ps:core > > > > First strangeness is that dot belongs to graphics/graphviz, but doxygen > doesn't depend on that (seen with pkg_info and make > pretty-print-run-depends-list). > Is this my fault in any way? Is it a bug in the port? As the maintainer of the port, I can tell you that doxygen depends on graphics/graphviz only if NOPORTDOCS is not defined. Did you have NOPORTDOCS defined? If so, I might have to make it so graphviz is required regardless. > Second: in fact I have: > # locate FreeSans.ttf > /usr/local/share/vlc/skins2/fonts/FreeSans.ttf > # pkg_which /usr/local/share/vlc/skins2/fonts/FreeSans.ttf > vlc-1.1.4_2,3 > > Of course neither doxygen, nor graphviz depend on vlc... > Should they? > Am I missing some other port? From a scan of the ports tree, there are many ports which have a FreeSans.ttf as part of their pkg-plist. However, looking at the docs that come with Doxygen, it appears that Doxygen itself should be generating that file for use with dot. As I have only taken up maintainership of the port and do not develop Doxygen, this may be something to bring up with the Doxygen developers. A quick glance at the code shows that it should be creating that, however. Thanks, Naram Qashat > I do I instruct dot to use that font? > Should I? > Is it that one the missing font or is it the only one it finds? > In that case, how can I get the name of the others? > > > > bye & Thanks > av. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >