Bug 48585 - libXtst: missing xi Requires in pkg-config file
Summary: libXtst: missing xi Requires in pkg-config file
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 01:42 UTC by Vincent Untz
Modified: 2013-07-03 04:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Added missing "xi" requires to pkconfig file (707 bytes, patch)
2012-04-12 01:42 UTC, Vincent Untz
no flags Details | Splinter Review

Description Vincent Untz 2012-04-12 01:42:07 UTC
Created attachment 59835 [details] [review]
Added missing "xi" requires to pkconfig file

Forwarding https://bugzilla.novell.com/show_bug.cgi?id=748808

==
While building something, I got this:

/usr/include/X11/extensions/XTest.h:32:35: fatal error:
X11/extensions/XInput.h: No such file or directory

This means that libXtst-devel should depend on libXi-devel.
==

This was not happening because xtst.pc doesn't have a xi Requires. Stefan fixed this in our openSUSE package, but I don't see the patch upstream, so here it is.
Comment 1 Vincent Untz 2012-04-12 03:05:16 UTC
Forgot to mention: patch is by Stefan Dirsch
Comment 2 Peter Hutterer 2013-07-03 04:23:29 UTC
not a bug, afaict. libXtst needs libXi-devel but that's a private dependency, not a public one (i.e. a client doesn't need to link to libXi).

so this needs to be solved in the packaging system.


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.