[PATCH] util-macros: Addition of a meta data file xorg-macros.pc.in used by XORG_INSTALL

Jamey Sharp jamey at minilop.net
Thu Dec 3 08:04:24 PST 2009


On Thu, Dec 3, 2009 at 5:40 AM, Dan Nicholson <dbn.lists at gmail.com> wrote:
> On Thu, Dec 3, 2009 at 1:05 AM, Julien Cristau <jcristau at debian.org> wrote:
>> On Thu, Dec  3, 2009 at 13:46:32 +0600, Mikhail Gusarov wrote:
>>> libpthread-stubs0-dev: /usr/share/pkgconfig/pthread-stubs.pc
>>>
>> The last one sounds like a bug.  pthread-stubs.pc is arch-dependent.
>
> On fedora (at least), they move it to $datadir since on linux since
> it's no arch dependent (it's just a .pc file).

This is drifting off-topic, but...

pthread-stubs.pc has different contents depending on what libc your
system uses--that's the whole point. Therefore it is
platform-dependent and I'd expect it to be in /usr/lib. Looks to me
like we still have the upstream git repo configured that way, so I
guess the distros are deliberately breaking this?

If a distro wants to support only glibc, I suppose they can build
their own, nearly empty, pthread-stubs replacement package, containing
nothing but a /usr/share/pkgconfig/pthread-stubs.pc. That would make
it clear that they don't support any other platforms, while patching
the real pthread-stubs makes it seem otherwise.

Debian's packaging is clearly just broken though, since Debian does
support multiple libc implementations.

Jamey


More information about the xorg-devel mailing list