Bug 104954

Summary: ModemManager.pc missing Requires: glib-2.0
Product: ModemManager Reporter: Antonio Rojas <arojas>
Component: generalAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Antonio Rojas 2018-02-05 19:08:53 UTC
ModemManager-compat.h has #include <glib.h>, so the glib include dirs need to be passed to the compiler. Otherwise compilation of projects depending on MM headers (such as modemmanager-qt) fails.
Comment 1 Aleksander Morgado 2018-02-05 19:25:57 UTC
Hey Antonio! Thanks for the report; I just got this fixed in ModemManager git master like today :) Got the same issue building ModemManagerQt myself.
The fix I applied, though, is to avoid using glib all together in the MM core headers.

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.