summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 14:05:44 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 14:05:44 -0700
commit73013911af7e6b26535bbff20ef9834d3cbbc71d (patch)
treebcee3283f2510db289f6f0f102b46a18a33317d9
parent574a5b808fc01f8a830ef3dd74bd635313749b3f (diff)
downloadsubsurface-73013911af7e6b26535bbff20ef9834d3cbbc71d.tar.gz
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 <torvalds@linux-foundation.org>
-rw-r--r--README28
1 files 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