After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791538 - meson: Need to generate a .pc file for each plugin for static compilation
meson: Need to generate a .pc file for each plugin for static compilation
Status: RESOLVED DUPLICATE of bug 794568
Product: GStreamer
Classification: Platform
Component: gst-build
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-12 19:27 UTC by Olivier Crête
Modified: 2018-03-22 18:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Crête 2017-12-12 19:27:32 UTC
When building against a static plugin, you need to have explicit dependencies that it uses as those are not stored in the .a file. With libtool, those are store in a ".la" files. Meson does not use .la files adn prefers to use pkgconfig files for this, so it need to provide the same information in the Libs.private/Requires.private sections.

Therefore, we need to generate a .pc file for every single plugin in GStreamer to know what external libraries it should be compiled against.


Afaik, this should be a meson feature, so I also filed it upstream:
https://github.com/mesonbuild/meson/issues/2772
Comment 1 Xavier Claessens 2018-03-22 18:44:33 UTC
Looks like I opened a dup. But mine has patches so it wins :D

*** This bug has been marked as a duplicate of bug 794568 ***