Bug 102000 - Installs separate pkg-config files for gtk2 and gtk3, but only one VAPI file
Summary: Installs separate pkg-config files for gtk2 and gtk3, but only one VAPI file
Status: NEW
Alias: None
Product: libcanberra
Classification: Unclassified
Component: Unspecified (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
Depends on:
Reported: 2017-08-01 13:43 UTC by David King
Modified: 2018-07-15 18:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Install several vala vapi files (3.30 KB, patch)
2018-04-10 17:01 UTC, Corentin Noël
Details | Splinter Review

Description David King 2017-08-01 13:43:58 UTC
I was trying to port Cheese to use Meson, and hit a problem while trying to depend on libcanberra-gtk3. The pkg-config file is named libcanberra-gtk3, but the VAPI file is called libcanberra-gtk, so meson is not able to find the dependency by looking at the .pc file, as it expects the VAPI file name to match the name of the .pc file.

I spoke to Jussi (Meson maintainer), and he suggested just making a symlink from one VAPI file to the other (libcanberra-gtk3.vapi to libcanberra-gtk.vapi), which actually works fine. Either that, or installing a separate file, with the appropriate dependency version for GTK, would be great.
Comment 1 Corentin Noël 2018-04-10 17:01:21 UTC
Created attachment 138742 [details] [review]
Install several vala vapi files
Comment 2 Michael Catanzaro 2018-07-15 18:32:48 UTC
This is blocking more than just Cheese, so GNOME is likely to require this patch soon.

Lennart, it'd be easiest if you respond, so that we don't have to distro patch this all over the place.

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.