[OE-core] [PATCH] directfb: don't patch pkg-config files

Paul Eggleton paul.eggleton at linux.intel.com
Tue Jul 30 14:18:17 UTC 2013


On Friday 19 July 2013 14:52:00 Otavio Salvador wrote:
> On Fri, Jul 19, 2013 at 11:46 AM, Nicolas Dechesne
> 
> <nicolas.dechesne at linaro.org> wrote:
> > On Fri, Jul 19, 2013 at 10:39 AM, André Draszik <andre.draszik at linaro.org>
> > 
> > wrote:
> >> We are currently getting build failures of projects that rely on
> >> being able to access DirectFB's internal include directories, as
> >> returned via pkg-config, since the include paths returned by
> >> pkg-config are incomplete.
> >> 
> >> The reason for that is the patch that is being removed with this
> >> change. It modified the cflags returned by pkg-config in an
> >> incorrect way, causing us to miss important include paths:
> >> 
> >> For reference, pkg-config output with incorrect patch applied:
> >>   ad at bril0118 #513 ~> pkg-config --cflags directfb-internal
> >> 
> >> -D_GNU_SOURCE -D_REENTRANT
> >> -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb
> >> -I<builddir>/tmp/sysroots/<machine>/usr/include
> >> 
> >> Now, with the incorrect patch removed, the output is as expected:
> >>   ad at bril0118 #514 ~> pkg-config --cflags directfb-internal
> >> 
> >> -D_GNU_SOURCE -D_REENTRANT
> >> -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb-internal
> >> -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb
> >> 
> >> Overall, the removed patch is not needed - pkg-config does the right
> >> thing these days and we can simply use the correctly working upstream
> >> versions of all DirectFB .pc files.
> >> 
> >> Signed-off-by: André Draszik <andre.draszik at linaro.org>
> > 
> > i reviewed and tested this patch against a QT4e image build. it looks good
> > to me, and that offending patch being removed seems to come from quite
> > ancient stuff.
> > 
> > Tested-by: Nicolas Dechesne <nicolas.dechesne at linaro.org>
> > 
> > any chance this can get into 'dylan', too?
> 
> Paul, I think it is your business ;-)

Indeed. I've added it to my paule/dylan-next branch for testing.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list