Bug 102000

Summary: Installs separate pkg-config files for gtk2 and gtk3, but only one VAPI file
Product: libcanberra Reporter: David King <amigadave>
Component: UnspecifiedAssignee: Lennart Poettering <lennart>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: mcatanzaro
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Install several vala vapi files

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.