Skip to content

CI Questions #372

@rgleason

Description

@rgleason

Submodule OpenCPN/opencpn-libs For commands see the Instructions at the bottom.

How do I compile locally? Window, MacOS, Linux

https://opencpn-manuals.github.io/main/opencpn-dev/index.html find Compiling
https://opencpn-manuals.github.io/main/opencpn-dev/linux.html
https://opencpn-manuals.github.io/main/opencpn-dev/mac-osx.html
https://opencpn-manuals.github.io/main/opencpn-dev/windows.html
https://opencpn-manuals.github.io/main/opencpn-dev/linux.html#_flatpak

Update Process

  • Support plugins maintained by package managers
  • Make PR from all authors sites first and resolve any conflicts and commit the changes.
  • Then make a PR back to the author's website which will collect all subsequent commits.
  • Update to wxWidgets 3.2.2 - Dave says no need to until v5.10
  • Update to api118 and update the opencpn-lib modules
  • Note: Move from API 117 to API118 with v5.10 not necessary, but desireable See Jon's directions for move to 118 -

Using API 118

CMakeLists.txt line 63 approx

set(OCPN_API_VERSION_MAJOR "1")
set(OCPN_API_VERSION_MINOR "18")

CMakeLists.txt line 206 approx

    add_subdirectory(opencpn-libs/api-18)
    target_link_libraries(${PACKAGE_NAME} ocpn::api)

main_plugin_pi.h line 49 approx

class polar_pi : public opencpn_plugin_118
{
public:

main_plugin_pi.h line 100 approx

    int GetPlugInVersionPatch();
    int GetPlugInVersionPost();

main_plugin_pi.cpp line 60 approx

polar_pi::polar_pi(void *ppimgr)
      :opencpn_plugin_118(ppimgr)

main_plugin_pi.cpp Line 217 and 222

int polar_pi::GetPlugInVersionPatch()   {   return PLUGIN_VERSION_PATCH;}
int polar_pi::GetPlugInVersionPost() {      return PLUGIN_VERSION_TWEAK;}

Shipdriver_pi.cpp UPDATE_PLUGIN.md Shipdriver uses these GetPluginVersionPre and GetPluginVersionBuild to display, but TP templates don't

int GetPlugInVersionPatch() { return PLUGIN_VERSION_PATCH; }
int GetPlugInVersionPost() { return PLUGIN_VERSION_TWEAK; }
const char *GetPlugInVersionPre() { return PKG_PRERELEASE; }
const char *GetPlugInVersionBuild() { return PKG_BUILD_INFO; }

flatpak-aarch64-24.08 build info

  • provisional build to support flatpak-runtime 24.08, whenever we migrate the OCPN core to this version
  • OCPN core 5.10.2 Production today runs flatpak 22.08, mainly because 24.08 was not stable when O5.10.2 was released.
  • Tentatively, core will be moved to 24.08 on release of OCPN 5.12.x
  • it is sufficient to know that the flatpak 24.08 plugins actually build in CCI, but there is no reason to deploy them into the catalog today. No-one can use them. No current OCPN version calls for them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions