Bug 20865

Summary: libgammu API changes
Product: GeoClue Reporter: Bernd Zeimetz <bzed>
Component: Backends (obsolete)Assignee: Geoclue Bugs <geoclue-bugs>
Status: RESOLVED FIXED QA Contact: Geoclue Bugs <geoclue-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: GSM_FindGammuRC API change fix

Description Bernd Zeimetz 2009-03-25 13:51:52 UTC
Created attachment 24244 [details] [review]
GSM_FindGammuRC API change fix

Hi!

As it seems the API of libgammu changed:


/**
 * Finds and reads gammu configuration file. The search order depends on
 * platform. On POSIX systems it looks for ~/.gammurc and then for
 * /etc/gammurc, on Windows for gammurc in Application data folder, then
 * in home and last fallback is in current driectory.
 *
 * \param result Ini file representation
 * \param force_config Forcing of custom path instead of autodetected
 * one (if NULL, autodetection is performed).
 *
 * \return Error code
 *
 * \ingroup StateMachine
 */
GSM_Error GSM_FindGammuRC(INI_Section ** result, const char *force_config);


I've patched geoclue in Debian so it uses autodetection, patch is attached.


Cheers,

Bernd
Comment 1 Keith Preston 2009-08-17 09:02:16 UTC
Patch committed to master branch, Thanks

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.