Search Criteria
Package Details: scilab 2025.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/scilab.git (read-only, click to copy) |
---|---|
Package Base: | scilab |
Description: | A scientific software package for numerical computations |
Upstream URL: | https://www.scilab.org |
Keywords: | algorithm analysis data development gui mathematics model modelica numeric numerical science scientific sdk simulation visualization |
Licenses: | BSD-3-Clause, GPL-2.0-or-later, CeCILL-2.1 |
Submitter: | td123 |
Maintainer: | carlosal1015 |
Last Packager: | carlosal1015 |
Votes: | 86 |
Popularity: | 0.017081 |
First Submitted: | 2011-12-07 20:36 (UTC) |
Last Updated: | 2024-10-26 02:56 (UTC) |
Dependencies (16)
- arpack (arpack-gitAUR)
- bwidgetAUR
- eigen (eigen-gitAUR)
- fftw
- hdf5-openmpi
- libmatio (libmatio-gitAUR)
- suitesparse
- ant (ant-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- ocaml-num (make)
- pcre (make)
- pkgconf (pkgconf-gitAUR) (make)
- time (time-gitAUR) (make)
- tk (tk-fossilAUR) (make)
Required by (0)
Sources (1)
carlosal1015 commented on 2024-11-17 18:01 (UTC)
MarsSeed commented on 2024-04-01 14:23 (UTC)
@carlosal1015, thanks for your response. It is fine by me either way. I am not a user of this package. I was just trying to test an AUR dependency of this, that's when I accidentally bumped into the flexdock related build issue here.
Please do as you see fit as per your insight.
carlosal1015 commented on 2024-03-26 12:29 (UTC)
I am planning disable java support Any hint: https://github.com/carlosal1015/scilab-pkgbuild
MarsSeed commented on 2024-03-26 11:04 (UTC)
Btw, it seems forcing dependence on jgraphx-jre8 is unnecessary, and the jre8/jdk8 also causes the previously mentioned java-flexdock to fail to build. I had to manually install a newer jdk (java-environent>=11) to build the latter.
There is a newer jgraphx package; I think that is the one that should be used as dependency here.
MarsSeed commented on 2024-03-26 01:43 (UTC)
I don't know why, but this fails to build for me, despite having java-flexdock installed:
checking flexdock... no
configure: error: Could not find or use the Java package/jar flexdock used by Scilab Gui (looking for package org.flexdock.util.Utilities)
petronny commented on 2023-09-14 01:19 (UTC)
@weshouman The config.log
file will show you the actual error during ./configure
. I think the cause to the error should be apache-lucene 9 is complied with a more recent version of java while this PKGBUILD is still using java 8.
weshouman commented on 2022-10-18 02:24 (UTC) (edited on 2022-10-18 02:42 (UTC) by weshouman)
apache-lucene has 2 versions available for download and both would fail the build for Scilab 6.1.1
- Version 9.4.0 breaks the build: issue#16897: Scilab does not build against Lucene 9.4.0
configure: error: Could not find or use the Java package/jar lucene-core used by Lucene (looking for package org.apache.lucene.LucenePackage)
- Version 8.11.2 breaks the build: issue#16896: Scilab does not build against Lucene 8.11.2, however that got fixed recently and the Scilab @ branch 6.1 has that fixed.
However, apache-lucene
AUR package is using version 9.4.0
by default which requires:
- Patching apache-lucene to be at version 8.11.2
sed -i "s#9.4.0#8.11.2#g" PKGBUILD
sed -i "s#c1b8944b0a8d14ca30f643baaa53cb38778d869366d365a7b8c85f7619ebbd12#c1b8944b0a8d14ca30f643baaa53cb38778d869366d365a7b8c85f7619ebbd12#g" PKGBUILD
- Patching this repo to contain the fix#21829
--- PKGBUILD 2022-10-18 02:03:07.510159940 +0000
+++ PKGBUILD.latest 2022-10-18 01:52:53.606223616 +0000
@@ -6,7 +6,7 @@
# Contributor : bartus <scilab-aur@bartus.33mail.com>
pkgname=scilab
-pkgver=6.1.1
+pkgver=6.1
pkgrel=1
pkgdesc='A scientific software package for numerical computations.'
arch=('i686' 'x86_64')
@@ -26,7 +26,7 @@
makedepends=('java-environment=8' 'ant>=1.9.0'
'ocaml-findlib' 'ocaml-num' 'gcc-fortran'
'time')
-source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+source=("https://gitlab.com/scilab/scilab/-/archive/6.1/scilab-6.1.tar.gz"
"${pkgname}-jogl-2.3.2.patch"
"${pkgname}-strict-jar.patch"
"${pkgname}-LD_LIBRARY_PATH.patch"
@@ -35,7 +35,7 @@
"libxml.patch"
"hdf5_18_api.patch"
)
-sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
+sha256sums=('178fc38af09a9b07a51db8bd70523d024f3337a82a5817dccf5cf8fd77ce4c8d'
'7b7b5609ee36b6f8d801eeb3899cd62cc889c2038e0e1616b7640f9b8a0424b0'
'38aa094951338fa1d267dc6f397552e175213b0f8ba7b35727c178607861f6dd'
'a39277cb8cfc3d7929c73ce6d707dc24e3df4b8d8f2d587f075efebda79ff4db'
@@ -45,7 +45,7 @@
'f781c2919a0c14be5deed3a8b8866addd8de1171a06aacb96ef1e19535d0988e')
prepare(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
# https://codereview.scilab.org/#/c/17530/
patch -p2 < "${srcdir}"/${pkgname}-jogl-2.3.2.patch
@@ -64,7 +64,7 @@
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
./configure \
--prefix=/usr \
@@ -90,7 +90,7 @@
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-data install-html
Note: Unfortunately even building the latest Scilab 6.1 using lucene 8.11.2 failed as mentioned in issue#16898: Building Scilab fails on Arch Linux
JoseskVolpe commented on 2022-08-14 03:21 (UTC)
Seems like source-code was removed from SciLab page, i had to use the Github repo:
diff --git a/PKGBUILD b/PKGBUILD
index 69e5d00..9606584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,7 +26,7 @@ depends=('suitesparse>=4.4.1' 'arpack' 'fftw' 'eigen'
makedepends=('java-environment=8' 'ant>=1.9.0'
'ocaml-findlib' 'ocaml-num' 'gcc-fortran'
'time')
-source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scilab/scilab/archive/refs/tags/6.1.1.tar.gz"
"${pkgname}-jogl-2.3.2.patch"
"${pkgname}-strict-jar.patch"
"${pkgname}-LD_LIBRARY_PATH.patch"
@@ -35,7 +35,7 @@ source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
"libxml.patch"
"hdf5_18_api.patch"
)
-sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
+sha256sums=('83555679b7d56df4aedad60678d97794cc5aefcda8b57206899016b5702607a4'
'7b7b5609ee36b6f8d801eeb3899cd62cc889c2038e0e1616b7640f9b8a0424b0'
'38aa094951338fa1d267dc6f397552e175213b0f8ba7b35727c178607861f6dd'
'a39277cb8cfc3d7929c73ce6d707dc24e3df4b8d8f2d587f075efebda79ff4db'
@@ -45,7 +45,7 @@ sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
'f781c2919a0c14be5deed3a8b8866addd8de1171a06aacb96ef1e19535d0988e')
prepare(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
# https://codereview.scilab.org/#/c/17530/
patch -p2 < "${srcdir}"/${pkgname}-jogl-2.3.2.patch
@@ -64,7 +64,7 @@ prepare(){
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
./configure \
--prefix=/usr \
@@ -90,7 +90,7 @@ build() {
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-data install-html
However, i got into a build error lol <quote> configure: error: Could not find or use the Java package/jar lucene-core used by Lucene (looking for package org.apache.lucene.LucenePackage) </quote>
If i manage to fix that, i'll mail you
Pinned Comments
carlosal1015 commented on 2024-11-17 18:01 (UTC)
Open issue https://gitlab.com/scilab/scilab/-/issues/16429