Hi Travis,<br><br>I have seen your explanation and found it very helpful, thanks.<br><br>I was wondering if it would be possible to share the resulting DLL, as well. I do not need it any more, but it took a quite some time to set my environment up - probably a barrier of entry to some people on Windows (having little GNU experience).<br>
<br>Just a thought,<br>Zoltan<br><br><div class="gmail_quote">2010/6/4 Travis Griggs <span dir="ltr"><<a href="mailto:tgriggs@cincom.com">tgriggs@cincom.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><br><div><div>On Jun 3, 2010, at 11:19 PM, Mj Mendoza IV wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<div style="margin: 0px; font-family: 'Courier New',courier,monaco,monospace,sans-serif; font-size: 10pt;"><span style="font-family: arial,helvetica,sans-serif;">I tried sharing my test<span> </span></span><span style="font-family: arial,helvetica,sans-serif;">app</span><span style="font-family: arial,helvetica,sans-serif;"><span> </span>to a friend. Accompanying my<span> </span></span><span style="font-family: arial,helvetica,sans-serif;">app</span><span style="font-family: arial,helvetica,sans-serif;"><span> </span>is the<span> </span><span style="font-weight: bold;">libcairo-2.dll</span>. And since I am using the PNG and ZLib, I also included<span> </span><span style="font-weight: bold;">libpng12-0.dll</span><span> </span>and<span style="font-weight: bold;">zlib1.dll</span>. To my surprise, my friend didn't get to test my app. It was looking for<span> </span><span style="font-weight: bold;">libfontconfig-1.dll</span>, then<span> </span><span style="font-weight: bold;">libexpat-1.dll</span><span> </span>then<span> </span><span style="font-weight: bold;">freetype6.dll</span>.<div class="im">
<br><br>Lucky for me, I have GIMP installed which have all these.<br><br>So my question is, does Cairo really need those?!? Is there a way to remove the dependency on<span> </span><span style="font-weight: bold;">libfontconfig</span>,<span> </span><span style="font-weight: bold;">libexpat</span>, and<span> </span><span style="font-weight: bold;">freetype</span>?<br>
<br><span>My test app is at:<span> </span><a href="http://konsolscript.org/demo/quixie-cairo-100601.zip" target="_blank">http://konsolscript.org/demo/quixie-cairo-100601.zip</a></span><br><br></div></span></div></div></span></blockquote>
<br></div><div>I spent a good deal of time, about 6 months ago, deriving a script that would download and build Cairo 1.8.8 for Windows in such a way that it minimized library dependencies. It was slightly larger (25% maybe? but still under 1 MB) than the standard GTK build, but resulted in a dll that needed no other DLLs and ran anywhere from Windows Server 2003 to Windows Vista. And built with all free tools. It's documented here</div>
<div><br></div><div><a href="http://www.cairographics.org/end_to_end_build_for_win32/" target="_blank">http://www.cairographics.org/end_to_end_build_for_win32/</a></div><div><br></div><div>I hope, in the next couple of weeks, to do it again for the current release, and make sure it works on Windows 7 as well. So there may be some updates coming.</div>
<div><br></div><div>I'd really like to be able to do the same thing for Pango as well (for OSX and Windows). We'll see.</div><br><font color="#888888"><div> <span style="font-size: 18px;"><div style="word-wrap: break-word;">
<div><div>--</div><div>Travis Griggs</div><div>Objologist</div><div>Light travels faster than sound. This is why some people appear bright until you hear them speak...</div><div><br></div></div><br></div></span><br> </div>
<br></font></div><br>--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br>