Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-03 Thread Han Frederic


Le samedi 3 décembre 2016 13:55:30 UTC+1, Jeroen Demeyer a écrit :
>
> On 2016-07-03 21:08, Han Frederic wrote: 
> > Yes these binaries were left in upstream 1.2.2-37 source tarball, but it 
> > is a mistake. 
>
> How do you create those binaries? It should be done by a script ("make 
> dist" if you use autotools), not by hand. 
>

I don't create binaries, they were alerady in B.Parisse's tarball by 
mistake from (1.2.2-35 to 1.2.2-45) cf the bigger files in:
http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/

But I have missed they were there, I should have deleted them.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-03 Thread Jeroen Demeyer

On 2016-07-03 21:08, Han Frederic wrote:

Yes these binaries were left in upstream 1.2.2-37 source tarball, but it
is a mistake.


How do you create those binaries? It should be done by a script ("make 
dist" if you use autotools), not by hand.


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-03 Thread Thierry
Hi,

On Fri, Dec 02, 2016 at 10:59:48PM -0800, Ralf Stephan wrote:
> Apologies. I had the impression that repackaging is frowned upon for 
> security reasons. However, just removing files can be automated, either by 
> the original author or the Sage release manager, so there is room for 
> improvement.

I also like the fact that we use untouched upstream tarball. I was just
pointing that it was not related to making a package standard (look, e.g.
at rubiks bundle). It would be good to transform the 'sed' part of giac's
spkg-src into a real patch.

> So, for making giac standard package, we are practically waiting for the 
> release manager to just do it, right?

I guess the usual procedure is to ask for consensus on sage-devel, then
create a ticket that changes the 'type' file from 'optional' to
'standard', then indeed the release-manager will add the tarball to Sage
source tarball.

Ciao,
Thierry

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Ralf Stephan
Apologies. I had the impression that repackaging is frowned upon for 
security reasons. However, just removing files can be automated, either by 
the original author or the Sage release manager, so there is room for 
improvement.

So, for making giac standard package, we are practically waiting for the 
release manager to just do it, right?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Han Frederic
Hi ralf,
I am also lost because what you ask in this trac is what is done by the 
build/pkg/giac/spkg-src
{{{
VERSION="1.2.2"
VERSIONREV="103"

# The upstream tarball name is: giac"$SOURCEORIG".tar.gz
SOURCEORIG=_"$VERSION"-"$VERSIONREV"

...

# Downloading upstream source
sage-download-file 
"http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac$SOURCEORIG.tar.gz;
 
"giac$SOURCEORIG.tar.gz"
}}}
and I can see that bzip2, gap and singular also use a spkg-src so it looks 
allowed for a standard package to use an spkg-src when there is a reason 
right?
In giac I delete all the french html doc to have a 15Mb gpl tarball instead 
of the 49Mb original one. (the french html doc is only on a non commercial 
licence that's why I delete it)

So may be there is a misunderstanding somewhere?

If anyone still have explicit requirement for the giac spkg let me know.

Best
Frederic


Le vendredi 2 décembre 2016 16:54:29 UTC+1, Ralf Stephan a écrit :
>
> I opened https://trac.sagemath.org/ticket/22011
> to prepare the giac package to use the official tarballs.
>
> Regards,
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Thierry
Hi,

On Fri, Dec 02, 2016 at 07:54:29AM -0800, Ralf Stephan wrote:
> I opened https://trac.sagemath.org/ticket/22011
> to prepare the giac package to use the official tarballs.

What is the logical relation between "make giac a standard Sage package"
and "use the upstream unmodified tarball" ?

While both are legitimate, i do not understand the tie.

Ciao,
Thierry



> Regards,
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Ralf Stephan
I opened https://trac.sagemath.org/ticket/22011
to prepare the giac package to use the official tarballs.

Regards,

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Ralf Stephan
On Friday, December 2, 2016 at 1:49:57 PM UTC+1, Dima Pasechnik wrote:
>
> I was talking about silently changing a tarfile, without changing its name 
> at all.
>

That could happen with any package where the tarball is not on a typical 
repo server.
Is there a way for the release manager to check validity of the tarball 
link, e.g. automatically comparing with a template? If so then, as Han 
says, use the tarball from the official giac site with patches reviewed on 
trac. What else prevents giac from becoming a standard package?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Dima Pasechnik


On Friday, December 2, 2016 at 10:06:34 AM UTC, Ralf Stephan wrote:
>
> On Friday, December 2, 2016 at 10:51:47 AM UTC+1, Han Frederic wrote:
>>
>> We had this argument already. If you prefer to keep it this way, please 
 provide us a  VCS (git preferred) repo
 off which we can label releases by the latest commit in the master 
 branch, or something like this.
 This way at least meaningful bug reports can be filed. Please...
 We (or in fact any Linux/OSX distribution system) cannot work with 
 different tarballs that are named the same, we do not have tools to 
 support 
 this. Each tarball change without name change triggers an alert screaming 
 that it has been tampered with.

>>>
>> But the giac spkg is always built from these sources via the spkg-src:
>>
>> http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/
>> and they have a meaningful name. Ex: spkg 1.2.2.103 is from source 
>> 1.2.2-103.
>>
>
> I think numbering changes at level 4 are the problem that Dima (quote 
> above) meant.
> None of the toolos support it.
>

I was talking about silently changing a tarfile, without changing its name 
at all.
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Han Frederic


Le vendredi 2 décembre 2016 11:06:34 UTC+1, Ralf Stephan a écrit :
>
> On Friday, December 2, 2016 at 10:51:47 AM UTC+1, Han Frederic wrote:
>>
>> We had this argument already. If you prefer to keep it this way, please 
 provide us a  VCS (git preferred) repo
 off which we can label releases by the latest commit in the master 
 branch, or something like this.
 This way at least meaningful bug reports can be filed. Please...
 We (or in fact any Linux/OSX distribution system) cannot work with 
 different tarballs that are named the same, we do not have tools to 
 support 
 this. Each tarball change without name change triggers an alert screaming 
 that it has been tampered with.

>>>
>> But the giac spkg is always built from these sources via the spkg-src:
>>
>> http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/
>> and they have a meaningful name. Ex: spkg 1.2.2.103 is from source 
>> 1.2.2-103.
>>
>
> I think numbering changes at level 4 are the problem that Dima (quote 
> above) meant.
> None of the toolos support it.
>
 
 I thought that dima was talking of the unstable file with only 1.2.2 in 
the name but was  OK with 1.2.2-xx?


> On 5/07/2016, at 17:13, parisse  wrote: 

> > 
> > disable-gui should be working. If not, then I probably made a mistake 
> while copying the archive, you can try 
> http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac-1.2.2.tar.gz 
> 
>  
>
> Yes that tarball has the goods. I’ll wait for a new 1.2.2-xx tarball 
> though. No self respecting 
> packager wants to deal with an upstream tarball which changes all the 
> times. 


 


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Ralf Stephan
On Friday, December 2, 2016 at 10:51:47 AM UTC+1, Han Frederic wrote:
>
> We had this argument already. If you prefer to keep it this way, please 
>>> provide us a  VCS (git preferred) repo
>>> off which we can label releases by the latest commit in the master 
>>> branch, or something like this.
>>> This way at least meaningful bug reports can be filed. Please...
>>> We (or in fact any Linux/OSX distribution system) cannot work with 
>>> different tarballs that are named the same, we do not have tools to support 
>>> this. Each tarball change without name change triggers an alert screaming 
>>> that it has been tampered with.
>>>
>>
> But the giac spkg is always built from these sources via the spkg-src:
>
> http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/
> and they have a meaningful name. Ex: spkg 1.2.2.103 is from source 
> 1.2.2-103.
>

I think numbering changes at level 4 are the problem that Dima (quote 
above) meant.
None of the toolos support it.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-02 Thread Han Frederic


Le vendredi 2 décembre 2016 08:37:20 UTC+1, Ralf Stephan a écrit :
>
> On Tuesday, July 5, 2016 at 9:31:04 AM UTC+2, Dima Pasechnik wrote:
>>
>> Yes that tarball has the goods. I’ll wait for a new 1.2.2-xx tarball 
>>> though. No self respecting 
>>> packager wants to deal with an upstream tarball which changes all the 
>>> times. 
>>
>>  
>> We had this argument already. If you prefer to keep it this way, please 
>> provide us a  VCS (git preferred) repo
>> off which we can label releases by the latest commit in the master 
>> branch, or something like this.
>> This way at least meaningful bug reports can be filed. Please...
>> We (or in fact any Linux/OSX distribution system) cannot work with 
>> different tarballs that are named the same, we do not have tools to support 
>> this. Each tarball change without name change triggers an alert screaming 
>> that it has been tampered with.
>>
>
>
But the giac spkg is always built from these sources via the spkg-src:
http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/
and they have a meaningful name. Ex: spkg 1.2.2.103 is from source 
1.2.2-103.
it worked fine since the begining of this repo (in 2014) so I don't 
understand the need of a new libgiac package from git that
 will conflict with the optional giac spkg. 

Although giacpy_sage could be built from your package(sage/libs/giac.py),  
I guess that the pexpect interface (sage/interfaces/giac.py) won't work 
(need the built of icas).


 

> As it seems (#21963) linking problems cannot be resolved without a 
> standard Giac package I'd like to restart the argument here.
> I successully cloned the giac core from the geogebra repo given here and 
> today fetched current changes, all via "git svn".
> That anwers the question of availability of an actively maintained and 
> public giac repo. Git config:
>
> [svn-remote "svn"]
> url = https://dev.geogebra.org/svn/trunk/geogebra/giac/src/giac
> fetch = :refs/remotes/git-svn
>
> However, the code in that giac subdirectory is bare bones, i.e., without 
> any autotools. The other question is, is this code sufficient to support 
> both sage/interfaces/giac.py and sage/libs/giac.py and if not,what would be 
> needed? Would it be easy to add the parser to it in C++ (the one in 
> geogebra is in java)? If not I might be tempted to create a third giac 
> package (libgiac) just for linking with Pynac, and the other giac package 
> can stay optional for eternity.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-12-01 Thread Ralf Stephan
On Tuesday, July 5, 2016 at 9:31:04 AM UTC+2, Dima Pasechnik wrote:
>
> Yes that tarball has the goods. I’ll wait for a new 1.2.2-xx tarball 
>> though. No self respecting 
>> packager wants to deal with an upstream tarball which changes all the 
>> times. 
>
>  
> We had this argument already. If you prefer to keep it this way, please 
> provide us a  VCS (git preferred) repo
> off which we can label releases by the latest commit in the master branch, 
> or something like this.
> This way at least meaningful bug reports can be filed. Please...
> We (or in fact any Linux/OSX distribution system) cannot work with 
> different tarballs that are named the same, we do not have tools to support 
> this. Each tarball change without name change triggers an alert screaming 
> that it has been tampered with.
>

As it seems (#21963) linking problems cannot be resolved without a standard 
Giac package I'd like to restart the argument here.
I successully cloned the giac core from the geogebra repo given here and 
today fetched current changes, all via "git svn".
That anwers the question of availability of an actively maintained and 
public giac repo. Git config:

[svn-remote "svn"]
url = https://dev.geogebra.org/svn/trunk/geogebra/giac/src/giac
fetch = :refs/remotes/git-svn

However, the code in that giac subdirectory is bare bones, i.e., without 
any autotools. The other question is, is this code sufficient to support 
both sage/interfaces/giac.py and sage/libs/giac.py and if not,what would be 
needed? Would it be easy to add the parser to it in C++ (the one in 
geogebra is in java)? If not I might be tempted to create a third giac 
package (libgiac) just for linking with Pynac, and the other giac package 
can stay optional for eternity.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-05 Thread François Bissey

On 06/07/16 04:16, leif wrote:

If so, should we change also the spkg name? (may be we should not, so
> people will really upgrade?)

That's not a problem, since Sage releases and specific spkg versions are
now stupidly tied together (even for optional spkgs).


Upgrade has to be handled carefully - the new spkg
has to remove the old install whatever its name is.

As for Leif's comment it has always been mostly the
case for sage the distribution.
I have a bit more freedom in sage-on-gentoo but not
all that much. If anything I am sometime pressured to
push upgrade in sage.

Francois

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-05 Thread Ralf Stephan
Bernard sent me earlier:
https://dev.geogebra.org/trac/browser/trunk/geogebra/giac/src/giac

On Tue, Jul 5, 2016 at 9:31 AM Dima Pasechnik  wrote:

>
>
> On Tuesday, July 5, 2016 at 7:48:51 AM UTC+1, François wrote:
>
>>
>> > On 5/07/2016, at 17:13, parisse  wrote:
>> >
>> > disable-gui should be working. If not, then I probably made a mistake
>> while copying the archive, you can try
>> http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac-1.2.2.tar.gz
>> 
>>
>> Yes that tarball has the goods. I’ll wait for a new 1.2.2-xx tarball
>> though. No self respecting
>> packager wants to deal with an upstream tarball which changes all the
>> times.
>
>
> We had this argument already. If you prefer to keep it this way, please
> provide us a  VCS (git preferred) repo
> off which we can label releases by the latest commit in the master branch,
> or something like this.
> This way at least meaningful bug reports can be filed. Please...
> We (or in fact any Linux/OSX distribution system) cannot work with
> different tarballs that are named the same, we do not have tools to support
> this. Each tarball change without name change triggers an alert screaming
> that it has been tampered with.
>
>
>
>
>
>
>
>
>
>> > I don't know what you mean by ETA, but disable-ao should also be
>> working.
>>
>> Dima answered that beautifully.
>>
>> > For lapack, it was a little nightmare before I got it working for the
>> various binaries of Xcas I provide on my site. I don't want to spend time
>> on this again since it works for me, and if it does not work for you, you
>> can patch configure.in or disable-lapack.
>> >
>>
>> You have my sympathy. That it works across the various binaries
>> you distribute is a small miracle in and of itself.
>> Auto detection of lapack without help of something like a .pc file
>> is a nut job. It only works for you because someone decided to
>> normalise the naming on the platforms you support.
>>
>> François
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/HI0uZra5_iI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-05 Thread Dima Pasechnik


On Tuesday, July 5, 2016 at 7:48:51 AM UTC+1, François wrote:
>
>
> > On 5/07/2016, at 17:13, parisse  > wrote: 
> > 
> > disable-gui should be working. If not, then I probably made a mistake 
> while copying the archive, you can try 
> http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac-1.2.2.tar.gz 
> 
>  
>
> Yes that tarball has the goods. I’ll wait for a new 1.2.2-xx tarball 
> though. No self respecting 
> packager wants to deal with an upstream tarball which changes all the 
> times. 

 
We had this argument already. If you prefer to keep it this way, please 
provide us a  VCS (git preferred) repo
off which we can label releases by the latest commit in the master branch, 
or something like this.
This way at least meaningful bug reports can be filed. Please...
We (or in fact any Linux/OSX distribution system) cannot work with 
different tarballs that are named the same, we do not have tools to support 
this. Each tarball change without name change triggers an alert screaming 
that it has been tampered with.






  


> > I don't know what you mean by ETA, but disable-ao should also be 
> working. 
>
> Dima answered that beautifully. 
>
> > For lapack, it was a little nightmare before I got it working for the 
> various binaries of Xcas I provide on my site. I don't want to spend time 
> on this again since it works for me, and if it does not work for you, you 
> can patch configure.in or disable-lapack. 
> > 
>
> You have my sympathy. That it works across the various binaries 
> you distribute is a small miracle in and of itself. 
> Auto detection of lapack without help of something like a .pc file 
> is a nut job. It only works for you because someone decided to 
> normalise the naming on the platforms you support. 
>
> François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-05 Thread Francois Bissey

> On 5/07/2016, at 17:13, parisse  wrote:
> 
> disable-gui should be working. If not, then I probably made a mistake while 
> copying the archive, you can try 
> http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac-1.2.2.tar.gz

Yes that tarball has the goods. I’ll wait for a new 1.2.2-xx tarball though. No 
self respecting
packager wants to deal with an upstream tarball which changes all the times.

> I don't know what you mean by ETA, but disable-ao should also be working.

Dima answered that beautifully.

> For lapack, it was a little nightmare before I got it working for the various 
> binaries of Xcas I provide on my site. I don't want to spend time on this 
> again since it works for me, and if it does not work for you, you can patch 
> configure.in or disable-lapack.
> 

You have my sympathy. That it works across the various binaries
you distribute is a small miracle in and of itself.
Auto detection of lapack without help of something like a .pc file
is a nut job. It only works for you because someone decided to
normalise the naming on the platforms you support.

François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread Dima Pasechnik


On Tuesday, July 5, 2016 at 6:13:53 AM UTC+1, parisse wrote:
>
> disable-gui should be working. If not, then I probably made a mistake 
> while copying the archive, you can try 
> http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac-1.2.2.tar.gz
> I don't know what you mean by ETA, but disable-ao should also be working. 
> For lapack, it was a little nightmare before I got it working for the 
> various binaries of Xcas I provide on my site. I don't want to spend time 
> on this again since it works for me, and if it does not work for you, you 
> can patch configure.in or disable-lapack.
>

ETA == https://en.wikipedia.org/wiki/Estimated_time_of_arrival 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread parisse
disable-gui should be working. If not, then I probably made a mistake while 
copying the archive, you can try 
http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac-1.2.2.tar.gz
I don't know what you mean by ETA, but disable-ao should also be working. 
For lapack, it was a little nightmare before I got it working for the 
various binaries of Xcas I provide on my site. I don't want to spend time 
on this again since it works for me, and if it does not work for you, you 
can patch configure.in or disable-lapack.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread François Bissey

On 04/07/16 22:41, parisse wrote:

I'm fixing the build for --disable-gui


And I am guessing you didn't mean that it would be in 1.2.2-65 either.
I am still getting

/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I..  -DIN_GIAC -I. -I.. -I. -I..   -O1 
-march=native -pipe -ggdb -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS 
-c -o Xcas1.lo Xcas1.cc
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. 
-DIN_GIAC -I. -I.. -I. -I.. -O1 -march=native -pipe -ggdb 
-fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -c Xcas1.cc  -fPIC -DPIC 
-o .libs/Xcas1.o

In file included from Xcas1.cc:39:0:
Xcas1.h:151:3: error: ‘History_Fold’ does not name a type
   History_Fold * load_history_fold(int sx,int sy,int sw,int sh,int 
sl,const char * filename,bool modified); // might be used from icas.cc 
to call xcas online

   ^
Xcas1.cc: In function ‘void xcas::quit_idle_function(void*)’:
Xcas1.cc:3300:5: error: ‘Fl_Widget’ was not declared in this scope
 Fl_Widget * w=(Fl_Widget *)(widget);
 ^
Xcas1.cc:3300:17: error: ‘w’ was not declared in this scope
 Fl_Widget * w=(Fl_Widget *)(widget);
 ^
Xcas1.cc:3300:31: error: expected primary-expression before ‘)’ token
 Fl_Widget * w=(Fl_Widget *)(widget);
   ^
Makefile:880: recipe for target 'Xcas1.lo' failed


when configuring with --disable-gui in 1.2.2-65.
Do you make release notes or changelog available anywhere? It is
difficult to know what changed from one release to another.

Francois

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread François Bissey

On 04/07/16 22:41, parisse wrote:

I will also add a --disable-ao flag in configure.in (ao is used for the
playsnd command)


Do you have an ETA for that? I noticed it has not landed in 1.2.2-65.

Francois

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread Francois Bissey

> On 4/07/2016, at 22:41, parisse  wrote:
> 
> 
> I'm fixing the build for --disable-gui and I will also add a --disable-ao 
> flag in configure.in (ao is used for the playsnd command). You can 
> --disable-lapack if you think it will cause problems, LAPACK is interesting 
> inside giac only for large matrices (more than 1000x1000, otherwise giac 
> builtin algorithms are fast) or for ill-conditionned SVD (giac builtin svd 
> algorithm is naive).
> The GUI will obviously fail in a server-client session. If used locally, it 
> might however be useful, to display giac graphs of course, but also for the 
> prototype code that translates latex files with giac commands inside to 
> interactive HTML5 and to PDF (GUI required for PDF inclusion of images 
> generated by commands returning 2-d graphs).
> Stable release 1.2.2-65 will soon be available (it seems that our lab web 
> server is down).


I am not sure about lapack. Its usefulness may be limited but you
probably want to configure it some other way than looking for
libgfortan, libblas and liblapack in that order.
you probably want to be able to pass linking flags for it through
configure. And replace configure.in by configure.ac. configure.in
is deprecated and support for it may disappear sooner rather than
later.

François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread Han Frederic


Le lundi 4 juillet 2016 04:14:26 UTC+2, François a écrit :
>
> So I have been inspecting giac, as any discussion of making something 
> a standard package as an impact for sage-on-gentoo. 
> We have an old version in the science overlay so I am working on 
> upgrading it. 
>
> 1) current 1.2.2-63 and a few earlier versions need the gui, compiling 
> with "--disable-gui" is broken. 
>
 
I have noticed this also and reported it yesterday. I have tried a very 
short patch and it looks to solve this. 

I haven't gone through giacpy yet, but I don't like the fact there 
> is a sage specific version. Something could be done to only have one 
> source if my understanding of the issues and solution are correct. 
>
> This need works and it could ends with another split (Ex the non sage 
version have an experimental Qt output)
giacpy status is different from giac: Giac has regular users through xcas 
while giacpy is unknown, so the answer to Ralf's question could be 
different. Any help to merge the 2 versions would be welcome but I would 
like to still be able to cross build some giacpy for windows from linux.
 

> Francois 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread Francois Bissey

> On 4/07/2016, at 20:45, Thierry  wrote:
> 
> Hi,
> 
> On Mon, Jul 04, 2016 at 02:14:20PM +1200, François Bissey wrote:
>> So I have been inspecting giac, as any discussion of making something
>> a standard package as an impact for sage-on-gentoo.
>> We have an old version in the science overlay so I am working on
>> upgrading it.
>> 
>> 1) current 1.2.2-63 and a few earlier versions need the gui, compiling
>> with "--disable-gui" is broken.
> 
> If there is a choice there, i would vote for having the gui compiled by
> default, and have a 'sage -giac' and/or 'sage -xcas' commands available.

You intend to have “sage” package fltk?

François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-04 Thread Thierry
Hi,

On Mon, Jul 04, 2016 at 02:14:20PM +1200, François Bissey wrote:
> So I have been inspecting giac, as any discussion of making something
> a standard package as an impact for sage-on-gentoo.
> We have an old version in the science overlay so I am working on
> upgrading it.
> 
> 1) current 1.2.2-63 and a few earlier versions need the gui, compiling
> with "--disable-gui" is broken.

If there is a choice there, i would vote for having the gui compiled by
default, and have a 'sage -giac' and/or 'sage -xcas' commands available.

Ciao,
Thierry


> 2) the dependency on libao was making me curious so I investigated.
> It is an "automagic" dependency. There is a line
> AC_CHECK_LIB(ao, main)
> in configure.in and the library can be used in src/maple.cc.
> What this means is that if you build sage binary on a machine that
> has libao, giac will be broken when the binary is installed on
> machines without it. So this has to be fixed when giac becomes
> standard.
> 3) lapack can be used but detection is strange and it could lead to
> similar pitfalls than libao if the right files are present on the build
> system. It currently cannot pick up sage's lapack. It is a default
> configure option.
> 
> I haven't gone through giacpy yet, but I don't like the fact there
> is a sage specific version. Something could be done to only have one
> source if my understanding of the issues and solution are correct.
> 
> Francois
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: make giac/giacpy a standard package

2016-07-03 Thread François Bissey

So I have been inspecting giac, as any discussion of making something
a standard package as an impact for sage-on-gentoo.
We have an old version in the science overlay so I am working on
upgrading it.

1) current 1.2.2-63 and a few earlier versions need the gui, compiling
with "--disable-gui" is broken.
2) the dependency on libao was making me curious so I investigated.
It is an "automagic" dependency. There is a line
AC_CHECK_LIB(ao, main)
in configure.in and the library can be used in src/maple.cc.
What this means is that if you build sage binary on a machine that
has libao, giac will be broken when the binary is installed on
machines without it. So this has to be fixed when giac becomes
standard.
3) lapack can be used but detection is strange and it could lead to
similar pitfalls than libao if the right files are present on the build 
system. It currently cannot pick up sage's lapack. It is a default

configure option.

I haven't gone through giacpy yet, but I don't like the fact there
is a sage specific version. Something could be done to only have one
source if my understanding of the issues and solution are correct.

Francois

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.