Index of /~ahi/OpenCPN

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]opencpn-build_until_2014-03-282014-03-28 15:07 2.0K 
[   ]opencpn-build2013-06-19 07:07 2.0K 
[DIR]climatology_pi/2013-06-11 17:29 -  
[   ]README.org2014-03-14 11:45 3.8K 
[TXT]README.html2014-03-14 11:45 11K 

README

README

Table of Contents

1 OpenCPN

The open source navigation program OpenCPN is the only opensource programm featuring weather routing I could find. Unfortunately it lacks installation packages built for Debian.

OpenCPN is a free software (GPLv2) project to create a concise chart plotter and navigation software, for use underway or as a planning tool. OpenCPN is developed by a team of active sailors using real world conditions for program testing and refinement.

Objective of this page is provide access to rolling beta version precompiled binaries for 64 bit AMD/Intel architecture.

2 OpenCPN Debian packages

Since I use OpenCPN primarily for planning, stability is not my primary concern. The software is build from git development branch and should only be used for testing and planning.

Automatic building from git with opencpn-build and is available on http://itp.tugraz.at/Comp/debian/dists/wheezy/test/binary-amd64/. If a package version meets my very modest requirements on stability and usability it is moved to http://itp.tugraz.at/Comp/debian/dists/wheezy/main/binary-amd64/. For easy download of GRIB data there might also by a zyGrib backport in one of these directories.

This includes now data for the "climatology plugin" and is therefore rather big (approx. 62 MiBytes) for users with an internet connection to remote locations. On the other hand this data contributes just about 7 MiBytes.

For proper Debian packages it might be necessary to split OpenCPN binary, plugins and data. Unfortunately this would require some manual work since cmake can't do it by itself.

opencpn binary
opencpn-dev everything necessary to build plugins
opencpn-plugins plugins included with opencpn source distribution
opencpn-plugin-weather-routing individual plugin
opencpn-plugin-climatology individual plugin without data
opencpn-plugin-climatology-data extra data for a plugin

3 Plugins

3.1 Download data for climatology plugin

A copy of data for the climatology plugin is held in ./climatology_pi/data/. An economic way to download this data is by executing the following command as root.

wget --recursive --level=1 --no-parent --no-directories --timestamping \
     --directory-prefix=/usr/share/opencpn/plugins/climatology/data/ \
     http://itp.tugraz.at/~ahi/OpenCPN/climatology_pi/data/

4 Misc

4.1 Posting to cruiser forum was not accepted?

[QUOTE=boat_alexandra;1255896]
I did not want to check huge data files into git. In that case the package is fine, but the plugin will be useless.
[/QUOTE]

Have built a new package from current git with all data included: http://itp.tugraz.at/Comp/debian/dists/wheezy/main/binary-amd64/opencpn_3.3.604-1_amd64.deb

[QUOTE=boat_alexandra;1255896]
A separate package will be needed for the data files, but maybe wait on it since I have not made the plugin official yet. I think I'll build into the plugin to display download link as well so maybe that will solve it.
[/QUOTE]

If I remember correctly, Debian does not like packages with data only - will check. A displayed link to a download page does not seem to be useful - for me these is not user but system data and should go to /usr/share/opencpn/plugins/climatology/data/

On most Unices this should work (root context of course) in a post-install script:

[CODE]
wget --recursive --level=1 --no-parent --no-directories --timestamping --directory-prefix=/usr/share/opencpn/plugins/climatology/data/ http://itp.tugraz.at/~ahi/OpenCPN/climatology_pi/data/
[/CODE]
Andreas

Author: Andreas Hirczy

Created: 2014-03-14 Fre 11:45

Emacs 23.4.1 (Org mode 8.2.2)

Validate