[Pkg-utopia-maintainers] Bug#864451: xdg-desktop-portal-dev is wrongly marked Multi-Arch: foreign

Helmut Grohne helmut at subdivi.de
Fri Jun 9 05:06:00 UTC 2017


Control: tags -1 - patch

Hi Simon,

On Thu, Jun 08, 2017 at 10:27:08PM +0100, Simon McVittie wrote:
> Other than this .pc file, the -dev package only contains D-Bus
> introspection XML (from which other packages can generate code);
> so it seems better to use --libdir=/usr/lib (to avoid per-arch
> variation - the ${libdir} is mentioned but unused), move the
> .pc file to /usr/share/pkgconfig, and keep it M-A: foreign.

That sounds like a reasonable plan indeed. Do note that the move from
/usr/lib/pkgconfig to /usr/share/pkgconfig will be necessary: The former
path is ignored by pkg-config during cross compilation. Thus removing
/usr/lib/pkgconfig is required for fixing cross compilation in general.

I only sent the trivial "fix" not looking beyond for a better solution.
Thank you for thinking beyond.

> I'll send patches upstream to cut out the bits that have clearly
> been cargo-culted from a library's pkg-config metadata.

Thank you!

Helmut



More information about the Pkg-utopia-maintainers mailing list