Share

gdivelog

Project News for gdivelog

  • gdivelog on Mac OS X (Tiger 10.4.3)

    My traditional xmas present to myself this year was an iBook, so I thought I'd try and get gdivelog running on it.

    It runs fine under X11 with Darwin Ports (http://www.darwinports.org).

    I will get around to updating the doco at some point, but briefly...

    Install X11 server and the development tools from the OS X install DVDs.

    Install Darwin Ports. Install libgnomeui and sqlite3 - their prereqs will be installed automatically.

    Darwin Port installs everything to /opt/local, so the only change you may need to make over a normal compile of gdivelog is to use

    ./configure --prefix=/opt/local

    The performance of sqlite3 under darwin/OS X is not good by default because PRAGMA synchronous is set to 2 by default. I have added code to CVS which is only compiled under darwin/OS X so that PRAGMA synchronous is set to 0 when a logbook is opened. See http://www.sqlite.org/pragma.html.

    If you are worried about the database corruption mentioned in the URL above, you shouldn't need to worry. .glg files are bzip2'ed sqlite databases. When you open them they are decompressed to a temporary file and only recompressed back to the .glg file when the user physically saves the dive log. So, if a problem occurs during a database write, it should only effect data after the last save and should effect the integrity of the actuall .glg file.

    The performance of gdivelog will be bad (like 30 mins to write 50 dives bad!) when ever writes to the database are done with all released versions of gdivelog.

    I have only tested the suunto plugin so far and it works fine (using a KeySpan USA-19HS USB-Serial adaptor). I suspect the other serial plugins (Hyper Aqualand and Sensus Pro) should work fine too.

    I have not compiled MDB Tools on OS X yet, so the SmartTrak and Suunto Dive Manager 2 plugins will not work... yet.

    Cheers and Happy New Year!

    2006-01-01 23:56:23 UTC by snaunton

  • gdivelog-0.5 released

    Also released gdivelog-sensuspro-plugin-0.4, gdivelog-smarttrak-plugin-0.3 and gdivelog-mdbtools-0.6pre1.

    Changes have been made to the plugin interface so please use the plugin versions listed above with gdivelog-0.5.

    gdivelog-mdbtools-0.6pre1 is required by the gdivelog-smarttrak-plugin-0.3 rpms. It is installed into /opt/gdivelog-mdbtools so as to avoid conflicts with other versions of mdbtools used by other applications.

    2005-09-13 13:30:34 UTC by snaunton

  • Whoops... major bug and a demo logbook.

    Discovered that the sites window will crash gdivelog when opened if their are no sites in the logbook. I have fixed this in CVS and will endeavour to create a new release along with some other fixes and enhancements later this week.

    I have made a demo logbook available for download on the files page.

    I

    2005-09-12 12:45:04 UTC by snaunton

  • Hello and a "What's happening."

    Hi All,

    gdivelog has had a few downloads now, so I though it was about time I said something.

    I installed ubuntu "breezy badger" 5.10 preview this weeked. gdivelog builds fine with gnome 2.12. There are a couple of GTK warnings that occur every now and then, but seem to have no impact. I shall wait until 5.10 is released before getting rid of them.

    I also noticed that debian based distributions already have mdbtools. The bad news is that it is buggy. For an example try using mdb-sql. This has stoped gdivelog-smarttrak-plugn from working by crashing gdivelog when you try to import a SmartTrak logbook. I have updated the documentation with the solution of installing mdbtools into /opt/gdivelog-mdbtools. For consistency, all future releases of mdbtools binary packages and binary packages of any plugin which uses mdbtools will install or look for mdbtools in this location.

    The Future:

    I intend to write a serial port Suunto plugin soon. I can borrow a Vytec and Spider, but I would appreciate volunteers for testing on other models. This will not include any of the models that use USB, at least for the time being (unless anybody can point me in the direction of some code for it). However, you should be able to export DAN DL7 level 1 files from the D9 software and import them into gdivelog via gdivelog-smarttrak-plugin.

    I also want to write a plugin for Uwatec Smart computers although IRDA information for linux is hard to come by.

    If you have any suggestions, please let me know.

    Cheers, Si.

    2005-09-12 08:18:02 UTC by snaunton