From d03ae951830e94079587c3c584511c4661799cbe Mon Sep 17 00:00:00 2001 From: bouyer Date: Sun, 24 Apr 2016 10:23:38 +0000 Subject: Add opencpn-plugin-watchdog version 20160415 This plugin is developed by Sean D'Epagnier and implements various configurable alarms alerting the user about the changing conditions round the boat. Watchdog also implements a Deadman-alarm and an improved anchor alarm. Watchdog communicates with another very useful plug-in, called OpenCPN ODraw Plugin (opencpn-plugin-draw in pkgsrc). That plugin is a tool to draw geo-referenced points, lines and shapes within OpenCPN. --- geography/opencpn-plugin-watchdog/DESCR | 11 ++++++++ geography/opencpn-plugin-watchdog/Makefile | 33 ++++++++++++++++++++++ geography/opencpn-plugin-watchdog/PLIST | 24 ++++++++++++++++ geography/opencpn-plugin-watchdog/distinfo | 7 +++++ .../patches/patch-cmake_PluginConfigure.cmake | 19 +++++++++++++ 5 files changed, 94 insertions(+) create mode 100644 geography/opencpn-plugin-watchdog/DESCR create mode 100644 geography/opencpn-plugin-watchdog/Makefile create mode 100644 geography/opencpn-plugin-watchdog/PLIST create mode 100644 geography/opencpn-plugin-watchdog/distinfo create mode 100644 geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake (limited to 'geography/opencpn-plugin-watchdog') diff --git a/geography/opencpn-plugin-watchdog/DESCR b/geography/opencpn-plugin-watchdog/DESCR new file mode 100644 index 00000000000..51580ac4d0a --- /dev/null +++ b/geography/opencpn-plugin-watchdog/DESCR @@ -0,0 +1,11 @@ +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 is developed by Sean D'Epagnier and implements various configurable +alarms alerting the user about the changing conditions round the boat. +Watchdog also implements a Deadman-alarm and an improved anchor alarm. +Watchdog communicates with another very useful plug-in, called OpenCPN ODraw +Plugin (opencpn-plugin-draw in pkgsrc). That plugin is a tool to draw +geo-referenced points, lines and shapes within OpenCPN. diff --git a/geography/opencpn-plugin-watchdog/Makefile b/geography/opencpn-plugin-watchdog/Makefile new file mode 100644 index 00000000000..a55dc5098b8 --- /dev/null +++ b/geography/opencpn-plugin-watchdog/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2016/04/24 10:23:38 bouyer Exp $ +# + +VERSION= 20160415 +DISTNAME= watchdog_pi-${VERSION} +PKGNAME= opencpn-plugin-watchdog-${VERSION} +CATEGORIES= geography +MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/} +GITHUB_PROJECT= watchdog_pi +GITHUB_TAG= f525c6b25646ae9a81cd0fe6e53aa267529af964 + +MAINTAINER= bouyer@NetBSD.org +HOMEPAGE= http://opencpn.org/ocpn/Plugins_external_watchdog +COMMENT= implements various configurable alarms in OpenCPN +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-watchdog/PLIST b/geography/opencpn-plugin-watchdog/PLIST new file mode 100644 index 00000000000..38b1e2ec068 --- /dev/null +++ b/geography/opencpn-plugin-watchdog/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1 2016/04/24 10:23:38 bouyer Exp $ +lib/opencpn/libwatchdog_pi.so +share/locale/ca/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/cs/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/da/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/de/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/el/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/es/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/et/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/fi/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/fr/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/gl/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/hu/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/it/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/ja/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/nb/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/nl/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/pl/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/pt/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/ru/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/sv/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/tr/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/vi/LC_MESSAGES/opencpn-watchdog_pi.mo +share/locale/zh/LC_MESSAGES/opencpn-watchdog_pi.mo diff --git a/geography/opencpn-plugin-watchdog/distinfo b/geography/opencpn-plugin-watchdog/distinfo new file mode 100644 index 00000000000..8fcdc5b03da --- /dev/null +++ b/geography/opencpn-plugin-watchdog/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2016/04/24 10:23:38 bouyer Exp $ + +SHA1 (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = b87098bc762224d7b58b115d7e8e16fc9874996d +RMD160 (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = 60f4de1fc7b716946c7e1a65c4dca93a9347da22 +SHA512 (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = e930baa1164e794cbc752e1cb321a6203857c1f24fcf90a20beea22586e71aac1f468eeae825d2c38cec7a57056ac102928b39cb815b3d907f21ee0c696f3f54 +Size (watchdog_pi-20160415-f525c6b25646ae9a81cd0fe6e53aa267529af964.tar.gz) = 409199 bytes +SHA1 (patch-cmake_PluginConfigure.cmake) = 2b4058ef26c9e711a05c93103da576bd3fb60a58 diff --git a/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake new file mode 100644 index 00000000000..c28f834d7d4 --- /dev/null +++ b/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake @@ -0,0 +1,19 @@ +$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2016/04/24 10:23:38 bouyer Exp $ +Do not overwrite CMAKE_SHARED_LINKER_FLAGS + +--- cmake/PluginConfigure.cmake.orig 2016-04-13 23:56:21.000000000 +0200 ++++ cmake/PluginConfigure.cmake 2016-04-15 16:25:56.000000000 +0200 +@@ -40,11 +40,9 @@ + ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O0 -fexceptions" ) + ENDIF(PROFILING) + +- IF(NOT APPLE) +- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic") +- ELSE(NOT APPLE) ++ IF(APPLE) + SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup") +- ENDIF(NOT APPLE) ++ ENDIF(APPLE) + + ENDIF(NOT MSVC) + -- cgit v1.2.3