public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] [sage-on-gentoo] Sage without Java
@ 2018-01-13  8:39 v_2e
  2018-01-13  8:49 ` François Bissey
  0 siblings, 1 reply; 5+ messages in thread
From: v_2e @ 2018-01-13  8:39 UTC (permalink / raw
  To: gentoo-science

Hello!

Today I noticed that upgrading sci-mathematics/sage pulls the Java
development kit. Is there a way to install Sage without all that
Java-related stuff if I do not wish to have that on my system?

Regards,
  Vladimir

----- 
 <v_2e@ukr.net>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] [sage-on-gentoo] Sage without Java
  2018-01-13  8:39 [gentoo-science] [sage-on-gentoo] Sage without Java v_2e
@ 2018-01-13  8:49 ` François Bissey
  2018-01-20  9:59   ` François Bissey
  0 siblings, 1 reply; 5+ messages in thread
From: François Bissey @ 2018-01-13  8:49 UTC (permalink / raw
  To: gentoo-science

Hi Vladimir,

This is unfortunately due to sage’s direct dependency to “jmol”
(sage-jmol-bin these days) it used to be only a dependency 
through the sage-notebook with the flag java. But sage uses jmol
directly for 3D plots as its default backend. I, and others -
including the people maintaining sage in debian - wish it weren’t
so :( Mostly because we have a very low opinion about jmol from
a packaging perspective.
It may be possible to use something else for 3D plots and make
jmol optional but that’s work I am not quite ready to commit to.

François

> On 13/01/2018, at 21:39, v_2e@ukr.net wrote:
> 
> Hello!
> 
> Today I noticed that upgrading sci-mathematics/sage pulls the Java
> development kit. Is there a way to install Sage without all that
> Java-related stuff if I do not wish to have that on my system?
> 
> Regards,
>  Vladimir
> 
> ----- 
> <v_2e@ukr.net>
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] [sage-on-gentoo] Sage without Java
  2018-01-13  8:49 ` François Bissey
@ 2018-01-20  9:59   ` François Bissey
  2018-01-20 14:12     ` v_2e
  0 siblings, 1 reply; 5+ messages in thread
From: François Bissey @ 2018-01-20  9:59 UTC (permalink / raw
  To: gentoo-science

I don’t know the time frame yet but it should be possible to use tachyon 
instead of jmol if it isn’t available so I may look into that. But I cannot
promise you to land this in sage-8.2.

François

> On 13/01/2018, at 21:49, François Bissey <frp.bissey@gmail.com> wrote:
> 
> Hi Vladimir,
> 
> This is unfortunately due to sage’s direct dependency to “jmol”
> (sage-jmol-bin these days) it used to be only a dependency 
> through the sage-notebook with the flag java. But sage uses jmol
> directly for 3D plots as its default backend. I, and others -
> including the people maintaining sage in debian - wish it weren’t
> so :( Mostly because we have a very low opinion about jmol from
> a packaging perspective.
> It may be possible to use something else for 3D plots and make
> jmol optional but that’s work I am not quite ready to commit to.
> 
> François
> 
>> On 13/01/2018, at 21:39, v_2e@ukr.net wrote:
>> 
>> Hello!
>> 
>> Today I noticed that upgrading sci-mathematics/sage pulls the Java
>> development kit. Is there a way to install Sage without all that
>> Java-related stuff if I do not wish to have that on my system?
>> 
>> Regards,
>> Vladimir
>> 
>> ----- 
>> <v_2e@ukr.net>
>> 
> 
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] [sage-on-gentoo] Sage without Java
  2018-01-20  9:59   ` François Bissey
@ 2018-01-20 14:12     ` v_2e
  2018-03-23  1:38       ` François Bissey
  0 siblings, 1 reply; 5+ messages in thread
From: v_2e @ 2018-01-20 14:12 UTC (permalink / raw
  To: gentoo-science

Hello!

On Sat, 20 Jan 2018 22:59:01 +1300
François Bissey <frp.bissey@gmail.com> wrote:

> I don’t know the time frame yet but it should be possible to use
> tachyon instead of jmol if it isn’t available so I may look into
> that. But I cannot promise you to land this in sage-8.2.
> 
I have always been using tachyon for 3D images. So that would
definitely be great. Thank you for working on Sage-on-Gentoo!

Vladimir

----- 
 <v_2e@ukr.net>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] [sage-on-gentoo] Sage without Java
  2018-01-20 14:12     ` v_2e
@ 2018-03-23  1:38       ` François Bissey
  0 siblings, 0 replies; 5+ messages in thread
From: François Bissey @ 2018-03-23  1:38 UTC (permalink / raw
  To: gentoo-science

OK I have spent a little bit of time looking at this.
*) of course the test suite needs jmol to complete properly;
*) documentation probably can be built with tachyon but I am not sure;
*) several defaults need to be changed to tachyon otherwise things will just break;
*) the only alternative available in all cases where 3D rendering is needed is 
tachyon - but basic 3D plots could also use threejs.

There are 3 places where a patch needs to be applied to change the default.
One of them would fall back on tachyon but it is probably better just to be
consistent. 

I definitely can do something about this for 8.2. I think
the issues are clearly identified.

François

> On 21/01/2018, at 03:12, v_2e@ukr.net wrote:
> 
> Hello!
> 
> On Sat, 20 Jan 2018 22:59:01 +1300
> François Bissey <frp.bissey@gmail.com> wrote:
> 
>> I don’t know the time frame yet but it should be possible to use
>> tachyon instead of jmol if it isn’t available so I may look into
>> that. But I cannot promise you to land this in sage-8.2.
>> 
> I have always been using tachyon for 3D images. So that would
> definitely be great. Thank you for working on Sage-on-Gentoo!
> 
> Vladimir
> 
> ----- 
> <v_2e@ukr.net>
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-23  1:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-13  8:39 [gentoo-science] [sage-on-gentoo] Sage without Java v_2e
2018-01-13  8:49 ` François Bissey
2018-01-20  9:59   ` François Bissey
2018-01-20 14:12     ` v_2e
2018-03-23  1:38       ` François Bissey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox