Package Details: opencpn-plugin-oesenc-git 4.0.5.r229.g5594ae3-1

Git Clone URL: https://aur.archlinux.org/opencpn-plugin-oesenc-git.git (read-only, click to copy)
Package Base: opencpn-plugin-oesenc-git
Description: O-charts.org plugin for OpenCPN
Upstream URL: https://opencpn.org/OpenCPN/plugins/oesenc.html
Licenses: GPL3
Conflicts: opencpn-plugin-oesenc
Submitter: gromain
Maintainer: gromain
Last Packager: gromain
Votes: 1
Popularity: 0.000123
First Submitted: 2020-07-03 12:49
Last Updated: 2021-03-07 14:19

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

nylocx commented on 2021-09-09 18:53

I figured out how to build on x86_64 here is patch for the PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index b989bef..24c2bcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,3 +5,3 @@
 pkgname=opencpn-plugin-oesenc-git
-pkgver=4.0.5.r229.g5594ae3
+pkgver=4.0.5.r346.g284bfc9
 pkgrel=1
@@ -14,5 +14,6 @@ makedepends=('cmake' 'git')
 url="https://opencpn.org/OpenCPN/plugins/oesenc.html"
-source=("$pkgname::git+https://github.com/bdbcat/oesenc_pi.git" "GetArch.cmake.patch")
+source=("$pkgname::git+https://github.com/bdbcat/oesenc_pi.git" "GetArch.cmake.patch" "configure.cmake.patch")
 sha1sums=('SKIP'
-          '4610b7215572c45ad0f8e696a1920053bdee32ad')
+          '4610b7215572c45ad0f8e696a1920053bdee32ad'
+          'f12d74ce1a9994823086c769a512e43dcd828871')

@@ -26,6 +27,7 @@ build() {
   patch --strip=1 --binary -i $srcdir/GetArch.cmake.patch
+  patch --strip=1 -i $srcdir/configure.cmake.patch
   mkdir -p build
   cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 ..
-  make pkg
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 -DCMAKE_BUILD_TYPE=Release ..
+  cmake --build . --target pkg
 }

and the cmake fix (configure.cmake.patch)

diff --git a/libs/oeserverd/CMakeLists.txt b/libs/oeserverd/CMakeLists.txt
index aefa3a7..a8213c8 100644
--- a/libs/oeserverd/CMakeLists.txt
+++ b/libs/oeserverd/CMakeLists.txt
@@ -49,3 +49,3 @@ elseif (UNIX AND ARCH  STREQUAL "x86_64")
     ${CMAKE_CURRENT_LIST_DIR}/linux64/oeserverd
-    ${CMAKE_INSTALL_PREFIX}/bin/oeserverd COPYONLY
+    ${CMAKE_BINARY_DIR}/oeserverd COPYONLY
   )
@@ -53,3 +53,3 @@ elseif (UNIX AND ARCH  STREQUAL "x86_64")
     ${CMAKE_CURRENT_LIST_DIR}/linux64/libsgllnx64-2.29.02.so
-    ${CMAKE_INSTALL_PREFIX}/bin/libsgllnx64-2.29.02.so COPYONLY
+    ${CMAKE_BINARY_DIR}/libsgllnx64-2.29.02.so COPYONLY
   )


jynio commented on 2021-05-17 09:52

Hi Romain,

I've just install OpenCPN with Flatpak on my Manjaro laptop (flatpak install flathub org.opencpn.OpenCPN). It works fine and I've got oesenc plugin directly.

I'm looking forward my dongle to test the oeSENC charts.

Best regards

FYI : the deployment and first tests are ok on my rpi4/Majaro platform with flatpak)

gromain commented on 2021-05-15 13:17

Yes, I know, I opened it! ;-) I found out about it last week.

And no, you can use it, if you use standard RaspberryOS 32bit and the Flatpak build of OpenCPN. The plugin will then be available in the plugin manager.

jynio commented on 2021-05-15 13:15

Hi, the issue #115 is the same issue on my side. Must I understand I can't use oesenc with my rpi4 ?

gromain commented on 2021-05-15 13:01

Hi,

Yes, it's currently failing, I can't find why yet. I've opened an issue upstream, but it's likely we won't get a lot of support: https://github.com/bdbcat/oesenc_pi/issues/115 (it's possibly the same error as in https://github.com/bdbcat/oesenc_pi/issues/110 ).

The officially supported way for Arch Linux is now to use the Flatpak packages: https://flathub.org/apps/details/org.opencpn.OpenCPN They have support for plugins there as well, through the plugin manager. A word of warning though, arm64 is not supported (so don't run your Raspberry with a 64bit OS just yet).

I'm going to deprecate the AUR packages and include a warning for users that the officially supported way is now to use Flatpak.

jynio commented on 2021-05-15 12:54

hello Romain, the installation of the oesenc plugin failed on my laptop (X86-64 arch) and my rpi4. The messages are the same : CMake Error at libs/oeserverd/CMakeLists.txt:48 (configure_file): Permission denied " (same error on line 50) (line 76 and 80 for rpi4).

Could you help me to fix it ? a missing dependency ?

Best regards, JY

(for information : The system is: Linux - 5.10.30-1-MANJARO - x86_64)