Bug 211199

Summary: New Port: misc/OpenCPN: Chartplotter and GPS Navigation Software
Product: Ports & Packages Reporter: ml
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Port skeleton none

Description ml 2016-07-18 12:50:05 UTC
Created attachment 172650 [details]
Port skeleton

OpenCPN is a free software project to create a concise chart plotter and navigation software, for use underway or as a planning tool.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-10-09 01:23:51 UTC
A commit references this bug:

Author: jbeich
Date: Sun Oct  9 01:23:00 UTC 2016
New revision: 423561
URL: https://svnweb.freebsd.org/changeset/ports/423561

Log:
  astro/opencpn: add new port

  PR:		211199
  Submitted by:	ml@netfence.it (based on)

  OpenCPN is a free software 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.

  http://opencpn.org/

Changes:
  head/astro/Makefile
  head/astro/opencpn/
  head/astro/opencpn/Makefile
  head/astro/opencpn/distinfo
  head/astro/opencpn/files/
  head/astro/opencpn/files/patch-CMakeLists.txt
  head/astro/opencpn/files/patch-no-std
  head/astro/opencpn/files/patch-src_chart1.cpp
  head/astro/opencpn/files/patch-src_crashprint.cpp
  head/astro/opencpn/pkg-descr
  head/astro/opencpn/pkg-plist
Comment 2 Jan Beich freebsd_committer freebsd_triage 2016-10-09 01:27:34 UTC
Thanks. Landed with a few changes e.g.,
- Switch to WX 3.0
- Bundle GSHHS, TCDATA, DOCS like AUR and PkgSrc packages
- Slightly improve serial detection (against /dev/tty*)
- Drop ldconfig, unused by plugins
- Drop unnecessary patches for bundled jasper via USES=localbase
Comment 3 Jan Beich freebsd_committer freebsd_triage 2016-10-09 01:46:50 UTC
If you'd like to port plugins PkgSrc and Gentoo can be used as a reference but try to avoid cargo cult.
http://pkgsrc.se/search.php?so=opencpn
https://packages.gentoo.org/packages/search?q=opencpn
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-10-09 04:33:02 UTC
A commit references this bug:

Author: jbeich
Date: Sun Oct  9 04:32:46 UTC 2016
New revision: 423565
URL: https://svnweb.freebsd.org/changeset/ports/423565

Log:
  astro/opencpn: minor fixup

  - Unbreak plugins runtime [1]
  - Better enumerate serial devices
  - Reduce std namespace pollution even more

  Obtained from:	PkgSrc
  PR:		211199

Changes:
  head/astro/opencpn/Makefile
  head/astro/opencpn/files/patch-no-std
  head/astro/opencpn/files/patch-plugins_grib__pi_src_GribUIDialog.cpp
  head/astro/opencpn/files/patch-src_chart1.cpp
Comment 5 Jan Beich freebsd_committer freebsd_triage 2016-10-09 04:48:44 UTC
Note, my serial fixes are blind. Feel free to throw them away if they make things worse.