Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New Unicode Localized Windows installer

  • Loading branch information...
commit 85db8b32e75b95ca31b64c9290e9eb84f2e02d11 1 parent f4a70ff
David Register authored
Showing with 9,899 additions and 2,447 deletions.
  1. +761 −755 CMakeLists.txt
  2. +4,044 −846 NSIS.template.in
  3. +2 −1  VERSION.cmake
  4. +1 −0  buildwin/NSIS_Unicode/CopyNSISUnicodeRegKey.bat
  5. +200 −0 buildwin/NSIS_Unicode/Include/EnumHKU.nsh
  6. +285 −0 buildwin/NSIS_Unicode/Include/Langstrings_GERMAN.nsh
  7. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_CZECH.nsh.in
  8. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_DANISH.nsh.in
  9. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_DUTCH.nsh.in
  10. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_FRENCH.nsh.in
  11. +311 −0 buildwin/NSIS_Unicode/Language files/Langstrings_GERMAN.nsh.in
  12. +311 −0 buildwin/NSIS_Unicode/Language files/Langstrings_ITALIAN.nsh.in
  13. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_POLISH.nsh.in
  14. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_PORTUGUESE.nsh.in
  15. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_PORTUGUESEBR.nsh.in
  16. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_RUSSIAN.nsh.in
  17. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_SPANISH.nsh.in
  18. +312 −0 buildwin/NSIS_Unicode/Language files/Langstrings_SWEDISH.nsh.in
  19. +2 −31 include/chart1.h
  20. +3 −2 include/chartbase.h
  21. +1 −0  include/chartdbs.h
  22. +3 −2 include/chartimg.h
  23. +5 −54 include/chcanv.h
  24. +5 −4 include/navutil.h
  25. +123 −0 include/ocpn_types.h
  26. +6 −53 include/tcmgr.h
  27. +402 −396 src/about.cpp
  28. +6 −1 src/ais.cpp
  29. +18 −10 src/chart1.cpp
  30. +115 −80 src/chartimg.cpp
  31. +43 −37 src/chcanv.cpp
  32. +82 −59 src/navutil.cpp
  33. +28 −20 src/opencpn.rc.in
  34. +5 −0 src/pluginmanager.cpp
  35. +12 −1 src/tcmgr.cpp
  36. +1 −95 src/wvschart.cpp
  37. +4 −0 version.h.in
