[Bug 36162] New: Make the pkgconfig dependency on glib/gobject public (Requires instead of Requires.private)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 12 15:41:03 CEST 2011


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

           Summary: Make the pkgconfig dependency on glib/gobject public
                    (Requires instead of Requires.private)
           Product: Telepathy
           Version: git master
          Platform: Other
               URL: http://cgit.freedesktop.org/~zabaluev/telepathy-glib/l
                    og/?h=public-requires
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: trivial
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: mikhail.zabaluev at nokia.com
         QAContact: telepathy-bugs at lists.freedesktop.org
                CC: will.thompson at collabora.co.uk


The public headers of telepathy-glib include GObject headers and define inline
primitives such as type casts that invoke functions from GObject. This
technically makes the build-time dependency on GLib/GObject a public one,
however for linkage these libraries may in some cases be non-essential. The
commit offered for review corrects the pkg-config declarations.

NB: Generally speaking, pkg-config does not address this case precisely, and
usage of Requires.private may be more beneficial to avoid useless linkage at
runtime. But in case of telepathy-glib, it is reasonable to expect that most
clients will use Telepathy type casts or invoke GLib/GObject directly as well.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list