Scilab under MacOSX

classic Classic list List threaded Threaded
10 messages Options
Sylvestre Ledru Sylvestre Ledru
Reply | Threaded
Open this post in threaded view
|

Scilab under MacOSX

Hello,

I am starting to work on a MacOSX release of Scilab.
I don't know if we will be able to release it with the Windows/Linux
offical version of Scilab 5.0 but we will do our best.
And yes, we will probably support it as an official release.

Before I go deeper, is there any comments/ideas ?
Does anyone want to be involve ?

For now, I am using Darwin ports to install dependencies + Xcode +
hpc.sf.net stuff [1] and I started a page on the wiki [2].

Sylvestre

[1] http://hpc.sourceforge.net/
[2] http://wiki.scilab.org/Compiling_Scilab_5.x_under_MacOSX


Simone Mannori Simone Mannori
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

On Wed, 2008-03-05 at 09:53 +0100, Sylvestre Ledru wrote:
> Hello,
>
> I am starting to work on a MacOSX release of Scilab.

Scilab 5, I suppose :)


> I don't know if we will be able to release it with the Windows/Linux
> offical version of Scilab 5.0 but we will do our best.
> And yes, we will probably support it as an official release.
>
> Before I go deeper, is there any comments/ideas ?

The new macs uses intel CPU, but there is a HUGE base of potential
Scilab 5.x users and developers that continue to use "traditional" PPC
Macs (just like my Powerbook G4).

Using the "universal binary" the additional work should be minimal.

> Does anyone want to be involve ?
>

Yes. I can do testing, reports, docs, ... and more: it is up to you ;)

My dual boot (OSX, Ubuntu) Mac(PPC) is ready, updated and moderately
hot ....

> For now, I am using Darwin ports to install dependencies + Xcode +
> hpc.sf.net stuff [1] and I started a page on the wiki [2].
>
Good idea. THX

> Sylvestre
>
> [1] http://hpc.sourceforge.net/
> [2] http://wiki.scilab.org/Compiling_Scilab_5.x_under_MacOSX
>



mottelet-2 mottelet-2
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

In reply to this post by Sylvestre Ledru
Selon Sylvestre Ledru <[hidden email]>:

> Hello,
>
> I am starting to work on a MacOSX release of Scilab.
> I don't know if we will be able to release it with the Windows/Linux
> offical version of Scilab 5.0 but we will do our best.
> And yes, we will probably support it as an official release.
>
> Before I go deeper, is there any comments/ideas ?
> Does anyone want to be involve ?
>
> For now, I am using Darwin ports to install dependencies + Xcode +
> hpc.sf.net stuff [1] and I started a page on the wiki [2].

As far as im a concerned, I work with Fink, since there is
already someone (Jeffrey Witheaker) maintaining the official
Fink package. Jeffrey has already solved many problems
which were specific to the couple Intel/OSX (pbs with
dlamch.f and slmach.f for example, and many others). Until now,
I never needed to use Xcode, but maybe this will be compulsory
since there is now a bunch of Java stuff...

S.

>
> Sylvestre
>
> [1] http://hpc.sourceforge.net/
> [2] http://wiki.scilab.org/Compiling_Scilab_5.x_under_MacOSX
>




-------------------------------------------------


Sylvestre Ledru Sylvestre Ledru
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

In reply to this post by Simone Mannori

> The new macs uses intel CPU, but there is a HUGE base of potential
> Scilab 5.x users and developers that continue to use "traditional" PPC
> Macs (just like my Powerbook G4).
Just need a PPC CPU to build it.

> Using the "universal binary" the additional work should be minimal.
Yes, we will probably go this way.

Sylvestre



Simone Mannori Simone Mannori
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

On Wed, 2008-03-05 at 10:18 +0100, Sylvestre Ledru wrote:
> > The new macs uses intel CPU, but there is a HUGE base of potential
> > Scilab 5.x users and developers that continue to use "traditional" PPC
> > Macs (just like my Powerbook G4).
> Just need a PPC CPU to build it.
>

