[Ubuntu-x-swat] [Bug 1742894] Re: Scilab does not start after some upgrades on Ubuntu Xenial

2018-02-22 Thread Johan Marius Wesselink
Tested the scilab 5.5.2 for ubuntu which works great. 
However, I did not test it before applying the jogl2 patch :-o.  

Had a look at the source and it seems that the Ubuntu version is patched to use 
the
generic version of jogl2. 

I would like to try and get this patch integrated in the Scilab source tree. 
Probably a difficult and slow process.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1742894

Title:
  Scilab does not start after some upgrades on Ubuntu Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1742894/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1742894] Re: Scilab does not start after some upgrades on Ubuntu Xenial

2018-02-21 Thread Johan Marius Wesselink
I tested the proposed package on Lubuntu 17.10.

I tested some example programs they use either:
GLProfile glp = GLProfile.getDefault();
Or they use the GLCanvas default constructor.

Before this version all these examples emitted the typical error found
in the previous version of jogl2. The new package RESOLVED this problem.

I noticed after some experimenting that replacing getDefault with 
get(GLProfile.GL2);
also solved the problem. Then I found this thread.

I build scilab from source using the git repository. This is the master
and future 6.1 version it has the same problem. However, scilab 6 and
higher have the jogl2 library prebuild and distributed as a thirdparty
library. Removing this library doesn't work. The problem is that the
scirender module and the gui modules depend on the old syntax. The Java
path in the past was javax.media. In newer version of jogl2 this changed
to com.jogamp. This means that besides removing the faulty library from
scilab the modules scirender and gui need to be patched. I did just this
in the last days. The git master branch version 6.1 build and works with
the new jogl2 version. I noticed however one regression bug the cursor
selection in the plot window work kind of inverted. This is an old bug
which I have seen before.

So, yes this fixes the jogl2 bug. But, no likely not the scilab bug.
Depends how you get scilab and which version probably.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1742894

Title:
  Scilab does not start after some upgrades on Ubuntu Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1742894/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp