Mon Oct 24 17:58:29 2016 UTC ()
Import opencpn-plugin-debugger version 20160224.
There are more recent sources but they don't work with the stable version
of opencpn.

This plugin Shows the OpenCPN streams from GPS and AIS ports that propagate
through the plugin interface, NMEA Events and messages flowing
through the plugin API.


(bouyer)
diff -r0 -r1.1 pkgsrc/geography/opencpn-plugin-debugger/DESCR
diff -r0 -r1.1 pkgsrc/geography/opencpn-plugin-debugger/Makefile
diff -r0 -r1.1 pkgsrc/geography/opencpn-plugin-debugger/PLIST
diff -r0 -r1.1 pkgsrc/geography/opencpn-plugin-debugger/distinfo
diff -r0 -r1.1 pkgsrc/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake

File Added: pkgsrc/geography/opencpn-plugin-debugger/DESCR
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.

This plugin Shows the OpenCPN streams from GPS and AIS ports that propagate
through the plugin interface, NMEA Events and messages flowing
through the plugin API.

File Added: pkgsrc/geography/opencpn-plugin-debugger/Makefile
# $NetBSD: Makefile,v 1.1 2016/10/24 17:58:29 bouyer Exp $
#

VERSION=	20160224
#PKGREVISION=	2
DISTNAME=	ocpndebugger_pi-${VERSION}
PKGNAME=	opencpn-plugin-debugger-${VERSION}
CATEGORIES=	geography
MASTER_SITES=	${MASTER_SITE_GITHUB:=nohal/}
GITHUB_PROJECT=	ocpndebugger_pi
GITHUB_TAG=	cabe866ac37933150cd410604c6e61fbf2278816

MAINTAINER=	bouyer@NetBSD.org
HOMEPAGE=	https://github.com/nohal/ocpndebugger_pi
COMMENT=	Shows the messages on the plugin interface
LICENSE=	gnu-gpl-v2

USE_LANGUAGES=		c c++
USE_CMAKE=		yes

CMAKE_ARGS+=	-DPREFIX:PATH=${PREFIX} -DPREFIX_PLUGINS:PATH=${PREFIX}/lib/opencpn
CMAKE_MODULE_PATH_OVERRIDE = \
		cmake/PluginConfigure.cmake \
		cmake/PluginInstall.cmake \
		cmake/PluginLocalization.cmake \
		cmake/PluginPackage.cmake

.include "../../devel/cmake/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/geography/opencpn-plugin-debugger/PLIST
@comment $NetBSD: PLIST,v 1.1 2016/10/24 17:58:29 bouyer Exp $
lib/opencpn/libocpndebugger_pi.so
share/locale/ca/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/cs/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/da/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/de/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/el/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/es/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/et/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/fi/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/fr/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/gl/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/hu/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/it/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/ja/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/nb/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/nl/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/pl/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/pt/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/ru/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/sv/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/tr/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/vi/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/locale/zh/LC_MESSAGES/opencpn-ocpndebugger_pi.mo
share/opencpn/plugins/ocpndebugger_pi/data/ocpndebugger_pi.svg
share/opencpn/plugins/ocpndebugger_pi/data/ocpndebugger_pi_rollover.svg
share/opencpn/plugins/ocpndebugger_pi/data/ocpndebugger_pi_toggled.svg

File Added: pkgsrc/geography/opencpn-plugin-debugger/distinfo
$NetBSD: distinfo,v 1.1 2016/10/24 17:58:29 bouyer Exp $

SHA1 (ocpndebugger_pi-20160224-cabe866ac37933150cd410604c6e61fbf2278816.tar.gz) = 78346b2c42623a6b1eb538e46c7b07f59c6e4bfe
RMD160 (ocpndebugger_pi-20160224-cabe866ac37933150cd410604c6e61fbf2278816.tar.gz) = dd744f8df30857971de62522d6f2fe06cc7995c4
SHA512 (ocpndebugger_pi-20160224-cabe866ac37933150cd410604c6e61fbf2278816.tar.gz) = 54651657a0fe9aca64f455e3c26f4a94e01597b6eef322f7de120f5c35ae2d031a0b28cc9cf21168b04d87276dc08ac666ca3373168d837fa3d1e7008a70201f
Size (ocpndebugger_pi-20160224-cabe866ac37933150cd410604c6e61fbf2278816.tar.gz) = 122938 bytes
SHA1 (patch-cmake_PluginConfigure.cmake) = e56d5782610fe1191a8183e66bcf0ccf9133354a

File Added: pkgsrc/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake
$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2016/10/24 17:58:29 bouyer Exp $
Do not overwrite CMAKE_SHARED_LINKER_FLAGS

--- cmake/PluginConfigure.cmake.orig	2016-07-16 16:24:09.000000000 +0200
+++ cmake/PluginConfigure.cmake	2016-10-24 18:23:38.000000000 +0200
@@ -34,11 +34,13 @@
  ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O2 -fexceptions" )
  ENDIF(PROFILING)
 
- IF(NOT APPLE)
-  SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
- ELSE(NOT APPLE)
+ IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
+   SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
+   ADD_DEFINITIONS( "-fPIC")
+ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
+ IF(APPLE)
   SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
- ENDIF(NOT APPLE)
+ ENDIF(APPLE)
 
 ENDIF(NOT MSVC)