|
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...
|
|
|
26-05-2019, 14:56
|
#2
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
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.
|
|
|
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
|
|
|
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
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
|
|
|
26-05-2019, 17:11
|
#5
|
Marine Service Provider
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
|
|
|
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
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
|
|
|
26-05-2019, 18:18
|
#7
|
Marine Service Provider
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
|
|
|
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
|
|
|
27-05-2019, 07:35
|
#9
|
Marine Service Provider
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
|
|
|
27-05-2019, 08:07
|
#10
|
Marine Service Provider
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
|
|
|
27-05-2019, 20:09
|
#11
|
Marine Service Provider
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
|
|
|
28-05-2019, 00:16
|
#12
|
Registered User
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
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 !
|
|
|
28-05-2019, 04:37
|
#13
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
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.
|
|
|
28-05-2019, 11:55
|
#14
|
Registered User
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
Pierre...
Please try and report results on bionic:
$ sudo apt install opencpn-plugin-climatology-data
|
Works OK
thanks
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|
|