My PPC is ready :)

> > Using the "universal binary" the additional work should be minimal.
> Yes, we will probably go this way.


Great :)

Simone


Sylvestre Ledru Sylvestre Ledru
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

In reply to this post by mottelet-2

Le mercredi 05 mars 2008 à 10:15 +0100, [hidden email] a écrit :

> Selon Sylvestre Ledru <[hidden email]>:
>
> > Hello,
> >
> > I am starting to work on a MacOSX release of Scilab.
> > I don't know if we will be able to release it with the Windows/Linux
> > offical version of Scilab 5.0 but we will do our best.
> > And yes, we will probably support it as an official release.
> >
> > Before I go deeper, is there any comments/ideas ?
> > Does anyone want to be involve ?
> >
> > For now, I am using Darwin ports to install dependencies + Xcode +
> > hpc.sf.net stuff [1] and I started a page on the wiki [2].
>
> As far as im a concerned, I work with Fink, since there is
> already someone (Jeffrey Witheaker) maintaining the official
> Fink package. Jeffrey has already solved many problems
> which were specific to the couple Intel/OSX (pbs with
> dlamch.f and slmach.f for example, and many others). Until now,
> I never needed to use Xcode, but maybe this will be compulsory
> since there is now a bunch of Java stuff...
Merci Stéphane.
Do you have an idea what is the most used between fink and darwinports
for lambda and power users ?
I am going to contact Jeffrey.

Sylvestre



mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

Sylvestre Ledru a écrit :

> Le mercredi 05 mars 2008 à 10:15 +0100, [hidden email] a écrit :
>  
>> Selon Sylvestre Ledru <[hidden email]>:
>>
>>    
>>> Hello,
>>>
>>> I am starting to work on a MacOSX release of Scilab.
>>> I don't know if we will be able to release it with the Windows/Linux
>>> offical version of Scilab 5.0 but we will do our best.
>>> And yes, we will probably support it as an official release.
>>>
>>> Before I go deeper, is there any comments/ideas ?
>>> Does anyone want to be involve ?
>>>
>>> For now, I am using Darwin ports to install dependencies + Xcode +
>>> hpc.sf.net stuff [1] and I started a page on the wiki [2].
>>>      
>> As far as im a concerned, I work with Fink, since there is
>> already someone (Jeffrey Witheaker) maintaining the official
>> Fink package. Jeffrey has already solved many problems
>> which were specific to the couple Intel/OSX (pbs with
>> dlamch.f and slmach.f for example, and many others). Until now,
>> I never needed to use Xcode, but maybe this will be compulsory
>> since there is now a bunch of Java stuff...
>>    
> Merci Stéphane.
> Do you have an idea what is the most used between fink and darwinports
> for lambda and power users ?
>  
Fink, for sure. Fink is based on the apt package system (debian like)
and it is easy
to cope with dependencies. But maye it is also easy with Darwinports.
> I am going to contact Jeffrey.
>  
If you are interested i can send you the actual patch file  (for 2.4.1)
to see where are
the recurrent problems.

> Sylvestre
>  


--
Stéphane Mottelet
Laboratoire de Mathématiques Appliquées
Université de Technologie de Compiègne
http://www.lmac.utc.fr/~mottelet

Sylvestre Ledru Sylvestre Ledru
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX


> > Do you have an idea what is the most used between fink and darwinports
> > for lambda and power users ?
> >  
> Fink, for sure. Fink is based on the apt package system (debian like)
> and it is easy
> to cope with dependencies. But maye it is also easy with Darwinports.
It is very easy with DarwinPorts too.

> > I am going to contact Jeffrey.
> >  
> If you are interested i can send you the actual patch file  (for 2.4.1)
> to see where are
> the recurrent problems.
Yep, that would be great.

