Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 26-05-2019, 14:08   #1
Registered User

Join Date: Feb 2012
Posts: 8
Where to share our compiled missing plugins for Ubuntu based distros?

Dear all,


I am using Ubuntu and I noticed that for the last versions, there are many missing plugin packages, any many posts related to this issue in this forum.


The best solution is to have them compiled. And it is not so complicated (see below). However, once done, it would be nice to have a way to share the resulting package with the community. How can this be done?


Cheers,
Pierre



PS: To compile a pluging:
1) download the source
2) Have the needed packages installed as written here:
https://opencpn.org/wiki/dokuwiki/do...ompiling_linux
3) Unarchive the source file, enter in the folder and create a "build" folder in it.
4) Open a terminal in this folder and run:


Code:
$ cmake .
$ cmake --build ..
$ make package
5) Install the resulting package: $ sudo dpkg -i "name of the package·.deb


I also uncommented the deb-src package source for opencpn (in /etc/apt/sources.list.d/opencpn... Not sure it is necessary though...
vmalep is offline   Reply With Quote
Old 26-05-2019, 14:56   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Well, the programmers are quite busy with the new version. Some knowledgeable Ubuntu programmers will have to take up the slack. We use github.
rgleason is online now   Reply With Quote
Old 26-05-2019, 15:38   #3
Registered User

Join Date: Feb 2012
Posts: 8
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Thanks for your reply.

Not sure I made myself clear. Is it a place where we can share our compiled packages, meanwhile the developpers finish updating the ppa repositories?

For example, I uploaded in GoogleDrive a few plugins I compiled with Ubuntu 19.04 (disco):

https://drive.google.com/open?id=1li...a8djMrprZQmpIa

Cheers,
Pierre
vmalep is offline   Reply With Quote
Old 26-05-2019, 15:38   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Quote:
Originally Posted by vmalep View Post
Dear all,


I am using Ubuntu and I noticed that for the last versions, there are many missing plugin packages, any many posts related to this issue in this forum.


The best solution is to have them compiled. And it is not so complicated (see below). However, once done, it would be nice to have a way to share the resulting package with the community. How can this be done?


Cheers,
Pierre



PS: To compile a pluging:
1) download the source
2) Have the needed packages installed as written here:
https://opencpn.org/wiki/dokuwiki/do...ompiling_linux
3) Unarchive the source file, enter in the folder and create a "build" folder in it.
4) Open a terminal in this folder and run:


Code:
$ cmake .
$ cmake --build ..
$ make package
5) Install the resulting package: $ sudo dpkg -i "name of the package·.deb


I also uncommented the deb-src package source for opencpn (in /etc/apt/sources.list.d/opencpn... Not sure it is necessary though...
Pierre...

Plugins built like this better nowhere as they are not going to be useful for anybody using the official OpenCPN packages.
Why?
1) What you produce like you described will get installed under /usr/local, but it needs to get installed to /usr to work for people using the normal packages we distribute through the PPA.
2) The different Ubuntu releases are not binary compatible so what you build on say Bionic may accidentally work also on some other releases of Ubuntu but sure not all, that's why there are so many packages in the PPA and that is why they need to be rebuilt for every new Ubuntu, which takes time to be done as you point out.

If you want to help:
1) Tell us which plugins you are interested in and are not yet available in the PPA (As far as I can tell for the current Ubuntu Bionic LTS these are very few from the ones that do work on linux at this moment).
2) Make sure they do work acceptably on linux and submit pull requests or at least open issues to upstream if you find problems.
3) Help us maintain the PPA on Launchpad

Pavel
nohal is offline   Reply With Quote
Old 26-05-2019, 17:11   #5
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Pierre...


Indeed:
"Tell us which plugins you are interested in and are not yet available in the PPA"


Dave
bdbcat is offline   Reply With Quote
Old 26-05-2019, 17:18   #6
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Quote:
Originally Posted by bdbcat View Post
Pierre...