View
1,516 CMakeLists.txt
@@ -1,755 +1,761 @@
-##---------------------------------------------------------------------------
-## Author: bdbcat aka. dsr (Dave Register)
-## Copyright:
-## License: wxWidgets License
-## Update: sethdart (Jean-Eudes Onfray)
-## with parts from balp (Anders Arnholm)
-## DEB config from: antonm - Anton Martchukov <anton@martchukov.com>
-##---------------------------------------------------------------------------
-
-#TODO:
-# - cross platform compiling
-# - test with Win & OSX
-# USE_GLU_TESS
-# USE_GLU_DLL
-# I also find it deficient in some areas. For instance, I cannot make it output a VS project with certain compile switches set as desired, namely /MT vs /MD. This means I must manually set this and other compiler options after the CMake step. Sometimes I forget. Grrr...
-# set /MT for Release build, and /MTd for debug.
-
-# define minimum cmake version
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2)
-# This should be 2.8.0 to have FindGTK2 module
-IF (COMMAND cmake_policy)
- CMAKE_POLICY(SET CMP0003 OLD)
- CMAKE_POLICY(SET CMP0005 OLD)
- CMAKE_POLICY(SET CMP0011 OLD)
-ENDIF (COMMAND cmake_policy)
-
-PROJECT(OpenCPN)
-
-#SET(CMAKE_VERBOSE_MAKEFILE ON)
-
-SET(PACKAGE_NAME opencpn)
-INCLUDE( ${CMAKE_SOURCE_DIR}/VERSION.cmake )
-SET(PACKAGE_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
-MESSAGE (STATUS "*** Building ${PACKAGE_NAME} ${PACKAGE_VERSION} ***")
-
-IF(NOT SKIP_PLUGINS)
- add_subdirectory (plugins)
-ENDIF(NOT SKIP_PLUGINS)
-
-#SET(CMAKE_BUILD_TYPE Debug)
-
-IF (PREFIX)
- SET(CMAKE_INSTALL_PREFIX ${PREFIX})
-ENDIF (PREFIX)
-SET(PREFIX_BIN bin)
-SET(PREFIX_INCLUDE include)
-SET(PREFIX_DATA share)
-SET(PREFIX_PKGDATA ${PREFIX_DATA}/${PACKAGE_NAME})
-
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src)
-
-# require proper c++
-#ADD_DEFINITIONS( "-Wall -ansi -pedantic -Wno-variadic-macros" )
-#TODO: Should we use -fno-stack-protector
-# IF NOT DEBUGGING CFLAGS="-O2 -march=native"
-IF(NOT WIN32)
- ADD_DEFINITIONS( "-Wall -g -fexceptions -rdynamic" )
- ADD_DEFINITIONS( "-O3 -fno-strict-aliasing")
-ENDIF(NOT WIN32)
-
-# Add some definitions to satisfy MS
-ADD_DEFINITIONS(-DUSE_GLU_TESS)
-IF(WIN32)
- ADD_DEFINITIONS(-D__MSVC__)
- ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE)
-ENDIF(WIN32)
-
-SET(wxWidgets_USE_LIBS base core net xml html adv aui)
-
-# These options can be used to set the linux widgets build type
-#SET( wxWidgets_USE_DEBUG ON)
-SET( wxWidgets_USE_UNICODE ON)
-#SET( wxWidgets_USE_UNIVERSAL OFF)
-#SET( wxWidgets_USE_STATIC OFF)
-
-FIND_PACKAGE(wxWidgets REQUIRED)
-INCLUDE(${wxWidgets_USE_FILE})
-#INCLUDE_DIRECTORIES(${wxWidgets_INCLUDE_DIRS})
-#ADD_DEFINITIONS(${wxWidgets_DEFINITIONS})
-
-# Location where cmake first looks for cmake modules.
-SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/build)
-
-# Let cmake find additional modules private to opencpn
-SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/")
-
-FIND_PACKAGE(GTK2 2.6)
-IF (GTK2_FOUND)
- INCLUDE_DIRECTORIES(${GTK2_INCLUDE_DIRS})
- ADD_DEFINITIONS(-DocpnUSE_GTK_OPTIMIZE)
- SET(EXTRA_LIBS ${EXTRA_LIBS} ${GTK2_LIBRARIES})
-ENDIF (GTK2_FOUND)
-
-FIND_PACKAGE(OpenGL REQUIRED)
-# OPENGL_GLU_FOUND
-INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
-
-FIND_PACKAGE(Gettext REQUIRED)
-
-# For convenience we define the sources as a variable. You can add
-# header files and cpp/c files and CMake will sort them out
-
-SET(SRC_NMEA0183
- include/nmea.h
- src/nmea.cpp
- src/nmea0183/LatLong.hpp
- src/nmea0183/latlong.cpp
- src/nmea0183/long.cpp
- src/nmea0183/nmea0183.cpp
- src/nmea0183/nmea0183.hpp
- src/nmea0183/Response.hpp
- src/nmea0183/response.cpp
- src/nmea0183/RMB.hpp
- src/nmea0183/rmb.cpp
- src/nmea0183/Sentence.hpp
- src/nmea0183/sentence.cpp
- src/nmea0183/talkerid.cpp
- src/nmea0183/RMC.HPP
- src/nmea0183/rmc.cpp
- src/nmea0183/hexvalue.cpp
- src/nmea0183/lat.cpp
- src/nmea0183/expid.cpp
- src/nmea0183/wpl.hpp
- src/nmea0183/wpl.cpp
- src/nmea0183/rte.hpp
- src/nmea0183/rte.cpp
- src/nmea0183/hdt.hpp
- src/nmea0183/hdt.cpp
- src/nmea0183/hdg.hpp
- src/nmea0183/hdg.cpp
- src/nmea0183/hdm.hpp
- src/nmea0183/hdm.cpp
- src/nmea0183/gll.hpp
- src/nmea0183/gll.cpp
- src/nmea0183/vtg.hpp
- src/nmea0183/vtg.cpp
- src/nmea0183/gga.hpp
- src/nmea0183/gga.cpp
- src/nmea0183/gsv.hpp
- src/nmea0183/gsv.cpp
- )
-ADD_LIBRARY(NMEA0183 ${SRC_NMEA0183})
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/nmea0183)
-
-
-IF(NOT WIN32)
-OPTION (USE_GPSD "Enable GPSD Library" ON)
-IF (USE_GPSD)
- message (STATUS "GPSD Library support: enabled")
-
- # FIND_PACKAGE(gps QUIET)
- FIND_PACKAGE(gps)
- IF (GPS_FOUND)
- message (STATUS "Building with libgps includes")
- INCLUDE_DIRECTORIES(${GPS_INCLUDE_DIR})
- ADD_DEFINITIONS(${GPS_DEFINITIONS})
- ADD_DEFINITIONS(-DBUILD_WITH_LIBGPS)
-# message (STATUS "GPS library is ${GPS_LIBRARY}")
-# SET(EXTRA_LIBS ${EXTRA_LIBS} ${GPS_LIBRARY})
- ELSE (GPS_FOUND)
- message (STATUS "Gps library not found")
- ENDIF (GPS_FOUND)
-ENDIF (USE_GPSD)
-ENDIF (NOT WIN32)
-
-
-
-
-#FILE(GLOB_RECURSE SRCS *.cpp *.c)
-SET(HDRS
- include/chart1.h
- include/bbox.h
- include/ocpn_pixel.h
- include/chartdb.h
- include/chartdbs.h
- include/chartimg.h
- include/chcanv.h
- include/concanv.h
- include/cutil.h
- include/georef.h
- include/navutil.h
- include/routeman.h
- include/routemanagerdialog.h
- include/routeprop.h
- include/statwin.h
- include/tcmgr.h
- include/thumbwin.h
- include/options.h
- include/wvschart.h
- include/about.h
- include/ais.h
- include/cm93.h
- include/scrollingdialog.h
- include/pluginmanager.h
- include/ocpn_plugin.h
-)
-SET(SRCS
- src/chart1.cpp
- src/bbox.cpp
- src/ocpn_pixel.cpp
- src/chartdb.cpp
- src/chartdbs.cpp
- src/chartimg.cpp
- src/chcanv.cpp
- src/concanv.cpp
- src/cutil.c
- src/georef.c
- src/navutil.cpp
- src/routeman.cpp
- src/routemanagerdialog.cpp
- src/routeprop.cpp
- src/statwin.cpp
- src/tcmgr.cpp
- src/thumbwin.cpp
- src/options.cpp
- src/wvschart.cpp
- src/about.cpp
- src/ais.cpp
- src/cm93.cpp
- src/scrollingdialog.cpp
- src/pluginmanager.cpp
- )
-SET(PACKAGE_HEADERS ""
-# include/ais.h
-)
-
-OPTION (USE_S57 "Enable S57 ENC support" ON)
-IF (USE_S57)
- message (STATUS "S57 ENC support: enabled")
- ADD_DEFINITIONS(-DUSE_S57)
-
- SET(SRC_S57ENC
- include/s52plib.h
- include/s52utils.h
- include/s57chart.h
- include/mygeom.h
- src/s52cnsy.cpp
- src/s52plib.cpp
- src/s52utils.cpp
- src/s57chart.cpp
- src/mygeom.cpp
- src/tri.c
- src/myiso8211/ddffielddefn.cpp
- src/myiso8211/ddfmodule.cpp
- src/myiso8211/ddfrecord.cpp
- src/myiso8211/ddfsubfielddefn.cpp
- src/myiso8211/ddffield.cpp
- src/myiso8211/ddfutils.cpp
- src/mygdal/cpl_config.h
- src/mygdal/gdal_priv.h
- src/mygdal/cpl_conv.h
- src/mygdal/iso8211.h
- src/mygdal/cpl_csv.h
- src/mygdal/ogr_api.h
- src/mygdal/cpl_error.h
- src/mygdal/ogr_attrind.h
- src/mygdal/cpl_list.h
- src/mygdal/ogr_core.h
- src/mygdal/cpl_minixml.h
- src/mygdal/ogr_feature.h
- src/mygdal/cpl_multiproc.h
- src/mygdal/ogr_geometry.h
- src/mygdal/cpl_odbc.h
- src/mygdal/ogr_p.h
- src/mygdal/cpl_port.h
- src/mygdal/ogr_s57.h
- src/mygdal/cpl_string.h
- src/mygdal/ogr_spatialref.h
- src/mygdal/cpl_vsi.h
- src/mygdal/ogrsf_frmts.h
- src/mygdal/gdal.h
- src/mygdal/s57.h
- src/mygdal/gdal_frmts.h
- src/mygdal/ddfrecordindex.cpp
- src/mygdal/cpl_conv.cpp
- src/mygdal/cpl_csv.cpp
- src/mygdal/cpl_dir.cpp
- src/mygdal/cpl_error.cpp
- src/mygdal/cpl_findfile.cpp
- src/mygdal/cpl_minixml.cpp
- src/mygdal/cpl_path.cpp
- src/mygdal/cpl_string.cpp
- src/mygdal/cpl_vsisimple.cpp
- src/mygdal/cplgetsymbol.cpp
- src/mygdal/ograssemblepolygon.cpp
- src/mygdal/ogrcurve.cpp
- src/mygdal/ogrfeature.cpp
- src/mygdal/ogrfeaturedefn.cpp
- src/mygdal/ogrfielddefn.cpp
- src/mygdal/ogrgeometry.cpp
- src/mygdal/ogrgeometrycollection.cpp
- src/mygdal/ogrgeometryfactory.cpp
- src/mygdal/ogrlinearring.cpp
- src/mygdal/ogrlinestring.cpp
- src/mygdal/ogrmultilinestring.cpp
- src/mygdal/ogrmultipoint.cpp
- src/mygdal/ogrmultipolygon.cpp
- src/mygdal/ogrpoint.cpp
- src/mygdal/ogrpolygon.cpp
- src/mygdal/ogrs57datasource.cpp
- src/mygdal/ogrlayer.cpp
- src/mygdal/ogrs57layer.cpp
- src/mygdal/ogrutils.cpp
- src/mygdal/s57classregistrar.cpp
- src/mygdal/s57featuredefns.cpp
- src/mygdal/s57reader.cpp
- src/mygdal/gdal_misc.cpp
- )
- ADD_LIBRARY(S57ENC ${SRC_S57ENC})
- INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/mygdal)
- SET(EXTRA_LIBS ${EXTRA_LIBS} S57ENC)
-ELSE (USE_S57)
- message (STATUS "S57 ENC support: disabled")
-ENDIF (USE_S57)
-
-OPTION (USE_GARMINHOST "Enable Garmin Host Mode support" ON)
-IF (USE_GARMINHOST)
- message (STATUS "Garmin Host Mode support: enabled")
- ADD_DEFINITIONS(-DUSE_GARMINHOST)
-
- SET(SRC_GARMINHOST
- src/garmin/jeeps/gpsapp.c
- src/garmin/jeeps/gpscom.c
- src/garmin/jeeps/gpsmath.c
- src/garmin/jeeps/gpsmem.c
- src/garmin/jeeps/gpsprot.c
- src/garmin/jeeps/gpsread.c
- src/garmin/jeeps/gpsdevice.c
- src/garmin/jeeps/gpsdevice_ser.c
- src/garmin/jeeps/gpsdevice_usb.c
- src/garmin/jeeps/gpsrqst.c
- src/garmin/jeeps/gpssend.c
- src/garmin/jeeps/gpsserial.c
- src/garmin/jeeps/gpsutil.c
- src/garmin/jeeps/gpsusbread.c
- src/garmin/jeeps/gpsusbsend.c
- src/garmin/jeeps/gpsusbcommon.c
- src/garmin/jeeps/garmin_wrapper_utils.c
- src/garmin/jeeps/garmin_wrapper.cpp
- src/garmin/jeeps/garmin_gps.h
- src/garmin/jeeps/garmin_wrapper.h
- src/garmin/jeeps/gpsapp.h
- src/garmin/jeeps/gpsdatum.h
- src/garmin/jeeps/gpsfmt.h
- src/garmin/jeeps/gpsmath.h
- src/garmin/jeeps/gpsport.h
- src/garmin/jeeps/gpsprot.h
- src/garmin/jeeps/gpsrqst.h
- src/garmin/jeeps/gpsserial.h
- src/garmin/jeeps/gpsusbint.h
- src/garmin/jeeps/garminusb.h
- src/garmin/jeeps/garmin_wrapper_utils.h
- src/garmin/jeeps/gpscom.h
- src/garmin/jeeps/gpsdevice.h
- src/garmin/jeeps/gpsinput.h
- src/garmin/jeeps/gpsmem.h
- src/garmin/jeeps/gpsproj.h
- src/garmin/jeeps/gpsread.h
- src/garmin/jeeps/gpssend.h
- src/garmin/jeeps/gpsusbcommon.h
- src/garmin/jeeps/gpsutil.h
- )
- ADD_LIBRARY(GARMINHOST ${SRC_GARMINHOST})
- INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/garmin/jeeps)
- SET(EXTRA_LIBS ${EXTRA_LIBS} GARMINHOST)
- IF(WIN32)
- ADD_DEFINITIONS(-D__WIN32__)
- ENDIF(WIN32)
-ELSE (USE_GARMINHOST)
- message (STATUS "Garmin Host Mode support: disabled")
-ENDIF (USE_GARMINHOST)
-
-OPTION (USE_WIFI_CLIENT "Enable wifi client" OFF)
-IF (USE_WIFI_CLIENT)
- message (STATUS "WiFi client support: enabled")
- ADD_DEFINITIONS(-DUSE_WIFI_CLIENT)
- SET(SRCS ${SRCS}
- include/wificlient.h
- src/wificlient.cpp
- )
-
-ENDIF (USE_WIFI_CLIENT)
-
-#TODO
-#dnl
-#dnl Use OpenGL tesselator or Internal tesselator
-#dnl
-#tess_internal=false
-#tess_glu=true
-#AC_ARG_WITH(tess_internal,
-# [[ --with-tess-internal use Internal Polygon Tesselator]],
-# [tess_internal=true]
-# )
-#
-#if [[ "$tess_internal" = "false" ]] ; then
-# dnl Look for and qualify an external GLU library
-# echo "checking for useable OpenGLU Library"
-# AC_CHECK_LIB(GLU, gluNewTess, true, dnl here true is just a nop
-# AC_MSG_ERROR([*** libGLU not found. Run configure using --with-tess-internal.]))
-#
-# GL_LIBS="-lGL -lGLU"
-# AC_SUBST(GL_LIBS)
-#
-# GL_CFLAGS="-DUSE_GLU_TESS"
-# AC_SUBST(GL_CFLAGS)
-#fi
-
-
-# If we build for windows systems, we also include the resource file
-# containing the manifest, icon and other resources
-IF(WIN32)
- SET(SRCS ${SRCS} src/opencpn.rc)
-ENDIF(WIN32)
-IF(APPLE)
- INCLUDE_DIRECTORIES(/usr/X11/include /usr/X11/include/GL)
- SET(CMAKE_C_FLAGS_DEBUG "-O2 -arch i386")
- SET(CMAKE_C_FLAGS_MINSIZEREL "-O2 -arch i386")
- SET(CMAKE_C_FLAGS_RELEASE "-O2 -arch i386")
- SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -arch i386")
- SET(CMAKE_CXX_FLAGS_DEBUG "-O2 -arch i386")
- SET(CMAKE_CXX_FLAGS_MINSIZEREL "-O2 -arch i386")
- SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -arch i386")
- SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -arch i386")
-
- SET(SRCS ${SRCS}
- include/macsercomm.h
- src/macsercomm.cpp
- include/macutils.h
- src/macutils.c
- )
-ENDIF(APPLE)
-
-
-ADD_EXECUTABLE(${PACKAGE_NAME} WIN32 MACOSX_BUNDLE ${HDRS} ${SRCS})
-
-IF(WIN32)
- IF(MSVC)
- SET(CMAKE_C_FLAGS_DEBUG "/MDd /Ob0 /Od /D_DEBUG /Zi /RTC1" )
- SET(CMAKE_C_FLAGS_MINSIZEREL "/MD /O1 /Ob1 /D NDEBUG")
- SET(CMAKE_C_FLAGS_RELEASE "/MD /O2 /Ob2 /D NDEBUG")
- SET(CMAKE_C_FLAGS_RELWITHDEBINFO "/MD /O2 /Ob1 /D NDEBUG /Zi")
- SET(CMAKE_CXX_FLAGS_DEBUG "/MDd /Ob0 /Od /D_DEBUG /Zi /RTC1")
- SET(CMAKE_CXX_FLAGS_MINSIZEREL "/MD /O1 /Ob1 /D NDEBUG")
- SET(CMAKE_CXX_FLAGS_RELEASE "/MD /O2 /Ob2 /D NDEBUG")
- SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MD /O2 /Ob1 /D NDEBUG" /Zi )
- ENDIF(MSVC)
-# SET_TARGET_PROPERTIES(${PACKAGE_NAME} PROPERTIES COMPILE_FLAGS /Zp44)
-# SET_TARGET_PROPERTIES(${PACKAGE_NAME} PROPERTIES LINK_FLAGS /MANIFEST:NO)
-ENDIF(WIN32)
-
-TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
- ${wxWidgets_LIBRARIES}
- NMEA0183
- ${EXTRA_LIBS}
-)
-
-IF(WIN32)
-TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
- setupapi.lib
- gdiplus.lib
- glu32.lib
-)
-ENDIF(WIN32)
-
-IF(UNIX)
-TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
- ${OPENGL_LIBRARIES}
- ${GETTEXT_LIBRARY}
-)
-ENDIF(UNIX)
-
-# 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.
-IF(UNIX)
-TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
- dl
- gobject-2.0
-)
-ENDIF(UNIX)
-
-
-
-IF(NOT APPLE)
-
-IF(WIN32)
-INSTALL(TARGETS ${PACKAGE_NAME} RUNTIME DESTINATION ".")
-ELSE(WIN32)
-INSTALL(TARGETS ${PACKAGE_NAME} RUNTIME DESTINATION ${PREFIX_BIN})
-ENDIF(WIN32)
-
-#ADD_CUSTOM_TARGET(dummy ALL DEPENDS ${PACKAGE_NAME} i18n)
-
-#INSTALL(FILES ${PACKAGE_HEADERS} DESTINATION ${PREFIX_INCLUDE})
-
-IF(WIN32)
-SET(PREFIX_PKGDATA ".")
-ENDIF(WIN32)
-
-SET(wvsData
- data/wvsdata/readmewvs.txt
- data/wvsdata/wvs1.dat
- data/wvsdata/wvs43.dat
- )
-INSTALL(FILES ${wvsData} DESTINATION ${PREFIX_PKGDATA}/wvsdata )
-
-IF (USE_S57)
- SET(s57data
- data/s57data/attdecode.csv
- data/s57data/S52RAZDS.RLE
- data/s57data/s57attributes.csv
- data/s57data/s57expectedinput.csv
- data/s57data/s57objectclasses.csv
- )
- INSTALL(FILES ${s57data} DESTINATION ${PREFIX_PKGDATA}/s57data )
-ENDIF (USE_S57)
-
-SET(tcData
- data/tcdata/HARMONIC
- data/tcdata/HARMONIC.IDX
- )
-INSTALL(FILES ${tcData} DESTINATION ${PREFIX_PKGDATA}/tcdata )
-
-INSTALL(FILES data/license.txt DESTINATION ${PREFIX_PKGDATA} )
-
-INSTALL(DIRECTORY data/sounds/ DESTINATION ${PREFIX_PKGDATA}/sounds )
-
-INSTALL(DIRECTORY data/doc/ DESTINATION ${PREFIX_PKGDATA}/doc )
-
-IF(UNIX)
- INSTALL(FILES data/opencpn.png DESTINATION ${PREFIX_DATA}/icons/hicolor/48x48/apps )
- INSTALL(FILES src/bitmaps/other_svg_src/opencpn.svg DESTINATION ${PREFIX_DATA}/icons/hicolor/scalable/apps )
- INSTALL(FILES data/opencpn.desktop DESTINATION ${PREFIX_DATA}/applications )
-ENDIF(UNIX)
-
-# Fix up time_t definition
-# Checks for 32-bit version. And always use 32-bit time_t for compatibility
-
-
-#uninstall-local:
-# rm -fr $(DESTDIR)$(pkgdatadir)/wvsdata/*
-# rm -fr $(DESTDIR) $(pkgdatadir)/s57data/*
-# rm -fr $(DESTDIR)$(pkgdatadir)/tcdata/*
-# rmdir $(DESTDIR)$(pkgdatadir)/wvsdata
-# rmdir $(DESTDIR)$(pkgdatadir)/s57data
-# rmdir $(DESTDIR)$(pkgdatadir)/tcdata
-# rmdir $(DESTDIR)$(pkgdatadir)
-#
-
-FIND_PROGRAM(GETTEXT_XGETTEXT_EXECUTABLE xgettext)
-IF (GETTEXT_XGETTEXT_EXECUTABLE)
-
-ADD_CUSTOM_COMMAND(
- OUTPUT ${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot.dummy
- COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} --force-po --package-name=${PACKAGE_NAME} --package-version="${PACKAGE_VERSION}" --output=${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot --keyword=_ --width=80 --files-from=${CMAKE_SOURCE_DIR}/po/POTFILES.in
- DEPENDS ${CMAKE_SOURCE_DIR}/po/POTFILES.in ${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
- COMMENT "pot-update [${PACKAGE_NAME}]: Generated pot file."
-)
-ADD_CUSTOM_TARGET(pot-update COMMENT "pot-update: Done." DEPENDS ${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot.dummy)
-
-ENDIF(GETTEXT_XGETTEXT_EXECUTABLE )
-
-MACRO(GETTEXT_UPDATE_PO _potFile)
- SET(_poFiles ${_potFile})
- GET_FILENAME_COMPONENT(_absPotFile ${_potFile} ABSOLUTE)
-
- FOREACH (_currentPoFile ${ARGN})
- GET_FILENAME_COMPONENT(_absFile ${_currentPoFile} ABSOLUTE)
- GET_FILENAME_COMPONENT(_poBasename ${_absFile} NAME_WE)
-
- ADD_CUSTOM_COMMAND(
- OUTPUT ${_absFile}.dummy
- COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --width=80 --strict --quiet --update --backup=none --no-location -s ${_absFile} ${_absPotFile}
- DEPENDS ${_absPotFile} ${_absFile}
- COMMENT "po-update [${_poBasename}]: Updated po file."
- )
-
- SET(_poFiles ${_poFiles} ${_absFile}.dummy)
-
- ENDFOREACH (_currentPoFile )
-
- ADD_CUSTOM_TARGET(po-update COMMENT "po-update: Done." DEPENDS ${_poFiles})
-ENDMACRO(GETTEXT_UPDATE_PO)
-
-IF (GETTEXT_MSGMERGE_EXECUTABLE)
-FILE(GLOB PACKAGE_PO_FILES ${CMAKE_SOURCE_DIR}/po/*.po)
-GETTEXT_UPDATE_PO(${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot ${PACKAGE_PO_FILES})
-ENDIF(GETTEXT_MSGMERGE_EXECUTABLE)
-
-SET(_gmoFiles)
-MACRO(GETTEXT_BUILD_MO _poFile _lang)
-
- GET_FILENAME_COMPONENT(_absFile ${_poFile} ABSOLUTE)
- GET_FILENAME_COMPONENT(_poBasename ${_absFile} NAME_WE)
- SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_poBasename}.mo)
-
- ADD_CUSTOM_COMMAND(
- OUTPUT ${_gmoFile}
- COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_absFile}
- DEPENDS ${_absFile}
- COMMENT "i18n [${_poBasename}]: Created mo file."
- )
-
- INSTALL(FILES ${_gmoFile} DESTINATION ${PREFIX_DATA}/locale/${_lang}/LC_MESSAGES RENAME ${PACKAGE_NAME}.mo )
- SET(_gmoFiles ${_gmoFiles} ${_gmoFile})
-ENDMACRO(GETTEXT_BUILD_MO)
-
-if(GETTEXT_MSGFMT_EXECUTABLE)
-GETTEXT_BUILD_MO(po/opencpn_cs_CZ.po cs)
-GETTEXT_BUILD_MO(po/opencpn_da_DK.po da)
-GETTEXT_BUILD_MO(po/opencpn_de_DE.po de)
-GETTEXT_BUILD_MO(po/opencpn_es_ES.po es)
-GETTEXT_BUILD_MO(po/opencpn_fr_FR.po fr)
-GETTEXT_BUILD_MO(po/opencpn_it_IT.po it)
-GETTEXT_BUILD_MO(po/opencpn_nl_NL.po nl)
-GETTEXT_BUILD_MO(po/opencpn_pl_PL.po pl)
-GETTEXT_BUILD_MO(po/opencpn_ru_RU.po ru)
-GETTEXT_BUILD_MO(po/opencpn_sv_SE.po sv)
-GETTEXT_BUILD_MO(po/opencpn_et_ET.po et)
-GETTEXT_BUILD_MO(po/opencpn_pt_PT.po pt_PT)
-GETTEXT_BUILD_MO(po/opencpn_pt_BR.po pt_BR)
-ADD_CUSTOM_TARGET(i18n COMMENT "i18n: Done." DEPENDS ${_gmoFiles})
-#ADD_DEPENDENCIES(i18n ${PACKAGE_PO_FILES})
-ADD_DEPENDENCIES(${PACKAGE_NAME} i18n)
-ENDIF(GETTEXT_MSGFMT_EXECUTABLE)
-
-ENDIF(NOT APPLE)
-
-
-# On Windows builds, copy the wxWidgets dlls and to the executable directory
-IF(WIN32 AND NOT UNIX)
-INSTALL(DIRECTORY wxWidgets/ DESTINATION "." )
-INSTALL(DIRECTORY buildwin/vc9/ DESTINATION ".\\\\vc9" )
-INSTALL(DIRECTORY buildwin/NSIS_Unicode/Bitmaps/ DESTINATION ".\\\\NSISBmps" )
-ENDIF(WIN32 AND NOT UNIX)
-
-
-# build a CPack driven installer package
-#include (InstallRequiredSystemLibraries)
-SET(CPACK_PACKAGE_NAME "OpenCPN")
-SET(CPACK_PACKAGE_VENDOR "opencpn.org")
-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "OpenCPN ${PACKAGE_VERSION}")
-SET(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION})
-SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
-SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
-SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
-SET(CPACK_INSTALL_CMAKE_PROJECTS "${CMAKE_CURRENT_BINARY_DIR};${PACKAGE_NAME};ALL;/")
-SET(CPACK_PACKAGE_EXECUTABLES ${PACKAGE_NAME} "OpenCPN")
-
-
-
-IF(WIN32 AND NOT UNIX)
- # There is a bug in NSI that does not handle full unix paths properly. Make
- # sure there is at least one set of four (4) backlasshes.
-
- SET(CPACK_PACKAGE_INSTALL_DIRECTORY "OpenCPN")
- SET(CPACK_NSIS_INSTALLED_ICON_NAME "opencpn.exe")
- SET(CPACK_NSIS_PACKAGE_NAME_LC "opencpn")
-
-# This line sets the name of the Windows Desktop shortcut
- SET(CPACK_NSIS_LINK_NAME "${CPACK_PACKAGE_NAME} ${PACKAGE_VERSION}")
-
-# These lines set the name of the Windows Start Menu shortcut and the icon that goes with it
- SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_NAME} Version ${PACKAGE_VERSION}")
- SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/src/bitmaps\\\\opencpn.ico")
-
- SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.opencpn.org")
- SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.opencpn.org")
- SET(CPACK_NSIS_CONTACT "http:\\\\\\\\www.opencpn.org")
-
- SET(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}_${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}_setup" )
-
-
-# Install the VC90 Redistributable
- SET(vc9_redist "vcredist_x86.exe")
-# IF( vc9_redist )
- STRING( REPLACE "/" "\\\\" Temp_vc9_redist ${vc9_redist} )
- GET_FILENAME_COMPONENT( VC9_FILE_NAME ${vc9_redist} NAME )
- SET( CPACK_NSIS_EXTRA_INSTALL_COMMANDS ${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}
- " ;Execute silent and wait\\n ExecWait '\\\"$INSTDIR\\\\vc9\\\\${VC9_FILE_NAME}\\\"/q/a /c:\\\"msiexec /i vcredist.msi /qn /l*v %temp%\\\\vcredist_x86.log\\\"' $0\\n"
- " Wait a bit for system to unlock file.\\n Sleep 1000\\n"
- " Delete file\\n Delete \\\"$INSTDIR\\\\vc9\\\\${VC9_FILE_NAME}\\\"\\n"
- " Reset output Path\\n SetOutPath \\\"$INSTDIR\\\"\\n"
- " Remove folder\\n RMDir /r \\\"$INSTDIR\\\\vc9\\\"\\n\\n" )
-# ENDIF( vc9_redist )
-
-# delete the NSISBmps directory
- SET( CPACK_NSIS_EXTRA_INSTALL_COMMANDS ${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}
- " ;Remove folder\\n RMDir /r \\\"$INSTDIR\\\\NSISBmps\\\"\\n\\n" )
-
-ELSE(WIN32 AND NOT UNIX)
- SET(CPACK_PACKAGE_INSTALL_DIRECTORY ${PACKAGE_NAME})
- SET(CPACK_STRIP_FILES "bin/opencpn.exe")
- SET(CPACK_SOURCE_STRIP_FILES "")
- SET(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}_${PACKAGE_VERSION}-1_i386" )
-
-ENDIF(WIN32 AND NOT UNIX)
-
-#SET(CPACK_PACKAGE_EXECUTABLES ${PACKAGE_NAME})
-#SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${PACKAGE_NAME} ${PACKAGE_VERSION}")
-SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/data/license.txt")
-#SET(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/data/README")
-#SET(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_CURRENT_SOURCE_DIR}/data/Welcome.txt")
-IF (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/README")
-# MESSAGE(STATUS "Using generic cpack package description file.")
- SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
- SET(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README")
-ENDIF ()
-SET(CPACK_SOURCE_GENERATOR "TGZ")
-
-# The following components are regex's to match anywhere (unless anchored)
-# in absolute path + filename to find files or directories to be excluded
-# from source tarball.
-set(CPACK_SOURCE_IGNORE_FILES
-"\\\\.cvsignore$"
-"^${CMAKE_CURRENT_SOURCE_DIR}.*/CVS/"
-"^${CMAKE_CURRENT_SOURCE_DIR}/build*"
-"^${CPACK_PACKAGE_INSTALL_DIRECTORY}/*"
-)
-
-
-IF(UNIX)
-# INCLUDE(UseRPMTools)
-# IF(RPMTools_FOUND)
-# RPMTools_ADD_RPM_TARGETS(packagename ${CMAKE_SOURCE_DIR}/package.spec)
-# ENDIF(RPMTools_FOUND)
-
-
- SET(CPACK_GENERATOR "DEB;RPM")
- SET(CPACK_PACKAGE_CONTACT "Dave Register <bdbcat@yahoo.com>")
- SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libwxgtk2.8-0 (>= 2.8.7.1), libglu1-mesa (>= 7.0.0), libgl1-mesa-glx (>= 7.0.0), zlib1g, bzip2")
- SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "i386")
- SET(CPACK_DEBIAN_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}")
- SET(CPACK_DEBIAN_PACKAGE_SECTION "Miscellaneous")
- SET(CPACK_RPM_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}")
- SET(CPACK_RPM_PACKAGE_ARCHITECTURE "i386")
- SET(CPACK_RPM_PACKAGE_REQUIRES "wxGTK mesa-libGLU mesa-libGL gettext zlib bzip2")
- SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An OpenSource Chart Plotter/Navigator")
- SET(CPACK_PACKAGE_DESCRIPTION "OpenCPN is a concise ChartPlotter/Navigator. The application supports: GPS/GPDS Position Input, BSB Raster Chart Display, S57 Vector ENChart Display, AIS Input Decoding, Waypoint Autopilot Navigation .")
- SET(CPACK_SET_DESTDIR ON)
- SET(CPACK_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-ENDIF(UNIX)
-
-IF(WIN32 AND NOT UNIX)
- configure_file(${CMAKE_SOURCE_DIR}/src/opencpn.rc.in ${CMAKE_SOURCE_DIR}/src/opencpn.rc)
-ENDIF(WIN32 AND NOT UNIX)
-
-
-
-INCLUDE(CPack)
-
-MESSAGE(STATUS "Writing spec file...")
-
-
+##---------------------------------------------------------------------------
+## Author: bdbcat aka. dsr (Dave Register)
+## Copyright:
+## License: wxWidgets License
+## Update: sethdart (Jean-Eudes Onfray)
+## with parts from balp (Anders Arnholm)
+## DEB config from: antonm - Anton Martchukov <anton@martchukov.com>
+##---------------------------------------------------------------------------
+
+#TODO:
+# - cross platform compiling
+# - test with Win & OSX
+# USE_GLU_TESS
+# USE_GLU_DLL
+# I also find it deficient in some areas. For instance, I cannot make it output a VS project with certain compile switches set as desired, namely /MT vs /MD. This means I must manually set this and other compiler options after the CMake step. Sometimes I forget. Grrr...
+# set /MT for Release build, and /MTd for debug.
+
+# define minimum cmake version
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2)
+# This should be 2.8.0 to have FindGTK2 module
+IF (COMMAND cmake_policy)
+ CMAKE_POLICY(SET CMP0003 OLD)
+ CMAKE_POLICY(SET CMP0005 OLD)
+ CMAKE_POLICY(SET CMP0011 OLD)
+ENDIF (COMMAND cmake_policy)
+
+PROJECT(OpenCPN)
+
+#SET(CMAKE_VERBOSE_MAKEFILE ON)
+
+SET(PACKAGE_NAME opencpn)
+INCLUDE( ${CMAKE_SOURCE_DIR}/VERSION.cmake )
+SET(PACKAGE_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
+MESSAGE (STATUS "*** Building ${PACKAGE_NAME} ${PACKAGE_VERSION} ***")
+
+IF(NOT SKIP_PLUGINS)
+ add_subdirectory (plugins)
+ENDIF(NOT SKIP_PLUGINS)
+
+#SET(CMAKE_BUILD_TYPE Debug)
+
+IF (PREFIX)
+ SET(CMAKE_INSTALL_PREFIX ${PREFIX})
+ENDIF (PREFIX)
+SET(PREFIX_BIN bin)
+SET(PREFIX_INCLUDE include)
+SET(PREFIX_DATA share)
+SET(PREFIX_PKGDATA ${PREFIX_DATA}/${PACKAGE_NAME})
+
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src)
+
+# require proper c++
+#ADD_DEFINITIONS( "-Wall -ansi -pedantic -Wno-variadic-macros" )
+#TODO: Should we use -fno-stack-protector
+# IF NOT DEBUGGING CFLAGS="-O2 -march=native"
+IF(NOT WIN32)
+ ADD_DEFINITIONS( "-Wall -g -fexceptions -rdynamic" )
+ ADD_DEFINITIONS( "-O3 -fno-strict-aliasing")
+ENDIF(NOT WIN32)
+
+# Add some definitions to satisfy MS
+ADD_DEFINITIONS(-DUSE_GLU_TESS)
+IF(WIN32)
+ ADD_DEFINITIONS(-D__MSVC__)
+ ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE)
+ENDIF(WIN32)
+
+SET(wxWidgets_USE_LIBS base core net xml html adv aui)
+
+# These options can be used to set the linux widgets build type
+#SET( wxWidgets_USE_DEBUG ON)
+SET( wxWidgets_USE_UNICODE ON)
+#SET( wxWidgets_USE_UNIVERSAL OFF)
+#SET( wxWidgets_USE_STATIC OFF)
+
+FIND_PACKAGE(wxWidgets REQUIRED)
+INCLUDE(${wxWidgets_USE_FILE})
+#INCLUDE_DIRECTORIES(${wxWidgets_INCLUDE_DIRS})
+#ADD_DEFINITIONS(${wxWidgets_DEFINITIONS})
+
+# Location where cmake first looks for cmake modules.
+SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/build)
+
+# Let cmake find additional modules private to opencpn
+SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/")
+
+FIND_PACKAGE(GTK2 2.6)
+IF (GTK2_FOUND)
+ INCLUDE_DIRECTORIES(${GTK2_INCLUDE_DIRS})
+ ADD_DEFINITIONS(-DocpnUSE_GTK_OPTIMIZE)
+ SET(EXTRA_LIBS ${EXTRA_LIBS} ${GTK2_LIBRARIES})
+ENDIF (GTK2_FOUND)
+
+FIND_PACKAGE(OpenGL REQUIRED)
+# OPENGL_GLU_FOUND
+INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
+
+FIND_PACKAGE(Gettext REQUIRED)
+
+# For convenience we define the sources as a variable. You can add
+# header files and cpp/c files and CMake will sort them out
+
+SET(SRC_NMEA0183
+ include/nmea.h
+ src/nmea.cpp
+ src/nmea0183/LatLong.hpp
+ src/nmea0183/latlong.cpp
+ src/nmea0183/long.cpp
+ src/nmea0183/nmea0183.cpp
+ src/nmea0183/nmea0183.hpp
+ src/nmea0183/Response.hpp
+ src/nmea0183/response.cpp
+ src/nmea0183/RMB.hpp
+ src/nmea0183/rmb.cpp
+ src/nmea0183/Sentence.hpp
+ src/nmea0183/sentence.cpp
+ src/nmea0183/talkerid.cpp
+ src/nmea0183/RMC.HPP
+ src/nmea0183/rmc.cpp
+ src/nmea0183/hexvalue.cpp
+ src/nmea0183/lat.cpp
+ src/nmea0183/expid.cpp
+ src/nmea0183/wpl.hpp
+ src/nmea0183/wpl.cpp
+ src/nmea0183/rte.hpp
+ src/nmea0183/rte.cpp
+ src/nmea0183/hdt.hpp
+ src/nmea0183/hdt.cpp
+ src/nmea0183/hdg.hpp
+ src/nmea0183/hdg.cpp
+ src/nmea0183/hdm.hpp
+ src/nmea0183/hdm.cpp
+ src/nmea0183/gll.hpp
+ src/nmea0183/gll.cpp
+ src/nmea0183/vtg.hpp
+ src/nmea0183/vtg.cpp
+ src/nmea0183/gga.hpp
+ src/nmea0183/gga.cpp
+ src/nmea0183/gsv.hpp
+ src/nmea0183/gsv.cpp
+ )
+ADD_LIBRARY(NMEA0183 ${SRC_NMEA0183})
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/nmea0183)
+
+
+IF(NOT WIN32)
+OPTION (USE_GPSD "Enable GPSD Library" ON)
+IF (USE_GPSD)
+ message (STATUS "GPSD Library support: enabled")
+
+ # FIND_PACKAGE(gps QUIET)
+ FIND_PACKAGE(gps)
+ IF (GPS_FOUND)
+ message (STATUS "Building with libgps includes")
+ INCLUDE_DIRECTORIES(${GPS_INCLUDE_DIR})
+ ADD_DEFINITIONS(${GPS_DEFINITIONS})
+ ADD_DEFINITIONS(-DBUILD_WITH_LIBGPS)
+# message (STATUS "GPS library is ${GPS_LIBRARY}")
+# SET(EXTRA_LIBS ${EXTRA_LIBS} ${GPS_LIBRARY})
+ ELSE (GPS_FOUND)
+ message (STATUS "Gps library not found")
+ ENDIF (GPS_FOUND)
+ENDIF (USE_GPSD)
+ENDIF (NOT WIN32)
+
+
+
+
+#FILE(GLOB_RECURSE SRCS *.cpp *.c)
+SET(HDRS
+ include/ocpn_types.h
+ include/chart1.h
+ include/bbox.h
+ include/ocpn_pixel.h
+ include/chartdb.h
+ include/chartdbs.h
+ include/chartimg.h
+ include/chcanv.h
+ include/concanv.h
+ include/cutil.h
+ include/georef.h
+ include/navutil.h
+ include/routeman.h
+ include/routemanagerdialog.h
+ include/routeprop.h
+ include/statwin.h
+ include/tcmgr.h
+ include/thumbwin.h
+ include/options.h
+ include/wvschart.h
+ include/about.h
+ include/ais.h
+ include/cm93.h
+ include/scrollingdialog.h
+ include/pluginmanager.h
+ include/ocpn_plugin.h
+)
+SET(SRCS
+ src/chart1.cpp
+ src/bbox.cpp
+ src/ocpn_pixel.cpp
+ src/chartdb.cpp
+ src/chartdbs.cpp
+ src/chartimg.cpp
+ src/chcanv.cpp
+ src/concanv.cpp
+ src/cutil.c
+ src/georef.c
+ src/navutil.cpp
+ src/routeman.cpp
+ src/routemanagerdialog.cpp
+ src/routeprop.cpp
+ src/statwin.cpp
+ src/tcmgr.cpp
+ src/thumbwin.cpp
+ src/options.cpp
+ src/wvschart.cpp
+ src/about.cpp
+ src/ais.cpp
+ src/cm93.cpp
+ src/scrollingdialog.cpp
+ src/pluginmanager.cpp
+ )
+SET(PACKAGE_HEADERS ""
+# include/ais.h
+)
+
+OPTION (USE_S57 "Enable S57 ENC support" ON)
+IF (USE_S57)
+ message (STATUS "S57 ENC support: enabled")
+ ADD_DEFINITIONS(-DUSE_S57)
+
+ SET(SRC_S57ENC
+ include/s52plib.h
+ include/s52utils.h
+ include/s57chart.h
+ include/mygeom.h
+ src/s52cnsy.cpp
+ src/s52plib.cpp
+ src/s52utils.cpp
+ src/s57chart.cpp
+ src/mygeom.cpp
+ src/tri.c
+ src/myiso8211/ddffielddefn.cpp
+ src/myiso8211/ddfmodule.cpp
+ src/myiso8211/ddfrecord.cpp
+ src/myiso8211/ddfsubfielddefn.cpp
+ src/myiso8211/ddffield.cpp
+ src/myiso8211/ddfutils.cpp
+ src/mygdal/cpl_config.h
+ src/mygdal/gdal_priv.h
+ src/mygdal/cpl_conv.h
+ src/mygdal/iso8211.h
+ src/mygdal/cpl_csv.h
+ src/mygdal/ogr_api.h
+ src/mygdal/cpl_error.h
+ src/mygdal/ogr_attrind.h
+ src/mygdal/cpl_list.h
+ src/mygdal/ogr_core.h
+ src/mygdal/cpl_minixml.h
+ src/mygdal/ogr_feature.h
+ src/mygdal/cpl_multiproc.h
+ src/mygdal/ogr_geometry.h
+ src/mygdal/cpl_odbc.h
+ src/mygdal/ogr_p.h
+ src/mygdal/cpl_port.h
+ src/mygdal/ogr_s57.h
+ src/mygdal/cpl_string.h
+ src/mygdal/ogr_spatialref.h
+ src/mygdal/cpl_vsi.h
+ src/mygdal/ogrsf_frmts.h
+ src/mygdal/gdal.h
+ src/mygdal/s57.h
+ src/mygdal/gdal_frmts.h
+ src/mygdal/ddfrecordindex.cpp
+ src/mygdal/cpl_conv.cpp
+ src/mygdal/cpl_csv.cpp
+ src/mygdal/cpl_dir.cpp
+ src/mygdal/cpl_error.cpp
+ src/mygdal/cpl_findfile.cpp
+ src/mygdal/cpl_minixml.cpp
+ src/mygdal/cpl_path.cpp
+ src/mygdal/cpl_string.cpp
+ src/mygdal/cpl_vsisimple.cpp
+ src/mygdal/cplgetsymbol.cpp
+ src/mygdal/ograssemblepolygon.cpp
+ src/mygdal/ogrcurve.cpp
+ src/mygdal/ogrfeature.cpp
+ src/mygdal/ogrfeaturedefn.cpp
+ src/mygdal/ogrfielddefn.cpp
+ src/mygdal/ogrgeometry.cpp
+ src/mygdal/ogrgeometrycollection.cpp
+ src/mygdal/ogrgeometryfactory.cpp
+ src/mygdal/ogrlinearring.cpp
+ src/mygdal/ogrlinestring.cpp
+ src/mygdal/ogrmultilinestring.cpp
+ src/mygdal/ogrmultipoint.cpp
+ src/mygdal/ogrmultipolygon.cpp
+ src/mygdal/ogrpoint.cpp
+ src/mygdal/ogrpolygon.cpp
+ src/mygdal/ogrs57datasource.cpp
+ src/mygdal/ogrlayer.cpp
+ src/mygdal/ogrs57layer.cpp
+ src/mygdal/ogrutils.cpp
+ src/mygdal/s57classregistrar.cpp
+ src/mygdal/s57featuredefns.cpp
+ src/mygdal/s57reader.cpp
+ src/mygdal/gdal_misc.cpp
+ )
+ ADD_LIBRARY(S57ENC ${SRC_S57ENC})
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/mygdal)
+ SET(EXTRA_LIBS ${EXTRA_LIBS} S57ENC)
+ELSE (USE_S57)
+ message (STATUS "S57 ENC support: disabled")
+ENDIF (USE_S57)
+
+OPTION (USE_GARMINHOST "Enable Garmin Host Mode support" ON)
+IF (USE_GARMINHOST)
+ message (STATUS "Garmin Host Mode support: enabled")
+ ADD_DEFINITIONS(-DUSE_GARMINHOST)
+
+ SET(SRC_GARMINHOST
+ src/garmin/jeeps/gpsapp.c
+ src/garmin/jeeps/gpscom.c
+ src/garmin/jeeps/gpsmath.c
+ src/garmin/jeeps/gpsmem.c
+ src/garmin/jeeps/gpsprot.c
+ src/garmin/jeeps/gpsread.c
+ src/garmin/jeeps/gpsdevice.c
+ src/garmin/jeeps/gpsdevice_ser.c
+ src/garmin/jeeps/gpsdevice_usb.c
+ src/garmin/jeeps/gpsrqst.c
+ src/garmin/jeeps/gpssend.c
+ src/garmin/jeeps/gpsserial.c
+ src/garmin/jeeps/gpsutil.c
+ src/garmin/jeeps/gpsusbread.c
+ src/garmin/jeeps/gpsusbsend.c
+ src/garmin/jeeps/gpsusbcommon.c
+ src/garmin/jeeps/garmin_wrapper_utils.c
+ src/garmin/jeeps/garmin_wrapper.cpp
+ src/garmin/jeeps/garmin_gps.h
+ src/garmin/jeeps/garmin_wrapper.h
+ src/garmin/jeeps/gpsapp.h
+ src/garmin/jeeps/gpsdatum.h
+ src/garmin/jeeps/gpsfmt.h
+ src/garmin/jeeps/gpsmath.h
+ src/garmin/jeeps/gpsport.h
+ src/garmin/jeeps/gpsprot.h
+ src/garmin/jeeps/gpsrqst.h
+ src/garmin/jeeps/gpsserial.h
+ src/garmin/jeeps/gpsusbint.h
+ src/garmin/jeeps/garminusb.h
+ src/garmin/jeeps/garmin_wrapper_utils.h
+ src/garmin/jeeps/gpscom.h
+ src/garmin/jeeps/gpsdevice.h
+ src/garmin/jeeps/gpsinput.h
+ src/garmin/jeeps/gpsmem.h
+ src/garmin/jeeps/gpsproj.h
+ src/garmin/jeeps/gpsread.h
+ src/garmin/jeeps/gpssend.h
+ src/garmin/jeeps/gpsusbcommon.h
+ src/garmin/jeeps/gpsutil.h
+ )
+ ADD_LIBRARY(GARMINHOST ${SRC_GARMINHOST})
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/garmin/jeeps)
+ SET(EXTRA_LIBS ${EXTRA_LIBS} GARMINHOST)
+ IF(WIN32)
+ ADD_DEFINITIONS(-D__WIN32__)
+ ENDIF(WIN32)
+ELSE (USE_GARMINHOST)
+ message (STATUS "Garmin Host Mode support: disabled")
+ENDIF (USE_GARMINHOST)
+
+OPTION (USE_WIFI_CLIENT "Enable wifi client" OFF)
+IF (USE_WIFI_CLIENT)
+ message (STATUS "WiFi client support: enabled")
+ ADD_DEFINITIONS(-DUSE_WIFI_CLIENT)
+ SET(SRCS ${SRCS}
+ include/wificlient.h
+ src/wificlient.cpp
+ )
+
+ENDIF (USE_WIFI_CLIENT)
+
+#TODO
+#dnl
+#dnl Use OpenGL tesselator or Internal tesselator
+#dnl
+#tess_internal=false
+#tess_glu=true
+#AC_ARG_WITH(tess_internal,
+# [[ --with-tess-internal use Internal Polygon Tesselator]],
+# [tess_internal=true]
+# )
+#
+#if [[ "$tess_internal" = "false" ]] ; then
+# dnl Look for and qualify an external GLU library
+# echo "checking for useable OpenGLU Library"
+# AC_CHECK_LIB(GLU, gluNewTess, true, dnl here true is just a nop
+# AC_MSG_ERROR([*** libGLU not found. Run configure using --with-tess-internal.]))
+#
+# GL_LIBS="-lGL -lGLU"
+# AC_SUBST(GL_LIBS)
+#
+# GL_CFLAGS="-DUSE_GLU_TESS"
+# AC_SUBST(GL_CFLAGS)
+#fi
+
+
+# If we build for windows systems, we also include the resource file
+# containing the manifest, icon and other resources
+IF(WIN32)
+ SET(SRCS ${SRCS} src/opencpn.rc)
+ENDIF(WIN32)
+IF(APPLE)
+ INCLUDE_DIRECTORIES(/usr/X11/include /usr/X11/include/GL)
+ SET(CMAKE_C_FLAGS_DEBUG "-O2 -arch i386")
+ SET(CMAKE_C_FLAGS_MINSIZEREL "-O2 -arch i386")
+ SET(CMAKE_C_FLAGS_RELEASE "-O2 -arch i386")
+ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -arch i386")
+ SET(CMAKE_CXX_FLAGS_DEBUG "-O2 -arch i386")
+ SET(CMAKE_CXX_FLAGS_MINSIZEREL "-O2 -arch i386")
+ SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -arch i386")
+ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -arch i386")
+
+ SET(SRCS ${SRCS}
+ include/macsercomm.h
+ src/macsercomm.cpp
+ include/macutils.h
+ src/macutils.c
+ )
+ENDIF(APPLE)
+
+
+ADD_EXECUTABLE(${PACKAGE_NAME} WIN32 MACOSX_BUNDLE ${HDRS} ${SRCS})
+
+IF(WIN32)
+ IF(MSVC)
+ SET(CMAKE_C_FLAGS_DEBUG "/MDd /Ob0 /Od /D_DEBUG /Zi /RTC1" )
+ SET(CMAKE_C_FLAGS_MINSIZEREL "/MD /O1 /Ob1 /D NDEBUG")
+ SET(CMAKE_C_FLAGS_RELEASE "/MD /O2 /Ob2 /D NDEBUG")
+ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "/MD /O2 /Ob1 /D NDEBUG /Zi")
+ SET(CMAKE_CXX_FLAGS_DEBUG "/MDd /Ob0 /Od /D_DEBUG /Zi /RTC1")
+ SET(CMAKE_CXX_FLAGS_MINSIZEREL "/MD /O1 /Ob1 /D NDEBUG")
+ SET(CMAKE_CXX_FLAGS_RELEASE "/MD /O2 /Ob2 /D NDEBUG")
+ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MD /O2 /Ob1 /D NDEBUG" /Zi )
+ ENDIF(MSVC)
+# SET_TARGET_PROPERTIES(${PACKAGE_NAME} PROPERTIES COMPILE_FLAGS /Zp44)
+# SET_TARGET_PROPERTIES(${PACKAGE_NAME} PROPERTIES LINK_FLAGS /MANIFEST:NO)
+ENDIF(WIN32)
+
+TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
+ ${wxWidgets_LIBRARIES}
+ NMEA0183
+ ${EXTRA_LIBS}
+)
+
+IF(WIN32)
+TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
+ setupapi.lib
+ gdiplus.lib
+ glu32.lib
+)
+ENDIF(WIN32)
+
+IF(UNIX)
+TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
+ ${OPENGL_LIBRARIES}
+ ${GETTEXT_LIBRARY}
+)
+ENDIF(UNIX)
+
+# 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.
+IF(UNIX)
+TARGET_LINK_LIBRARIES(${PACKAGE_NAME}
+ dl
+ gobject-2.0
+)
+ENDIF(UNIX)
+
+
+
+IF(NOT APPLE)
+
+IF(WIN32)
+INSTALL(TARGETS ${PACKAGE_NAME} RUNTIME DESTINATION ".")
+ELSE(WIN32)
+INSTALL(TARGETS ${PACKAGE_NAME} RUNTIME DESTINATION ${PREFIX_BIN})
+ENDIF(WIN32)
+
+#ADD_CUSTOM_TARGET(dummy ALL DEPENDS ${PACKAGE_NAME} i18n)
+
+#INSTALL(FILES ${PACKAGE_HEADERS} DESTINATION ${PREFIX_INCLUDE})
+
+IF(WIN32)
+SET(PREFIX_PKGDATA ".")
+ENDIF(WIN32)
+
+SET(wvsData
+ data/wvsdata/readmewvs.txt
+ data/wvsdata/wvs1.dat
+ data/wvsdata/wvs43.dat
+ )
+INSTALL(FILES ${wvsData} DESTINATION ${PREFIX_PKGDATA}/wvsdata )
+
+IF (USE_S57)
+ SET(s57data
+ data/s57data/attdecode.csv
+ data/s57data/S52RAZDS.RLE
+ data/s57data/s57attributes.csv
+ data/s57data/s57expectedinput.csv
+ data/s57data/s57objectclasses.csv
+ )
+ INSTALL(FILES ${s57data} DESTINATION ${PREFIX_PKGDATA}/s57data )
+ENDIF (USE_S57)
+
+SET(tcData
+ data/tcdata/HARMONIC
+ data/tcdata/HARMONIC.IDX
+ )
+INSTALL(FILES ${tcData} DESTINATION ${PREFIX_PKGDATA}/tcdata )
+
+INSTALL(FILES data/license.txt DESTINATION ${PREFIX_PKGDATA} )
+
+INSTALL(DIRECTORY data/sounds/ DESTINATION ${PREFIX_PKGDATA}/sounds )
+
+INSTALL(DIRECTORY data/doc/ DESTINATION ${PREFIX_PKGDATA}/doc )
+
+IF(UNIX)
+ INSTALL(FILES data/opencpn.png DESTINATION ${PREFIX_DATA}/icons/hicolor/48x48/apps )
+ INSTALL(FILES src/bitmaps/other_svg_src/opencpn.svg DESTINATION ${PREFIX_DATA}/icons/hicolor/scalable/apps )
+ INSTALL(FILES data/opencpn.desktop DESTINATION ${PREFIX_DATA}/applications )
+ENDIF(UNIX)
+
+# Fix up time_t definition
+# Checks for 32-bit version. And always use 32-bit time_t for compatibility
+
+
+#uninstall-local:
+# rm -fr $(DESTDIR)$(pkgdatadir)/wvsdata/*
+# rm -fr $(DESTDIR) $(pkgdatadir)/s57data/*
+# rm -fr $(DESTDIR)$(pkgdatadir)/tcdata/*
+# rmdir $(DESTDIR)$(pkgdatadir)/wvsdata
+# rmdir $(DESTDIR)$(pkgdatadir)/s57data
+# rmdir $(DESTDIR)$(pkgdatadir)/tcdata
+# rmdir $(DESTDIR)$(pkgdatadir)
+#
+
+FIND_PROGRAM(GETTEXT_XGETTEXT_EXECUTABLE xgettext)
+IF (GETTEXT_XGETTEXT_EXECUTABLE)
+
+ADD_CUSTOM_COMMAND(
+ OUTPUT ${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot.dummy
+ COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} --force-po --package-name=${PACKAGE_NAME} --package-version="${PACKAGE_VERSION}" --output=${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot --keyword=_ --width=80 --files-from=${CMAKE_SOURCE_DIR}/po/POTFILES.in
+ DEPENDS ${CMAKE_SOURCE_DIR}/po/POTFILES.in ${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ COMMENT "pot-update [${PACKAGE_NAME}]: Generated pot file."
+)
+ADD_CUSTOM_TARGET(pot-update COMMENT "pot-update: Done." DEPENDS ${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot.dummy)
+
+ENDIF(GETTEXT_XGETTEXT_EXECUTABLE )
+
+MACRO(GETTEXT_UPDATE_PO _potFile)
+ SET(_poFiles ${_potFile})
+ GET_FILENAME_COMPONENT(_absPotFile ${_potFile} ABSOLUTE)
+
+ FOREACH (_currentPoFile ${ARGN})
+ GET_FILENAME_COMPONENT(_absFile ${_currentPoFile} ABSOLUTE)
+ GET_FILENAME_COMPONENT(_poBasename ${_absFile} NAME_WE)
+
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${_absFile}.dummy
+ COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --width=80 --strict --quiet --update --backup=none --no-location -s ${_absFile} ${_absPotFile}
+ DEPENDS ${_absPotFile} ${_absFile}
+ COMMENT "po-update [${_poBasename}]: Updated po file."
+ )
+
+ SET(_poFiles ${_poFiles} ${_absFile}.dummy)
+
+ ENDFOREACH (_currentPoFile )
+
+ ADD_CUSTOM_TARGET(po-update COMMENT "po-update: Done." DEPENDS ${_poFiles})
+ENDMACRO(GETTEXT_UPDATE_PO)
+
+IF (GETTEXT_MSGMERGE_EXECUTABLE)
+FILE(GLOB PACKAGE_PO_FILES ${CMAKE_SOURCE_DIR}/po/*.po)
+GETTEXT_UPDATE_PO(${CMAKE_SOURCE_DIR}/po/${PACKAGE_NAME}.pot ${PACKAGE_PO_FILES})
+ENDIF(GETTEXT_MSGMERGE_EXECUTABLE)
+
+SET(_gmoFiles)
+MACRO(GETTEXT_BUILD_MO _poFile _lang)
+
+ GET_FILENAME_COMPONENT(_absFile ${_poFile} ABSOLUTE)
+ GET_FILENAME_COMPONENT(_poBasename ${_absFile} NAME_WE)
+ SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_poBasename}.mo)
+
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${_gmoFile}
+ COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_absFile}
+ DEPENDS ${_absFile}
+ COMMENT "i18n [${_poBasename}]: Created mo file."
+ )
+
+ INSTALL(FILES ${_gmoFile} DESTINATION ${PREFIX_DATA}/locale/${_lang}/LC_MESSAGES RENAME ${PACKAGE_NAME}.mo )
+ SET(_gmoFiles ${_gmoFiles} ${_gmoFile})
+ENDMACRO(GETTEXT_BUILD_MO)
+
+if(GETTEXT_MSGFMT_EXECUTABLE)
+GETTEXT_BUILD_MO(po/opencpn_cs_CZ.po cs)
+GETTEXT_BUILD_MO(po/opencpn_da_DK.po da)
+GETTEXT_BUILD_MO(po/opencpn_de_DE.po de)
+GETTEXT_BUILD_MO(po/opencpn_es_ES.po es)
+GETTEXT_BUILD_MO(po/opencpn_fr_FR.po fr)
+GETTEXT_BUILD_MO(po/opencpn_it_IT.po it)
+GETTEXT_BUILD_MO(po/opencpn_nl_NL.po nl)
+GETTEXT_BUILD_MO(po/opencpn_pl_PL.po pl)
+GETTEXT_BUILD_MO(po/opencpn_ru_RU.po ru)
+GETTEXT_BUILD_MO(po/opencpn_sv_SE.po sv)
+GETTEXT_BUILD_MO(po/opencpn_et_ET.po et)
+GETTEXT_BUILD_MO(po/opencpn_pt_PT.po pt_PT)
+GETTEXT_BUILD_MO(po/opencpn_pt_BR.po pt_BR)
+ADD_CUSTOM_TARGET(i18n COMMENT "i18n: Done." DEPENDS ${_gmoFiles})
+#ADD_DEPENDENCIES(i18n ${PACKAGE_PO_FILES})
+ADD_DEPENDENCIES(${PACKAGE_NAME} i18n)
+ENDIF(GETTEXT_MSGFMT_EXECUTABLE)
+
+ENDIF(NOT APPLE)
+
+
+# On Windows builds, copy the wxWidgets dlls and to the executable directory
+IF(WIN32 AND NOT UNIX)
+INSTALL(DIRECTORY wxWidgets/ DESTINATION "." )
+INSTALL(DIRECTORY buildwin/vc9/ DESTINATION ".\\\\vc9" )
+#INSTALL(DIRECTORY buildwin/NSIS_Unicode/Bitmaps/ DESTINATION ".\\\\NSISBmps" ) #Gunther
+ENDIF(WIN32 AND NOT UNIX)
+
+
+# build a CPack driven installer package
+#include (InstallRequiredSystemLibraries)
+SET(CPACK_PACKAGE_NAME "OpenCPN")
+SET(CPACK_PACKAGE_VENDOR "opencpn.org")
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "OpenCPN ${PACKAGE_VERSION}")
+SET(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION})
+SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
+SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
+SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
+SET(CPACK_INSTALL_CMAKE_PROJECTS "${CMAKE_CURRENT_BINARY_DIR};${PACKAGE_NAME};ALL;/")
+SET(CPACK_PACKAGE_EXECUTABLES ${PACKAGE_NAME} "OpenCPN")
+
+
+
+IF(WIN32 AND NOT UNIX)
+ # There is a bug in NSI that does not handle full unix paths properly. Make
+ # sure there is at least one set of four (4) backlasshes.
+
+ SET(CPACK_PACKAGE_INSTALL_DIRECTORY "OpenCPN")
+ SET(CPACK_NSIS_INSTALLED_ICON_NAME "opencpn.exe")
+ SET(CPACK_NSIS_PACKAGE_NAME_LC "opencpn")
+
+# This line sets the name of the Windows Desktop shortcut
+ SET(CPACK_NSIS_LINK_NAME "${CPACK_PACKAGE_NAME} ${PACKAGE_VERSION}")
+
+# These lines set the name of the Windows Start Menu shortcut and the icon that goes with it
+ SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_NAME} Version ${PACKAGE_VERSION}")
+ SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/src/bitmaps\\\\opencpn.ico")
+
+ SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.opencpn.org")
+ SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.opencpn.org")
+ SET(CPACK_NSIS_CONTACT "http:\\\\\\\\www.opencpn.org")
+
+ SET(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}_${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}_setup" )
+
+ SET(CPACK_NSIS_DIR "${CMAKE_SOURCE_DIR}/buildwin/NSIS_Unicode") #Gunther
+ SET(CPACK_BUILDWIN_DIR "${CMAKE_SOURCE_DIR}/buildwin") #Gunther
+
+# Install the VC90 Redistributable
+ SET(vc9_redist "vcredist_x86.exe")
+# IF( vc9_redist )
+#Gunther Start
+ STRING( REPLACE "/" "\\\\" Temp_vc9_redist ${vc9_redist} )
+ GET_FILENAME_COMPONENT( VC9_FILE_NAME ${vc9_redist} NAME )
+ SET( CPACK_NSIS_EXTRA_INSTALL_COMMANDS ${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}
+ " ;Execute silent and wait\\n ExecWait '\\\"$INSTDIR\\\\vc9\\\\${VC9_FILE_NAME} /q:a /c:msiexec /i vcredist.msi /qn /l*v %temp%\\\\vcredist_x86.log\\\"' $0\\n"
+# " Wait a bit for system to unlock file.\\n Sleep 1000\\n"
+# " Delete file\\n Delete \\\"$INSTDIR\\\\vc9\\\\${VC9_FILE_NAME}\\\"\\n"
+# " Reset output Path\\n SetOutPath \\\"$INSTDIR\\\"\\n"
+ " Remove folder\\n RMDir /r \\\"$INSTDIR\\\\vc9\\\"\\n\\n" )
+#Gunther End
+# ENDIF( vc9_redist )
+
+# delete the NSISBmps directory
+# SET( CPACK_NSIS_EXTRA_INSTALL_COMMANDS ${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}
+# " ;Remove folder\\n RMDir /r \\\"$INSTDIR\\\\NSISBmps\\\"\\n\\n" )
+
+ELSE(WIN32 AND NOT UNIX)
+ SET(CPACK_PACKAGE_INSTALL_DIRECTORY ${PACKAGE_NAME})
+ SET(CPACK_STRIP_FILES "bin/opencpn.exe")
+ SET(CPACK_SOURCE_STRIP_FILES "")
+ SET(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}_${PACKAGE_VERSION}-1_i386" )
+
+ENDIF(WIN32 AND NOT UNIX)
+
+#SET(CPACK_PACKAGE_EXECUTABLES ${PACKAGE_NAME})
+#SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${PACKAGE_NAME} ${PACKAGE_VERSION}")
+SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/data/license.txt")
+#SET(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/data/README")
+#SET(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_CURRENT_SOURCE_DIR}/data/Welcome.txt")
+IF (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/README")
+# MESSAGE(STATUS "Using generic cpack package description file.")
+ SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
+ SET(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README")
+ENDIF ()
+SET(CPACK_SOURCE_GENERATOR "TGZ")
+
+# The following components are regex's to match anywhere (unless anchored)
+# in absolute path + filename to find files or directories to be excluded
+# from source tarball.
+set(CPACK_SOURCE_IGNORE_FILES
+"\\\\.cvsignore$"
+"^${CMAKE_CURRENT_SOURCE_DIR}.*/CVS/"
+"^${CMAKE_CURRENT_SOURCE_DIR}/build*"
+"^${CPACK_PACKAGE_INSTALL_DIRECTORY}/*"
+)
+
+
+IF(UNIX)
+# INCLUDE(UseRPMTools)
+# IF(RPMTools_FOUND)
+# RPMTools_ADD_RPM_TARGETS(packagename ${CMAKE_SOURCE_DIR}/package.spec)
+# ENDIF(RPMTools_FOUND)
+
+
+ SET(CPACK_GENERATOR "DEB;RPM")
+ SET(CPACK_PACKAGE_CONTACT "Dave Register <bdbcat@yahoo.com>")
+ SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libwxgtk2.8-0 (>= 2.8.7.1), libglu1-mesa (>= 7.0.0), libgl1-mesa-glx (>= 7.0.0), zlib1g, bzip2")
+ SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "i386")
+ SET(CPACK_DEBIAN_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}")
+ SET(CPACK_DEBIAN_PACKAGE_SECTION "Miscellaneous")
+ SET(CPACK_RPM_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}")
+ SET(CPACK_RPM_PACKAGE_ARCHITECTURE "i386")
+ SET(CPACK_RPM_PACKAGE_REQUIRES "wxGTK mesa-libGLU mesa-libGL gettext zlib bzip2")
+ SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An OpenSource Chart Plotter/Navigator")
+ SET(CPACK_PACKAGE_DESCRIPTION "OpenCPN is a concise ChartPlotter/Navigator. The application supports: GPS/GPDS Position Input, BSB Raster Chart Display, S57 Vector ENChart Display, AIS Input Decoding, Waypoint Autopilot Navigation .")
+ SET(CPACK_SET_DESTDIR ON)
+ SET(CPACK_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+ENDIF(UNIX)
+
+IF(WIN32 AND NOT UNIX)
+ configure_file(${CMAKE_SOURCE_DIR}/src/opencpn.rc.in ${CMAKE_SOURCE_DIR}/src/opencpn.rc)
+ configure_file("${CMAKE_SOURCE_DIR}/buildwin/NSIS_Unicode/Language files/Langstrings_GERMAN.nsh.in" "${CMAKE_SOURCE_DIR}//buildwin/NSIS_Unicode/Include/Langstrings_GERMAN.nsh" @ONLY) #Gunther
+ENDIF(WIN32 AND NOT UNIX)
+
+configure_file(version.h.in ${CMAKE_SOURCE_DIR}/include/version.h) #Gunther
+
+INCLUDE(CPack)
+
+MESSAGE(STATUS "Writing spec file...")
+
+
View
4,890 NSIS.template.in
4,044 additions, 846 deletions not shown
View
3  VERSION.cmake
@@ -1,3 +1,4 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "2")
-SET(VERSION_PATCH "1007")
+SET(VERSION_PATCH "1012")
+SET(VERSION_DATE "2010-10-12")
View
1  buildwin/NSIS_Unicode/CopyNSISUnicodeRegKey.bat
@@ -0,0 +1 @@
+REG COPY HKLM\SOFTWARE\NSIS\Unicode HKLM\SOFTWARE\NSIS /f
View
200 buildwin/NSIS_Unicode/Include/EnumHKU.nsh
@@ -0,0 +1,200 @@
+!ifndef ___EnumHKU___
+!define ___EnumHKU___
+
+!include LogicLib.nsh
+!include WordFunc.nsh
+
+!define TOKEN_QUERY 0x0008
+!define TOKEN_ADJUST_PRIVILEGES 0x0020
+
+!define SE_RESTORE_NAME SeRestorePrivilege
+
+!define SE_PRIVILEGE_ENABLED 0x00000002
+
+!define HKEY_USERS 0x80000003
+
+Var key
+Var logged
+Var EnumHKU_counter
+Var SID
+Var USERPROFILE
+
+!macro _EnumHKU_AdjustTokens
+
+StrCpy $R1 0
+
+System::Call "kernel32::GetCurrentProcess() i .R0"
+System::Call "advapi32::OpenProcessToken(i R0, i ${TOKEN_QUERY}|${TOKEN_ADJUST_PRIVILEGES}, *i R1R1) i .R0"
+
+${If} $R0 != 0
+ System::Call "advapi32::LookupPrivilegeValue(t n, t '${SE_RESTORE_NAME}', *l .R2) i .R0"
+
+ ${If} $R0 != 0
+ System::Call "*(i 1, l R2, i ${SE_PRIVILEGE_ENABLED}) i .R0"
+ System::Call "advapi32::AdjustTokenPrivileges(i R1, i 0, i R0, i 0, i 0, i 0)"
+ System::Free $R0
+ ${EndIf}
+
+ System::Call "kernel32::CloseHandle(i R1)"
+${EndIf}
+
+!macroend
+
+!macro _EnumHKU_InvokeCallback CALLBACK SUBKEY
+
+Push $0
+Push $1
+Push $R0
+Push $R1
+Push $R2
+Push $R3
+Push $R4
+Push $R5
+Push $R6
+
+Push "${SUBKEY}"
+Call "${CALLBACK}"
+
+Pop $R6
+Pop $R5
+Pop $R4
+Pop $R3
+Pop $R2
+Pop $R1
+Pop $R0
+Pop $1
+Pop $0
+
+!macroend
+
+!macro _EnumHKU_Load FILE CALLBACK SUBKEY
+
+GetFullPathName /SHORT $R2 ${FILE}
+System::Call "advapi32::RegLoadKeyW(i ${HKEY_USERS}, t '${SUBKEY}', t R2) i .R3"
+MessageBox MB_OK "_EnumHKU_Load: $R2" ;#DEBUG
+${If} $R3 == 0
+ !insertmacro _EnumHKU_InvokeCallback ${CALLBACK} "${SUBKEY}"
+ ;System::Call "advapi32::RegUnLoadKeyW(i ${HKEY_USERS}, t '${SUBKEY}')"
+ IntOp $EnumHKU_counter $EnumHKU_counter + 1
+${EndIf}
+
+!macroend
+
+!macro EnumHKU UN CALLBACK SUBKEY
+
+Push $0
+Push $1
+StrCpy $EnumHKU_counter 0
+GetFunctionAddress $0 "${CALLBACK}"
+StrCpy $1 "${SUBKEY}_$EnumHKU_counter"
+StrCpy $key ${SUBKEY}
+Call ${UN}_EnumHKU
+
+Pop $1
+Pop $0
+
+!macroend
+
+!define EnumHKU '!insertmacro EnumHKU ""'
+!define un.EnumHKU '!insertmacro EnumHKU "un."'
+
+!macro _EnumHKU UN
+Function ${UN}_EnumHKU
+
+Push $R0
+Push $R1
+Push $R2
+Push $R3
+Push $R4
+Push $R5
+Push $R6
+
+# enumerate logged on users
+StrCpy $R0 0
+${Do}
+ EnumRegKey $R1 HKU "" $R0
+ ${If} $R1 != ""
+ ;DetailPrint "on - $R1" ;#DEBUG
+ StrLen $R4 $R1
+ ${If} $R4 > 8
+ StrCpy $R6 0
+ ${WordFind} "$R1" "_Classes" "E*" $R6
+ IfErrors 0 cont
+
+ ReadRegStr $R5 HKU "$R1\Volatile Environment" USERPROFILE
+ #ExpandEnvStrings $R5 $R5
+ StrCpy $USERPROFILE $R5
+ StrCpy $logged "on"
+ !insertmacro _EnumHKU_InvokeCallback $0 $R1
+ StrCpy $USERPROFILE ""
+ StrCpy $logged ""
+ ${EndIf}
+ cont:
+ IntOp $R0 $R0 + 1
+ ${EndIf}
+${LoopUntil} $R1 == ""
+
+
+# enumerate logged off users
+System::Call "kernel32::GetVersion() i .R0"
+IntOp $R0 $R0 & 0x80000000
+
+${If} $R0 == 0
+ # nt
+ !insertmacro _EnumHKU_AdjustTokens
+
+ StrCpy $R0 0
+ ${Do}
+ EnumRegKey $R1 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $R0
+ ${If} $R1 != ""
+ StrLen $R4 $R1
+ ${If} $R4 > 8
+ ClearErrors
+ ReadRegStr $R5 HKU "$R1\Volatile Environment" HOMEPATH
+ IfErrors 0 cont1
+ ReadRegStr $R5 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$R1" ProfileImagePath
+ ExpandEnvStrings $R5 $R5
+ StrCpy $USERPROFILE $R5
+ StrCpy $logged "off"
+ !insertmacro _EnumHKU_Load "$R5\NTUSER.DAT" $0 $1
+ StrCpy $1 "$key_$EnumHKU_counter"
+ StrCpy $USERPROFILE ""
+ StrCpy $logged ""
+ ${EndIf}
+
+ cont1:
+ IntOp $R0 $R0 + 1
+ ${EndIf}
+ ${LoopUntil} $R1 == ""
+${Else}
+ # 9x
+ ClearErrors
+ FindFirst $R1 $R2 "$WINDIR\Profiles\*.*"
+ ${Unless} ${Errors}
+ ${Do}
+ ${If} $R2 != "."
+ ${AndIf} $R2 != ".."
+ ${If} ${FileExists} "$WINDIR\Profiles\$R2\USER.DAT"
+ !insertmacro _EnumHKU_Load "$WINDIR\Profiles\$R2\USER.DAT" $0 $1
+ ${EndIf}
+ ${EndIf}
+ ClearErrors
+ FindNext $R1 $R2
+ ${LoopUntil} ${Errors}
+ FindClose $R1
+ ${EndUnless}
+${Endif}
+
+Pop $R6
+Pop $R5
+Pop $R4
+Pop $R3
+Pop $R2
+Pop $R1
+Pop $R0
+FunctionEnd
+!macroend
+
+!insertmacro _EnumHKU ""
+!insertmacro _EnumHKU "un."
+!endif
View
285 buildwin/NSIS_Unicode/Include/Langstrings_GERMAN.nsh
@@ -0,0 +1,285 @@
+#LangString Installer_Running ${LANG_ENGLISH} "The installer is already running."
+LangString Installer_Running ${LANG_GERMAN} "Das Installationsprogramm wird bereits ausgeführt."
+
+#LangString Uninstaller_Running ${LANG_ENGLISH} "The uninstaller is already running."
+LangString Uninstaller_Running ${LANG_GERMAN} "Das Deinstallationsprogramm wird bereits ausgeführt."
+
+#LangString LangDialog_Title ${LANG_ENGLISH} "OpenCPN 2.2.1012 Installation"
+LangString LangDialog_Title ${LANG_GERMAN} "OpenCPN 2.2.1012 Installation"
+
+#LangString LangDialog_Text ${LANG_ENGLISH} "Please select a language:"
+LangString LangDialog_Text ${LANG_GERMAN} "Bitte wählen Sie die gewünschte Sprache:"
+
+#LangString text_please_wait_1 ${LANG_ENGLISH} "... please wait!"
+LangString text_please_wait_1 ${LANG_GERMAN} "... please wait!"
+
+#LangString Scanning_HDD ${LANG_ENGLISH} "Scanning HDD ..."
+LangString Scanning_HDD ${LANG_GERMAN} "Scanning HDD ..."
+
+#LangString OCPN_Scanning_HDD ${LANG_ENGLISH} "OpenCPN: Scan HDD ..., please wait!"
+LangString OCPN_Scanning_HDD ${LANG_GERMAN} "OpenCPN: Scan HDD ..., please wait!"
+
+#LangString Search_old_installations ${LANG_ENGLISH} "Searching for old installations"
+LangString Search_old_installations ${LANG_GERMAN} "Searching for old installations"
+
+#LangString Install_Location_Default ${LANG_ENGLISH} "Install Locations by default paths (may not find all)"
+LangString Install_Location_Default ${LANG_GERMAN} "Install Locations by default paths (may not find all)"
+
+#LangString Install_Location_HDD_Scan ${LANG_ENGLISH} "Install Location by full HDD scan (most reliable)"
+LangString Install_Location_HDD_Scan ${LANG_GERMAN} "Install Location by full HDD scan (most reliable)"
+
+#LangString Label_CleanUp_Text ${LANG_ENGLISH} "Click on a list-item to select/ unselect it or Select ALL (recommended) and then Uninstall selected."
+LangString Label_CleanUp_Text ${LANG_GERMAN} "Click on a list-item to select/ unselect it or Select ALL (recommended) and then Uninstall selected."
+
+#LangString BT_Uninstall_Selected_CleanUp ${LANG_ENGLISH} "Uninstall Selected"
+LangString BT_Uninstall_Selected_CleanUp ${LANG_GERMAN} "Uninstall Selected"
+
+#LangString BT_SelectAll_CleanUp ${LANG_ENGLISH} "Select ALL"
+LangString BT_SelectAll_CleanUp ${LANG_GERMAN} "Select ALL"
+
+#LangString BT_UnselectAll_CleanUp ${LANG_ENGLISH} "Unselect ALL"
+LangString BT_UnselectAll_CleanUp ${LANG_GERMAN} "Unselect ALL"
+
+#LangString LB_CleanUp ${LANG_ENGLISH} "Listbox Text"
+LangString LB_CleanUp ${LANG_GERMAN} "Listbox Text"
+
+#LangString BT_FullScan_CleanUp ${LANG_ENGLISH} "Scan HDD ..."
+LangString BT_FullScan_CleanUp ${LANG_GERMAN} "Scan HDD ..."
+
+#LangString LAB_FullScan_CleanUp ${LANG_ENGLISH} "Scan the HDD for the most reliable detection.$\r$\nATTENTION: may last several minutes!"
+LangString LAB_FullScan_CleanUp ${LANG_GERMAN} "Scan the HDD for the most reliable detection.$\r$\nATTENTION: may last several minutes!"
+
+#LangString Page_CleanUp_Title ${LANG_ENGLISH} "Uninstall older Version"
+LangString Page_CleanUp_Title ${LANG_GERMAN} "Uninstall older Version"
+
+#LangString Page_CleanUp_Subtitle ${LANG_ENGLISH} "Incompatible version detected"
+LangString Page_CleanUp_Subtitle ${LANG_GERMAN} "Incompatible version detected"
+
+#LangString CP_HEADER_TEXT ${LANG_ENGLISH} "Installation Settings"
+LangString CP_HEADER_TEXT ${LANG_GERMAN} "Installations-Einstellungen"
+
+#LangString CP_HEADER_SUBTEXT ${LANG_ENGLISH} "Choose the settings for the installation"
+LangString CP_HEADER_SUBTEXT ${LANG_GERMAN} "Wählen Sie die Einstellungen für die Installation aus"
+
+#LangString CP_TOP ${LANG_ENGLISH} "Check or uncheck the options for the installation.$\r$\nClick 'Next' to continue."
+LangString CP_TOP ${LANG_GERMAN} "Aktivieren oder deaktivieren Sie die jeweilige Option für die Installation.$\r$\nKlicken Sie auf 'Weiter', um fortzufahren."
+
+#LangString CP_INSTTYPE ${LANG_ENGLISH} "Installation type:"
+LangString CP_INSTTYPE ${LANG_GERMAN} "Installations-Typ:"
+
+#LangString CP_COMPLIST ${LANG_ENGLISH} "Adjust the settings individually:"
+LangString CP_COMPLIST ${LANG_GERMAN} "Passen Sie die Einstellungen individuell an:"
+
+#LangString Page_SetConfig_Title ${LANG_ENGLISH} "Default configuration settings"
+LangString Page_SetConfig_Title ${LANG_GERMAN} "Default configuration settings"
+
+#LangString Page_SetConfig_Subtitle ${LANG_ENGLISH} "Preconfigure settings for OpenCPN"
+LangString Page_SetConfig_Subtitle ${LANG_GERMAN} "Preconfigure settings for OpenCPN"
+
+#LangString Select_Chart_Directory ${LANG_ENGLISH} "Please select a chart directory to add to OpenCPN"
+LangString Select_Chart_Directory ${LANG_GERMAN} "Please select a chart directory to add to OpenCPN"
+
+#LangString BT_Browse_SetConfig_Text ${LANG_ENGLISH} "Browse..."
+LangString BT_Browse_SetConfig_Text ${LANG_GERMAN} "Browse..."
+
+#LangString BT_DeleteAll_SetConfig_Text ${LANG_ENGLISH} "Delete ALL"
+LangString BT_DeleteAll_SetConfig_Text ${LANG_GERMAN} "Delete ALL"
+
+#LangString BT_Delete_SetConfig_Text ${LANG_ENGLISH} "Delete"
+LangString BT_Delete_SetConfig_Text ${LANG_GERMAN} "Delete"
+
+#LangString GB_ChartDir_SetConfig_Text ${LANG_ENGLISH} "Add Chart Directory"
+LangString GB_ChartDir_SetConfig_Text ${LANG_GERMAN} "Add Chart Directory"
+
+#LangString CB_Language_SetConfig_Text ${LANG_ENGLISH} "Set OpenCPN program language to $LANG_NAME"
+LangString CB_Language_SetConfig_Text ${LANG_GERMAN} "Set OpenCPN program language to $LANG_NAME"
+
+#LangString GB_Language_SetConfig_Text ${LANG_ENGLISH} "Set OpenCPN program language"
+LangString GB_Language_SetConfig_Text ${LANG_GERMAN} "Set OpenCPN program language"
+
+#LangString Label_SetConfig_Text ${LANG_ENGLISH} "Configure preconfig settings for the OpenCPN program.$\r$\nThese settings are saved in the file opencpn.ini"
+LangString Label_SetConfig_Text ${LANG_GERMAN} "Configure preconfig settings for the OpenCPN program.$\r$\nThese settings are saved in the file opencpn.ini"
+
+#LangString Page_Confirm_Title ${LANG_ENGLISH} "Ready to Install"
+LangString Page_Confirm_Title ${LANG_GERMAN} "Ready to Install"
+
+#LangString Page_Confirm_Subtitle ${LANG_ENGLISH} "Check the installation options"
+LangString Page_Confirm_Subtitle ${LANG_GERMAN} "Check the installation options"
+
+#LangString Installation_Type ${LANG_ENGLISH} "Setup type"
+LangString Installation_Type ${LANG_GERMAN} "Setup type"
+
+#LangString Installation_Directory ${LANG_ENGLISH} "Destination location"
+LangString Installation_Directory ${LANG_GERMAN} "Destination location"
+
+#LangString Create_Shortcuts ${LANG_ENGLISH} "Create shortcuts"
+LangString Create_Shortcuts ${LANG_GERMAN} "Create shortcuts"
+
+#LangString Type_Reinstall ${LANG_ENGLISH} "Reinstallation"
+LangString Type_Reinstall ${LANG_GERMAN} "Reinstallation"
+
+#LangString Type_Upgrade ${LANG_ENGLISH} "Upgrade"
+LangString Type_Upgrade ${LANG_GERMAN} "Upgrade"
+
+#LangString Type_Downgrade ${LANG_ENGLISH} "Downgrade"
+LangString Type_Downgrade ${LANG_GERMAN} "Downgrade"
+
+#LangString Type_Parallel_Installation ${LANG_ENGLISH} "Parallel installation"
+LangString Type_Parallel_Installation ${LANG_GERMAN} "Parallel installation"
+
+#LangString Type_Fresh_Installation ${LANG_ENGLISH} "New installation"
+LangString Type_Fresh_Installation ${LANG_GERMAN} "New installation"
+
+#LangString Shortcuts ${LANG_ENGLISH} "Shortcuts"
+LangString Shortcuts ${LANG_GERMAN} "Shortcuts"
+
+#LangString Create_Shortcut_Start_Menu ${LANG_ENGLISH} "in the Start Menu folder"
+LangString Create_Shortcut_Start_Menu ${LANG_GERMAN} "in the Start Menu folder"
+
+#LangString Create_Shortcut_Desktop ${LANG_ENGLISH} "on the Desktop"
+LangString Create_Shortcut_Desktop ${LANG_GERMAN} "on the Desktop"
+
+#LangString not_selected ${LANG_ENGLISH} "not selected"
+LangString not_selected ${LANG_GERMAN} "not selected"
+
+#LangString text_none ${LANG_ENGLISH} "none"
+LangString text_none ${LANG_GERMAN} "none"
+
+#LangString SecGrpResetConfig_Text ${LANG_ENGLISH} "Reset ALL OpenCPN configuration files"
+LangString SecGrpResetConfig_Text ${LANG_GERMAN} "ALLE OpenCPN Konfigurationsdateien löschen"
+
+#LangString SecDeleteConfigFile_Text ${LANG_ENGLISH} "Delete config file (opencpn.ini)"
+LangString SecDeleteConfigFile_Text ${LANG_GERMAN} "Konfigurationsdatei (opencpn.ini) löschen"
+
+#LangString SecDeleteChartDB_Text ${LANG_ENGLISH} "Delete Chart Database file (CHRTLIST.DAT)"
+LangString SecDeleteChartDB_Text ${LANG_GERMAN} "Kartendatenbank (CHRTLIST.DAT) löschen"
+
+#LangString SecDeleteSENC_Text ${LANG_ENGLISH} "Delete SENC directory"
+LangString SecDeleteSENC_Text ${LANG_GERMAN} "SENC Verzeichnis löschen"
+
+#LangString SecDeleteCM93_Text ${LANG_ENGLISH} "Delete CM93 Directory"
+LangString SecDeleteCM93_Text ${LANG_GERMAN} "CM93 Verzeichnis löschen"
+
+#LangString SecDeleteLogFile_Text ${LANG_ENGLISH} "Delete Log file (opencpn.log)"
+LangString SecDeleteLogFile_Text ${LANG_GERMAN} "Log-Datei (opencpn.log) löschen"
+
+#LangString SecDeleteNavobjFile_Text ${LANG_ENGLISH} "Delete Navobject file (navobj.xml)"
+LangString SecDeleteNavobjFile_Text ${LANG_GERMAN} "Navobjekt-Datei (navobj.xml.log) löschen"
+
+#LangString SecSetConfig_Text ${LANG_ENGLISH} "OpenCPN Configuration Settings"
+LangString SecSetConfig_Text ${LANG_GERMAN} "OpenCPN Konfigurations-Einstellungen"
+
+#LangString SecSetConfigLang_Text ${LANG_ENGLISH} "Set language to $LANG_NAME"
+LangString SecSetConfigLang_Text ${LANG_GERMAN} "Sprache auf $LANG_NAME setzen"
+
+#LangString SecSetConfigChartDir_Text ${LANG_ENGLISH} "Select Chart Directories"
+LangString SecSetConfigChartDir_Text ${LANG_GERMAN} "Kartenverzeichnisse auswählen"
+
+#LangString SecGrpResetConfig_Desc ${LANG_ENGLISH} "Deletes ALL files and subdirectories in the configuration folder."
+LangString SecGrpResetConfig_Desc ${LANG_GERMAN} "Löscht ALLE vorhandenen Dateien und Unterverzeichnisse im Konfigurations-Ordner."
+
+#LangString SecDeleteConfigFile_Desc ${LANG_ENGLISH} "Deletes the configuration file. This file helds also Routes and Waypoints."
+LangString SecDeleteConfigFile_Desc ${LANG_GERMAN} "Deletes the configuration file. This file helds also Routes and Waypoints."
+
+#LangString SecDeleteChartDB_Desc ${LANG_ENGLISH} "Deletes the Chart DB file."
+LangString SecDeleteChartDB_Desc ${LANG_GERMAN} "Deletes the Chart DB file."
+
+#LangString SecDeleteSENC_Desc ${LANG_ENGLISH} "Deletes the SENC subfolder which helds the Bitmaps and S57 chart cache files."
+LangString SecDeleteSENC_Desc ${LANG_GERMAN} "Deletes the SENC subfolder which helds the Bitmaps and S57 chart cache files."
+
+#LangString SecDeleteCM93_Desc ${LANG_ENGLISH} "Deletes the cm93 subfolder which helds the cached cm93 chart outlines."
+LangString SecDeleteCM93_Desc ${LANG_GERMAN} "Deletes the cm93 subfolder which helds the cached cm93 chart outlines."
+
+#LangString SecDeleteNavobjFile_Desc ${LANG_ENGLISH} "Deletes the file 'navobj.xml' in the config folder. This file contains the Tracks."
+LangString SecDeleteNavobjFile_Desc ${LANG_GERMAN} "Deletes the file 'navobj.xml' in the config folder. This file contains the Tracks."
+
+#LangString SecDeleteLogFile_Desc ${LANG_ENGLISH} "Deletes the OpenCPN log file 'opencpn.log'."
+LangString SecDeleteLogFile_Desc ${LANG_GERMAN} "Deletes the OpenCPN log file 'opencpn.log'."
+
+#LangString SecGrpShortcuts_Desc ${LANG_ENGLISH} "Creates shortcuts in both, the Start Menu and on the Desktop."
+LangString SecGrpShortcuts_Desc ${LANG_GERMAN} "Creates shortcuts in both, the Start Menu and on the Desktop."
+
+#LangString SecShortcutStartmenu_Desc ${LANG_ENGLISH} "Creates shortcuts for OpenCPN and the Uninstaller in the Start Menu - configurable on the next page."
+LangString SecShortcutStartmenu_Desc ${LANG_GERMAN} "Creates shortcuts for OpenCPN and the Uninstaller in the Start Menu - configurable on the next page."
+
+#LangString SecShortcutDesktop_Desc ${LANG_ENGLISH} "Creates a shortcut for OpenCPN on the Desktop."
+LangString SecShortcutDesktop_Desc ${LANG_GERMAN} "Creates a shortcut for OpenCPN on the Desktop."
+
+#LangString SecSetConfig_Desc ${LANG_ENGLISH} "Preconfigure the language setting and the chart dir(s) for OpenCPN. When selected a separate page is shown for configuration."
+LangString SecSetConfig_Desc ${LANG_GERMAN} "Preconfigure the language setting and the chart dir(s) for OpenCPN. When selected a separate page is shown for configuration."
+
+#LangString UnSecDeleteConfigFolder_Desc ${LANG_ENGLISH} "Deletes the config folder and all its files and subdirectories"
+LangString UnSecDeleteConfigFolder_Desc ${LANG_GERMAN} "Deletes the config folder and all its files and subdirectories"
+
+#LangString Uninstall_Link ${LANG_ENGLISH} "Uninstall OpenCPN 2.2.1012"
+LangString Uninstall_Link ${LANG_GERMAN} "OpenCPN 2.2.1012 deinstallieren"
+
+#LangString Page_TypeInst_Title ${LANG_ENGLISH} "Previous Installations"
+LangString Page_TypeInst_Title ${LANG_GERMAN} "Vorhandene Installationen"
+
+#LangString Page_TypeInst_Subtitle ${LANG_ENGLISH} "$MULTIPLE_INSTALLS installations of OpenCPN found.$\r$\nChoose how you want to install OpenCPN."
+LangString Page_TypeInst_Subtitle ${LANG_GERMAN} "$MULTIPLE_INSTALLS Installationen von OpenCPN gefunden.$\r$\nWählen Sie aus, wie Sie OpenCPN installieren möchten."
+
+#LangString Page_TypeInst_Title_1 ${LANG_ENGLISH} "Already Installed"
+LangString Page_TypeInst_Title_1 ${LANG_GERMAN} "Installation bereits vorhanden"
+
+#LangString Page_TypeInst_Subtitle_1 ${LANG_ENGLISH} "Found installed version of OpenCPN.$\r$\nChoose how you want to install OpenCPN."
+LangString Page_TypeInst_Subtitle_1 ${LANG_GERMAN} "Installation von OpenCPN gefunden.$\r$\nWählen Sie aus, wie Sie OpenCPN installieren möchten."
+
+#LangString Page_TypeInst_Title_Exists ${LANG_ENGLISH} "Version Already Installed"
+LangString Page_TypeInst_Title_Exists ${LANG_GERMAN} "Version bereits vorhanden"
+
+#LangString Page_TypeInst_Subtitle_Exists ${LANG_ENGLISH} "OpenCPN 2.2.1012 is already installed.$\r$\nChoose how you want to install OpenCPN."
+LangString Page_TypeInst_Subtitle_Exists ${LANG_GERMAN} "OpenCPN 2.2.1012 ist bereits installiert.$\r$\nWählen Sie aus, wie Sie OpenCPN installieren möchten."
+
+#LangString Label_TypeInst_Reinstall_Text ${LANG_ENGLISH} "OpenCPN 2.2.1012 is already installed on your system. You can reinstall the version now using the previous settings. If you wish to install the program with different settings, cancel installation and un-install the existing version first. Click Next to continue."
+LangString Label_TypeInst_Reinstall_Text ${LANG_GERMAN} "OpenCPN 2.2.1012 ist bereits auf Ihrem System installiert. Sie können die Version jetzt mit den vorangegangenen Einstellungen erneut installieren. Wenn Sie das Programm mit anderen Einstellungen neu installieren möchten, brechen Sie die Installation ab und deinstallieren Sie zuerst die vorhandene Version. Klicken Sie auf Weiter, um fortzufahren."
+
+#LangString RB_Reinstall_TypeInst_Text ${LANG_ENGLISH} "Reinstall using previous settings"
+LangString RB_Reinstall_TypeInst_Text ${LANG_GERMAN} "Reinstallation mit den vorangegangenen Einstellungen"
+
+#LangString Label_TypeInst_Upgrade_Text ${LANG_ENGLISH} "An older version of OpenCPN is installed on your system. Select the installation type you want to perform and click Next to continue."
+LangString Label_TypeInst_Upgrade_Text ${LANG_GERMAN} "Eine ältere Version von OpenCPN ist auf Ihrem System installiert. Wählen Sie die Installationsart aus, die Sie ausführen möchten und klicken Sie auf Weiter, um fortzufahren."
+
+#LangString RB_Upgrade_TypeInst_Text ${LANG_ENGLISH} "Upgrade OpenCPN using previous settings (recommended)"
+LangString RB_Upgrade_TypeInst_Text ${LANG_GERMAN} "Upgrade von OpenCPN mit den vorangegangenen Einstellungen (empfohlen)"
+
+#LangString Label_TypeInst_Downgrade_Text ${LANG_ENGLISH} "A newer version of OpenCPN is installed on your system. It is not recommended to downgrade to an older version. Select the installation type you want to perform and click Next to continue."
+LangString Label_TypeInst_Downgrade_Text ${LANG_GERMAN} "Eine neuere Version von OpenCPN ist auf Ihrem System installiert. Es wird nicht empfohlen, eine ältere Version zu installieren. Wählen Sie die Installationsart aus, die Sie ausführen möchten und klicken Sie auf Weiter, um fortzufahren."
+
+#LangString RB_Downgrade_TypeInst_Text ${LANG_ENGLISH} "Downgrade OpenCPN using previous settings (recommended)"
+LangString RB_Downgrade_TypeInst_Text ${LANG_GERMAN} "Downgrade von OpenCPN mit den vorangegangenen Einstellungen (empfohlen)"
+
+#LangString Label_TypeInst_Parallel_Text ${LANG_ENGLISH} "Setup has detected several installed versions of OpenCPN on your system. It is recommended to have only one version of OpenCPN installed at a time. Select the operation you want to perform and click Next to continue."
+LangString Label_TypeInst_Parallel_Text ${LANG_GERMAN} "Setup hat mehrere installierte Versionen von OpenCPN auf Ihrem System gefunden. Es wird empfohlen jeweils nur eine Version von OpenCPN zu installieren. Wählen Sie die Operation aus, die Sie ausführen möchten und klicken Sie auf Weiter, um fortzufahren."
+
+#LangString RB_Parallel_TypeInst_Text ${LANG_ENGLISH} "Parallel Installation (advanced users)"
+LangString RB_Parallel_TypeInst_Text ${LANG_GERMAN} "Parallel-Installation (erfahrene Benutzer)"
+
+#LangString EmptyString ${LANG_ENGLISH} ""
+LangString EmptyString ${LANG_GERMAN} ""
+
+#LangString Show_Readme_Text ${LANG_ENGLISH} "Show Install Log file"
+LangString Show_Readme_Text ${LANG_GERMAN} "Show Install Log file"
+
+#LangString Finish_Link_Text ${LANG_ENGLISH} "OpenCPN website (Internet connection required)"
+LangString Finish_Link_Text ${LANG_GERMAN} "OpenCPN website (Internet connection required)"
+
+#LangString Finish_Link_URL ${LANG_ENGLISH} "http://opencpn.info/?lang=$REG_LANG&version=2.2.1012"
+LangString Finish_Link_URL ${LANG_GERMAN} "http://opencpn.info/?lang=$REG_LANG&version=2.2.1012"
+
+#LangString Msg_Error_Remove_InstDir ${LANG_ENGLISH} "The installation directory$\r$\n'$INSTDIR'$\r$\ncould not be removed because it is not empty."
+LangString Msg_Error_Remove_InstDir ${LANG_GERMAN} "The installation directory$\r$\n'$INSTDIR'$\r$\ncould not be removed because it is not empty."
+
+#LangString Msg_Path_Invalid ${LANG_ENGLISH} "The entered path is invalid!$\r$\n$\r$\nPlease check your input."
+LangString Msg_Path_Invalid ${LANG_GERMAN} "The entered path is invalid!$\r$\n$\r$\nPlease check your input."
+
+#LangString Msg_Path_Installation_Exists ${LANG_ENGLISH} "There already exists an installation of OpenCPN in the given path.$\r$\nIf you wish to use this path, first uninstall the version. Or select another path for this installation."
+LangString Msg_Path_Installation_Exists ${LANG_GERMAN} "There already exists an installation of OpenCPN in the given path.$\r$\nIf you wish to use this path, first uninstall the version. Or select another path for this installation."
+
+#LangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire Harddisk (ATTENTION: This may take several minutes) to find all install locations (recommended).$\r$\n$\r$\nDo you want to uninstall the old version(s)?"
+LangString Msg_Uninstall_Old_Versions ${LANG_GERMAN} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire Harddisk (ATTENTION: This may take several minutes) to find all install locations (recommended).$\r$\n$\r$\nDo you want to uninstall the old version(s)?"
+
+#LangString Msg_Not_All_Old_Uninstalled ${LANG_ENGLISH} "You have not uninstalled all previous installations.$\r$\n$\r$\nDo you want to continue anyway?"
+LangString Msg_Not_All_Old_Uninstalled ${LANG_GERMAN} "You have not uninstalled all previous installations.$\r$\n$\r$\nDo you want to continue anyway?"
+
View
312 buildwin/NSIS_Unicode/Language files/Langstrings_CZECH.nsh.in
@@ -0,0 +1,312 @@
+#LangString Installer ${LANG_ENGLISH} "installer"
+LangString Installer ${LANG_CZECH} "installer"
+
+#LangString Uninstaller ${LANG_ENGLISH} "uninstaller"
+LangString Uninstaller ${LANG_CZECH} "uninstaller"
+
+#LangString Installer_Unsupported_Windows_Version ${LANG_ENGLISH} "Your Windows version is not supported (it's too old)!$\r$\nYou need at least Windows NT/2000."
+LangString Installer_Unsupported_Windows_Version ${LANG_CZECH} "Your Windows version is not supported (it's too old)!$\r$\nYou need at least Windows NT/2000."
+
+#LangString Installer_Running ${LANG_ENGLISH} "The installer is already running."
+LangString Installer_Running ${LANG_CZECH} "The installer is already running."
+
+#LangString Uninstaller_Running ${LANG_ENGLISH} "The uninstaller is already running."
+LangString Uninstaller_Running ${LANG_CZECH} "The uninstaller is already running."
+
+#LangString LangDialog_Title ${LANG_ENGLISH} "@CPACK_PACKAGE_NAME@ @CPACK_PACKAGE_VERSION@ Installation"
+LangString LangDialog_Title ${LANG_CZECH} "@CPACK_PACKAGE_NAME@ @CPACK_PACKAGE_VERSION@ Installation"
+
+#LangString LangDialog_Text ${LANG_ENGLISH} "Please select a language:"
+LangString LangDialog_Text ${LANG_CZECH} "Please select a language:"
+
+#LangString text_please_wait_1 ${LANG_ENGLISH} "... please wait!"
+LangString text_please_wait_1 ${LANG_CZECH} "... please wait!"
+
+#LangString Scanning_HDD ${LANG_ENGLISH} "Scanning HDD ..."
+LangString Scanning_HDD ${LANG_CZECH} "Scanning HDD ..."
+
+#LangString OCPN_Scanning_HDD ${LANG_ENGLISH} "OpenCPN: Scan HDD ..., please wait!"
+LangString OCPN_Scanning_HDD ${LANG_CZECH} "OpenCPN: Scan HDD ..., please wait!"
+
+#LangString Search_old_installations ${LANG_ENGLISH} "Searching for old installations"
+LangString Search_old_installations ${LANG_CZECH} "Searching for old installations"
+
+#LangString Install_Location_Default ${LANG_ENGLISH} "Install Locations by default paths (may not find all)"
+LangString Install_Location_Default ${LANG_CZECH} "Install Locations by default paths (may not find all)"
+
+#LangString Install_Location_HDD_Scan ${LANG_ENGLISH} "Install Location by full HDD scan (most reliable)"
+LangString Install_Location_HDD_Scan ${LANG_CZECH} "Install Location by full HDD scan (most reliable)"
+
+#LangString Label_CleanUp_Text ${LANG_ENGLISH} "Click on a list-item to select/ unselect it or Select ALL (recommended) and then Uninstall selected."
+LangString Label_CleanUp_Text ${LANG_CZECH} "Click on a list-item to select/ unselect it or Select ALL (recommended) and then Uninstall selected."
+
+#LangString BT_Uninstall_Selected_CleanUp ${LANG_ENGLISH} "Uninstall Selected"
+LangString BT_Uninstall_Selected_CleanUp ${LANG_CZECH} "Uninstall Selected"
+
+#LangString BT_SelectAll_CleanUp ${LANG_ENGLISH} "Select ALL"
+LangString BT_SelectAll_CleanUp ${LANG_CZECH} "Select ALL"
+
+#LangString BT_UnselectAll_CleanUp ${LANG_ENGLISH} "Unselect ALL"
+LangString BT_UnselectAll_CleanUp ${LANG_CZECH} "Unselect ALL"
+
+#LangString LB_CleanUp ${LANG_ENGLISH} "Listbox Text"
+LangString LB_CleanUp ${LANG_CZECH} "Listbox Text"
+
+#LangString BT_FullScan_CleanUp ${LANG_ENGLISH} "Scan HDD ..."
+LangString BT_FullScan_CleanUp ${LANG_CZECH} "Scan HDD ..."
+
+#LangString LAB_FullScan_CleanUp ${LANG_ENGLISH} "Scan the HDD for the most reliable detection.$\r$\nATTENTION: may last several minutes!"
+LangString LAB_FullScan_CleanUp ${LANG_CZECH} "Scan the HDD for the most reliable detection.$\r$\nATTENTION: may last several minutes!"
+
+#LangString Page_CleanUp_Title ${LANG_ENGLISH} "Uninstall older Version"
+LangString Page_CleanUp_Title ${LANG_CZECH} "Uninstall older Version"
+
+#LangString Page_CleanUp_Subtitle ${LANG_ENGLISH} "Incompatible version detected"
+LangString Page_CleanUp_Subtitle ${LANG_CZECH} "Incompatible version detected"
+
+#LangString CP_HEADER_TEXT ${LANG_ENGLISH} "Installation Settings"
+LangString CP_HEADER_TEXT ${LANG_CZECH} "Installation Settings"
+
+#LangString CP_HEADER_SUBTEXT ${LANG_ENGLISH} "Choose the settings for the installation"
+LangString CP_HEADER_SUBTEXT ${LANG_CZECH} "Choose the settings for the installation"
+
+#LangString CP_TOP ${LANG_ENGLISH} "Check or uncheck the options for the installation.$\r$\nClick 'Next' to continue."
+LangString CP_TOP ${LANG_CZECH} "Check or uncheck the options for the installation.$\r$\nClick 'Next' to continue."
+
+#LangString CP_INSTTYPE ${LANG_ENGLISH} "Installation type:"
+LangString CP_INSTTYPE ${LANG_CZECH} "Installation type:"
+
+#LangString CP_COMPLIST ${LANG_ENGLISH} "Adjust the settings individually:"
+LangString CP_COMPLIST ${LANG_CZECH} "Adjust the settings individually:"
+
+#LangString Page_SetConfig_Title ${LANG_ENGLISH} "Default configuration settings"
+LangString Page_SetConfig_Title ${LANG_CZECH} "Default configuration settings"
+
+#LangString Page_SetConfig_Subtitle ${LANG_ENGLISH} "Preconfigure settings for OpenCPN"
+LangString Page_SetConfig_Subtitle ${LANG_CZECH} "Preconfigure settings for OpenCPN"
+
+#LangString Select_Chart_Directory ${LANG_ENGLISH} "Please select a chart directory to add to OpenCPN"
+LangString Select_Chart_Directory ${LANG_CZECH} "Please select a chart directory to add to OpenCPN"
+
+#LangString BT_Browse_SetConfig_Text ${LANG_ENGLISH} "Browse..."
+LangString BT_Browse_SetConfig_Text ${LANG_CZECH} "Browse..."
+
+#LangString BT_DeleteAll_SetConfig_Text ${LANG_ENGLISH} "Delete ALL"
+LangString BT_DeleteAll_SetConfig_Text ${LANG_CZECH} "Delete ALL"
+
+#LangString BT_Delete_SetConfig_Text ${LANG_ENGLISH} "Delete"
+LangString BT_Delete_SetConfig_Text ${LANG_CZECH} "Delete"
+
+#LangString GB_ChartDir_SetConfig_Text ${LANG_ENGLISH} "Add Chart Directory"
+LangString GB_ChartDir_SetConfig_Text ${LANG_CZECH} "Add Chart Directory"
+
+#LangString CB_Language_SetConfig_Text ${LANG_ENGLISH} "Set OpenCPN program language to $LANG_NAME"
+LangString CB_Language_SetConfig_Text ${LANG_CZECH} "Set OpenCPN program language to $LANG_NAME"
+
+#LangString GB_Language_SetConfig_Text ${LANG_ENGLISH} "Set OpenCPN program language"
+LangString GB_Language_SetConfig_Text ${LANG_CZECH} "Set OpenCPN program language"
+
+#LangString Label_SetConfig_Text ${LANG_ENGLISH} "Configure preconfig settings for the OpenCPN program.$\r$\nThese settings are saved in the file opencpn.ini."
+LangString Label_SetConfig_Text ${LANG_CZECH} "Configure preconfig settings for the OpenCPN program.$\r$\nThese settings are saved in the file opencpn.ini."
+
+#LangString Page_Confirm_Title ${LANG_ENGLISH} "Ready to Install"
+LangString Page_Confirm_Title ${LANG_CZECH} "Ready to Install"
+
+#LangString Page_Confirm_Subtitle ${LANG_ENGLISH} "Check the installation options"
+LangString Page_Confirm_Subtitle ${LANG_CZECH} "Check the installation options"
+
+#LangString Installation_Type ${LANG_ENGLISH} "Setup type"
+LangString Installation_Type ${LANG_CZECH} "Setup type"
+
+#LangString Installation_Directory ${LANG_ENGLISH} "Destination location"
+LangString Installation_Directory ${LANG_CZECH} "Destination location"
+
+#LangString Create_Shortcuts ${LANG_ENGLISH} "Create shortcuts"
+LangString Create_Shortcuts ${LANG_CZECH} "Create shortcuts"
+
+#LangString Type_Reinstall ${LANG_ENGLISH} "Reinstallation"
+LangString Type_Reinstall ${LANG_CZECH} "Reinstallation"
+
+#LangString Type_Upgrade ${LANG_ENGLISH} "Upgrade"
+LangString Type_Upgrade ${LANG_CZECH} "Upgrade"
+
+#LangString Type_Downgrade ${LANG_ENGLISH} "Downgrade"
+LangString Type_Downgrade ${LANG_CZECH} "Downgrade"
+
+#LangString Type_Parallel_Installation ${LANG_ENGLISH} "Parallel installation"
+LangString Type_Parallel_Installation ${LANG_CZECH} "Parallel installation"
+
+#LangString Type_Fresh_Installation ${LANG_ENGLISH} "New installation"
+LangString Type_Fresh_Installation ${LANG_CZECH} "New installation"
+
+#LangString Shortcuts ${LANG_ENGLISH} "Shortcuts"
+LangString Shortcuts ${LANG_CZECH} "Shortcuts"
+
+#LangString Create_Shortcut_Start_Menu ${LANG_ENGLISH} "in the Start Menu folder"
+LangString Create_Shortcut_Start_Menu ${LANG_CZECH} "in the Start Menu folder"
+
+#LangString Create_Shortcut_Desktop ${LANG_ENGLISH} "on the Desktop"
+LangString Create_Shortcut_Desktop ${LANG_CZECH} "on the Desktop"
+
+#LangString not_selected ${LANG_ENGLISH} "not selected"
+LangString not_selected ${LANG_CZECH} "not selected"
+
+#LangString text_none ${LANG_ENGLISH} "none"
+LangString text_none ${LANG_CZECH} "none"
+
+#LangString SecGrpResetConfig_Text ${LANG_ENGLISH} "Reset ALL OpenCPN configuration files"
+LangString SecGrpResetConfig_Text ${LANG_CZECH} "Reset ALL OpenCPN configuration files"
+
+#LangString SecDeleteConfigFile_Text ${LANG_ENGLISH} "Delete config file (opencpn.ini)"
+LangString SecDeleteConfigFile_Text ${LANG_CZECH} "Delete config file (opencpn.ini)"
+
+#LangString SecDeleteChartDB_Text ${LANG_ENGLISH} "Delete Chart Database file (CHRTLIST.DAT)"
+LangString SecDeleteChartDB_Text ${LANG_CZECH} "Delete Chart Database file (CHRTLIST.DAT)"
+
+#LangString SecDeleteSENC_Text ${LANG_ENGLISH} "Delete SENC directory"
+LangString SecDeleteSENC_Text ${LANG_CZECH} "Delete SENC directory"
+
+#LangString SecDeleteCM93_Text ${LANG_ENGLISH} "Delete CM93 Directory"
+LangString SecDeleteCM93_Text ${LANG_CZECH} "Delete CM93 Directory"
+
+#LangString SecDeleteLogFile_Text ${LANG_ENGLISH} "Delete Log file (opencpn.log)"
+LangString SecDeleteLogFile_Text ${LANG_CZECH} "Delete Log file (opencpn.log)"
+
+#LangString SecDeleteNavobjFile_Text ${LANG_ENGLISH} "Delete Navobject file (navobj.xml)"
+LangString SecDeleteNavobjFile_Text ${LANG_CZECH} "Delete Navobject file (navobj.xml)"
+
+#LangString SecSetConfig_Text ${LANG_ENGLISH} "OpenCPN Configuration Settings"
+LangString SecSetConfig_Text ${LANG_CZECH} "OpenCPN Configuration Settings"
+
+#LangString SecSetConfigLang_Text ${LANG_ENGLISH} "Set language to $LANG_NAME"
+LangString SecSetConfigLang_Text ${LANG_CZECH} "Set language to $LANG_NAME"
+
+#LangString SecSetConfigChartDir_Text ${LANG_ENGLISH} "Select Chart Directories"
+LangString SecSetConfigChartDir_Text ${LANG_CZECH} "Select Chart Directories"
+
+#LangString SecGrpResetConfig_Desc ${LANG_ENGLISH} "Deletes ALL files and subdirectories in the configuration folder."
+LangString SecGrpResetConfig_Desc ${LANG_CZECH} "Deletes ALL files and subdirectories in the configuration folder."
+
+#LangString SecDeleteConfigFile_Desc ${LANG_ENGLISH} "Deletes the configuration file. This file helds also Routes and Waypoints."
+LangString SecDeleteConfigFile_Desc ${LANG_CZECH} "Deletes the configuration file. This file helds also Routes and Waypoints."
+
+#LangString SecDeleteChartDB_Desc ${LANG_ENGLISH} "Deletes the Chart DB file."
+LangString SecDeleteChartDB_Desc ${LANG_CZECH} "Deletes the Chart DB file."
+
+#LangString SecDeleteSENC_Desc ${LANG_ENGLISH} "Deletes the SENC subfolder which helds the Bitmaps and S57 chart cache files."
+LangString SecDeleteSENC_Desc ${LANG_CZECH} "Deletes the SENC subfolder which helds the Bitmaps and S57 chart cache files."
+
+#LangString SecDeleteCM93_Desc ${LANG_ENGLISH} "Deletes the cm93 subfolder which helds the cached cm93 chart outlines."
+LangString SecDeleteCM93_Desc ${LANG_CZECH} "Deletes the cm93 subfolder which helds the cached cm93 chart outlines."
+
+#LangString SecDeleteNavobjFile_Desc ${LANG_ENGLISH} "Deletes the file 'navobj.xml' in the config folder. This file contains the Tracks."
+LangString SecDeleteNavobjFile_Desc ${LANG_CZECH} "Deletes the file 'navobj.xml' in the config folder. This file contains the Tracks."
+
+#LangString SecDeleteLogFile_Desc ${LANG_ENGLISH} "Deletes the OpenCPN log file 'opencpn.log'."
+LangString SecDeleteLogFile_Desc ${LANG_CZECH} "Deletes the OpenCPN log file 'opencpn.log'."
+
+#LangString SecGrpShortcuts_Desc ${LANG_ENGLISH} "Creates shortcuts in both, the Start Menu and on the Desktop."
+LangString SecGrpShortcuts_Desc ${LANG_CZECH} "Creates shortcuts in both, the Start Menu and on the Desktop."
+
+#LangString SecShortcutStartmenu_Desc ${LANG_ENGLISH} "Creates shortcuts for OpenCPN and the Uninstaller in the Start Menu - configurable on the next page."
+LangString SecShortcutStartmenu_Desc ${LANG_CZECH} "Creates shortcuts for OpenCPN and the Uninstaller in the Start Menu - configurable on the next page."
+
+#LangString SecShortcutDesktop_Desc ${LANG_ENGLISH} "Creates a shortcut for OpenCPN on the Desktop."
+LangString SecShortcutDesktop_Desc ${LANG_CZECH} "Creates a shortcut for OpenCPN on the Desktop."
+
+#LangString SecSetConfig_Desc ${LANG_ENGLISH} "Preconfigure the language setting and the chart dir(s) for OpenCPN. When selected a separate page is shown for configuration."
+LangString SecSetConfig_Desc ${LANG_CZECH} "Preconfigure the language setting and the chart dir(s) for OpenCPN. When selected a separate page is shown for configuration."
+
+#LangString UnSecDeleteConfigFolder_Desc ${LANG_ENGLISH} "Deletes the config folder and all its files and subdirectories."
+LangString UnSecDeleteConfigFolder_Desc ${LANG_CZECH} "Deletes the config folder and all its files and subdirectories."
+
+#LangString Uninstall_Link ${LANG_ENGLISH} "Uninstall @CPACK_PACKAGE_NAME@ @CPACK_PACKAGE_VERSION@"
+LangString Uninstall_Link ${LANG_CZECH} "Uninstall @CPACK_PACKAGE_NAME@ @CPACK_PACKAGE_VERSION@"
+
+#LangString Page_TypeInst_Title ${LANG_ENGLISH} "Previous Installations"
+LangString Page_TypeInst_Title ${LANG_CZECH} "Previous Installations"
+
+#LangString Page_TypeInst_Subtitle ${LANG_ENGLISH} "$MULTIPLE_INSTALLS installations of OpenCPN found.$\r$\nChoose how you want to install OpenCPN."
+LangString Page_TypeInst_Subtitle ${LANG_CZECH} "$MULTIPLE_INSTALLS installations of OpenCPN found.$\r$\nChoose how you want to install OpenCPN."
+
+#LangString Page_TypeInst_Title_1 ${LANG_ENGLISH} "Already Installed"
+LangString Page_TypeInst_Title_1 ${LANG_CZECH} "Already Installed"
+
+#LangString Page_TypeInst_Subtitle_1 ${LANG_ENGLISH} "Found installed version of OpenCPN.$\r$\nChoose how you want to install OpenCPN."
+LangString Page_TypeInst_Subtitle_1 ${LANG_CZECH} "Found installed version of OpenCPN.$\r$\nChoose how you want to install OpenCPN."
+
+#LangString Page_TypeInst_Title_Exists ${LANG_ENGLISH} "Version Already Installed"
+LangString Page_TypeInst_Title_Exists ${LANG_CZECH} "Version Already Installed"
+
+#LangString Page_TypeInst_Subtitle_Exists ${LANG_ENGLISH} "OpenCPN @CPACK_PACKAGE_VERSION@ is already installed.$\r$\nChoose how you want to install OpenCPN."
+LangString Page_TypeInst_Subtitle_Exists ${LANG_CZECH} "OpenCPN @CPACK_PACKAGE_VERSION@ is already installed.$\r$\nChoose how you want to install OpenCPN."
+
+#LangString Label_TypeInst_Reinstall_Text ${LANG_ENGLISH} "OpenCPN @CPACK_PACKAGE_VERSION@ is already installed on your system. You can reinstall the version now using the previous settings. If you wish to install the program with different settings, cancel installation and un-install the existing version first. Click Next to continue."
+LangString Label_TypeInst_Reinstall_Text ${LANG_CZECH} "OpenCPN @CPACK_PACKAGE_VERSION@ is already installed on your system. You can reinstall the version now using the previous settings. If you wish to install the program with different settings, cancel installation and un-install the existing version first. Click Next to continue."
+
+#LangString RB_Reinstall_TypeInst_Text ${LANG_ENGLISH} "Reinstall using previous settings"
+LangString RB_Reinstall_TypeInst_Text ${LANG_CZECH} "Reinstall using previous settings"
+
+#LangString Label_TypeInst_Upgrade_Text ${LANG_ENGLISH} "An older version of OpenCPN is installed on your system. Select the installation type you want to perform and click Next to continue."
+LangString Label_TypeInst_Upgrade_Text ${LANG_CZECH} "An older version of OpenCPN is installed on your system. Select the installation type you want to perform and click Next to continue."
+
+#LangString RB_Upgrade_TypeInst_Text ${LANG_ENGLISH} "Upgrade OpenCPN using previous settings (recommended)"
+LangString RB_Upgrade_TypeInst_Text ${LANG_CZECH} "Upgrade OpenCPN using previous settings (recommended)"
+
+#LangString Label_TypeInst_Downgrade_Text ${LANG_ENGLISH} "A newer version of OpenCPN is installed on your system. It is not recommended to downgrade to an older version. Select the installation type you want to perform and click Next to continue."
+LangString Label_TypeInst_Downgrade_Text ${LANG_CZECH} "A newer version of OpenCPN is installed on your system. It is not recommended to downgrade to an older version. Select the installation type you want to perform and click Next to continue."
+
+#LangString RB_Downgrade_TypeInst_Text ${LANG_ENGLISH} "Downgrade OpenCPN using previous settings (recommended)"
+LangString RB_Downgrade_TypeInst_Text ${LANG_CZECH} "Downgrade OpenCPN using previous settings (recommended)"
+
+#LangString Label_TypeInst_Parallel_Text ${LANG_ENGLISH} "Setup has detected several installed versions of OpenCPN on your system. It is recommended to have only one version of OpenCPN installed at a time. Select the operation you want to perform and click Next to continue."
+LangString Label_TypeInst_Parallel_Text ${LANG_CZECH} "Setup has detected several installed versions of OpenCPN on your system. It is recommended to have only one version of OpenCPN installed at a time. Select the operation you want to perform and click Next to continue."
+
+#LangString RB_Parallel_TypeInst_Text ${LANG_ENGLISH} "Parallel Installation (advanced users)"
+LangString RB_Parallel_TypeInst_Text ${LANG_CZECH} "Parallel Installation (advanced users)"
+
+#LangString EmptyString ${LANG_ENGLISH} ""
+LangString EmptyString ${LANG_CZECH} ""
+
+#LangString Show_Readme_Text ${LANG_ENGLISH} "Show Install Log file"
+LangString Show_Readme_Text ${LANG_CZECH} "Show Install Log file"
+
+#LangString Finish_Link_Text ${LANG_ENGLISH} "OpenCPN website (Internet connection required)"
+LangString Finish_Link_Text ${LANG_CZECH} "OpenCPN website (Internet connection required)"
+
+#LangString Finish_Link_URL ${LANG_ENGLISH} "http://opencpn.info/?ref=installer&user=$USERS_NAME&lang=$REG_LANG&version=@CPACK_PACKAGE_VERSION@"
+LangString Finish_Link_URL ${LANG_CZECH} "http://opencpn.info/?ref=installer&user=$USERS_NAME&lang=$REG_LANG&version=@CPACK_PACKAGE_VERSION@"
+
+#LangString Msg_UAC_Admin_Retry ${LANG_ENGLISH} "This $Inst_Or_Uninst requires admin access!$\r$\nPlease log on as an Administrator and try again."
+LangString Msg_UAC_Admin_Retry ${LANG_CZECH} "This $Inst_Or_Uninst requires admin access!$\r$\nPlease log on as an Administrator and try again."
+
+#LangString Msg_UAC_Admin_Abort ${LANG_ENGLISH} "This $Inst_Or_Uninst requires admin privileges, aborting!"
+LangString Msg_UAC_Admin_Abort ${LANG_CZECH} "This $Inst_Or_Uninst requires admin privileges, aborting!"
+
+#LangString Msg_UAC_Logon_Abort ${LANG_ENGLISH} "Logon service not running, aborting!"
+LangString Msg_UAC_Logon_Abort ${LANG_CZECH} "Logon service not running, aborting!"
+
+#LangString Msg_UAC_No_Elevation ${LANG_ENGLISH} "Unable to elevate , error $0"
+LangString Msg_UAC_No_Elevation ${LANG_CZECH} "Unable to elevate , error $0"
+
+#LangString Msg_Error_Remove_InstDir ${LANG_ENGLISH} "The installation directory$\r$\n'$INSTDIR'$\r$\ncould not be removed because it is not empty."
+LangString Msg_Error_Remove_InstDir ${LANG_CZECH} "The installation directory$\r$\n'$INSTDIR'$\r$\ncould not be removed because it is not empty."
+
+#LangString Msg_Path_Invalid ${LANG_ENGLISH} "The entered path is invalid!$\r$\n$\r$\nPlease check your input."
+LangString Msg_Path_Invalid ${LANG_CZECH} "The entered path is invalid!$\r$\n$\r$\nPlease check your input."
+
+#LangString Msg_Path_Installation_Exists ${LANG_ENGLISH} "There already exists an installation of OpenCPN in the given path.$\r$\nIf you wish to use this path, first uninstall the version. Or select another path for this installation."
+LangString Msg_Path_Installation_Exists ${LANG_CZECH} "There already exists an installation of OpenCPN in the given path.$\r$\nIf you wish to use this path, first uninstall the version. Or select another path for this installation."
+
+#LangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire LangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire Harddisk (ATTENTION: This may take several minutes) to find all install locations (recommended).$\r$\n$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire LangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_ENGLISH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire Harddisk (ATTENTION: This may take several minutes) to find all install locations (recommended).$\r$\n$\r$\nDo you want to uninstall the old version(s)?"
+LangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire LangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire Harddisk (ATTENTION: This may take several minutes) to find all install locations (recommended).$\r$\n$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire LangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nLangString Msg_Uninstall_Old_Versions ${LANG_CZECH} "Setup has detected at least one older version of OpenCPN which is not compatible with the new version control.$\r$\nIt is recommended to first uninstall all of these installations (this does not affect your Config files) and clean-up the Registry.$\r$\nIf you click Yes on the next page a listbox with all installation locations will be shown and you will have the possibility to select the installations you wish to uninstall.$\r$\nIf you are unsure about possible other previous installations than those shown in the listbox, you can also perform a scan of the entire Harddisk (ATTENTION: This may take several minutes) to find all install locations (recommended).$\r$\n$\r$\nDo you want to uninstall the old version(s)?"
+
+#LangString Msg_Not_All_Old_Uninstalled ${LANG_ENGLISH} "You have not uninstalled all previous installations.$\r$\n$\r$\nDo you want to continue anyway?"
+LangString Msg_Not_All_Old_Uninstalled ${LANG_CZECH} "You have not uninstalled all previous installations.$\r$\n$\r$\nDo you want to continue anyway?"
+
+#LangString Msg_Uninstaller_Param_Help ${LANG_ENGLISH} "Uninstaller Help$\r$\n$\r$\nUse the command line or a shortcut to run the uninstaller:$\r$\n$INSTDIR\Uninstall @CPACK_PACKAGE_VERSION@.exe [/?] | [/S], [/type=X]$\r$\n$\r$\nParameters:$\r$\n/?$\tshows this help message box$\r$\n/S$\truns the uninstaller in silent mode$\r$\n$\twill do a full uninstall if called without any type parameter$\r$\n/type=X$\tX must be a digit between 1 and 5$\r$\n$\t1 = Removes only the program files$\r$\n$\t2 = Removes only the program files + preconfig RegKey$\r$\n$\t3 = Removes the program files + config folder$\r$\n$\tpreserves the preconfig RegKey$\r$\n$\t4 = Deletes only the config folder$\r$\n$\t5 = Deletes only the preconfig RegKey$\r$\n$\r$\nEntering any other number or value will quit the uninstaller with a message box without removing or deleting anything."
+LangString Msg_Uninstaller_Param_Help ${LANG_CZECH} "Uninstaller Help$\r$\n$\r$\nUse the command line or a shortcut to run the uninstaller:$\r$\n$INSTDIR\Uninstall @CPACK_PACKAGE_VERSION@.exe [/?] | [/S], [/type=X]$\r$\n$\r$\nParameters:$\r$\n/?$\tshows this help message box$\r$\n/S$\truns the uninstaller in silent mode$\r$\n$\twill do a full uninstall if called without any type parameter$\r$\n/type=X$\tX must be a digit between 1 and 5$\r$\n$\t1 = Removes only the program files$\r$\n$\t2 = Removes only the program files + preconfig RegKey$\r$\n$\t3 = Removes the program files + config folder$\r$\n$\tpreserves the preconfig RegKey$\r$\n$\t4 = Deletes only the config folder$\r$\n$\t5 = Deletes only the preconfig RegKey$\r$\n$\r$\nEntering any other number or value will quit the uninstaller with a message box without removing or deleting anything."
+
+#LangString Msg_Unknown_Type_Param ${LANG_ENGLISH} "The entered value '$9' for the type parameter is not valid!$\r$\nUse $INSTDIR\Uninstall @CPACK_PACKAGE_VERSION@.exe /?$\r$\nto see a list of valid values."
+LangString Msg_Unknown_Type_Param ${LANG_CZECH} "The entered value '$9' for the type parameter is not valid!$\r$\nUse $INSTDIR\Uninstall @CPACK_PACKAGE_VERSION@.exe /?$\r$\nto see a list of valid values."
+
View
312 buildwin/NSIS_Unicode/Language files/Langstrings_DANISH.nsh.in
@@ -0,0 +1,312 @@
+#LangString Installer ${LANG_ENGLISH} "installer"
+LangString Installer ${LANG_DANISH} "installer"
+
+#LangString Uninstaller ${LANG_ENGLISH} "uninstaller"
+LangString Uninstaller ${LANG_DANISH} "uninstaller"
+
+#LangString Installer_Unsupported_Windows_Version ${LANG_ENGLISH} "Your Windows version is not supported (it's too old)!$\r$\nYou need at least Windows NT/2000."
+LangString Installer_Unsupported_Windows_Version ${LANG_DANISH} "Your Windows version is not supported (it's too old)!$\r$\nYou need at least Windows NT/2000."
+
+#LangString Installer_Running ${LANG_ENGLISH} "The installer is already running."
+LangString Installer_Running ${LANG_DANISH} "The installer is already running."
+
+#LangString Uninstaller_Running ${LANG_ENGLISH} "The uninstaller is already running."
+LangString Uninstaller_Running ${LANG_DANISH} "The uninstaller is already running."
+
+#LangString LangDialog_Title ${LANG_ENGLISH} "@CPACK_PACKAGE_NAME@ @CPACK_PACKAGE_VERSION@ Installation"
+LangString LangDialog_Title ${LANG_DANISH} "@CPACK_PACKAGE_NAME@ @CPACK_PACKAGE_VERSION@ Installation"
+
+#LangString LangDialog_Text ${LANG_ENGLISH} "Please select a language:"
+LangString LangDialog_Text ${LANG_DANISH} "Please select a language:"
+
+#LangString text_please_wait_1 ${LANG_ENGLISH} "... please wait!"
+LangString text_please_wait_1 ${LANG_DANISH} "... please wait!"
+
+#LangString Scanning_HDD ${LANG_ENGLISH} "Scanning HDD ..."
+LangString Scanning_HDD ${LANG_DANISH} "Scanning HDD ..."
+
+#LangString OCPN_Scanning_HDD ${LANG_ENGLISH} "OpenCPN: Scan HDD ..., please wait!"
+LangString OCPN_Scanning_HDD ${LANG_DANISH} "OpenCPN: Scan HDD ..., please wait!"
+
+#LangString Search_old_installations ${LANG_ENGLISH} "Searching for old installations"
+LangString Search_old_installations ${LANG_DANISH} "Searching for old installations"
+
+#LangString Install_Location_Default ${LANG_ENGLISH} "Install Locations by default paths (may not find all)"
+LangString Install_Location_Default ${LANG_DANISH} "Install Locations by default paths (may not find all)"
+
+#LangString Install_Location_HDD_Scan ${LANG_ENGLISH} "Install Location by full HDD scan (most reliable)"
+LangString Install_Location_HDD_Scan ${LANG_DANISH} "Install Location by full HDD scan (most reliable)"
+
+#LangString Label_CleanUp_Text ${LANG_ENGLISH} "Click on a list-item to select/ unselect it or Select ALL (recommended) and then Uninstall selected."
+LangString Label_CleanUp_Text ${LANG_DANISH} "Click on a list-item to select/ unselect it or Select ALL (recommended) and then Uninstall selected."
+
+#LangString BT_Uninstall_Selected_CleanUp ${LANG_ENGLISH} "Uninstall Selected"
+LangString BT_Uninstall_Selected_CleanUp ${LANG_DANISH} "Uninstall Selected"
+
+#LangString BT_SelectAll_CleanUp ${LANG_ENGLISH} "Select ALL"
+LangString BT_SelectAll_CleanUp ${LANG_DANISH} "Select ALL"
+
+#LangString BT_UnselectAll_CleanUp ${LANG_ENGLISH} "Unselect ALL"
+LangString BT_UnselectAll_CleanUp ${LANG_DANISH} "Unselect ALL"
+
+#LangString LB_CleanUp ${LANG_ENGLISH} "Listbox Text"
+LangString LB_CleanUp ${LANG_DANISH} "Listbox Text"
+
+#LangString BT_FullScan_CleanUp ${LANG_ENGLISH} "Scan HDD ..."
+LangString BT_FullScan_CleanUp ${LANG_DANISH} "Scan HDD ..."
+
+#LangString LAB_FullScan_CleanUp ${LANG_ENGLISH} "Scan the HDD for the most reliable detection.$\r$\nATTENTION: may last several minutes!"
+LangString LAB_FullScan_CleanUp ${LANG_DANISH} "Scan the HDD for the most reliable detection.$\r$\nATTENTION: may last several minutes!"
+
+#LangString Page_CleanUp_Title ${LANG_ENGLISH} "Uninstall older Version"
+LangString Page_CleanUp_Title ${LANG_DANISH} "Uninstall older Version"
+
+#LangString Page_CleanUp_Subtitle ${LANG_ENGLISH} "Incompatible version detected"
+LangString Page_CleanUp_Subtitle ${LANG_DANISH} "Incompatible version detected"
+
+#LangString CP_HEADER_TEXT ${LANG_ENGLISH} "Installation Settings"
+LangString CP_HEADER_TEXT ${LANG_DANISH} "Installation Settings"
+
+#LangString CP_HEADER_SUBTEXT ${LANG_ENGLISH} "Choose the settings for the installation"
+LangString CP_HEADER_SUBTEXT ${LANG_DANISH} "Choose the settings for the installation"
+
+#LangString CP_TOP ${LANG_ENGLISH} "Check or uncheck the options for the installation.$\r$\nClick 'Next' to continue."
+LangString CP_TOP ${LANG_DANISH} "Check or uncheck the options for the installation.$\r$\nClick 'Next' to continue."
+
+#LangString CP_INSTTYPE ${LANG_ENGLISH} "Installation type:"
+LangString CP_INSTTYPE ${LANG_DANISH} "Installation type:"
+
+#LangString CP_COMPLIST ${LANG_ENGLISH} "Adjust the settings individually:"
+LangString CP_COMPLIST ${LANG_DANISH} "Adjust the settings individually:"
+
+#LangString Page_SetConfig_Title ${LANG_ENGLISH} "Default configuration settings"
+LangString Page_SetConfig_Title ${LANG_DANISH} "Default configuration settings"
+
+#LangString Page_SetConfig_Subtitle ${LANG_ENGLISH} "Preconfigure settings for OpenCPN"
+LangString Page_SetConfig_Subtitle ${LANG_DANISH} "Preconfigure settings for OpenCPN"
+
+#LangString Select_Chart_Directory ${LANG_ENGLISH} "Please select a chart directory to add to OpenCPN"
+LangString Select_Chart_Directory ${LANG_DANISH} "Please select a chart directory to add to OpenCPN"
+