Bug 27257 - [PATCH] Provide pkg-config file
Summary: [PATCH] Provide pkg-config file
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2010-03-23 01:53 UTC by Yaakov Selkowitz
Modified: 2010-05-06 16:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
git patch (2.41 KB, patch)
2010-03-23 01:53 UTC, Yaakov Selkowitz
Details | Splinter Review

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.