[oe] xfonts, mapfile dir, and pkg-config issue
Richard Purdie
rpurdie at rpsys.net
Fri Apr 25 08:03:22 UTC 2008
On Thu, 2008-04-24 at 21:12 -0400, Cliff Brake wrote:
> On Thu, Apr 24, 2008 at 9:07 PM, Cliff Brake <cliff.brake at gmail.com> wrote:
> > On Thu, Apr 24, 2008 at 7:30 PM, Richard Purdie <rpurdie at rpsys.net> wrote:
> > >
> > > On Thu, 2008-04-24 at 19:13 -0400, Cliff Brake wrote:
> > > > This issue is that "pkg-config --variable=mapdir fontutil" returns:
> > > >
> > > > /usr/lib/X11/fonts/util
> > > >
> > > > which is correct if mapdir is used on the target system, but in this
> > > > case mapdir is used on the host system during the build, so it really
> > > > needs the path to staging.
> > > >
> > > > We can't modify font-util to put the staging path in fontutil.pc or
> > > > insane.class complains about tmdir's in a *.pc file.
> > > >
> > > > What is the correct solution in this case?
> > > >
> > > > 1) hardcode EXTRA_OECONF with the MAPFILES_PATH (would require
> > > > patching font packages -- bad)
> > >
> > > If you can override from the commandline this may be an option,
> > > particularly if all font packages accept the same option and we can use
> > > a .inc file.
> > >
> > > The alternative is to patch the configure.ac files so it uses something
> > > like:
> > >
> > > $PKG_CONFIG_SYSROOT_DIR`pkg-config --variable=mapdir fontutil`
>
> Is the the pkgconfig sysroot-support.patch going upstream, or is that
> an OE only thing?
Its gone upstream and was in pkgconfig 0.23. The patch they merged was
broken and I've given them one to fix it but thats a different kind of
problem ;-). So yes, upstreams should take this kind of fix.
Cheers,
Richard
More information about the Openembedded-devel
mailing list