sailors like slackel 7.3

Introduce yourself, create test postings or talk nonsense.
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: sailors like slackel 7.3

Post by djemos »

Done. Also, upgraded to version 1.2.6.1

Code: Select all

sudo slapt-get -u
sudo slapt-get -i xygrib
Have a nice weekend too.
juliusse
Posts: 89
Joined: 21 Jan 2019 18:26

Re: sailors like slackel 7.3

Post by juliusse »

Hi Djemos,

I've tried opencpn 5.2 in a freeBSD virtual machine (actually a ghostBSD), and it is now functional.
But, talking with Matt (aka Daedra), the slackbuild maintainer, he told me he's facing issues to update the slackbuild.

Here are links to posts and GitHub issues he had opened:
https://github.com/OpenCPN/OpenCPN/issues/1996
https://www.linuxquestions.org/question ... 175679123/

Here extract of the mails we exchanged:
Just letting you know I contacted Willy about updating his wxGTK3 build to include the GTK3 GUI toolkit libraries. He said he would consider it, but won't do it until Slackware 15 is released. So I can't submit the new version of OpenCPN to SBo until he does that. OpenCPN 5.2 theoretically works and has checks to build against GTK2 libraries but it doesn't find them. I opened a case at their git page, but they didn't seem interested in fixing it. So I am stuck until wxGTK3 gets updated.
The "easy" solution would be to use the flatpak, but it is not. I have tested it in another virtual machine, and got strange things. The opencpn flatpak asks for strange permissions, like adding the user to root group just for make working a simple serial port, and many other issues. The flatpak is not as OK as the "normal" version. Moreover, if you want to compile for yourself a 3rd party plugin, you cannot with the flatpak.

If you've got time to take a look at this, thanks in advance.
In all means, if we have to wait until Slackware 15, we can, better having something working than something new and broken.

Have a nice day.
Ubuntu is an African term for:"Slackware is too difficult for me"
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: sailors like slackel 7.3

Post by djemos »

To build opencpn 5.2 i had to build wxGTK3 with gtk3.
wxGTK3 is not a native Slackware current tree package. It exists on Slackel tree. Why then to wait Slackware 15.
I have used flatpak in the past and i know can cause problems. I do not like it. Do not use it.
wxGTK3 upgraded so opencpn can be build.
Other apps based on wxGTK3 need to build also. This is why packages like wxGTK3 do not upgraded often.

Upgrade your system.

Code: Select all

sudo slapt-get -u
sudo slapt-get --upgrade
juliusse
Posts: 89
Joined: 21 Jan 2019 18:26

Re: sailors like slackel 7.3

Post by juliusse »

Hi, first, thanks for this.
For flatpak, I also don't like it, this is why I use it in a Virtual machine when I need to try something.
I have upgraded the system, and I'm facing 2 things:
First, when wxGTK3 is upgraded, it seems that the package is builded with gtk2, here the result of slapt-get --show

Code: Select all

Description du paquet :
 wxGTK3 (wxWidgets toolkit for GTK)
 
 wxWidgets lets developers create applications for Win32, Mac OS X,
 GTK+, X11, Motif, WinCE, and more using one codebase. It can be used
 from languages such as C++, Python, Perl, and C#/.NET. Unlike other
 cross-platform toolkits, wxWidgets applications look and feel native.
 This is because wxWidgets uses the platform's own native controls
 rather than emulating them. It's also extensive, free, open-source,
 and mature.
 
 This package is built with GTK+2.0 and compatible with wxPython.
Journal de bord des changements du paquet:
 Upgraded

Second thing, opencpn is upgraded, but there is a problem, all the plugins are absent, and the plugin manager does not work. there is also a lot of graphical problems.
I will investigate the plugin issue and tell you if I find something
Ubuntu is an African term for:"Slackware is too difficult for me"
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: sailors like slackel 7.3

Post by djemos »

Forget about built with GTK+2.0. I have forget to change the message. :-)
opencpn-plugins do not work with opencpn-5.2. this is opencpn developers problem.
Install the previous version.

Code: Select all

sudo slapt-get -u
sudo slapt-get -i opencpn wxGTK3-gtk2
juliusse
Posts: 89
Joined: 21 Jan 2019 18:26

Re: sailors like slackel 7.3

Post by juliusse »

Forget about built with GTK+2.0. I have forget to change the message.
That's what I was thinking. :D

For the plugins issue, the way plugins are managed have completely changed on this version.
https://opencpn.org/OpenCPN/about/ver520.html
The plugins are now managed directly by the program, the plugins manager can install them from a cloudsmith repo.
If this works, the oesenc plugin can then be removed from the Slackel repo
Maybe you'll find more infos on their github page
https://github.com/OpenCPN
or the manual
https://opencpn.org/wiki/dokuwiki/doku. ... ser_manual
Ubuntu is an African term for:"Slackware is too difficult for me"
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: sailors like slackel 7.3

Post by djemos »

Ok then.
There are both packages on repos.
So do not upgrade to previous version.
juliusse
Posts: 89
Joined: 21 Jan 2019 18:26

Re: sailors like slackel 7.3

Post by juliusse »

OK, so tell me when it is ready for upgrade
Ubuntu is an African term for:"Slackware is too difficult for me"
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: sailors like slackel 7.3

Post by djemos »

Since opencpn-5.2.0 is installed and you like to use it do nothing.
In case you want to use opencpn-5.0

Code: Select all

sudo slapt-get -u
sudo slapt-get -i wxGTK3-gtk2 opencpn-5.0.0-x86_64-1dj
Note that system will inform you to upgrade to opencpn-5.2.0. So if you want to use 5.0 then just do not upgrade or blacklist opencpn.
To upgrade again to opencpn-5.2.0 (if you did not blacklist it)

Code: Select all

sudo slapt-get -i opencpn
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: sailors like slackel 7.3

Post by djemos »

opencpn-5.2.0 has no problems with plugins. (A new rebuild is upload). Plugin manager is working fine.
What to do.

Code: Select all

rm -rf ~/.opencpn
sudo slapt-get -u
sudo slapt-get -i opencpn opencpn-plugin-oesenc
Post Reply