Bug 48585

Summary: libXtst: missing xi Requires in pkg-config file
Product: xorg Reporter: Vincent Untz <vuntz>
Component: Lib/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Added missing "xi" requires to pkconfig file none

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.