Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Zhai, Edwin" <edwin.zhai@intel.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Pango multilib issue
Date: Fri, 27 Apr 2012 11:45:50 +0100	[thread overview]
Message-ID: <1335523550.20130.56.camel@ted> (raw)
In-Reply-To: <20120427082009.GH1450@edwin-gen>

On Fri, 2012-04-27 at 16:20 +0800, Zhai, Edwin wrote:
> Any comments?
> I'd like a agreement before any patch:)
> 
> Thanks,
> Edwin
> 
> 
> On Thu, Apr 26, 2012 at 03:53:22PM +0800, Zhai, Edwin wrote:
> > RP,
> > 
> > I have found one common issues for multilib when system config file differ 
> > between multilibs.
> > 
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=2356
> > This bug caused by modules mechanism in pango:
> > 
> > pango utils, pango-querymodules produce a system config file to indicate where
> > to find the modules when 1st boot, like /usr/{lib64|lib}/pango/1.6.0/modules/
> > for {x86-64|lib32}-pango respectively. 
> > 
> > When installing lib32-pango on sato-image-qemux86-64, lib32 version of
> > pango-querymodules override x86-64 version and produce a system config file
> > with path for lib32 version of modules. Then x86-64 matchbox-desktop failed to
> > open these modules and loaded corrupted fonts.
> > 
> > To resolve this conflict, one possible solution is put the config file and 
> > binary under different dir: $LIBDIR for config file, and 
> > /usr/{libexec|lib64exec} for config binary(or create different dir under 
> > /usr/bin/ for different multilib)
> > 
> > Any comments for this?

/libexec and /lib aren't really the correct locations for a
configuration file like this.

I think in the mutlilib cases I'd like to move the config file a
directory deeper so /etc/pango/${baselib}/pango.modules in the mutliib
cases. The standard system file would remain in its existing location.

Cheers,

Richard





  reply	other threads:[~2012-04-27 10:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26  7:53 Pango multilib issue Zhai, Edwin
2012-04-27  8:20 ` Zhai, Edwin
2012-04-27 10:45   ` Richard Purdie [this message]
2012-04-28  1:15     ` Zhai, Edwin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1335523550.20130.56.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=edwin.zhai@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox