From 73013911af7e6b26535bbff20ef9834d3cbbc71d Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 12 Sep 2011 14:05:44 -0700 Subject: [PATCH] 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 --- README | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/README b/README index 527bdb345..5947febb7 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