Unable to build any GTK app, because of missing wayland-client.pc

Bug #1106188 reported by Rafał Cieślak
28
This bug affects 4 people
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
ProcVersionSignature: Ubuntu 3.5.0-8.8-generic 3.5.0
Uname: Linux 3.5.0-8-generic x86_64
NonfreeKernelModules: fglrx wl
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
CheckboxSubmission: 0dee87855b46d310b8d65e121ab4d8e0
CheckboxSystem: d00f84de8a555815fa1c4660280da308
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)

Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :
Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
Changed in gtk+3.0 (Ubuntu):
status: Confirmed → Fix Committed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.6.4-0ubuntu3

---------------
gtk+3.0 (3.6.4-0ubuntu3) raring; urgency=low

  * debian/control.in:
    - Add libwayland-dev and libxkbcommon-dev as dependencies to
      libgtk-3-dev (LP: #1106188)
 -- Jeremy Bicha <email address hidden> Sat, 26 Jan 2013 17:45:46 -0500

Changed in gtk+3.0 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.