[Debian-science-sagemath] Jmol transition?

Ximin Luo infinity0 at debian.org
Sat Oct 22 02:26:00 UTC 2016


(re-add Andreas and the bug CC address)

OK, here's what I've explored so far:

First you need to svn clone jspecview and jsmol and put them into the parent directory of jmol. You need to find the right revisions corresponding to a particular Jmol release, it's not too hard but needlessly time-consuming.

Then you can manually call ant in each of these subprojects. JSpecView is quite easy to build, but JSmol is very hard because it uses java2script, an eclipse plugin. As part of the build process you're supposed to configure your eclipse with this plugin, then it will do some stuff. I haven't managed to figure out exactly what yet, because eclipse is old in Debian.

java2script is here: https://github.com/zhourenjian/java2script/ and the author makes binary releases sometimes on the Google Groups forums: https://groups.google.com/forum/#!forum/java2script

I've asked about whether it's possible to run this outside of Eclipse, but I think the chances are quite slim for that: https://github.com/zhourenjian/java2script/issues/5

X

Ximin Luo:
> I updated libnaga-java to 3.0 in Debian. However Jmol itself is not possible to package.
> 
> I've filed a bug about it here:
> 
> https://sourceforge.net/p/jmol/bugs/587/
> 
> Let's see how they respond...
> 
> Also I was wrong about "it hasn't been updated in years", that was just due to debian/watch being out-of-date and not detecting the new versions. Looks like it's still pretty active.
> 
> X
> 
> François Bissey:
>> That package traditionally gave me a lot of troubles. Because
>> I am not a java guy and none of my occasional helpers is either.
>> As it is jmol has three main elements as I see it 
>> jspecview a separate package
>> jmol proper
>> jsmol a javascript version of jmol produced from jmol.
>> Plus some other smaller java dependencies. jsmol as far as I
>> can see is difficult to produce from source on linux - I think
>> upstream uses a windows program to “compile it”.
>> So lately I just shipped jmol as a binary package. 
>>
>> François
>>


-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Debian-science-sagemath mailing list