]> git.tdb.fi Git - ext/subsurface.git/blob - README
Update README a bit
[ext/subsurface.git] / README
1 Half-arsed divelog software in C.
2
3 I'm tired of java programs that don't work etc.
4
5 License: GPLv2
6
7 You need libxml2-devel and gtk2-devel to build this.
8
9 Usage:
10
11         make
12         ./divelog dives/*.xml
13
14 to see my dives (with no notes or commentary).
15
16 There's a lot of duplicates in there, and divelog will de-duplicate the
17 ones that are exactly the same (just because they were imported multiple
18 times).  But at least two of the dives have duplicates that were edited
19 by Dirk in the Suunto Dive Manager, so they don't trigger the "exact
20 duplicates" match.
21
22 WARNING! I wasn't kidding when I said that I've done this by reading
23 gtk2 tutorials as I've gone along.  If somebody is more comfortable with
24 gtk, feel free to send me (signed-off) patches.
25
26 Just as an example of the extreme hackiness of the code, I don't even
27 bother connecting a signal for the "somebody edited the dive info"
28 cases.  I just save/restore the dive info every single time you switch
29 dives.  Christ! That's truly lame.
30
31 Also, I don't actually integrate directly with libdivecomputer, I just
32 read the XML files it can spit out.  But I included my own raw dive
33 profile xml files for anybody who isn't a diver, but decides that they
34 want to educate me in gtk.
35
36 NOTE! Some of the dives are pretty pitiful.  All the last dives are from
37 my divemaster course, so they are from following open water students
38 along (many of them the confined*water dives).  There a lot of the
39 action is at the surface, so some of the "dives" are 4ft deep and 2min
40 long.