[OE-core] [PATCH] xorgproto: Install .pc files in ${libdir}/pkgconfig

Burton, Ross ross.burton at intel.com
Mon Jun 11 16:35:33 UTC 2018


I'd recommend deleting the libdir lines in every .pc file (and pushing
the patch upstream).

Ross

On 11 June 2018 at 17:19, Jeremy A. Puhlman <jpuhlman at mvista.com> wrote:
>
>
> On 6/11/2018 3:23 AM, Burton, Ross wrote:
>>
>> Upstream will (and do) argue that $datadir is the right location as
>> these headers are architecture-independent.
>>
>> Would the package manager do the right thing if the files didn't have
>> the libdir line in, so where bit-identical?
>
>
> Yes, if the files are binary identical then the package manager would not
> call it a conflict.
>
>
>>
>> Ross
>>
>> On 10 June 2018 at 20:01, Jeremy Puhlman <jpuhlman at mvista.com> wrote:
>>>
>>> * --data dir config option is only used to install pkgconfig
>>> * Installing into ${datadir} causes mutlilib conficts on install
>>>
>>>    file /usr/share/pkgconfig/applewmproto.pc conflicts between attempted
>>> installs of lib32-xorgproto-dev-2018.4-r0.i586 and
>>> xorgproto-dev-2018.4-r0.corei7_64
>>>    file /usr/share/pkgconfig/bigreqsproto.pc conflicts between attempted
>>> installs of lib32-xorgproto-dev-2018.4-r0.i586 and
>>> xorgproto-dev-2018.4-r0.corei7_64
>>>
>>> and so on.
>>>
>>> Signed-off-by: Jeremy Puhlman <jpuhlman at mvista.com>
>>> ---
>>>   meta/recipes-graphics/xorg-proto/xorg-proto-common.inc | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
>>> b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
>>> index 7a417c9..7377283 100644
>>> --- a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
>>> +++ b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
>>> @@ -14,7 +14,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
>>>   DEPENDS = "util-macros"
>>>
>>>   inherit autotools pkgconfig
>>> -EXTRA_OECONF = "--without-fop"
>>> +EXTRA_OECONF = "--without-fop --datadir=${libdir}"
>>>
>>>   UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto
>>> --with-xmlto"
>>>
>>> --
>>> 2.6.2
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
> --
> Jeremy A. Puhlman
> jpuhlman at mvista.com
>



More information about the Openembedded-core mailing list