From 3c8c9a848a6e9ecf389476f68b6d974969c773a6 Mon Sep 17 00:00:00 2001 From: bouyer Date: Sun, 25 May 2014 18:26:57 +0000 Subject: Import opencpn version 3.2.2. 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. --- geography/opencpn/DESCR | 4 + geography/opencpn/Makefile | 49 +++ geography/opencpn/PLIST | 448 +++++++++++++++++++++ geography/opencpn/distinfo | 9 + geography/opencpn/patches/patch-CMakeLists.txt | 17 + .../opencpn/patches/patch-FindPortaudio.cmake | 35 ++ geography/opencpn/patches/patch-src_chart1.cpp | 54 +++ geography/opencpn/patches/patch-src_tcmgr.cpp | 14 + 8 files changed, 630 insertions(+) create mode 100644 geography/opencpn/DESCR create mode 100644 geography/opencpn/Makefile create mode 100644 geography/opencpn/PLIST create mode 100644 geography/opencpn/distinfo create mode 100644 geography/opencpn/patches/patch-CMakeLists.txt create mode 100644 geography/opencpn/patches/patch-FindPortaudio.cmake create mode 100644 geography/opencpn/patches/patch-src_chart1.cpp create mode 100644 geography/opencpn/patches/patch-src_tcmgr.cpp diff --git a/geography/opencpn/DESCR b/geography/opencpn/DESCR new file mode 100644 index 00000000000..b04e0ce01c1 --- /dev/null +++ b/geography/opencpn/DESCR @@ -0,0 +1,4 @@ +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. diff --git a/geography/opencpn/Makefile b/geography/opencpn/Makefile new file mode 100644 index 00000000000..72b55457fa3 --- /dev/null +++ b/geography/opencpn/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1 2014/05/25 18:26:57 bouyer Exp $ +# + +VERSION= 3.2.2 +DISTNAME= OpenCPN-${VERSION}-Source +PKGNAME= opencpn-${VERSION} +CATEGORIES= geography +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencpn/${VERSION}/} + +MAINTAINER= bouyer@NetBSD.org +HOMEPAGE= http://www.opencpn.org/ +COMMENT= Concise ChartPlotter/Navigator +LICENSE= gnu-gpl-v2 + +USE_LANGUAGES= c c++ +USE_TOOLS= gettext +USE_CMAKE= yes + +CMAKE_ARGS+= -DPREFIX:PATH=${PREFIX} -DPREFIX_PLUGINS:PATH=${PREFIX}/lib/opencpn +CMAKE_MODULE_PATH_OVERRIDE = \ + plugins/grib_pi/CMakeLists.txt \ + plugins/demo_pi_sample/src/CMakeLists.txt \ + plugins/demo_pi_sample/CMakeLists.txt \ + plugins/dashboard_pi/CMakeLists.txt \ + plugins/CMakeLists.txt + +SUBST_CLASSES+= prefix +SUBST_STAGE.prefix= pre-configure +SUBST_MESSAGE.prefix= replace /usr/local with ${PREFIX} +SUBST_FILES.prefix= src/mygdal/cpl_csv.cpp \ + src/mygdal/cpl_findfile.cpp \ + data/doc/help_en_US.html \ + Findgps.cmake +SUBST_SED.prefix= -e s,"/usr/local,"${PREFIX},g + +# Ensure we export symbols in the linked shared object. +LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} + +.include "../../devel/cmake/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../x11/wxGTK28/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/glu/buildlink3.mk" +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../audio/portaudio-devel/buildlink3.mk" +.include "../../textproc/tinyxml/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/geography/opencpn/PLIST b/geography/opencpn/PLIST new file mode 100644 index 00000000000..37ebf5c4b20 --- /dev/null +++ b/geography/opencpn/PLIST @@ -0,0 +1,448 @@ +@comment $NetBSD: PLIST,v 1.1 2014/05/25 18:26:57 bouyer Exp $ +bin/opencpn +share/opencpn/gshhs/poly-c-1.dat +share/opencpn/gshhs/poly-i-1.dat +share/opencpn/gshhs/poly-l-1.dat +share/opencpn/gshhs/wdb_borders_c.b +share/opencpn/gshhs/wdb_borders_i.b +share/opencpn/gshhs/wdb_borders_l.b +share/opencpn/gshhs/wdb_rivers_c.b +share/opencpn/gshhs/wdb_rivers_i.b +share/opencpn/gshhs/wdb_rivers_l.b +share/opencpn/uidata/styles.xml +share/opencpn/uidata/toolicons_journeyman.png +share/opencpn/uidata/toolicons_journeyman_flat.png +share/opencpn/uidata/toolicons_traditional.png +share/opencpn/s57data/attdecode.csv +share/opencpn/s57data/S52RAZDS.RLE +share/opencpn/s57data/s57attributes.csv +share/opencpn/s57data/s57expectedinput.csv +share/opencpn/s57data/s57objectclasses.csv +share/opencpn/s57data/rastersymbols-dark.png +share/opencpn/s57data/rastersymbols-day.png +share/opencpn/s57data/rastersymbols-dusk.png +share/opencpn/s57data/chartsymbols.xml +share/opencpn/tcdata/HARMONIC +share/opencpn/tcdata/HARMONIC.IDX +share/opencpn/tcdata/README.harmonics +share/opencpn/license.txt +share/opencpn/sounds/8bells.wav +share/opencpn/sounds/5bells.wav +share/opencpn/sounds/README.bells +share/opencpn/sounds/7bells.wav +share/opencpn/sounds/1bells.wav +share/opencpn/sounds/2bells.wav +share/opencpn/sounds/4bells.wav +share/opencpn/sounds/6bells.wav +share/opencpn/sounds/3bells.wav +share/opencpn/doc/images/area-query.png +share/opencpn/doc/images/aton_off.png +share/opencpn/doc/images/ship_grey.png +share/opencpn/doc/images/incwpt1.png +share/opencpn/doc/images/grib.png +share/opencpn/doc/images/ship_red.png +share/opencpn/doc/images/WH1.png +share/opencpn/doc/images/add-Chart.png +share/opencpn/doc/images/Anch3.png +share/opencpn/doc/images/mark8.png +share/opencpn/doc/images/meta.png +share/opencpn/doc/images/base.png +share/opencpn/doc/images/base_vector_quilt.png +share/opencpn/doc/images/help_002.png +share/opencpn/doc/images/in1.png +share/opencpn/doc/images/base_vectot_single1.png +share/opencpn/doc/images/mob_btn.png +share/opencpn/doc/images/options-Ships2.png +share/opencpn/doc/images/dash-big-fonts.png +share/opencpn/doc/images/out21.png +share/opencpn/doc/images/inland-blue.png +share/opencpn/doc/images/Routing1.png +share/opencpn/doc/images/dsc-ok.png +share/opencpn/doc/images/gc4.png +share/opencpn/doc/images/WH2.png +share/opencpn/doc/images/pencil.png +share/opencpn/doc/images/incwpt8.png +share/opencpn/doc/images/in11.png +share/opencpn/doc/images/vectorSettings.png +share/opencpn/doc/images/mark9.png +share/opencpn/doc/images/Mob2.png +share/opencpn/doc/images/rollover.png +share/opencpn/doc/images/Anch8.png +share/opencpn/doc/images/ifeahche_1.png +share/opencpn/doc/images/Routing7.png +share/opencpn/doc/images/opencpn.png +share/opencpn/doc/images/attachment.jpeg +share/opencpn/doc/images/Quilt3.png +share/opencpn/doc/images/vector-light.png +share/opencpn/doc/images/hotkeys2.gif +share/opencpn/doc/images/ais-grey.png +share/opencpn/doc/images/dash-set.png +share/opencpn/doc/images/offsets6.png +share/opencpn/doc/images/in22.png +share/opencpn/doc/images/options-charts-tides-2.png +share/opencpn/doc/images/mad-track2.png +share/opencpn/doc/images/Route-Properties.png +share/opencpn/doc/images/notundcom.png +share/opencpn/doc/images/anch.png +share/opencpn/doc/images/ais_alarm.png +share/opencpn/doc/images/classB.png +share/opencpn/doc/images/anegpass.png +share/opencpn/doc/images/WH.png +share/opencpn/doc/images/ais_alive_active.png +share/opencpn/doc/images/dataconnections4.png +share/opencpn/doc/images/zoomin.png +share/opencpn/doc/images/options-plugins.png +share/opencpn/doc/images/nsplattform.png +share/opencpn/doc/images/48px-Under_construction_icon-blue.png +share/opencpn/doc/images/ais-green.png +share/opencpn/doc/images/sounding.png +share/opencpn/doc/images/Mob.png +share/opencpn/doc/images/VDR-AIS_Simulation-2.png +share/opencpn/doc/images/mark6.png +share/opencpn/doc/images/dh.png +share/opencpn/doc/images/ais-lost.png +share/opencpn/doc/images/Dashprop322.png +share/opencpn/doc/images/Quilt2.png +share/opencpn/doc/images/Route-Properties1.png +share/opencpn/doc/images/DeviceManager-1.jpg +share/opencpn/doc/images/vecoverz.png +share/opencpn/doc/images/mad-track.png +share/opencpn/doc/images/Route21.png +share/opencpn/doc/images/currents_box.png +share/opencpn/doc/images/Routing3.png +share/opencpn/doc/images/incwpt2.png +share/opencpn/doc/images/grib2.png +share/opencpn/doc/images/havannah-ext.png +share/opencpn/doc/images/AIS-list.png +share/opencpn/doc/images/8.png +share/opencpn/doc/images/composite1.png +share/opencpn/doc/images/quilt-ref.png +share/opencpn/doc/images/route_manager.png +share/opencpn/doc/images/mark4.png +share/opencpn/doc/images/Anch5.png +share/opencpn/doc/images/route-legs.png +share/opencpn/doc/images/ais-yellow.png +share/opencpn/doc/images/track-pressed.png +share/opencpn/doc/images/dashn3.png +share/opencpn/doc/images/tide-select1.png +share/opencpn/doc/images/incwpt5.png +share/opencpn/doc/images/Anch2.png +share/opencpn/doc/images/default-mark.png +share/opencpn/doc/images/rc_wpt-del-mv.png +share/opencpn/doc/images/print.html +share/opencpn/doc/images/Debug_win.png +share/opencpn/doc/images/Routing5.png +share/opencpn/doc/images/not_participate.png +share/opencpn/doc/images/bluesquare.png +share/opencpn/doc/images/course-up_0.png +share/opencpn/doc/images/out12.png +share/opencpn/doc/images/gps1.png +share/opencpn/doc/images/10_1mile.png +share/opencpn/doc/images/hdg-cog.png +share/opencpn/doc/images/auto-follow_0.png +share/opencpn/doc/images/gpsRed.png +share/opencpn/doc/images/1_2.png +share/opencpn/doc/images/cm93grp.png +share/opencpn/doc/images/incwpt.png +share/opencpn/doc/images/help_1.png +share/opencpn/doc/images/7.png +share/opencpn/doc/images/Tide-interference.png +share/opencpn/doc/images/ChartGroups322.png +share/opencpn/doc/images/options-Ships5.png +share/opencpn/doc/images/aa-mob.png +share/opencpn/doc/images/dashboard32.png +share/opencpn/doc/images/Tide1.png +share/opencpn/doc/images/filtering.png +share/opencpn/doc/images/tracks.png +share/opencpn/doc/images/plan5.png +share/opencpn/doc/images/orig.png +share/opencpn/doc/images/options-ships-ais.png +share/opencpn/doc/images/printroute.png +share/opencpn/doc/images/gps3.png +share/opencpn/doc/images/toolbar-2.png +share/opencpn/doc/images/Chartbar32.png +share/opencpn/doc/images/zoomout.png +share/opencpn/doc/images/ship_red.html +share/opencpn/doc/images/ais_supressed.png +share/opencpn/doc/images/route-legs1.png +share/opencpn/doc/images/course-up.png +share/opencpn/doc/images/offsets2.png +share/opencpn/doc/images/stXhole1.png +share/opencpn/doc/images/incwpt3.png +share/opencpn/doc/images/grib_0.png +share/opencpn/doc/images/grig-plug.png +share/opencpn/doc/images/vdr-control.png +share/opencpn/doc/images/basestn.png +share/opencpn/doc/images/current.png +share/opencpn/doc/images/gc7.png +share/opencpn/doc/images/plan1.png +share/opencpn/doc/images/explain.png +share/opencpn/doc/images/gc3.png +share/opencpn/doc/images/TS1.png +share/opencpn/doc/images/objq.png +share/opencpn/doc/images/settings_003.png +share/opencpn/doc/images/mark3.png +share/opencpn/doc/images/bramb1.png +share/opencpn/doc/images/Anch6.png +share/opencpn/doc/images/sentence-filters2.png +share/opencpn/doc/images/offsets4.png +share/opencpn/doc/images/north-up.png +share/opencpn/doc/images/Chartbar322.png +share/opencpn/doc/images/gpsg_buddy.jpg +share/opencpn/doc/images/3.png +share/opencpn/doc/images/About32.png +share/opencpn/doc/images/bramb2.png +share/opencpn/doc/images/seg.png +share/opencpn/doc/images/restrman_1.png +share/opencpn/doc/images/ais11.png +share/opencpn/doc/images/skewed32.png +share/opencpn/doc/images/help.png +share/opencpn/doc/images/SART4.png +share/opencpn/doc/images/hidden-quilt.png +share/opencpn/doc/images/0.png +share/opencpn/doc/images/aground.png +share/opencpn/doc/images/print.png +share/opencpn/doc/images/dsc_distress.jpg +share/opencpn/doc/images/status-bar.png +share/opencpn/doc/images/moored.png +share/opencpn/doc/images/Routing2.png +share/opencpn/doc/images/in2.png +share/opencpn/doc/images/bud-icon.png +share/opencpn/doc/images/buttons-select.png +share/opencpn/doc/images/colscheme.png +share/opencpn/doc/images/.directory +share/opencpn/doc/images/displayspeed.png +share/opencpn/doc/images/route_plugin.png +share/opencpn/doc/images/Quilt1.png +share/opencpn/doc/images/aton_virt.png +share/opencpn/doc/images/2.png +share/opencpn/doc/images/TS2.png +share/opencpn/doc/images/portable.png +share/opencpn/doc/images/cm93.png +share/opencpn/doc/images/options-Ships6.png +share/opencpn/doc/images/gray-nogps.png +share/opencpn/doc/images/own_vector.png +share/opencpn/doc/images/pencil2.png +share/opencpn/doc/images/cur1_0.png +share/opencpn/doc/images/settings.png +share/opencpn/doc/images/Mob1.png +share/opencpn/doc/images/trad-tool.png +share/opencpn/doc/images/rc_active-route.png +share/opencpn/doc/images/MOB-choice.png +share/opencpn/doc/images/SART1.png +share/opencpn/doc/images/mark10.png +share/opencpn/doc/images/orig2.png +share/opencpn/doc/images/out22.png +share/opencpn/doc/images/highlight.png +share/opencpn/doc/images/BGchart.png +share/opencpn/doc/images/Route-Properties2.png +share/opencpn/doc/images/options-display.png +share/opencpn/doc/images/gc1.png +share/opencpn/doc/images/SART3.png +share/opencpn/doc/images/incwpt6.png +share/opencpn/doc/images/layer-prop.png +share/opencpn/doc/images/route.png +share/opencpn/doc/images/scin.png +share/opencpn/doc/images/sart-alarm2.png +share/opencpn/doc/images/current1.png +share/opencpn/doc/images/track-prop.png +share/opencpn/doc/images/ship_grey.html +share/opencpn/doc/images/track_off.png +share/opencpn/doc/images/wpt_focus2.png +share/opencpn/doc/images/gc6.png +share/opencpn/doc/images/charts_MT.png +share/opencpn/doc/images/qtvlm1.png +share/opencpn/doc/images/ais-moor.png +share/opencpn/doc/images/ais-alarm.png +share/opencpn/doc/images/ToolBAR22.png +share/opencpn/doc/images/ais_disabled.png +share/opencpn/doc/images/nmea-debug-dsc.png +share/opencpn/doc/images/skewed.png +share/opencpn/doc/images/layers-show2.png +share/opencpn/doc/images/Tide7.png +share/opencpn/doc/images/charts-tides.png +share/opencpn/doc/images/font.png +share/opencpn/doc/images/Tide2.png +share/opencpn/doc/images/dyngnaset.png +share/opencpn/doc/images/Con-net2.png +share/opencpn/doc/images/5.png +share/opencpn/doc/images/Reduce-Data1.png +share/opencpn/doc/images/Quilt4.png +share/opencpn/doc/images/aisfocus.png +share/opencpn/doc/images/gc8.png +share/opencpn/doc/images/options-Ships3.png +share/opencpn/doc/images/dashboard-plugin32.png +share/opencpn/doc/images/attachment_003.jpeg +share/opencpn/doc/images/incwpt4.png +share/opencpn/doc/images/jman-tool.png +share/opencpn/doc/images/ais.png +share/opencpn/doc/images/lockwpt.png +share/opencpn/doc/images/options-user2.png +share/opencpn/doc/images/rasteroverz.png +share/opencpn/doc/images/aton_std.png +share/opencpn/doc/images/Tide5.png +share/opencpn/doc/images/gpsGrn.png +share/opencpn/doc/images/sentence-filters.png +share/opencpn/doc/images/text.png +share/opencpn/doc/images/font1.png +share/opencpn/doc/images/Dash24.png +share/opencpn/doc/images/base_raster_quilt.png +share/opencpn/doc/images/polyconic.png +share/opencpn/doc/images/trail.png +share/opencpn/doc/images/initial-vector.png +share/opencpn/doc/images/route_002.png +share/opencpn/doc/images/options-charts-groups-1.png +share/opencpn/doc/images/Route-rollover.png +share/opencpn/doc/images/sentence-filters1.png +share/opencpn/doc/images/out11.png +share/opencpn/doc/images/tide-select2.png +share/opencpn/doc/images/dash-drag.png +share/opencpn/doc/images/Wpt21.png +share/opencpn/doc/images/2624.png +share/opencpn/doc/images/tmerc.png +share/opencpn/doc/images/base_raster_single.png +share/opencpn/doc/images/folderoptions.png +share/opencpn/doc/images/europe3.png +share/opencpn/doc/images/SARTalarm.png +share/opencpn/doc/images/options-charts-load-1.png +share/opencpn/doc/images/attachment_002.jpeg +share/opencpn/doc/images/red-gps.png +share/opencpn/doc/images/dim1.png +share/opencpn/doc/images/dash-select-instr_0.png +share/opencpn/doc/images/activeroutewpt.png +share/opencpn/doc/images/incwpt7.png +share/opencpn/doc/images/layer22.png +share/opencpn/doc/images/gl.png +share/opencpn/doc/images/brazil.png +share/opencpn/doc/images/offsets5.png +share/opencpn/doc/images/options-Ships1.png +share/opencpn/doc/images/ais-red.png +share/opencpn/doc/images/nogl.png +share/opencpn/doc/images/hsc.png +share/opencpn/doc/images/Ships_aistargets.png +share/opencpn/doc/images/layer_route1.png +share/opencpn/doc/images/dashboard-docked32.png +share/opencpn/doc/images/gribplug.png +share/opencpn/doc/images/Routing8.png +share/opencpn/doc/images/platquery.png +share/opencpn/doc/images/ais2.png +share/opencpn/doc/images/6.png +share/opencpn/doc/images/9.png +share/opencpn/doc/images/gps2.png +share/opencpn/doc/images/vdr-icons.png +share/opencpn/doc/images/SART5.png +share/opencpn/doc/images/havannah-noext.png +share/opencpn/doc/images/route-button.png +share/opencpn/doc/images/routing6.png +share/opencpn/doc/images/gc-comp.png +share/opencpn/doc/images/4.png +share/opencpn/doc/images/layer-track2.png +share/opencpn/doc/images/multileg.png +share/opencpn/doc/images/own4.png +share/opencpn/doc/images/AISTargetQuery.png +share/opencpn/doc/images/route_focus3.png +share/opencpn/doc/images/options-Ships4.png +share/opencpn/doc/images/Reduce-Data.png +share/opencpn/doc/images/Prolific.jpg +share/opencpn/doc/images/TargetCPA.png +share/opencpn/doc/images/mark7.png +share/opencpn/doc/images/composite.png +share/opencpn/doc/images/gpsd-con1.png +share/opencpn/doc/images/mark2.png +share/opencpn/doc/images/action-filter.png +share/opencpn/doc/images/bramb.png +share/opencpn/doc/images/atanchor.png +share/opencpn/doc/images/track-prop1.png +share/opencpn/doc/images/dsc-list.png +share/opencpn/doc/images/ChartGroups321.png +share/opencpn/doc/images/orig1.png +share/opencpn/doc/images/jman-flat-tool.png +share/opencpn/doc/images/tide.png +share/opencpn/doc/images/add-Chart1.png +share/opencpn/doc/images/plan2.png +share/opencpn/doc/images/settings_002.png +share/opencpn/doc/images/dsc-ok2.png +share/opencpn/doc/images/Anch9.png +share/opencpn/doc/images/dsc-not-ok.png +share/opencpn/doc/images/own5.png +share/opencpn/doc/images/Tide6.png +share/opencpn/doc/images/fishing.png +share/opencpn/doc/images/Tide4.png +share/opencpn/doc/images/last-button.png +share/opencpn/doc/images/swlook.png +share/opencpn/doc/images/scout.png +share/opencpn/doc/images/europe1.png +share/opencpn/doc/images/Anch4.png +share/opencpn/doc/images/Route23.png +share/opencpn/doc/images/layer-prop1.png +share/opencpn/doc/help_en_US.html +share/opencpn/doc/help_web.html +share/opencpn/doc/readme +share/doc/opencpn/copyright +share/doc/opencpn/changelog.Debian.gz +share/icons/hicolor/48x48/apps/opencpn.png +share/icons/hicolor/scalable/apps/opencpn.svg +share/applications/opencpn.desktop +share/locale/cs/LC_MESSAGES/opencpn.mo +share/locale/cs/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/cs/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/da/LC_MESSAGES/opencpn.mo +share/locale/da/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/da/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/de/LC_MESSAGES/opencpn.mo +share/locale/de/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/de/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/es/LC_MESSAGES/opencpn.mo +share/locale/es/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/es/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/fr/LC_MESSAGES/opencpn.mo +share/locale/fr/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/fr/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/it/LC_MESSAGES/opencpn.mo +share/locale/it/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/it/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/nl/LC_MESSAGES/opencpn.mo +share/locale/nl/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/nl/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/pl/LC_MESSAGES/opencpn.mo +share/locale/pl/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/pl/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/ru/LC_MESSAGES/opencpn.mo +share/locale/ru/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/ru/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/sv/LC_MESSAGES/opencpn.mo +share/locale/sv/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/sv/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/et/LC_MESSAGES/opencpn.mo +share/locale/et/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/et/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/pt_PT/LC_MESSAGES/opencpn.mo +share/locale/pt_PT/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/pt_PT/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/pt_BR/LC_MESSAGES/opencpn.mo +share/locale/pt_BR/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/pt_BR/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/nb_NO/LC_MESSAGES/opencpn.mo +share/locale/nb_NO/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/nb_NO/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/tr_TR/LC_MESSAGES/opencpn.mo +share/locale/tr_TR/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/tr_TR/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/fi_FI/LC_MESSAGES/opencpn.mo +share/locale/fi_FI/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/fi_FI/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/el_GR/LC_MESSAGES/opencpn.mo +share/locale/el_GR/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/el_GR/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/zh_TW/LC_MESSAGES/opencpn.mo +share/locale/zh_TW/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/zh_TW/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/hu_HU/LC_MESSAGES/opencpn.mo +share/locale/hu_HU/LC_MESSAGES/opencpn-dashboard_pi.mo +share/locale/gl_ES/LC_MESSAGES/opencpn.mo +share/locale/ca_ES/LC_MESSAGES/opencpn.mo +share/locale/hu/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/pl_PL/LC_MESSAGES/opencpn-grib_pi.mo +share/locale/pl_PL/LC_MESSAGES/opencpn-dashboard_pi.mo +lib/opencpn/libgrib_pi.so +lib/opencpn/libdashboard_pi.so diff --git a/geography/opencpn/distinfo b/geography/opencpn/distinfo new file mode 100644 index 00000000000..2c679e78821 --- /dev/null +++ b/geography/opencpn/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1 2014/05/25 18:26:57 bouyer Exp $ + +SHA1 (OpenCPN-3.2.2-Source.tar.gz) = 7395a97e50c2a47adce5bd9f62bf56cea1e41746 +RMD160 (OpenCPN-3.2.2-Source.tar.gz) = 8a0232a52c3cd954fc934b3edcec78c45149f250 +Size (OpenCPN-3.2.2-Source.tar.gz) = 158329955 bytes +SHA1 (patch-CMakeLists.txt) = 2b4d3f525843ca8fa0e6d0b17cc51273a08f92e9 +SHA1 (patch-FindPortaudio.cmake) = 8e8de78e3b19e83cb35781161c28c4f655ca26fc +SHA1 (patch-src_chart1.cpp) = d80d301d6e814ecd21c3fca1eed4af108774ffd2 +SHA1 (patch-src_tcmgr.cpp) = efdd45f07a19f2acf256307fa5195f9909d46961 diff --git a/geography/opencpn/patches/patch-CMakeLists.txt b/geography/opencpn/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..62255e85a10 --- /dev/null +++ b/geography/opencpn/patches/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2014/05/25 18:26:57 bouyer Exp $ + +/usr/lib/libdl* is not available on NetBSD + +--- CMakeLists.txt.orig 2014-05-23 16:28:34.000000000 +0200 ++++ CMakeLists.txt 2014-05-23 16:28:41.000000000 +0200 +@@ -818,10 +818,6 @@ + + # Certain older Cmake FindGTK2 modules ( e.g. cmake-2.8.0-2) do not yield all of the required link libraries + # So, add them manually. These declarations may be redundant in some architectures, but do no harm. +-IF(UNIX) +-TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} dl ) +-ENDIF(UNIX) +- + IF(GTK2_FOUND) + TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} gobject-2.0 ) + ENDIF(GTK2_FOUND) diff --git a/geography/opencpn/patches/patch-FindPortaudio.cmake b/geography/opencpn/patches/patch-FindPortaudio.cmake new file mode 100644 index 00000000000..f343c3fda9a --- /dev/null +++ b/geography/opencpn/patches/patch-FindPortaudio.cmake @@ -0,0 +1,35 @@ +$NetBSD: patch-FindPortaudio.cmake,v 1.1 2014/05/25 18:26:57 bouyer Exp $ + +really find portaudio in portaudio2 subdir + +--- FindPortaudio.cmake.orig 2013-05-08 17:41:43.000000000 +0200 ++++ FindPortaudio.cmake 2014-05-24 21:28:16.000000000 +0200 +@@ -45,24 +45,13 @@ + set(PORTAUDIO_FOUND TRUE) + else (PORTAUDIO_LIBRARIES AND PORTAUDIO_INCLUDE_DIRS) + find_path(PORTAUDIO_INCLUDE_DIR +-NAMES +-portaudio.h +-PATHS +-/usr/include +-/usr/local/include +-/opt/local/include +-/sw/include ++NAMES "portaudio.h" ++PATH_SUFFIXES "portaudio2" + ) + + find_library(PORTAUDIO_LIBRARY +-NAMES +-portaudio +-PATHS +-/usr/lib +-/usr/local/lib +-/opt/local/lib +-/usr/lib/i386-linux-gnu +-/sw/lib ++NAMES "portaudio" ++PATH_SUFFIXES "portaudio2" + ) + + set(PORTAUDIO_INCLUDE_DIRS diff --git a/geography/opencpn/patches/patch-src_chart1.cpp b/geography/opencpn/patches/patch-src_chart1.cpp new file mode 100644 index 00000000000..d86a592dac7 --- /dev/null +++ b/geography/opencpn/patches/patch-src_chart1.cpp @@ -0,0 +1,54 @@ +$NetBSD: patch-src_chart1.cpp,v 1.1 2014/05/25 18:26:57 bouyer Exp $ + +Adapt for tty devices on NetBSD + +--- src/chart1.cpp.orig 2014-05-23 15:58:32.000000000 +0200 ++++ src/chart1.cpp 2014-05-23 16:03:10.000000000 +0200 +@@ -7305,7 +7305,9 @@ + + #include + #include ++#ifdef __linux__ + #include ++#endif + + #endif + +@@ -7371,6 +7373,15 @@ + + int isTTYreal(const char *dev) + { ++#ifdef __NetBSD__ ++ if (strncmp("/dev/tty0", dev, 9) == 0) ++ return 1; ++ if (strncmp("/dev/ttyU", dev, 9) == 0) ++ return 1; ++ if (strcmp("/dev/gps", dev) == 0) ++ return 1; ++ return 0; ++#else /* !NetBSD */ + struct serial_struct serinfo; + int ret = 0; + +@@ -7387,6 +7398,7 @@ + } + + return ret; ++#endif /* !NetBSD */ + } + + +@@ -7427,11 +7439,13 @@ + + // We try to add a few more, arbitrarily, for those systems that have fixed, traditional COM ports + ++#ifdef __linux__ + if( isTTYreal("/dev/ttyS0") ) + preturn->Add( _T("/dev/ttyS0") ); + + if( isTTYreal("/dev/ttyS1") ) + preturn->Add( _T("/dev/ttyS1") ); ++#endif /* linux */ + + + #endif diff --git a/geography/opencpn/patches/patch-src_tcmgr.cpp b/geography/opencpn/patches/patch-src_tcmgr.cpp new file mode 100644 index 00000000000..95c59c1b142 --- /dev/null +++ b/geography/opencpn/patches/patch-src_tcmgr.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_tcmgr.cpp,v 1.1 2014/05/25 18:26:57 bouyer Exp $ +64bit time_t fix + +--- src/tcmgr.cpp.orig 2014-05-23 17:16:52.000000000 +0200 ++++ src/tcmgr.cpp 2014-05-23 17:18:08.000000000 +0200 +@@ -569,7 +569,7 @@ + f += fact * w[n] * (fr[deriv-n] - fl[deriv-n]); + fact *= (double)(deriv - n)/(n+1) * (1.0/TIDE_BLEND_TIME); + } +- printf(" %ld %g %g %g %g\n", t, blend, fr[0], fl[0], f); ++ printf(" %ld %g %g %g %g\n", (long)t, blend, fr[0], fl[0], f); + return f; + } + -- cgit v1.2.3