-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scilab-bin: init at 5.5.2 #9499
Conversation
412ba01
to
969e4cc
Compare
I missed that |
It looks like you have done a lot more work to make the binary work than copy pasting the existing 4.x derivation. Better ship the source compilation anyway. |
Scilab 5 is a major upgrade from Scilab 4, and it uses Java much more heavily, particularly for the GUI. There are a number of Java dependencies that are missing and I don't have time to add them all to the tree: Flexdock, JOGL, Scirenderer, Jrosetta, Jhall, JLaTeXMath, jgraphx, jeuclid-core, batik >=1.7, xmlgraphics-commons [1]. I agree it would be much better to have a source build though. |
It's ok for me, the fact that it's called |
On Wed, 02 Sep 2015 08:17:52 -0700
Alright :). It's possibly that less heavy-handed patching of the Also, if the jdk expression exports a classpath variable so that I Thanks. |
On Wed, 2 Sep 2015 08:39:14 -0700
s/classpath/.so-path/ |
@khumba |
Okay, thanks, reworking... |
Okay, Scilab even bundles a JVM, so for simplicity I'm leaving it to
its own devices there. Here's the new version, please take a look,
thanks!
|
Despite Scilab running okay for everything I've needed and even doing
things like running TCL without having it being told Nix's version is,
ldd says that there are a bunch of bundled .so's with dependencies not
found (things that aren't on buildInputs, lapack etc.). I'll patch
these too. <WIP>
|
Still WIP? |
(triage) We still don't have scilab-5 and no update here. Should this be closed? merged as is? |
A built-from-source Scilab 5 package looks to be a lot more work, and some dependencies are missing from Nixpkgs, but the binary version with bundled dependencies works.
Rebased. This can be merged as is. It works as far as I can tell (graphing, installing packages from ATOMS, Xcos, help pages). |
While I understand the pain of figuring out build rules for nix and therefore going the binary-route I'm a bit worried about the proliferation of pre-compiled downloads in nixpkgs, especially for Java (as is the case here). What do you think about adding an additional field to meta to mark binary-download packages? Then we could keep some stats? |
I think they're rather rare, except for SW that doesn't provide sources at all and much of java stuff (that provides portable binaries). |
How does Nixpkgs feel about binary packages? Here's a derivation for the binary version of Scilab 5.5.2. A built-from-source Scilab 5 package looks to be a lot more work, and some dependencies are missing from Nixpkgs, but the binary version with bundled dependencies works.
I've been using this on x86_64 with this commit applied on top of my current nix-channel commit (bb79e19) with only a trivial change (
stdenv.gcc.gcc
becamestdenv.cc.cc
on master), and have had no problems with Scilab. I haven't tested on 32-bit. I tried to build on top of master, but got this error. Is this a problem with the package, or a problem with mixing master and stable?Thanks!