Created attachment 369792
mozilla-geoclue-for-location-2.patch
Patch that (nearly) compiles, same as -1. Can't get past that error though:
../../staticlib/components/libgklayout.a(GeoclueLocationProvider.o): In function `GeoclueLocationProvider::Startup()':
GeoclueLocationProvider.cpp:(.text+0x194): undefined reference to `geoclue_position_new'
../../staticlib/components/libgklayout.a(GeoclueLocationProvider.o): In function `location_changed(_GeocluePosition*, int, int, double, double, double, void*, void*)':
GeoclueLocationProvider.cpp:(.text+0x216): undefined reference to `geoclue_accuracy_get_details'
/usr/bin/ld: libxul.so: hidden symbol `geoclue_position_new' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
-lgeoclue _is_ listed in the extra dso, but I believe something is missing for me to be able to finish the linking. I also don't believe the Maemo/liblocation backend would even compile, so not a great example to follow :)
Created attachment 369792 geoclue- for-location- 2.patch
mozilla-
Patch that (nearly) compiles, same as -1. Can't get past that error though: /components/ libgklayout. a(GeoclueLocati onProvider. o): In function `GeoclueLocatio nProvider: :Startup( )': Provider. cpp:(.text+ 0x194): undefined reference to `geoclue_ position_ new' /components/ libgklayout. a(GeoclueLocati onProvider. o): In function `location_ changed( _GeocluePositio n*, int, int, double, double, double, void*, void*)': Provider. cpp:(.text+ 0x216): undefined reference to `geoclue_ accuracy_ get_details' position_ new' isn't defined
../../staticlib
GeoclueLocation
../../staticlib
GeoclueLocation
/usr/bin/ld: libxul.so: hidden symbol `geoclue_
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
-lgeoclue _is_ listed in the extra dso, but I believe something is missing for me to be able to finish the linking. I also don't believe the Maemo/liblocation backend would even compile, so not a great example to follow :)