Sylvestre



mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

Sylvestre Ledru a écrit :

>>> Do you have an idea what is the most used between fink and darwinports
>>> for lambda and power users ?
>>>  
>>>      
>> Fink, for sure. Fink is based on the apt package system (debian like)
>> and it is easy
>> to cope with dependencies. But maye it is also easy with Darwinports.
>>    
> It is very easy with DarwinPorts too.
>
>  
>>> I am going to contact Jeffrey.
>>>  
>>>      
>> If you are interested i can send you the actual patch file  (for 2.4.1)
>> to see where are
>> the recurrent problems.
>>    
> Yep, that would be great.
>
> Sylvestre
>  
Here are the files.

S.

--
Stéphane Mottelet
Laboratoire de Mathématiques Appliquées
Université de Technologie de Compiègne
http://www.lmac.utc.fr/~mottelet


diff -Naur scilab-4.1.2.orig/configure scilab-4.1.2/configure
--- scilab-4.1.2.orig/configure 2007-09-10 10:46:20.000000000 +0200
+++ scilab-4.1.2/configure 2008-01-11 17:45:19.000000000 +0100
@@ -24924,6 +24924,7 @@
    ;;
 # Darwin/MacOSX (Not supported by INRIA)
   *-*-darwin*)
+     SONAME=dylib
      STRIP=echo
      PERIX11NOPT=periX11
      GCC=yes
@@ -24935,7 +24936,7 @@
      FC=g77
      FC_OPTIONS='-O2'
      FC_OPTIONS_O0=
-     FC_LDFLAGS='-L/sw/lib -ldl -lcc_dynamic'
+     FC_LDFLAGS='-L/sw/lib -ldl'
      FC_PICFLAGS='-fPIC'
      LD=ld
      LD_LDFLAGS=
diff -Naur scilab-4.1.2.orig/routines/console/dynamic_menus.c scilab-4.1.2/routines/console/dynamic_menus.c
--- scilab-4.1.2.orig/routines/console/dynamic_menus.c 2006-11-21 16:43:28.000000000 +0100
+++ scilab-4.1.2/routines/console/dynamic_menus.c 2008-01-11 17:44:35.000000000 +0100
@@ -3,6 +3,9 @@
  *    [hidden email]
  *    Changed: steer, jpc 2004
  *--------------------------------------------------------------------------*/
+#ifdef __APPLE__
+#include <stdio.h>
+#endif
 #ifdef WIN32
 #include <windows.h>
 #include <stdio.h>
diff -Naur scilab-4.1.2.orig/routines/interf/intgraphics.c scilab-4.1.2/routines/interf/intgraphics.c
--- scilab-4.1.2.orig/routines/interf/intgraphics.c 2006-07-12 11:11:20.000000000 +0200
+++ scilab-4.1.2/routines/interf/intgraphics.c 2008-01-11 17:44:36.000000000 +0100
@@ -85,7 +85,7 @@
 extern int sci_delete    _PARAMS((char *fname, unsigned long fname_len));
 extern int addcb         _PARAMS((char *fname, unsigned long fname_len));
 extern int copy          _PARAMS((char *fname, unsigned long subwinparenttarget));
-extern int move          _PARAMS((char *fname, unsigned long fname_len));
+extern int scimove          _PARAMS((char *fname, unsigned long fname_len));
 extern int glue _PARAMS((char *fname, unsigned long fname_len));
 extern int unglue _PARAMS((char *fname, unsigned long fname_len));
 extern int drawnow _PARAMS((char *fname, unsigned long fname_len));
@@ -182,7 +182,7 @@
   {sci_delete,"delete"},
   {addcb,"addcb"},
   {copy,"copy"},
-  {move,"move"},
+  {scimove,"move"},
   {glue,"glue"},
   {unglue,"unglue"},
   {drawnow,"drawnow"},
