summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2016-10-24 17:58:29 +0000
committerbouyer <bouyer@pkgsrc.org>2016-10-24 17:58:29 +0000
commit662193dc348ed426f5d2d044ac4c54bf13bfb4e1 (patch)
tree281503243dc1246e35a96053bf1a6acda18860b0
parentbb0264d4c6fbf172293c4cfd2ec9fae3c8baa15f (diff)
downloadpkgsrc-662193dc348ed426f5d2d044ac4c54bf13bfb4e1.tar.gz
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.
-rw-r--r--geography/opencpn-plugin-debugger/DESCR8
-rw-r--r--geography/opencpn-plugin-debugger/Makefile34
-rw-r--r--geography/opencpn-plugin-debugger/PLIST27
-rw-r--r--geography/opencpn-plugin-debugger/distinfo7
-rw-r--r--geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake23
5 files changed, 99 insertions, 0 deletions
diff --git a/geography/opencpn-plugin-debugger/DESCR b/geography/opencpn-plugin-debugger/DESCR
new file mode 100644
index 00000000000..5a9a78b0dad
--- /dev/null
+++ b/geography/opencpn-plugin-debugger/DESCR
@@ -0,0 +1,8 @@
+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.
diff --git a/geography/opencpn-plugin-debugger/Makefile b/geography/opencpn-plugin-debugger/Makefile
new file mode 100644
index 00000000000..dbebfc8f977
--- /dev/null
+++ b/geography/opencpn-plugin-debugger/Makefile
@@ -0,0 +1,34 @@
+# $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"
diff --git a/geography/opencpn-plugin-debugger/PLIST b/geography/opencpn-plugin-debugger/PLIST
new file mode 100644
index 00000000000..cb70ad48bc6
--- /dev/null
+++ b/geography/opencpn-plugin-debugger/PLIST
@@ -0,0 +1,27 @@
+@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
diff --git a/geography/opencpn-plugin-debugger/distinfo b/geography/opencpn-plugin-debugger/distinfo
new file mode 100644
index 00000000000..8143dd2d13e
--- /dev/null
+++ b/geography/opencpn-plugin-debugger/distinfo
@@ -0,0 +1,7 @@
+$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
diff --git a/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake
new file mode 100644
index 00000000000..7e905ff5ada
--- /dev/null
+++ b/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake
@@ -0,0 +1,23 @@
+$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)
+