Bug 27257

Summary: [PATCH] Provide pkg-config file
Product: xkeyboard-config Reporter: Yaakov Selkowitz <yselkowi>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium Keywords: NEEDINFO
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: git patch

Description Yaakov Selkowitz 2010-03-23 01:53:17 UTC
Created attachment 34351 [details] [review]
git patch

I am attaching a patch which provides a xkeyboard-config.pc pkg-config file.  This would be used by xserver to detect the actual location of an installed xkeyboard-config in the case where the xserver prefix does not match that of xkeyboard-config (e.g. when building xserver from git w/o arguments).
Comment 1 Sergey V. Udaltsov 2010-03-26 17:03:13 UTC
Technically, that patch looks correct. But I do not quite get the purpose. Who and why would need checking for xk-c at build time?
Comment 2 Yaakov Selkowitz 2010-04-04 12:23:18 UTC
(In reply to comment #1)
> Technically, that patch looks correct. But I do not quite get the purpose. Who
> and why would need checking for xk-c at build time?

So that xkbcomp and xserver will find the correct path to xk-c when built in different prefixes, or if --with-xkb-base is set to some custom path in xk-c:

http://lists.x.org/archives/xorg-devel/2010-March/006483.html
http://lists.x.org/archives/xorg-devel/2010-March/006556.html
Comment 3 Sergey V. Udaltsov 2010-05-06 16:05:41 UTC
Fair enough. committed. Thanks a bunch!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.