<div dir="ltr">I have an application built with macports using gtk+quartz, pang and fontconfig.  I<div>have built the bundle and populated Resources/etc/pango with pangrc and pango.modules.  I set PANGO_RC_FILE=&quot;$bundle_etc/pango/pangorc&quot; in the launcher script. </div>
<div><br></div><div>pangorc:</div><div>[Pango]</div><div>ModuleFiles=XX.app2/Contents/Resources/etc/pango/pango.modules</div><div><br></div><div>XX is the application name.</div><div><br></div><div>If I run the application form a terminal window by running:</div>
<div><br></div><div>XX.app/Contents/MacOS/XX things work fine.</div><div><br></div><div>However, if I run the application XX from a finder window by double clicking I get a Pango_CRITICAL **: No modules found.</div><div><br>
</div><div>If I change the bundle&#39;s pangorc file so it looks like:</div><div><br></div><div>pangorc:</div><div>[Pango]</div><div>ModuleFiles=/top/subdir1/XX.app2/Contents/Resources/etc/pango/pango.modules</div><div><br>
</div><div>then double clicking the application works fine.</div><div><br></div><div>I have also set PANGO_LIBDIR=&quot;$bundle_lib&quot; and PANGO_SYSCONFDIR=&quot;$bundle_etc&quot; in the launcher script.</div><div><br>
</div><div>I have tried many different combinations, but nothing other than full paths work when starting the application from the finder.</div><div><br></div><div>I checked my macports system for pango and got.  </div><div>
<br></div><div>port info pango</div><div><br></div><div><div>pango @1.36.3 (x11)</div><div>Variants:             builtin_modules, quartz, universal, [+]x11</div></div><div><br></div><div>So I thought that  maybe I had the wrong pango so I tried to uninstall it and I got:</div>
<div><br></div><div>port uninstall pango</div><div><br></div><div><div>---&gt;  Unable to uninstall pango @1.36.3_0+quartz+x11, the following ports depend on it:</div><div>---&gt;  <span class="" style="white-space:pre">        </span>gtk2 @2.24.23_0+quartz</div>
<div>---&gt;  <span class="" style="white-space:pre">        </span>gstreamer1-gst-plugins-base @1.2.4_0+ogg+x11</div><div>Error: org.macports.uninstall for port pango returned: Please uninstall the ports that depend on pango first.</div>
</div><div><br></div><div>This looks ilke I have pango for quartz even though &quot;info&quot; indicated otherwise.</div><div><br></div><div>I would appreciate any help I can get on this.</div><div><br></div><div>Thanks.</div>
<div><br></div><div>Tony</div></div>