[PATCH wayland-protocols] buildsystem: add missing uninstalled pkg-config infra

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 30 11:09:46 UTC 2016

Hi all,

On 29 August 2016 at 20:23, Derek Foreman <derekf at osg.samsung.com> wrote:
> Hi Bryce,
> On 26/08/16 08:11 PM, Bryce Harrington wrote:
>> On Fri, Aug 26, 2016 at 06:06:43PM -0700, Bryce Harrington wrote:
>>> It is confusing terminology to call this 'uninstalled'; sounds like this
>>> might remove something from your system.  'non-installed' would be more
>>> accurate but isn't that great of a name either.
>> Oh I see, this is pre-existing terminology in wayland.  Still not the
>> best terminology but given there's precident I suppose this should be
>> named consistently.
> It's actually a standard pkg-config convention.  if lala-uninstalled.pc
> and lala.pc are both visible to pkg-config it will pick the -uninstalled
> one first.
> It's for building/linking with uninstalled copies of libraries out of
> their build trees.
Having gone through the pkg-config documentation, I have some
questions on the topic:

- How should one link/use 'uninstalled' version of package ?
cd wayland
cd build/wayland
../../wayland/autogen.sh && make
export PKG_CONFIG_PATH=...
cd ../$projectA
../../$projectA/autogen.sh && make

- Why would someone opt for such an approach ? I haven't seen such
workflow so far.
- Considering the bug in the scanner -uninstalled file, plus the fact
that (almost?) all of X related packages don't have such files - is it
really that useful and/or used ?
- If wayland-client depends on say wayland-server, should one use
wayland-server or wayland-server-uninstalled in Required.private of
wayland-client ?


More information about the wayland-devel mailing list