[PATCH weston v2] weston.pc: Properly specify Requires.private

Bryce Harrington bryce at osg.samsung.com
Wed Apr 6 17:55:13 UTC 2016


On Wed, Apr 06, 2016 at 02:09:41PM +0200, Quentin Glidic wrote:
> On 06/04/2016 08:39, Bryce Harrington wrote:
> >[snip]
> >One thing I wonder is if any of these might need to become a Require
> >when we are providing a libweston library API?
> 
> From [1] which references [2], a lot of pkg-config files are doing
> it wrong. Requires should only be used in rare cases (though it
> appeared quite late in pkg-config, and most projects just didn’t
> update).
> I believe the most common case is with GObject: the G_TYPE_CHECK_*
> macros are calling g_type_check_* functions which are
> libgobject-2.0.so symbols.
> 
> In Weston, we have no such thing, so we are safe.
> 
> 
> [1] <https://people.freedesktop.org/~dbn/pkg-config-guide.html>
> [2] <https://wiki.openmandriva.org/en/Overlinking_issues_in_packaging>

Okay, thanks

Bryce


More information about the wayland-devel mailing list