Package Details: scilab 6.1.1-1

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: GPL2, BSD, custom:CeCILL
Submitter: td123
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 85
Popularity: 0.000751
First Submitted: 2011-12-07 20:36 (UTC)
Last Updated: 2024-03-15 17:46 (UTC)

Dependencies (37)

Required by (0)

Sources (8)

Latest Comments

1 2 3 4 5 6 .. 28 Next › Last »

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

configure: error: Could not find or use the Java package/jar lucene-core used by Lucene (looking for package org.apache.lucene.LucenePackage)

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

bartus commented on 2022-03-14 10:36 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

bartus commented on 2021-07-22 10:09 (UTC) (edited on 2021-07-22 10:10 (UTC) by bartus)

Please report issues and patches at https://github.com/bartoszek/AUR-scilab

Vial commented on 2021-05-12 21:54 (UTC)

I'm facing the same compilation errors as @Cryen. I guess the only changes required are line 85: mat_uint32_t* rowIndexes = (mat_uint32_t*)MALLOC(sizeof(mat_uint32_t) * nonZeros); line 68: mat_uint32_t* colIndexes = (mat_uint32_t*)MALLOC(sizeof(mat_uint32_t) * (pSparse->getRows() + 1));

minhaj.sixbyte commented on 2021-04-25 18:41 (UTC)

Hey TheGoliath,

Your pinned comment, link to your github repo is broken. 404 Github page not found error.