Bug 104954 - ModemManager.pc missing Requires: glib-2.0
Summary: ModemManager.pc missing Requires: glib-2.0
Status: RESOLVED FIXED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 19:08 UTC by Antonio Rojas
Modified: 2018-02-05 19:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.