summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Aznarán2024-04-02 18:25:40 -0500
committerCarlos Aznarán2024-04-02 18:25:40 -0500
commit8a9c2ba5082862439ae0428f015b992f05daceb8 (patch)
tree0fdf8b5838f36b3ab0e06fb0c22465323517447c
parenta8d942cb7bff7522d3e48684ac3fd3d0b0e3a269 (diff)
downloadaur-scilab.tar.gz
Bump version to 2024.0.0
-rw-r--r--.SRCINFO71
-rw-r--r--.gitignore6
-rw-r--r--.nvchecker.toml4
-rw-r--r--PKGBUILD149
-rw-r--r--scilab-0004-Fix-build-with-ocaml-4.0.4.patch12
-rw-r--r--scilab-jogl-2.3.2.patch550
6 files changed, 95 insertions, 697 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 63d09f8d476c..ee01acf53136 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,65 +1,30 @@
pkgbase = scilab
- pkgdesc = A scientific software package for numerical computations.
- pkgver = 6.1.1
+ pkgdesc = A scientific software package for numerical computations
+ pkgver = 2024.0.0
pkgrel = 1
url = https://www.scilab.org
arch = i686
arch = x86_64
- license = BSD
- license = custom:CeCILL
- license = GPL2
- makedepends = java-environment=8
- makedepends = ant>=1.9.0
- makedepends = ocaml-findlib
- makedepends = ocaml-num
+ license = GPL-2.0-or-later
+ license = BSD-3-Clause
+ license = CECILL-2.1
+ makedepends = ant
+ makedepends = curl
makedepends = gcc-fortran
+ makedepends = libxml2
+ makedepends = ocaml-num
+ makedepends = pcre
+ makedepends = pkgconf
makedepends = time
- depends = suitesparse>=4.4.1
+ makedepends = tk
depends = arpack
- depends = fftw
+ depends = bwidget
depends = eigen
- depends = hdf5
+ depends = fftw
+ depends = hdf5-openmpi
depends = libmatio
- depends = tk
- depends = bwidget
- depends = curl
- depends = inetutils
- depends = java-runtime>=8
- depends = beanshell
- depends = eclipse-ecj
- depends = java-flexdock>=1.2.4
- depends = fop-hyph
- depends = jeuclid-core
- depends = jgraphx-jre8
- depends = javahelp2
- depends = saxon-he
- depends = jlatexmath-fop>=1.0.3
- depends = jrosetta>=1.0.4
- depends = jgoodies-looks
- depends = java-qdox
- depends = java-skinlf
- depends = java-testng
- depends = xalan-java
- depends = docbook-xsl
- depends = jogl>=2.3.2
- depends = apache-lucene>=7
- depends = java-batik>=1.8
- depends = java-xmlgraphics-commons>=2.0.1
- source = https://www.scilab.org/download/6.1.1/scilab-6.1.1-src.tar.gz
- source = scilab-jogl-2.3.2.patch
- source = scilab-strict-jar.patch
- source = scilab-LD_LIBRARY_PATH.patch
- source = scilab-0004-Fix-build-with-ocaml-4.0.4.patch
- source = scilab-num.patch
- source = libxml.patch
- source = hdf5_18_api.patch
- sha256sums = e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207
- sha256sums = 7b7b5609ee36b6f8d801eeb3899cd62cc889c2038e0e1616b7640f9b8a0424b0
- sha256sums = 38aa094951338fa1d267dc6f397552e175213b0f8ba7b35727c178607861f6dd
- sha256sums = a39277cb8cfc3d7929c73ce6d707dc24e3df4b8d8f2d587f075efebda79ff4db
- sha256sums = 6712c6db2f3ba365d150e1feb1c71bf691f8aa3b45d5a872b05a42f0daf23392
- sha256sums = 79c5f32bc2142f9861491787e8ee86d0b75f148141b176bae394ea360b8944d7
- sha256sums = c04114c4ef63d76bf898808e90c892de093fcc400a2371c7aa287b76c0c5d041
- sha256sums = f781c2919a0c14be5deed3a8b8866addd8de1171a06aacb96ef1e19535d0988e
+ depends = suitesparse
+ source = https://gitlab.com/scilab/scilab/-/archive/2024.0.0/scilab-2024.0.0.tar.gz
+ sha512sums = cae64d34612ab6924c405f418c5566163931b33523702e5a3d4c300ad71c42aea2f29677d47369a70a56b670510ee5a2d450b5725db1cb25c3604a5c8acfdb07
pkgname = scilab
diff --git a/.gitignore b/.gitignore
index b3e266f37fb2..f59ec20aabf5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1 @@
-*.gz
-*.xz
-/pkg
-/src
-*.log*
+* \ No newline at end of file
diff --git a/.nvchecker.toml b/.nvchecker.toml
new file mode 100644
index 000000000000..8b32b774d06b
--- /dev/null
+++ b/.nvchecker.toml
@@ -0,0 +1,4 @@
+[scilab]
+source = "gitlab"
+gitlab = "scilab/scilab"
+use_max_tag = true \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 69e5d0009384..a067d580c46c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,102 +1,97 @@
-#!/hint/bash
-# Maintainer: Felix Golatofski <contact@xdfr.de>
+# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
+# Contributor: bartus <scilab-aur@bartus.33mail.com>
+# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
# Contributor: Kurnevsky Evgeny <kurnevsky@gmail.com>
# Contributor: Victor Dmitriyev <mrvvitek@gmail.com>
-# Contributor : bartus <scilab-aur@bartus.33mail.com>
-
pkgname=scilab
-pkgver=6.1.1
+pkgver=2024.0.0
pkgrel=1
-pkgdesc='A scientific software package for numerical computations.'
-arch=('i686' 'x86_64')
-url='https://www.scilab.org'
-license=('BSD' 'custom:CeCILL' 'GPL2')
-depends=('suitesparse>=4.4.1' 'arpack' 'fftw' 'eigen'
- 'hdf5' 'libmatio'
- 'tk' 'bwidget'
- 'curl' 'inetutils'
- 'java-runtime>=8'
- 'beanshell' 'eclipse-ecj' 'java-flexdock>=1.2.4' 'fop-hyph'
- 'jeuclid-core' 'jgraphx-jre8' 'javahelp2'
- 'saxon-he' 'jlatexmath-fop>=1.0.3' 'jrosetta>=1.0.4' 'jgoodies-looks' 'java-qdox'
- 'java-skinlf' 'java-testng' 'xalan-java' 'docbook-xsl'
- 'jogl>=2.3.2' 'apache-lucene>=7'
- 'java-batik>=1.8' 'java-xmlgraphics-commons>=2.0.1')
-makedepends=('java-environment=8' 'ant>=1.9.0'
- 'ocaml-findlib' 'ocaml-num' 'gcc-fortran'
- 'time')
-source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
- "${pkgname}-jogl-2.3.2.patch"
- "${pkgname}-strict-jar.patch"
- "${pkgname}-LD_LIBRARY_PATH.patch"
- "${pkgname}-0004-Fix-build-with-ocaml-4.0.4.patch"
- "${pkgname}-num.patch"
- "libxml.patch"
- "hdf5_18_api.patch"
- )
-sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
- '7b7b5609ee36b6f8d801eeb3899cd62cc889c2038e0e1616b7640f9b8a0424b0'
- '38aa094951338fa1d267dc6f397552e175213b0f8ba7b35727c178607861f6dd'
- 'a39277cb8cfc3d7929c73ce6d707dc24e3df4b8d8f2d587f075efebda79ff4db'
- '6712c6db2f3ba365d150e1feb1c71bf691f8aa3b45d5a872b05a42f0daf23392'
- '79c5f32bc2142f9861491787e8ee86d0b75f148141b176bae394ea360b8944d7'
- 'c04114c4ef63d76bf898808e90c892de093fcc400a2371c7aa287b76c0c5d041'
- 'f781c2919a0c14be5deed3a8b8866addd8de1171a06aacb96ef1e19535d0988e')
+pkgdesc="A scientific software package for numerical computations"
+arch=(i686 x86_64)
+url="https://www.${pkgname}.org"
+license=(GPL-2.0-or-later BSD-3-Clause CECILL-2.1)
+depends=(arpack bwidget eigen fftw hdf5-openmpi libmatio suitesparse)
+# 'jogl>=2.5.0' 'java-flexdock>=1.2.4' jaf-api jaxb-api
+# jgoodies-looks jgoodies-common 'jrosetta>=1.0.4'
+# 'apache-lucene>=8.4.0' java-skinlf inetutils beanshell eclipse-ecj
+# fop-hyph jeuclid-core 'jgraphx>=1.4.0' javahelp2 saxon-he
+# 'jlatexmath-fop>=1.0.3' java-qdox xalan-java docbook-xsl 'java-batik>=1.8'
+# 'java-xmlgraphics-commons>=2.0.1')
+# checkstyle java-commons-beanutils junit java-hamcrest cobertura
+makedepends=(ant
+ curl
+ gcc-fortran
+ libxml2
+ ocaml-num
+ pcre
+ pkgconf
+ time
+ tk
+)
+source=(https://gitlab.com/${pkgname}/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+# hdf5-api.patch ${pkgname}-strict-jar.patch ${pkgname}-LD_LIBRARY_PATH.patch ${pkgname}-num.patch
+sha512sums=('cae64d34612ab6924c405f418c5566163931b33523702e5a3d4c300ad71c42aea2f29677d47369a70a56b670510ee5a2d450b5725db1cb25c3604a5c8acfdb07')
-prepare(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+# prepare() {
+# cd ${pkgname}-${pkgver}
+# Linked to: https://codereview.scilab.org/#/c/18089
+# patch <"${srcdir}"/${pkgname}-strict-jar.patch
+# Fix path, to avoid the following error:
+# An error has been detected while loading /usr/share/scilab//modules/functions/.libs/libscifunctions.so: /usr/share/scilab//modules/functions/.libs/libscifunctions.so: cannot open shared object file: No such file or directory
+# patch -p0 <"${srcdir}"/${pkgname}-LD_LIBRARY_PATH.patch
+# OCaml
+# patch -p0 <"${srcdir}"/${pkgname}-num.patch
+# # Jakarta
+# patch -p0 <"${srcdir}"/jar_names_in_configure.patch
+# sed -i 's/gluegen_rt/gluegen2_rt/' configure.ac
+# sed -i 's/gluegen_rt/gluegen2_rt/' modules/gui/src/java/org/scilab/modules/gui/SwingView.java
+# patch -p1 -i ../hdf5-api.patch
+# }
- # https://codereview.scilab.org/#/c/17530/
- patch -p2 < "${srcdir}"/${pkgname}-jogl-2.3.2.patch
- # Linked to: https://codereview.scilab.org/#/c/18089/
- patch < "${srcdir}"/${pkgname}-strict-jar.patch
- # Fix path, to avoid the following error:
- # An error has been detected while loading /usr/share/scilab//modules/functions/.libs/libscifunctions.so: /usr/share/scilab//modules/functions/.libs/libscifunctions.so: cannot open shared object file: No such file or directory
- patch -p0 < "${srcdir}"/${pkgname}-LD_LIBRARY_PATH.patch
- # OCaml
- patch -p0 < "${srcdir}"/${pkgname}-0004-Fix-build-with-ocaml-4.0.4.patch
- patch -p0 < "${srcdir}"/${pkgname}-num.patch
- # libxml
- patch -p1 < "${srcdir}"/libxml.patch
- # hdf5_18_api
- patch -p1 < "${srcdir}"/hdf5_18_api.patch
-}
+# --with-xcos \
+# --without-modelica \
+# --with-jdk=/usr/lib/jvm/java-17-openjdk \
+# --without-emf \
+# --with-openmp \
+# --enable-build-localization \
+# --without-install-help-xml \
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
+ cd ${pkgname}-${pkgver}/${pkgname}
./configure \
--prefix=/usr \
+ --with-fftw \
+ --with-arpack-ng \
+ --with-arpack-library=/usr/lib \
--with-gcc \
--with-gfortran \
+ --with-tk \
+ --with-umfpack \
+ --with-umfpack-include=/usr/include/suitesparse \
+ --with-umfpack-library=/usr/lib \
--with-mpi \
--with-matio \
- --with-umfpack \
- --with-fftw \
- --with-modelica \
- --without-emf \
- --with-install-help-xml \
- --enable-build-help \
- --enable-build-localization \
+ --with-hdf5-include=/usr/include \
+ --with-hdf5-library=/usr/lib \
+ --with-x \
+ --without-gui \
+ --without-javasci \
+ --without-jdk \
+ --disable-build-doxygen \
+ --disable-build-help \
+ --disable-debug-java \
--disable-static-system-lib \
- --with-jdk=/usr/lib/jvm/java-8-openjdk/ \
FFLAGS="-fallow-argument-mismatch" \
CFLAGS="$CFLAGS -fcommon" \
- CXXFLAGS="$CXXFLAGS -fcommon" \
-
+ CXXFLAGS="$CXXFLAGS -fcommon" # -DH5_USE_18_API
make
make doc
}
-package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
-
+package() {
+ cd ${pkgname}-${pkgver}/${pkgname}
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-data install-html
-
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
- install -Dm644 COPYING-BSD "${pkgdir}/usr/share/licenses/${pkgname}/COPYING-BSD"
+ install -Dm 644 COPYING* -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
-
-# vim:set ts=2 sw=2 et:
diff --git a/scilab-0004-Fix-build-with-ocaml-4.0.4.patch b/scilab-0004-Fix-build-with-ocaml-4.0.4.patch
deleted file mode 100644
index 8ee5196a1bbf..000000000000
--- a/scilab-0004-Fix-build-with-ocaml-4.0.4.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- modules/scicos/src/modelica_compiler/optimization.ml.orig 2018-05-16 19:42:49.168681800 +0200
-+++ modules/scicos/src/modelica_compiler/optimization.ml 2018-05-16 19:44:53.999181477 +0200
-@@ -163,7 +163,8 @@
- let m, e = frexp f in
- let sm = string_of_float m in
- let s = String.make 16 '0' in
-- String.blit sm 2 s 0 (String.length sm - 2);
-+ let sss = Bytes.make 16 '0' in
-+ String.blit sm 2 sss 0 (String.length sm - 2);
- let e' = Num.power_num (Num.Int 2) (Num.num_of_int e) in
- Num.div_num (Num.mult_num (Num.num_of_string s) e') scaling_factor
- in
diff --git a/scilab-jogl-2.3.2.patch b/scilab-jogl-2.3.2.patch
deleted file mode 100644
index 583e22a496b5..000000000000
--- a/scilab-jogl-2.3.2.patch
+++ /dev/null
@@ -1,550 +0,0 @@
-From 1364c083acb58a55fcf2c5ca8d244313dfe9bbcb Mon Sep 17 00:00:00 2001
-From: =?utf8?q?Cl=C3=A9ment=20DAVID?= <clement.david@scilab-enterprises.com>
-Date: Wed, 2 Dec 2015 15:09:07 +0100
-Subject: [PATCH] Update to JoGL 2.3.2
-
-Change-Id: Ic188bb392d1dd8441d1a4132004f77b63a3353df
----
- scilab/configure | 16 +++++++-------
- scilab/configure.ac | 4 ++--
- .../src/java/org/scilab/modules/gui/SwingView.java | 8 +++----
- .../scilab/modules/gui/bridge/ScilabBridge.java | 2 +-
- .../gui/bridge/canvas/SwingScilabCanvas.java | 4 ++--
- .../gui/bridge/canvas/SwingScilabCanvasImpl.java | 12 +++++------
- .../java/org/scilab/modules/gui/canvas/Canvas.java | 2 +-
- .../scilab/modules/gui/canvas/ScilabCanvas.java | 2 +-
- .../modules/gui/canvas/ScilabCanvasBridge.java | 2 +-
- .../scilab/modules/gui/canvas/SimpleCanvas.java | 2 +-
- .../scirenderer/scirenderer-libs.properties | 4 ++--
- .../implementation/jogl/JoGLCanvas.java | 22 ++++++++++----------
- .../implementation/jogl/JoGLCanvasFactory.java | 2 +-
- .../implementation/jogl/JoGLCapacity.java | 2 +-
- .../implementation/jogl/JoGLDrawingTools.java | 2 +-
- .../implementation/jogl/JoGLParameters.java | 4 ++--
- .../jogl/buffers/JoGLBuffersManager.java | 2 +-
- .../jogl/buffers/JoGLDataBuffer.java | 2 +-
- .../jogl/buffers/JoGLElementsBuffer.java | 2 +-
- .../jogl/buffers/JoGLIndicesBuffer.java | 2 +-
- .../jogl/clipping/JoGLClippingManager.java | 2 +-
- .../jogl/clipping/JoGLClippingPlane.java | 2 +-
- .../jogl/drawer/JoGLShapeDrawer.java | 2 +-
- .../implementation/jogl/lightning/JoGLLight.java | 2 +-
- .../jogl/lightning/JoGLLightManager.java | 2 +-
- .../jogl/picking/GLPickingManager.java | 2 +-
- .../jogl/picking/JoGLPickingTools.java | 2 +-
- .../implementation/jogl/renderer/JoGLRenderer.java | 2 +-
- .../jogl/renderer/JoGLRendererManager.java | 2 +-
- .../jogl/texture/JoGLTextureManager.java | 10 ++++-----
- .../implementation/jogl/utils/GLShortCuts.java | 2 +-
- 31 files changed, 64 insertions(+), 64 deletions(-)
-
-diff --git a/scilab/configure b/scilab/configure
-index 192bb93..ef8699d 100755
---- a/scilab/configure
-+++ b/scilab/configure
-@@ -16245,7 +16245,7 @@ EOF
- CLASSPATH=$ac_java_classpath
- export CLASSPATH
- echo "CLASSPATH="$CLASSPATH >&5
-- cmd="$JAVA conftestSharedChecker \"jogl2\" \"javax.media.opengl.glu.GLUnurbs\" \"$jar_resolved\" \"\" \"2.2\" \"\""
-+ cmd="$JAVA conftestSharedChecker \"jogl2\" \"jogamp.opengl.x11.glx.GLX\" \"$jar_resolved\" \"\" \"2.3\" \"\""
- if (echo $cmd >&5 ; eval $cmd >conftestSharedChecker.java.output 2>&5); then
- read PACKAGE_JAR_FILE PACKAGE_JAR_VERSION << EOF
- $(tail -n 1 conftestSharedChecker.java.output)
-@@ -16259,10 +16259,10 @@ $as_echo " $PACKAGE_JAR_FILE $PACKAGE_JAR_VERSION " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- if test "" = "yes"; then
-- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar jogl2 used by Scilab 3D rendering - Version 2.0 (looking for package javax.media.opengl.glu.GLUnurbs)" >&5
--$as_echo "$as_me: WARNING: Could not find or use the Java package/jar jogl2 used by Scilab 3D rendering - Version 2.0 (looking for package javax.media.opengl.glu.GLUnurbs)" >&2;}
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar jogl2 used by Scilab 3D rendering - Version 2.3 (looking for package jogamp.opengl.x11.glx.GLX)" >&5
-+$as_echo "$as_me: WARNING: Could not find or use the Java package/jar jogl2 used by Scilab 3D rendering - Version 2.3 (looking for package jogamp.opengl.x11.glx.GLX)" >&2;}
- else
-- as_fn_error $? "Could not find or use the Java package/jar jogl2 used by Scilab 3D rendering - Version 2.0 (looking for package javax.media.opengl.glu.GLUnurbs)" "$LINENO" 5
-+ as_fn_error $? "Could not find or use the Java package/jar jogl2 used by Scilab 3D rendering - Version 2.3 (looking for package jogamp.opengl.x11.glx.GLX)" "$LINENO" 5
- fi
- fi
- if test -f conftestSharedChecker.java.output; then
-@@ -16585,7 +16585,7 @@ EOF
- CLASSPATH=$ac_java_classpath
- export CLASSPATH
- echo "CLASSPATH="$CLASSPATH >&5
-- cmd="$JAVA conftestSharedChecker \"gluegen2-rt\" \"jogamp.common.os.MachineDescriptionRuntime\" \"$jar_resolved\" \"\" \"\" \"\""
-+ cmd="$JAVA conftestSharedChecker \"gluegen2-rt\" \"com.jogamp.common.os.Platform\" \"$jar_resolved\" \"\" \"\" \"\""
- if (echo $cmd >&5 ; eval $cmd >conftestSharedChecker.java.output 2>&5); then
- read PACKAGE_JAR_FILE PACKAGE_JAR_VERSION << EOF
- $(tail -n 1 conftestSharedChecker.java.output)
-@@ -16599,10 +16599,10 @@ $as_echo " $PACKAGE_JAR_FILE $PACKAGE_JAR_VERSION " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- if test "" = "yes"; then
-- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar gluegen2-rt used by Scilab 3D rendering (looking for package jogamp.common.os.MachineDescriptionRuntime)" >&5
--$as_echo "$as_me: WARNING: Could not find or use the Java package/jar gluegen2-rt used by Scilab 3D rendering (looking for package jogamp.common.os.MachineDescriptionRuntime)" >&2;}
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar gluegen2-rt used by Scilab 3D rendering (looking for package com.jogamp.common.os.Platform)" >&5
-+$as_echo "$as_me: WARNING: Could not find or use the Java package/jar gluegen2-rt used by Scilab 3D rendering (looking for package com.jogamp.common.os.Platform)" >&2;}
- else
-- as_fn_error $? "Could not find or use the Java package/jar gluegen2-rt used by Scilab 3D rendering (looking for package jogamp.common.os.MachineDescriptionRuntime)" "$LINENO" 5
-+ as_fn_error $? "Could not find or use the Java package/jar gluegen2-rt used by Scilab 3D rendering (looking for package com.jogamp.common.os.Platform)" "$LINENO" 5
- fi
- fi
- if test -f conftestSharedChecker.java.output; then
-diff --git a/scilab/configure.ac b/scilab/configure.ac
-index 49d9281..eba2c3d 100644
---- a/scilab/configure.ac
-+++ b/scilab/configure.ac
-@@ -951,7 +951,7 @@ if test "$with_javasci" != no -o "$with_gui" != no -o "$enable_build_help" != no
- AC_SUBST(SKINLF)
-
- # JOGL 2
-- AC_JAVA_CHECK_JAR([jogl2],[javax.media.opengl.glu.GLUnurbs],[Scilab 3D rendering - Version 2.0], [], [], [2.2])
-+ AC_JAVA_CHECK_JAR([jogl2],[jogamp.opengl.x11.glx.GLX],[Scilab 3D rendering - Version 2.3], [], [], 2.3)
- JOGL2=$PACKAGE_JAR_FILE
- AC_SUBST(JOGL2)
-
-@@ -980,7 +980,7 @@ interface for JOGL2 - or libGL (OpenGL library) are installed and if the version
- fi
-
- # JoGL Native <=> Java connector
-- AC_JAVA_CHECK_JAR([gluegen2-rt],[jogamp.common.os.MachineDescriptionRuntime],[Scilab 3D rendering])
-+ AC_JAVA_CHECK_JAR([gluegen2-rt],[com.jogamp.common.os.Platform],[Scilab 3D rendering])
- GLUEGEN2_RT=$PACKAGE_JAR_FILE
- AC_SUBST(GLUEGEN2_RT)
-
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/SwingView.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/SwingView.java
-index ea28e4c..50704af 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/SwingView.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/SwingView.java
-@@ -88,10 +88,10 @@ import java.util.Map;
- import java.util.Set;
- import java.util.UUID;
-
--import javax.media.opengl.GL;
--import javax.media.opengl.GLCapabilities;
--import javax.media.opengl.GLProfile;
--import javax.media.opengl.awt.GLCanvas;
-+import com.jogamp.opengl.GL;
-+import com.jogamp.opengl.GLCapabilities;
-+import com.jogamp.opengl.GLProfile;
-+import com.jogamp.opengl.awt.GLCanvas;
- import javax.swing.JComponent;
- import javax.swing.JSeparator;
- import javax.swing.SwingUtilities;
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/ScilabBridge.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/ScilabBridge.java
-index 112a904..d1a2438 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/ScilabBridge.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/ScilabBridge.java
-@@ -23,7 +23,7 @@ import java.awt.Cursor;
- import java.awt.Font;
- import java.awt.image.BufferedImage;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
-
- import org.scilab.modules.gui.canvas.Canvas;
- import org.scilab.modules.gui.canvas.ScilabCanvas;
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvas.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvas.java
-index 477fa3f..9e969b4 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvas.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvas.java
-@@ -35,8 +35,8 @@ import java.awt.event.MouseListener;
- import java.awt.event.MouseMotionListener;
- import java.awt.image.BufferedImage;
-
--import javax.media.opengl.GL;
--import javax.media.opengl.GLAutoDrawable;
-+import com.jogamp.opengl.GL;
-+import com.jogamp.opengl.GLAutoDrawable;
- import javax.swing.JPanel;
-
- import org.scilab.forge.scirenderer.Canvas;
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvasImpl.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvasImpl.java
-index f27ea69..68b7613 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvasImpl.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvasImpl.java
-@@ -22,12 +22,12 @@ import java.awt.HeadlessException;
- import java.util.Calendar;
- import java.util.StringTokenizer;
-
--import javax.media.opengl.GL;
--import javax.media.opengl.GLCapabilities;
--import javax.media.opengl.GLException;
--import javax.media.opengl.GLProfile;
--import javax.media.opengl.awt.GLCanvas;
--import javax.media.opengl.awt.GLJPanel;
-+import com.jogamp.opengl.GL;
-+import com.jogamp.opengl.GLCapabilities;
-+import com.jogamp.opengl.GLException;
-+import com.jogamp.opengl.GLProfile;
-+import com.jogamp.opengl.awt.GLCanvas;
-+import com.jogamp.opengl.awt.GLJPanel;
-
- import org.scilab.modules.action_binding.InterpreterManagement;
- import org.scilab.modules.commons.OS;
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/Canvas.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/Canvas.java
-index 03e7b5b..c84b257 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/Canvas.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/Canvas.java
-@@ -17,7 +17,7 @@ package org.scilab.modules.gui.canvas;
-
- import java.awt.image.BufferedImage;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
-
- import org.scilab.modules.gui.dockable.Dockable;
-
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvas.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvas.java
-index 6fb2ef9..ce0f1a9 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvas.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvas.java
-@@ -19,7 +19,7 @@ package org.scilab.modules.gui.canvas;
-
- import java.awt.image.BufferedImage;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
-
- import org.scilab.modules.gui.bridge.ScilabBridge;
- import org.scilab.modules.gui.dockable.ScilabDockable;
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvasBridge.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvasBridge.java
-index 2d7e304..56c4ee4 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvasBridge.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/ScilabCanvasBridge.java
-@@ -17,7 +17,7 @@ package org.scilab.modules.gui.canvas;
-
- import java.awt.image.BufferedImage;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
-
- import org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas;
- import org.scilab.modules.gui.utils.Position;
-diff --git a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/SimpleCanvas.java b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/SimpleCanvas.java
-index 307486a..91a40b0 100644
---- a/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/SimpleCanvas.java
-+++ b/scilab/modules/gui/src/java/org/scilab/modules/gui/canvas/SimpleCanvas.java
-@@ -18,7 +18,7 @@ package org.scilab.modules.gui.canvas;
- import org.scilab.modules.gui.utils.Position;
- import org.scilab.modules.gui.utils.Size;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
- import java.awt.image.BufferedImage;
-
- /**
-diff --git a/scilab/modules/scirenderer/scirenderer-libs.properties b/scilab/modules/scirenderer/scirenderer-libs.properties
-index 4d1636d..0ea2197 100644
---- a/scilab/modules/scirenderer/scirenderer-libs.properties
-+++ b/scilab/modules/scirenderer/scirenderer-libs.properties
-@@ -1,7 +1,7 @@
- ; Define all libs needed by scirenderer
-
- ; Uncomment this line and declare path to jogl2.jar gluegen2-rt.jar jlatexmath.jar and native libraries
--jogl2.jar = /usr/share/java/jogl2.jar
--gluegen2.jar = /usr/share/java/gluegen2-rt.jar
-+jogl2.jar = /usr/lib/java/jogl2.jar
-+gluegen2.jar = /usr/lib/java/gluegen2-rt.jar
- jlatexmath.jar = /usr/share/java/jlatexmath.jar
- jni.path = /usr/lib/jni
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java
-index a823629..8a776a0 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java
-@@ -1,7 +1,7 @@
- /*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2009-2011 - DIGITEO - Pierre Lando
-- * Copyright (C) 2019 - Stéphane MOTTELET
-+ * Copyright (C) 2019 - Stephane MOTTELET
- *
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
-@@ -20,17 +20,17 @@ import java.awt.image.BufferedImage;
- import java.lang.reflect.InvocationTargetException;
- import java.util.concurrent.Semaphore;
-
--import javax.media.opengl.DebugGL2;
--import javax.media.opengl.GL2;
--import javax.media.opengl.GLAutoDrawable;
--import javax.media.opengl.awt.GLJPanel;
--import javax.media.opengl.GLCapabilities;
--import javax.media.opengl.GLContext;
--import javax.media.opengl.GLDrawableFactory;
--import javax.media.opengl.GLEventListener;
--import javax.media.opengl.GLException;
--import javax.media.opengl.GLOffscreenAutoDrawable;
--import javax.media.opengl.GLProfile;
-+import com.jogamp.opengl.DebugGL2;
-+import com.jogamp.opengl.GL2;
-+import com.jogamp.opengl.GLAutoDrawable;
-+import com.jogamp.opengl.awt.GLJPanel;
-+import com.jogamp.opengl.GLCapabilities;
-+import com.jogamp.opengl.GLContext;
-+import com.jogamp.opengl.GLDrawableFactory;
-+import com.jogamp.opengl.GLEventListener;
-+import com.jogamp.opengl.GLException;
-+import com.jogamp.opengl.GLOffscreenAutoDrawable;
-+import com.jogamp.opengl.GLProfile;
- import javax.swing.SwingUtilities;
-
- import org.scilab.forge.scirenderer.Canvas;
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvasFactory.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvasFactory.java
-index 4fec356..6de9267 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvasFactory.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvasFactory.java
-@@ -16,7 +16,7 @@ package org.scilab.forge.scirenderer.implementation.jogl;
-
- import org.scilab.forge.scirenderer.Canvas;
-
--import javax.media.opengl.GLAutoDrawable;
-+import com.jogamp.opengl.GLAutoDrawable;
-
- /**
- * @author Pierre Lando
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCapacity.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCapacity.java
-index 4597be3..4ed3220 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCapacity.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCapacity.java
-@@ -14,7 +14,7 @@
-
- package org.scilab.forge.scirenderer.implementation.jogl;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- /**
- * This class store current OpenGl context capacity.
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLDrawingTools.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLDrawingTools.java
-index 623cc1e..161f9ca 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLDrawingTools.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLDrawingTools.java
-@@ -34,7 +34,7 @@ import org.scilab.forge.scirenderer.tranformations.TransformationManagerImpl;
- import org.scilab.forge.scirenderer.tranformations.TransformationManagerListener;
- import org.scilab.forge.scirenderer.tranformations.Vector3d;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- /**
- *
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLParameters.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLParameters.java
-index 429e1a3..c26d5a2 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLParameters.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLParameters.java
-@@ -14,8 +14,8 @@
-
- package org.scilab.forge.scirenderer.implementation.jogl;
-
--import javax.media.opengl.GL;
--import javax.media.opengl.glu.GLU;
-+import com.jogamp.opengl.GL;
-+import com.jogamp.opengl.glu.GLU;
-
- /**
- * @author Pierre Lando
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLBuffersManager.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLBuffersManager.java
-index d5f1f06..99e6854 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLBuffersManager.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLBuffersManager.java
-@@ -19,7 +19,7 @@ import org.scilab.forge.scirenderer.buffers.DataBuffer;
- import org.scilab.forge.scirenderer.buffers.ElementsBuffer;
- import org.scilab.forge.scirenderer.buffers.IndicesBuffer;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
- import java.util.Collection;
- import java.util.HashSet;
- import java.util.Set;
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLDataBuffer.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLDataBuffer.java
-index 25d3a3e..b56c9d7 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLDataBuffer.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLDataBuffer.java
-@@ -16,7 +16,7 @@ package org.scilab.forge.scirenderer.implementation.jogl.buffers;
-
- import org.scilab.forge.scirenderer.buffers.DataBuffer;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
- import java.nio.Buffer;
-
- /**
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLElementsBuffer.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLElementsBuffer.java
-index 5206566..5d01b87 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLElementsBuffer.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLElementsBuffer.java
-@@ -16,7 +16,7 @@ package org.scilab.forge.scirenderer.implementation.jogl.buffers;
-
- import org.scilab.forge.scirenderer.buffers.ElementsBuffer;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
- import java.nio.Buffer;
- import java.nio.FloatBuffer;
-
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLIndicesBuffer.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLIndicesBuffer.java
-index 2a14656..f7f019f 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLIndicesBuffer.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/buffers/JoGLIndicesBuffer.java
-@@ -16,7 +16,7 @@ package org.scilab.forge.scirenderer.implementation.jogl.buffers;
-
- import org.scilab.forge.scirenderer.buffers.IndicesBuffer;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
- import java.nio.Buffer;
- import java.nio.IntBuffer;
- import java.util.Collection;
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingManager.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingManager.java
-index 22d28b2..57885f0 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingManager.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingManager.java
-@@ -18,7 +18,7 @@ import org.scilab.forge.scirenderer.clipping.ClippingManager;
- import org.scilab.forge.scirenderer.clipping.ClippingPlane;
- import org.scilab.forge.scirenderer.implementation.jogl.JoGLDrawingTools;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- /**
- * @author Pierre Lando
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingPlane.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingPlane.java
-index cf3ed8b..a5a5770 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingPlane.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/clipping/JoGLClippingPlane.java
-@@ -20,7 +20,7 @@ import org.scilab.forge.scirenderer.tranformations.Transformation;
- import org.scilab.forge.scirenderer.tranformations.TransformationFactory;
- import org.scilab.forge.scirenderer.tranformations.Vector4d;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- /**
- * @author Pierre Lando
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/drawer/JoGLShapeDrawer.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/drawer/JoGLShapeDrawer.java
-index 2b1066c..c1549b4 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/drawer/JoGLShapeDrawer.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/drawer/JoGLShapeDrawer.java
-@@ -26,7 +26,7 @@ import org.scilab.forge.scirenderer.texture.Texture;
- import org.scilab.forge.scirenderer.lightning.LightManager;
- import org.scilab.forge.scirenderer.shapes.appearance.Material;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
- import java.nio.FloatBuffer;
- import java.nio.IntBuffer;
-
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLight.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLight.java
-index f06809e..9e89b7c 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLight.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLight.java
-@@ -14,7 +14,7 @@
-
- package org.scilab.forge.scirenderer.implementation.jogl.lightning;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- import org.scilab.forge.scirenderer.implementation.jogl.utils.GLShortCuts;
- import org.scilab.forge.scirenderer.lightning.Light;
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLightManager.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLightManager.java
-index 0c8ae45..42d1e32 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLightManager.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/lightning/JoGLLightManager.java
-@@ -20,7 +20,7 @@ import org.scilab.forge.scirenderer.lightning.Light;
- import org.scilab.forge.scirenderer.lightning.LightManager;
- import org.scilab.forge.scirenderer.shapes.appearance.Material;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- /**
- * JoGL implementation of {@link LightManager}
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/GLPickingManager.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/GLPickingManager.java
-index 11c4b3f..6895a53 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/GLPickingManager.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/GLPickingManager.java
-@@ -14,7 +14,7 @@
-
- package org.scilab.forge.scirenderer.implementation.jogl.picking;
-
--import javax.media.opengl.GL;
-+import com.jogamp.opengl.GL;
-
- /**
- * @author Pierre Lando
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/JoGLPickingTools.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/JoGLPickingTools.java
-index f9fe5a8..9ac3537 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/JoGLPickingTools.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/picking/JoGLPickingTools.java
-@@ -19,7 +19,7 @@ import org.scilab.forge.scirenderer.implementation.jogl.JoGLDrawingTools;
- import org.scilab.forge.scirenderer.picking.PickingTools;
- import org.scilab.forge.scirenderer.tranformations.Vector3d;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
- import java.awt.Point;
- import java.nio.FloatBuffer;
-
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRenderer.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRenderer.java
-index 3f4b47d..9f9f856 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRenderer.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRenderer.java
-@@ -18,7 +18,7 @@ import org.scilab.forge.scirenderer.Drawer;
- import org.scilab.forge.scirenderer.implementation.jogl.JoGLDrawingTools;
- import org.scilab.forge.scirenderer.renderer.Renderer;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- /**
- * @author Pierre Lando
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRendererManager.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRendererManager.java
-index 4b4dd17..440750f 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRendererManager.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/renderer/JoGLRendererManager.java
-@@ -18,7 +18,7 @@ import org.scilab.forge.scirenderer.implementation.jogl.JoGLDrawingTools;
- import org.scilab.forge.scirenderer.renderer.Renderer;
- import org.scilab.forge.scirenderer.renderer.RendererManager;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
- import java.util.HashSet;
- import java.util.Set;
- import java.util.Stack;
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/texture/JoGLTextureManager.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/texture/JoGLTextureManager.java
-index 659f37f..25d3bc3 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/texture/JoGLTextureManager.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/texture/JoGLTextureManager.java
-@@ -32,11 +32,11 @@ import org.scilab.forge.scirenderer.tranformations.TransformationManager;
- import org.scilab.forge.scirenderer.tranformations.Vector3d;
-
-
--import javax.media.opengl.GL;
--import javax.media.opengl.GL2;
--import javax.media.opengl.GL2ES1;
--import javax.media.opengl.GL2GL3;
--import javax.media.opengl.GLProfile;
-+import com.jogamp.opengl.GL;
-+import com.jogamp.opengl.GL2;
-+import com.jogamp.opengl.GL2ES1;
-+import com.jogamp.opengl.GL2GL3;
-+import com.jogamp.opengl.GLProfile;
- import java.awt.Dimension;
- import java.nio.ByteBuffer;
- import java.nio.FloatBuffer;
-diff --git a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/utils/GLShortCuts.java b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/utils/GLShortCuts.java
-index 1d799e9..8a493fb 100644
---- a/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/utils/GLShortCuts.java
-+++ b/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/utils/GLShortCuts.java
-@@ -17,7 +17,7 @@ package org.scilab.forge.scirenderer.implementation.jogl.utils;
- import org.scilab.forge.scirenderer.shapes.appearance.Appearance;
- import org.scilab.forge.scirenderer.shapes.appearance.Color;
-
--import javax.media.opengl.GL2;
-+import com.jogamp.opengl.GL2;
-
- /**
- *
---
-1.7.9.5
-