diff -Naur scilab-4.1.2.orig/routines/interf/intinterp.c scilab-4.1.2/routines/interf/intinterp.c
--- scilab-4.1.2.orig/routines/interf/intinterp.c 2006-07-11 18:06:00.000000000 +0200
+++ scilab-4.1.2/routines/interf/intinterp.c 2008-01-11 17:44:35.000000000 +0100
@@ -10,6 +10,9 @@
 #if WIN32|| defined (linux)
 #include <string.h>
 #endif
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #include <math.h>
 
 
diff -Naur scilab-4.1.2.orig/routines/interf/matdes.c scilab-4.1.2/routines/interf/matdes.c
--- scilab-4.1.2.orig/routines/interf/matdes.c 2007-10-16 11:30:34.000000000 +0200
+++ scilab-4.1.2/routines/interf/matdes.c 2008-01-11 17:44:36.000000000 +0100
@@ -5221,7 +5221,7 @@
 
 
 /*-----------------------------------------------------------------------------------*/
-int move(char *fname,unsigned long fname_len)
+int scimove(char *fname,unsigned long fname_len)
 {
   long hdl;
   integer m1,n1,l1,m2,n2,l2,m3,n3,l3,n;
diff -Naur scilab-4.1.2.orig/routines/interf/matelm.f scilab-4.1.2/routines/interf/matelm.f
--- scilab-4.1.2.orig/routines/interf/matelm.f 2007-09-10 10:55:36.000000000 +0200
+++ scilab-4.1.2/routines/interf/matelm.f 2008-01-11 17:44:36.000000000 +0100
@@ -5091,7 +5091,7 @@
          tiniest = dlamch('u')
          if ( tiniest/b .ne. 0.d0 ) then
 c     denormalised number are used
-            do i = 1, dlamch('n') - 1
+            do i = 1, int(dlamch('n')) - 1
                tiniest = tiniest / b
             enddo
          endif
diff -Naur scilab-4.1.2.orig/routines/os_specific/link_SYSV.c scilab-4.1.2/routines/os_specific/link_SYSV.c
--- scilab-4.1.2.orig/routines/os_specific/link_SYSV.c 2003-02-04 22:16:08.000000000 +0100
+++ scilab-4.1.2/routines/os_specific/link_SYSV.c 2008-01-11 17:44:35.000000000 +0100
@@ -34,7 +34,7 @@
 #endif
 
 
-#if defined(linux) || defined(netbsd) || defined(freebsd)
+#if defined(linux) || defined(netbsd) || defined(freebsd) || defined(__APPLE__)
 #include <unistd.h>
 #include <sys/wait.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/scicos/matscicos.c scilab-4.1.2/routines/scicos/matscicos.c
--- scilab-4.1.2.orig/routines/scicos/matscicos.c 2007-10-08 08:29:51.000000000 +0200
+++ scilab-4.1.2/routines/scicos/matscicos.c 2008-01-11 17:44:36.000000000 +0100
@@ -3,6 +3,9 @@
 /* INRIA 2005 */
 /* Allan CORNET */
 /*-----------------------------------------------------------------------------------*/
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #if WIN32
 #include <Windows.h>
 #include "../os_specific/win_mem_alloc.h"
diff -Naur scilab-4.1.2.orig/routines/wintools/intOEMconvert.h scilab-4.1.2/routines/wintools/intOEMconvert.h
--- scilab-4.1.2.orig/routines/wintools/intOEMconvert.h 2005-05-10 16:52:08.000000000 +0200
+++ scilab-4.1.2/routines/wintools/intOEMconvert.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTOEMCONVERT__
 #define __INTOEMCONVERT__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intabout.h scilab-4.1.2/routines/wintools/intabout.h
--- scilab-4.1.2.orig/routines/wintools/intabout.h 2005-03-02 16:47:56.000000000 +0100
+++ scilab-4.1.2/routines/wintools/intabout.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTABOUT__
 #define __INTABOUT__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intconsoledos.h scilab-4.1.2/routines/wintools/intconsoledos.h
--- scilab-4.1.2.orig/routines/wintools/intconsoledos.h 2005-03-02 16:47:56.000000000 +0100
+++ scilab-4.1.2/routines/wintools/intconsoledos.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTCONSOLEDOS__
 #define __INTCONSOLEDOS__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intfileassociationbox.h scilab-4.1.2/routines/wintools/intfileassociationbox.h
--- scilab-4.1.2.orig/routines/wintools/intfileassociationbox.h 2005-09-18 21:19:52.000000000 +0200
+++ scilab-4.1.2/routines/wintools/intfileassociationbox.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTFILEASSOCIATIONBOX__
 #define __INTFILEASSOCIATIONBOX__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include "../wsci/FilesAssociationBox.h"
   #include "../wsci/wgnuplib.h"
diff -Naur scilab-4.1.2.orig/routines/wintools/intihmcolor.h scilab-4.1.2/routines/wintools/intihmcolor.h
--- scilab-4.1.2.orig/routines/wintools/intihmcolor.h 2005-08-05 23:26:45.000000000 +0200
+++ scilab-4.1.2/routines/wintools/intihmcolor.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTIHMCOLOR__
 #define __INTIHMCOLOR__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intmcisendstring.h scilab-4.1.2/routines/wintools/intmcisendstring.h
--- scilab-4.1.2.orig/routines/wintools/intmcisendstring.h 2005-05-02 20:35:23.000000000 +0200
+++ scilab-4.1.2/routines/wintools/intmcisendstring.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTMCISENDSTRING__
 #define __INTMCISENDSTRING__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intpathname.h scilab-4.1.2/routines/wintools/intpathname.h
--- scilab-4.1.2.orig/routines/wintools/intpathname.h 2005-03-02 16:47:56.000000000 +0100
+++ scilab-4.1.2/routines/wintools/intpathname.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTPATHNAME__
 #define __INTPATHNAME__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intprintbox.h scilab-4.1.2/routines/wintools/intprintbox.h
--- scilab-4.1.2.orig/routines/wintools/intprintbox.h 2005-08-03 15:26:51.000000000 +0200
+++ scilab-4.1.2/routines/wintools/intprintbox.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTPRINTBOX__
 #define __INTPRINTBOX__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intsetlanguagemenu.h scilab-4.1.2/routines/wintools/intsetlanguagemenu.h
--- scilab-4.1.2.orig/routines/wintools/intsetlanguagemenu.h 2005-03-02 16:47:56.000000000 +0100
+++ scilab-4.1.2/routines/wintools/intsetlanguagemenu.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTSETLANGUAGEMENU__
 #define __INTSETLANGUAGEMENU__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/inttoolbar.h scilab-4.1.2/routines/wintools/inttoolbar.h
--- scilab-4.1.2.orig/routines/wintools/inttoolbar.h 2005-03-02 16:47:56.000000000 +0100
+++ scilab-4.1.2/routines/wintools/inttoolbar.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTTOOLBAR__
 #define __INTTOOLBAR__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/inttoprint.h scilab-4.1.2/routines/wintools/inttoprint.h
--- scilab-4.1.2.orig/routines/wintools/inttoprint.h 2005-08-04 14:12:02.000000000 +0200
+++ scilab-4.1.2/routines/wintools/inttoprint.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTTOPRINT__
 #define __INTTOPRINT__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intwinopen.h scilab-4.1.2/routines/wintools/intwinopen.h
--- scilab-4.1.2.orig/routines/wintools/intwinopen.h 2005-03-02 16:47:56.000000000 +0100
+++ scilab-4.1.2/routines/wintools/intwinopen.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTWINOPEN__
 #define __INTWINOPEN__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
 #endif
diff -Naur scilab-4.1.2.orig/routines/wintools/intwintools.h scilab-4.1.2/routines/wintools/intwintools.h
--- scilab-4.1.2.orig/routines/wintools/intwintools.h 2005-03-02 16:47:56.000000000 +0100
+++ scilab-4.1.2/routines/wintools/intwintools.h 2008-01-11 17:44:36.000000000 +0100
@@ -5,6 +5,9 @@
 #ifndef __INTWINTOOLS__
 #define __INTWINTOOLS__
 
+#ifdef __APPLE__
+#include <string.h>
+#endif
 #ifdef WIN32
   #include <windows.h>
   #include <stdio.h>

Package: scilab-gtk
Version: 4.1.2
Revision: 1
Distribution: 10.4
Maintainer: Stephane Mottelet <[hidden email]>
Depends: g95, tcltk, libgnome2, glib2, pango1-xft2, libzvt2
BuildDepends: tcltk-dev,libncurses5 (>= 5.4-20041023-1006), ocaml, libsablot (>= 0.98-1024), pkgconfig, libgnome2-dev, glib2-dev, libgtkhtml2, pango1-xft2-dev, libzvt2-dev, atk1, libart2
Conflicts: scilab-atlas, scilab
Replaces: scilab-atlas, scilab
Source: <a href="http://www.scilab.org/download/%v/scilab-%v-src.tar.gz">http://www.scilab.org/download/%v/scilab-%v-src.tar.gz
SourceDirectory: scilab-%v
Source-MD5: 17a7a6aa52918f33d96777a0dc423658
Patch: %n.patch
PatchScript: <<
 perl -pi -e 's,(head|tail) +\-([0-9]),\1 \-n\2,g' scripts/sc_cpp
 perl -pi -e 's|[/]sw/|%p/|g' configure
 perl -pi -e 's,\#ifdef B42UNIX,#define B42UNIX\n#ifdef B42UNIX,' routines/console/zzledt.c
 perl -pi -e 's|.*setslatecjmp.*||g' routines/interf/matimp.f
 /usr/bin/sed -i -e '21,42d' scripts/scilab.g.in
<<
DescPackaging: Patch and patchscript contain /sw because upstream source does
ConfigureParams: --without-pvm --with-tcl-include=%p/include --with-tcl-library=%p/lib --with-ocaml --without-java  --with-gtk2
CompileScript: <<
 #!/bin/sh -ex
 perl -pi -e 's|g77|g95|g' configure
 ./configure %c
# on intel, dlamc1 needs -ffloat-store, otherwise it produces an infinite loop
# doesn't harm on ppc either
 make FC_OPTIONS="-O2 -ffloat-store" routines/lapack/dlamch.o
# remove annoying disclaimer from greeting message
 make CFLAGS="-U__APPLE__" routines/system/banier.o
 make all man
<<
InstallScript: <<
#!/bin/sh -ex
 make install PREFIX=%i DESTDIR=%p
 ln -fs %p/lib/scilab-%v/bin/scilab %i/bin/scilab
 ln -fs %p/lib/scilab-%v/bin/intersci %i/bin/intersci
 ln -fs %p/lib/scilab-%v/bin/intersci-n %i/bin/intersci-n
<<
PostInstScript: (cd %p/lib/scilab-%v; make)
Description: Software package for numerical computations
License: OSI-Approved
Homepage: http://www.scilab.org
Sylvestre Ledru Sylvestre Ledru
Reply | Threaded
Open this post in threaded view
|

Re: Scilab under MacOSX

> >> If you are interested i can send you the actual patch file  (for
> 2.4.1)
> >> to see where are
> >> the recurrent problems.
> >>    
> > Yep, that would be great.
> >
> > Sylvestre
> >  
> Here are the files.

Thanks again.
I think that most of the include issues are already fixed in the trunks.
Don't hesitate if you see me doing some crappy non-mac OS things.

S. too