2012-12-22 10:28:37 |
Izidor Matušov |
description |
It was the first plugin for GTG ever and deserves some care. The current status is:
* not possible to activate - bug #697870
* needs convert .glade to gtkbuilder - bug #499560
* may be outdated, GUI may need to polish
What dependences are needed? (Speaking about Ubuntu 11.10)
* python-geoclue from Paulo Cabido
* geoclue & geoclue-hostip (there are more possible backends, this seems to be reasonably good)
* libchamplain-gtk
This code will tell your position (localize you):
<code>
import Geoclue
location = Geoclue.DiscoverLocation()
location.init()
location.set_position_provider("hostip")
print location.get_location_info()
</code>
For more testing, install geoclue-examples which contains tool geoclue-test-gui.
To test champlain, use demos/minimal.py from their repositories.
Libraries might be a little bit outdated, I am not sure how/if it works with GPS/GSM/etc. Discussion with Paulo Cabido might be a good idea. |
It was the first plugin for GTG ever and deserves some care. The current status is:
* not possible to activate - bug #697870
* needs convert .glade to gtkbuilder - bug #499560
* may be outdated, GUI may need to polish
What dependences are needed? (Speaking about Ubuntu 11.10)
* python-geoclue from Paulo Cabido
* geoclue & geoclue-hostip (there are more possible backends, this seems to be reasonably good)
* libchamplain-gtk
This code will tell your position (localize you):
<code>
import Geoclue
location = Geoclue.DiscoverLocation()
location.init()
location.set_position_provider("hostip")
print location.get_location_info()
</code>
For more testing, install geoclue-examples which contains tool geoclue-test-gui.
To test champlain, use demos/minimal.py from their repositories.
Libraries might be a little bit outdated, I am not sure how/if it works with GPS/GSM/etc. Discussion with Paulo Cabido might be a good idea.
Video of the work with original plugin: http://www.youtube.com/watch?v=yDE_80JQn8Y |
|