Closed Bug 445521 Opened 17 years ago Closed 16 years ago

add check for liblocation-dev on maemo

Categories

(Core :: DOM: Geolocation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: dougt, Assigned: blassey)

Details

Attachments

(1 file)

because of: https://bugzilla.mozilla.org/show_bug.cgi?id=437948#c13 Some setups (well stuart does!) run into: stuart: In file included from /home/pavlov/dep/mozilla-central/dom/src/geolocation/nsGeolocation.cpp:52: [09:00am] stuart: /home/pavlov/dep/mozilla-central/dom/src/geolocation/MaemoLocationProvider.h: At global scope: [09:00am] stuart: /home/pavlov/dep/mozilla-central/dom/src/geolocation/MaemoLocationProvider.h:71: error: 'gpsbt_t' does not name a type The work around is via documention here: http://wiki.mozilla.org/Mobile/Build/cs2007q3 But it would be good to have a configure test.
This just fails if liblocation doesn't exist and NS_HILDON is defined. Doug, you might want to use NS_HILDONLOCATION_CFLAGS and NS_HILDONLOCATION_LIBS in your make files. Also, should we be enabling this location providers with a mozconfig ac option?
Attachment #330217 - Flags: review?
I think HILDON_ prefix is bad for location API... hildon - it is just additional API layer for UI. I guess better Define is NS_MAEMO_LOCATION... But for location libs and cflags it is better to use general DEFINE like MOZ_LOCATION_LIBS/CFLAGS which will be defined in configure script according to platform building environment.
Comment on attachment 330217 [details] [diff] [review] configure fails without liblocation on hildon build i do not want a seperate flag to indicate use-location. If you want, have the OSSO try to find liblocation, and if it isn't there error out.
-> blassey, since he started hacking on it.
Assignee: doug.turner → blassey
Component: Build Config → Geolocation
Version: unspecified → Trunk
QA Contact: build-config → geolocation
what do we want to do here? romaxa, the current stuff in m-c is not defining NS_MAEMO_LOCATION for me. but it sounds like it is working for you... Any ideas?
the build bustage will be fixed in 478923, and by ensuring that the libhildon1-dev package is installed which is part of the maemo sdk.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Attachment #330217 - Flags: review?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: