[ gpsdrive ] svn install questions
Hamish
hamish_b at yahoo.com
Fri Sep 19 01:28:30 AKDT 2008
> schrieb Andreas Putzo:
> > I did not try it, but in DefineOptions.cmake there is
> a switch whether you want to build with or without mapnik support.
> > cmake -DWITH_MAPNIK=OFF .. might do the trick.
Ok, thanks. (I am new to cmake)
Guenther wrote:
> yes, it should work this way.
And with r2055 in SVN, now it does work that way!
With that I can build a gpsdrive_2.10svn package for Etch, here it is:
http://hamish.bowman.googlepages.com/debiangisfiles#downloads
Maybe it even works? If lenny was further away I'd think about a
version for backports.org, but as it is I'll just host the .deb.
No idea if it would work with Ubuntu, probably better for Ubuntuers
to "debuild binary" themselves and see which of the patches needs
to be applied.
> mysql has been replaced completely by sqlite.
Ok. I had seen it still mentioned many places and wasn't sure.
gpsdrive/svn/trunk$ svngrep -ri mysql * | cut -f1 -d: | uniq | \
grep -v 'ChangeLog\|^po/' | wc -l
51 files (7 in src/)
> the sqlite database consists of two files:
> geoinfo.db should come with your installation, and contains
> all the poi types and some general presets.
yes:
sqlitebrowser /usr/share/gpsdrive/geoinfo.db
(sqlitebrowser .deb available from my googlepages site above,
see also the "SQLite Manager" addon for firefox. they're both nice)
(SQLite rocks)
> waypoints.db should be created automatically in ~/.gpsdrive/ if not
> already there, and contains all your waypoint data.
Yes, it's there and looks good inside.
> postgresql is needed by mapnik.
(OSM stores data in PostGIS [PostGIS = PostgreSQL + Spatial extension])
> it is used to provide the data for the map rendering in mapnik mode,
> and contains all the point of interest from openstreetmap.
> if you compile without mapnik support, you don't need it.
right, thanks.
the only other changes I needed to build on Etch was change libgda3 to
libgda2 in some places and change a function call which is not available
in Etch's GNOME lib 2.14:
g_timeout_add_seconds(sec, ...) -> g_timeout_add(sec*1000, ...)
diff vs latest SVN is attached. FindGDA2.cmake goes in cmake/Modules/.
I would not apply the gda3 -> gda2 changes; I don't know if we should
worry about making g_timeout more backwards compatible or not. It is a
simple change, but again Lenny will be here soon.
glad to be able to run it again,
Hamish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpsdrive2.10_etch.diff
Type: text/x-diff
Size: 4195 bytes
Desc: not available
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080919/cf92c707/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindGDA2.cmake
Type: application/octet-stream
Size: 2360 bytes
Desc: not available
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080919/cf92c707/attachment.obj>
More information about the GPSdrive
mailing list