From: Linus Torvalds Date: Mon, 12 Sep 2011 21:05:44 +0000 (-0700) Subject: Update the README about libdivecomputer X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=73013911af7e6b26535bbff20ef9834d3cbbc71d;p=ext%2Fsubsurface.git Update the README about libdivecomputer The build instructions are in the git commit log too, but let's make them a bit easier to find. Signed-off-by: Linus Torvalds --- diff --git a/README b/README index 527bdb3..5947feb 100644 --- a/README +++ b/README @@ -6,6 +6,15 @@ License: GPLv2 You need libxml2-devel, gtk2-devel and GConf2-devel to build this. +You also need to have libdivecomputer installed, which goes something like this: + + git clone git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer + cd libdivecomputer + autoreconf --install + ./configure + make + sudo make install + Usage: make @@ -13,11 +22,20 @@ Usage: to see my dives (with no notes or commentary). -There's a lot of duplicates in there, and divelog will de-duplicate the -ones that are exactly the same (just because they were imported multiple -times). But at least two of the dives have duplicates that were edited -by Dirk in the Suunto Dive Manager, so they don't trigger the "exact -duplicates" match. +Or, if you have a dive computer supported by libdivecomputer (and +connected to /dev/ttyUSB0), you can just do + + make + ./divelog + +and select "Import" from the File menu, tell it what dive computer you +have, and hit "OK". + +There's a lot of duplicates in the XML files that come as an example, +and divelog will de-duplicate the ones that are exactly the same (just +because they were imported multiple times). But at least two of the +dives have duplicates that were edited by Dirk in the Suunto Dive +Manager, so they don't trigger the "exact duplicates" match. WARNING! I wasn't kidding when I said that I've done this by reading gtk2 tutorials as I've gone along. If somebody is more comfortable with