Indeed:
"Tell us which plugins you are interested in and are not yet available in the PPA"


Dave
Dave...

For the brand new Disco all but my own and draw are missing. For the to come in October Eoan none are available yet.
As far as I can tell we are currently good with Bionic LTS and older.

Pavel
nohal is offline   Reply With Quote
Old 26-05-2019, 18:18   #7
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Nohal...


OK, got it.
All the LTS Releases are up to date, but not the currently active "Interim release" of Ubuntu.


I'll add disco to the scripts, and launch some tonight.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-05-2019, 02:28   #8
Registered User

Join Date: Feb 2012
Posts: 8
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Dear Dave and Pavel,

Thnks very much for your prompt replies and explanations.

If I am not mistaken, the polar plugin is not available on Bionic and I also have trouble installing climatology:

Code:
user@peppermint-vb ~ $ sudo apt install opencpn-plugin-climatology 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 opencpn-plugin-climatology : Depends: opencpn-plugin-climatology-data but it is not installable
E: Unable to correct problems, you have held broken packages.
As for Disco, I would love having the following plugins:
  • polar_pi
  • oesenc_pi
  • weatherrouting_pi
  • climatology_pi
  • logbookkonni
And what would be the best way for a user like me to contribute to those plugins?

Best regards,
Pierre
vmalep is offline   Reply With Quote
Old 27-05-2019, 07:35   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Pierre...
For disco, we now have available:


climatology
weather-routing
logbook-konni
vdr
s63
nmeaconverter
weatherfax
climatology
calculator
tactics
plots
chartscale
sar


I will look into the others mentioned today.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-05-2019, 08:07   #10
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Pierre...


Please try and report results on bionic:


$ sudo apt install opencpn-plugin-climatology-data
bdbcat is offline   Reply With Quote
Old 27-05-2019, 20:09   #11
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Pierre...


polar_pi
oesenc_pi
vfkaps_pi


Available for disco now.


Good Luck
Dave
bdbcat is offline   Reply With Quote
Old 28-05-2019, 00:16   #12
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Quote:
Originally Posted by bdbcat View Post
Pierre...


Please try and report results on bionic:


$ sudo apt install opencpn-plugin-climatology-data

climatology-data doesn't seen to be available (yet) (I've checked both PPAs)



PS whereas the disco packages are !
sailorF54 is offline   Reply With Quote
Old 28-05-2019, 04:37   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: Where to share our compiled missing plugins for Ubuntu based distros?

re Climatology, Pavel removed the data files (except Windows) and provided a download feature which should work automatically when the plugin is installed.

Also I believe climatology senses when data is missing and needed and starts automatically to download when you have enabled Climatology and then clicked on the icon. Then climatology should try to download each of the necessary files.


At least this is how it works in Windows. Downloading is kind of a hiccup procedure, I think because sourceforge latency is not ideal.
rgleason is online now   Reply With Quote
Old 28-05-2019, 11:55   #14
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Where to share our compiled missing plugins for Ubuntu based distros?

Quote:
Originally Posted by bdbcat View Post
Pierre...


Please try and report results on bionic:


$ sudo apt install opencpn-plugin-climatology-data

Works OK
thanks
sailorF54 is offline   Reply With Quote
Reply

Tags
plug

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Plugins for non Debian or Fedora based distros NevP OpenCPN 7 21-02-2021 13:26
Compiling for ARM on other distros / graphical environment johnea OpenCPN 6 18-12-2017 14:49
Woes launching compiled version 4.8 on Raspberry Pi 3 rjoe OpenCPN 2 31-10-2017 03:40
Installateur de plugins, Install software for plugins. Gilletarom OpenCPN 3 30-04-2013 05:57
Has anyone compiled a guide to Caribbean marinas based on quality of wifi? restorm Liveaboard's Forum 3 26-01-2013 11:11

Advertise Here


All times are GMT -7. The time now is 13:17.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.