Unable to build any GTK app, because of missing wayland-client.pc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+3.0 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I am unable to compile any basic GTK application, because it's pkg-config data got broken with some recent updates (I am using an up-to-date 13.04).
This is very easy to reproduce:
$ pkg-config --cflags gtk+-3.0
Package wayland-client was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-client.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wayland-client', required by 'GDK', not found
Because of that, any application that uses pkg-config to get the location of GTK development headers fails to build.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libgtk-3-dev 3.6.4-0ubuntu2
ProcVersionSign
Uname: Linux 3.5.0-8-generic x86_64
NonfreeKernelMo
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
CheckboxSubmission: 0dee87855b46d31
CheckboxSystem: d00f84de8a55581
Date: Sat Jan 26 17:59:29 2013
MarkForUpload: True
SourcePackage: gtk+3.0
UpgradeStatus: Upgraded to raring on 2013-01-24 (2 days ago)
Related branches
Changed in gtk+3.0 (Ubuntu): | |
status: | Confirmed → Fix Committed |
importance: | Undecided → High |
A *temporary workaround* is to manually edit /usr/lib/ x86_64- linux-gnu/ pkgconfig/ gdk-3.0. pc (this is path on my 64bit system, use locate gdk-3.0.pc to find the file if this path is not present at your system) changing:
Requires.private: gio-unix-2.0 fontconfig x11 xext xinerama xi xrandr xcursor xfixes xcomposite xdamage wayland-client >= 1.0.0 xkbcommon >= 0.2.0 wayland-cursor cairo-xlib cairo pangoft2
to
Requires.private: gio-unix-2.0 fontconfig x11 xext xinerama xi xrandr xcursor xfixes xcomposite xdamage cairo-xlib cairo pangoft2
With that change most applications using GTK should build fine.