[cairo-bugs] [Bug 85173] New: cairo-gobject dependencies leak to main cairo.pc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 18 06:03:53 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85173

            Bug ID: 85173
           Summary: cairo-gobject dependencies leak to main cairo.pc
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: qboosh at pld-linux.org
        QA Contact: cairo-bugs at cairographics.org

Because of the accumulators mechanism behind CAIRO_ENABLE_FUNCTIONS, enabling
gobject library causes its dependencies to leak to main cairo.pc file (i.e.
Requires.private contains glib-2.0 and gobject-2.0 libraries).

This leakage could be avoided using e.g. such patch:
http://git.pld-linux.org/gitweb.cgi?p=packages/cairo.git;a=blob_plain;f=cairo-gobject-deps.patch;hb=HEAD
but it's rather a hack; nicer solution would be not to use
CAIRO_ENABLE_FUNCTIONS for separate library or to introduce e.g.
CAIRO_ENABLE_LIBRARY which works similar to CAIRO_ENABLE_FUNCTIONS, but doesn't
accumulate gobject_* values to CAIRO_*.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20141018/976956b1/attachment.html>


More information about the cairo-bugs mailing list