r43941 - in /packages/ffcs/trunk/debian: ./ patches/ source/

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Mon Oct 3 12:18:03 UTC 2011


Author: trophime-guest
Date: Mon Oct  3 12:18:02 2011
New Revision: 43941

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=43941
Log:
[svn-inject] Applying Debian modifications (11.10-1) to trunk

Added:
    packages/ffcs/trunk/debian/   (with props)
    packages/ffcs/trunk/debian/README.Debian
    packages/ffcs/trunk/debian/README.source
    packages/ffcs/trunk/debian/changelog
    packages/ffcs/trunk/debian/compat
    packages/ffcs/trunk/debian/control
    packages/ffcs/trunk/debian/copyright
    packages/ffcs/trunk/debian/debian
    packages/ffcs/trunk/debian/docs
    packages/ffcs/trunk/debian/ffcs-c++.1
    packages/ffcs/trunk/debian/ffcs-client.desktop
    packages/ffcs/trunk/debian/ffcs-client.menu
    packages/ffcs/trunk/debian/ffcs-get-dep.1
    packages/ffcs/trunk/debian/freefem++-cs.xpm
    packages/ffcs/trunk/debian/menu
    packages/ffcs/trunk/debian/patches/
    packages/ffcs/trunk/debian/patches/configure.patch
    packages/ffcs/trunk/debian/patches/ff-c++.patch
    packages/ffcs/trunk/debian/patches/ff-configure.patch
    packages/ffcs/trunk/debian/patches/ff-examples++-load.patch
    packages/ffcs/trunk/debian/patches/ff-examples++-mpi.patch
    packages/ffcs/trunk/debian/patches/ff-examples-bamg.patch
    packages/ffcs/trunk/debian/patches/ff-pkg-download.patch
    packages/ffcs/trunk/debian/patches/ff-superlu.patch
    packages/ffcs/trunk/debian/patches/ffcs-dev.patch
    packages/ffcs/trunk/debian/patches/gcc45.patch
    packages/ffcs/trunk/debian/patches/gcc46.patch
    packages/ffcs/trunk/debian/patches/install.patch
    packages/ffcs/trunk/debian/patches/pref.patch
    packages/ffcs/trunk/debian/patches/series
    packages/ffcs/trunk/debian/rules   (with props)
    packages/ffcs/trunk/debian/source/
    packages/ffcs/trunk/debian/source/format

Propchange: packages/ffcs/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/ffcs/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/README.Debian?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/README.Debian (added)
+++ packages/ffcs/trunk/debian/README.Debian Mon Oct  3 12:18:02 2011
@@ -1,0 +1,9 @@
+ffcs for Debian
+---------------
+
+Please note that gcc 4.5.3 instead of gcc 4.6 is forced because of the bug:
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49264
+We will update the dependency once gcc 4.6.1 is released and uploaded to
+unstable.
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 31 Jan 2011 10:32:03 +0100

Added: packages/ffcs/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/README.source?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/README.source (added)
+++ packages/ffcs/trunk/debian/README.source Mon Oct  3 12:18:02 2011
@@ -1,0 +1,9 @@
+ffcs for Debian
+---------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+

Added: packages/ffcs/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/changelog?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/changelog (added)
+++ packages/ffcs/trunk/debian/changelog Mon Oct  3 12:18:02 2011
@@ -1,0 +1,6 @@
+ffcs (11.10-1) unstable; urgency=low
+
+  * Initial release (Closes: #643865)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Fri, 17 Jun 2011 16:21:31 +0200
+

Added: packages/ffcs/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/compat?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/compat (added)
+++ packages/ffcs/trunk/debian/compat Mon Oct  3 12:18:02 2011
@@ -1,0 +1,1 @@
+7

Added: packages/ffcs/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/control?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/control (added)
+++ packages/ffcs/trunk/debian/control Mon Oct  3 12:18:02 2011
@@ -1,0 +1,107 @@
+Source: ffcs
+Section: math
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: debhelper (>= 7.2.3~), autotools-dev, gawk, gfortran, 
+ quilt, cdbs, autoconf, automake,
+ flex, bison, libxt-dev, libxext-dev, libxxf86vm-dev, libhypre-dev, 
+ libxpm-dev, mpi-default-dev, libfftw3-dev, libblas-dev, libgsl0-dev,
+ libarpack2-dev, libsuitesparse-dev, libsuperlu3-dev, imagemagick, 
+ libfltk1.3-dev | libfltk-dev, freeglut3-dev, texlive, texlive-extra-utils, 
+ texlive-latex-extra, texlive-font-utils, libmumps-ptscotch-dev, libgmm++-dev, 
+ libmumps-dev, libblacs-mpi-dev, libscalapack-mpi-dev, 
+ libscotch-dev, ghostscript, libptscotch-dev, libmumps-scotch-dev,
+ libxext-dev, libxpm-dev, libxt-dev,libvtk5-dev (>= 5.6),
+ libtiff4-dev, libjpeg-dev, zlib1g-dev, libpng12-dev, 
+ libmysqlclient-dev (>= 5.1.56),
+ rsync
+# 
+# quilt, cdbs, debhelper (>= 7.0.50~), autotools-dev,
+# autoconf, automake,
+# bison, freeglut3-dev, g++ (>= 4:4.4.3), gfortran (>= 4:4.4.3),
+# libxext-dev, libxpm-dev, libxt-dev, m4, dpkg-dev (>= 1.13.5), patch, 
+# libvtk5-dev (>= 5.6),
+# mpi-default-bin, mpi-default-dev, rsync, libgmm++-dev, 
+# libmysqlclient-dev (>= 5.1.56),
+# libtiff4-dev, libjpeg62-dev, zlib1g-dev, libpng12-dev,
+# See README.Debian for the rational on the gcc version.
+# g++-4.5, gfortran-4.5
+Standards-Version: 3.9.2
+Homepage: http://www.ljll.math.upmc.fr/lehyaric/ffcs/index.htm
+#Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/ffcs
+#Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/ffcs
+
+Package: ffcs-client
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Integrated environment for FreeFem++ - client part
+ FreeFem++-cs is an integrated environment for FreeFem++ 
+ (a C++-like computer language dedicated to the finite element method, 
+ developed under the supervision of profs Olivier Pironneau and 
+ Frédéric Hecht at the Jacques-Louis Lions Laboratory, Pierre 
+ and Marie Curie University). FreeFem++-cs provides an intuitive 
+ graphical interface to FreeFem++  users.
+ .
+ FreeFem++-cs adds the following extra features to FreeFem++ :
+ .
+    * Integrated interface aimed at making users comfortable,
+    * Color-coded editor,
+    * Automatic highlighting of FreeFem++ compilation errors, linked 
+    back to the EDP source code,
+    * Integrated graphics area for 2d and 3d,
+    * Online help including FreeFem++ and Medit documentation in HTML.
+ .
+ FreeFem++-cs follows a client/server design : the client deals with 
+ user interaction, the server runs FreeFem++ (hence its name : 
+ "cs" as in "Client and Server").
+
+Package: ffcs-server
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Integrated environment for FreeFem++ - server part
+ FreeFem++-cs is an integrated environment for FreeFem++ 
+ (a C++-like computer language dedicated to the finite element method, 
+ developed under the supervision of profs Olivier Pironneau and 
+ Frédéric Hecht at the Jacques-Louis Lions Laboratory, Pierre 
+ and Marie Curie University). FreeFem++-cs provides an intuitive 
+ graphical interface to FreeFem++  users.
+ .
+ FreeFem++-cs adds the following extra features to FreeFem++ :
+ .
+    * Integrated interface aimed at making users comfortable,
+    * Color-coded editor,
+    * Automatic highlighting of FreeFem++ compilation errors, linked 
+    back to the EDP source code,
+    * Integrated graphics area for 2d and 3d,
+    * Online help including FreeFem++ and Medit documentation in HTML.
+ .
+ FreeFem++-cs follows a client/server design : the client deals with 
+ user interaction, the server runs FreeFem++ (hence its name : 
+ "cs" as in "Client and Server").
+
+Package: ffcs-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Integrated environment for FreeFem++ - devtools
+ FreeFem++-cs is an integrated environment for FreeFem++ 
+ (a C++-like computer language dedicated to the finite element method, 
+ developed under the supervision of profs Olivier Pironneau and 
+ Frédéric Hecht at the Jacques-Louis Lions Laboratory, Pierre 
+ and Marie Curie University). FreeFem++-cs provides an intuitive 
+ graphical interface to FreeFem++  users.
+ .
+ FreeFem++-cs adds the following extra features to FreeFem++ :
+ .
+    * Integrated interface aimed at making users comfortable,
+    * Color-coded editor,
+    * Automatic highlighting of FreeFem++ compilation errors, linked 
+    back to the EDP source code,
+    * Integrated graphics area for 2d and 3d,
+    * Online help including FreeFem++ and Medit documentation in HTML.
+ .
+ FreeFem++-cs follows a client/server design : the client deals with 
+ user interaction, the server runs FreeFem++ (hence its name : 
+ "cs" as in "Client and Server").
+ . 
+ This package contains necessary tools to develop freefem++ modules.
+

Added: packages/ffcs/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/copyright?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/copyright (added)
+++ packages/ffcs/trunk/debian/copyright Mon Oct  3 12:18:02 2011
@@ -1,0 +1,220 @@
+This work was packaged for Debian by:
+
+    Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on Mon, 31 Jan 2011 10:32:03 +0100
+
+It was downloaded from:
+
+    http://www.ljll.math.upmc.fr/lehyaric/ffcs/index.htm
+
+Upstream Authors:
+
+    Frederic hecht <hecht at ann.jussieu.fr>
+    Olivier Pironneau <pironneau at ann.jussieu.fr>
+    Antoine Le Hyaric <lehyaric at ann.jussieu.fr>
+
+Copyright:
+
+    copyrighted (C) 1995-20011 Frederic hecht <hecht at ann.jussieu.fr>
+    copyrighted (C) 1995-20011 Olivier Pironneau <pironneau at ann.jussieu.fr>
+    copyrighted (C) 1995-20011 Antoine Le Hyaric <lehyaric at ann.jussieu.fr>
+
+License:
+
+                               FreeFem++-cs_and_FFG_11.2
+
+        	 (using FreeFem++ 3.11 from Tue Jan 18 10:29:42 2011)
+    FreeFem++-cs is an integrated development environment for FreeFem++ (numerical
+    analysis software developed at the Jacques-Louis_Lions_Laboratory, Pierre_and
+    Marie_Curie_University). The goal of FreeFem++-cs is to give to FreeFem++ a
+    user-friendly interface which resembles other popular windowed applications. It
+    follows a client/server design (hence its name : "cs" as in "Client and
+    Server").
+    For any question on FreeFem++-cs, please contact Antoine_Le_Hyaric.
+
+    Credits
+
+    FreeFem++-cs is written by Antoine_Le_Hyaric at the Jacques-Louis_Lions
+    Laboratory, Pierre_and_Marie_Curie_University. It makes use of the following
+    software :
+
+    * FreeFem++ : http://www.freefem.org/ff++/index.htm
+    * and all its dependencies
+    * Medit : http://www.ljll.math.upmc.fr/~frey/software.html
+    * FLTK : http://www.fltk.org
+    * VTK : http://www.vtk.org
+    * vtkFlRenderWindowInteractor : http://cpbotha.net/software/
+      vtkflrenderwindowinteractor
+    * Linux development with Debian : http://www.debian.org
+    * Apple MacOS development with the MacPorts Project : http://www.macports.org
+    * Microsoft Windows :
+
+      o development with Cygwin : http://www.cygwin.com, MinGW : http://
+	www.mingw.org and MinGW-w64 : http://sourceforge.net/projects/mingw-w64
+      o packaging with Inno Setup : http://www.jrsoftware.org/isinfo.php
+      o regular expressions with RXSpencer, Henry Spencer's regular expression
+	library : http://www.arglist.com/regex
+      o parallelism with MPICH2 : http://www.mcs.anl.gov/research/projects/mpich2
+
+
+    FreeFem++-cs and its website also make use of the following artwork :
+
+    * "Crystal Clear" icon set : http://commons.wikimedia.org/wiki/Crystal_Clear
+    * The Linux Pinguin : http://commons.wikimedia.org/wiki/File:NewTux.svg
+    * GNOME Desktop icons : http://commons.wikimedia.org/wiki/File:Gnome-system-
+      software-installer.svg
+
+
+    License
+
+    FreeFem++-cs is distributed under the FreeFem++ license. Here is a copy of this
+    license (copied from the file "COPYRIGHT" in the FreeFem++ archive) :
+
+            "This is The FreeFem++ software.
+
+    Programs in it were maintained by
+    Frederic hecht and by
+    Olivier Pironneau and by
+    Antoine Le Hyaric
+
+
+    /usr/share/common-licenses/LGPL-2.1
+
+Files: fltk/upstream/*
+
+License:
+                        	 FLTK License
+                               December 11, 2001
+
+    The FLTK library and included programs are provided under the terms
+    of the GNU Library General Public License (LGPL) with the following
+    exceptions:
+
+	1. Modifications to the FLTK configure script, config
+	   header file, and makefiles by themselves to support
+	   a specific platform do not constitute a modified or
+	   derivative work.
+
+	   The authors do request that such modifications be
+	   contributed to the FLTK project - send all
+	   contributions to "fltk-bugs at fltk.org".
+
+	2. Widgets that are subclassed from FLTK widgets do not
+	   constitute a derivative work.
+
+	3. Static linking of applications and widgets to the
+	   FLTK library does not constitute a derivative work
+	   and does not require the author to provide source
+	   code for the application or widget, use the shared
+	   FLTK libraries, or link their applications or
+	   widgets against a user-supplied version of FLTK.
+
+	   If you link the application or widget to a modified
+	   version of FLTK, then the changes to FLTK must be
+	   provided under the terms of the LGPL in sections
+	   1, 2, and 4.
+
+	4. You do not have to provide a copy of the FLTK license
+	   with programs that are linked to the FLTK library, nor
+	   do you have to identify the FLTK license in your
+	   program or documentation as required by section 6
+	   of the LGPL.
+
+	   However, programs must still identify their use of FLTK.
+	   The following example statement can be included in user
+	   documentation to satisfy this requirement:
+
+               [program/widget] is based in part on the work of
+               the FLTK project (http://www.fltk.org).
+
+    -----------------------------------------------------------------------
+
+    see /usr/share/common-licenses/LGPL-2
+
+
+Files: ff/upstream/*
+
+Copyright:
+
+    (C) 2010 Frederic Hecht, Olivier Pironneau, Antoine Le Hyaric    
+
+License:
+    This is The FreeFem++ software.
+
+    Programs in it were maintained by
+    Frederic hecht <Frederic.Hecht at upmc.fr>  and by
+    Olivier Pironneau <Olivier.Pironneau at upmc.fr> and by
+    Antoine Le Hyaric <lehyaric at ann.jussieu.fr>
+
+
+    All its programs which may be redistributed under the terms of the
+    GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999
+     Except files :
+       Comming form COOOL sofware (all files in directory src/Algo,
+	mailto:coool at coool.mines.edu),  no license.
+      and the file mt19937ar.cpp ( mailto:m-mat at math.sci.hiroshima-u.ac.jp )
+      with they own like license.
+
+    see /usr/share/common-licenses/LGPL-2.1
+    
+Files: rxspencer/upstream/*
+
+    Copyright 1992, 1993, 1994, 1997 Henry Spencer.  All rights reserved.
+    This software is not subject to any license of the American Telephone
+    and Telegraph Company or of the Regents of the University of California.
+
+    Permission is granted to anyone to use this software for any purpose on
+    any computer system, and to alter it and redistribute it, subject
+    to the following restrictions:
+
+    1. The author is not responsible for the consequences of use of this
+       software, no matter how awful, even if they arise from flaws in it.
+
+    2. The origin of this software must not be misrepresented, either by
+       explicit claim or by omission.  Since few users ever read sources,
+       credits must appear in the documentation.
+
+    3. Altered versions must be plainly marked as such, and must not be
+       misrepresented as being the original software.  Since few users
+       ever read sources, credits must appear in the documentation.
+
+    4. This notice may not be removed or altered.
+
+Files: vtk
+
+Files: vtkFlRWI/*.cxx
+
+    Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
+    All rights reserved.
+    See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
+
+       This software is distributed WITHOUT ANY WARRANTY; without even
+       the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+       PURPOSE.  See the above copyright notice for more information.
+
+Files: vtkFlRWI/ImplicitPlaneWidget2.cpp
+
+    found at http://www.cmake.org/Wiki/VTK/Examples/Widgets/ImplicitPlaneWidget2
+
+Files: vtkFlRWI/upstream
+
+    found at http://cpbotha.net/software/vtkflrenderwindowinteractor
+
+Copyright:
+    (C) 2006-20011 Charl P. Botha <cpbotha at cpbotha.net>
+    
+License:
+
+    see /usr/share/common-licenses/LGPL-2
+
+Files: art/*
+
+    *  "Crystal Clear" icon set : http://commons.wikimedia.org/wiki/Crystal_Clear
+    see /usr/share/common-licenses/LGPL-3
+    
+    * The Linux Pinguin : http://commons.wikimedia.org/wiki/File:NewTux.svg
+    * GNOME Desktop icons : http://commons.wikimedia.org/wiki/File:Gnome-system-software-installer.svg 
+
+The Debian packaging is:
+
+    Copyright (C) 2011 Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+

Added: packages/ffcs/trunk/debian/debian
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/debian?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/debian (added)
+++ packages/ffcs/trunk/debian/debian Mon Oct  3 12:18:02 2011
@@ -1,0 +1,440 @@
+/* XPM */
+static char * freefem++_cs_xpm[] = {
+"32 32 405 2",
+"  	c None",
+". 	c #1D1DD9",
+"+ 	c #BEBE3E",
+"@ 	c #8E8E65",
+"# 	c #2626CD",
+"$ 	c #595996",
+"% 	c #3737B4",
+"& 	c #B2B244",
+"* 	c #848457",
+"= 	c #EDED0C",
+"- 	c #7F8066",
+"; 	c #73737C",
+"> 	c #A0A040",
+", 	c #70705E",
+"' 	c #67678B",
+") 	c #0808E8",
+"! 	c #3737BD",
+"~ 	c #3636B8",
+"{ 	c #95955B",
+"] 	c #A7A754",
+"^ 	c #4545B3",
+"/ 	c #1313E0",
+"( 	c #858571",
+"_ 	c #3E3EAB",
+": 	c #3737AC",
+"< 	c #8A8A56",
+"[ 	c #81814D",
+"} 	c #666675",
+"| 	c #0E0EE0",
+"1 	c #787866",
+"2 	c #F5F509",
+"3 	c #E8E812",
+"4 	c #44449C",
+"5 	c #868652",
+"6 	c #838361",
+"7 	c #828260",
+"8 	c #3A3AA7",
+"9 	c #2828B3",
+"0 	c #1212D2",
+"a 	c #A8A84C",
+"b 	c #808057",
+"c 	c #EBEB08",
+"d 	c #A4A476",
+"e 	c #7D7D67",
+"f 	c #5F60A2",
+"g 	c #95965B",
+"h 	c #76776E",
+"i 	c #82826E",
+"j 	c #575790",
+"k 	c #717181",
+"l 	c #A6A6A5",
+"m 	c #ADABAC",
+"n 	c #B5B5B9",
+"o 	c #9D9B9C",
+"p 	c #CDCD2D",
+"q 	c #F1F104",
+"r 	c #A3A343",
+"s 	c #777770",
+"t 	c #7C7251",
+"u 	c #957C21",
+"v 	c #906E22",
+"w 	c #8E6A24",
+"x 	c #7C8165",
+"y 	c #979796",
+"z 	c #959595",
+"A 	c #9C9C9C",
+"B 	c #9A9A9A",
+"C 	c #6E6F6D",
+"D 	c #5B5B90",
+"E 	c #949467",
+"F 	c #9D9D62",
+"G 	c #767671",
+"H 	c #D5BF97",
+"I 	c #FFDD06",
+"J 	c #FFBC03",
+"K 	c #FFB700",
+"L 	c #F1AD2E",
+"M 	c #F8F4FB",
+"N 	c #FFFFFF",
+"O 	c #868687",
+"P 	c #7878AC",
+"Q 	c #81815C",
+"R 	c #CECE26",
+"S 	c #696974",
+"T 	c #D3CCB7",
+"U 	c #F9D00E",
+"V 	c #F8AC05",
+"W 	c #FAB503",
+"X 	c #F6A90C",
+"Y 	c #E6D9C9",
+"Z 	c #FEFEFF",
+"` 	c #FDFDFD",
+" .	c #8C8C8C",
+"..	c #020202",
+"+.	c #000000",
+"@.	c #7B7B68",
+"#.	c #DCDC11",
+"$.	c #1D1DC4",
+"%.	c #53538D",
+"&.	c #D9D4C6",
+"*.	c #F7B913",
+"=.	c #FBC403",
+"-.	c #FABB03",
+";.	c #F9BB07",
+">.	c #E7D5A4",
+",.	c #FEFEFE",
+"'.	c #2D2DCB",
+").	c #7D7D61",
+"!.	c #CFCF20",
+"~.	c #747467",
+"{.	c #D5D1CF",
+"].	c #F0C721",
+"^.	c #FBBF02",
+"/.	c #FAAE04",
+"(.	c #F9AE05",
+"_.	c #E1C38A",
+":.	c #F6F7FF",
+"<.	c #0A0AF0",
+"[.	c #4F4F9A",
+"}.	c #94946A",
+"|.	c #787870",
+"1.	c #D4CDC1",
+"2.	c #F4CB14",
+"3.	c #FAB303",
+"4.	c #FAB203",
+"5.	c #F5B707",
+"6.	c #F2AB13",
+"7.	c #E3C264",
+"8.	c #E3CF9C",
+"9.	c #E7D6C5",
+"0.	c #EEE8DD",
+"a.	c #878788",
+"b.	c #5353A6",
+"c.	c #AEAE2A",
+"d.	c #9B9B3D",
+"e.	c #959553",
+"f.	c #CCBFA1",
+"g.	c #F8B90C",
+"h.	c #FCCE01",
+"i.	c #FABF03",
+"j.	c #FAAC03",
+"k.	c #F9AD03",
+"l.	c #FBBE00",
+"m.	c #F8A705",
+"n.	c #F6AC0B",
+"o.	c #EBBB27",
+"p.	c #7D7979",
+"q.	c #979760",
+"r.	c #FCFC01",
+"s.	c #707057",
+"t.	c #5E5E80",
+"u.	c #CEB769",
+"v.	c #F9D302",
+"w.	c #FBB700",
+"x.	c #FCCD01",
+"y.	c #FBBD03",
+"z.	c #F9B004",
+"A.	c #FAC603",
+"B.	c #F9BD04",
+"C.	c #FABA01",
+"D.	c #E7AF3D",
+"E.	c #808185",
+"F.	c #010104",
+"G.	c #99995E",
+"H.	c #A2A259",
+"I.	c #595A7C",
+"J.	c #CECDAE",
+"K.	c #E4D295",
+"L.	c #E3C361",
+"M.	c #ECC726",
+"N.	c #F4C405",
+"O.	c #FDBA00",
+"P.	c #FBC600",
+"Q.	c #FBC200",
+"R.	c #E0C168",
+"S.	c #878899",
+"T.	c #121224",
+"U.	c #0C0C42",
+"V.	c #5C5C84",
+"W.	c #C3C32A",
+"X.	c #B3B340",
+"Y.	c #6C6C8A",
+"Z.	c #D2D3CD",
+"`.	c #DCDDE1",
+" +	c #DBDBE6",
+".+	c #CCCFD9",
+"++	c #C7B7AD",
+"@+	c #C3A862",
+"#+	c #D8BE33",
+"$+	c #D9BE2D",
+"%+	c #D2BB2D",
+"&+	c #C4B5AB",
+"*+	c #7B7C87",
+"=+	c #38380B",
+"-+	c #565620",
+";+	c #252588",
+">+	c #7F7F69",
+",+	c #3232C6",
+"'+	c #2323CE",
+")+	c #595992",
+"!+	c #E6E614",
+"~+	c #939362",
+"{+	c #4D4D9C",
+"]+	c #878744",
+"^+	c #44445D",
+"/+	c #171776",
+"(+	c #181845",
+"_+	c #434316",
+":+	c #272829",
+"<+	c #444414",
+"[+	c #242431",
+"}+	c #101047",
+"|+	c #2F2F25",
+"1+	c #121342",
+"2+	c #27271E",
+"3+	c #2C2C25",
+"4+	c #4D4D30",
+"5+	c #B4B40B",
+"6+	c #5A5A81",
+"7+	c #626286",
+"8+	c #636379",
+"9+	c #A5A53E",
+"0+	c #4B4B9B",
+"a+	c #A8A848",
+"b+	c #7A7A74",
+"c+	c #3F3E97",
+"d+	c #B8B83F",
+"e+	c #9A9A2F",
+"f+	c #383850",
+"g+	c #3D3D22",
+"h+	c #414120",
+"i+	c #252534",
+"j+	c #0F0F50",
+"k+	c #313131",
+"l+	c #45451D",
+"m+	c #39392A",
+"n+	c #404025",
+"o+	c #505013",
+"p+	c #1A1A51",
+"q+	c #121277",
+"r+	c #646453",
+"s+	c #4242A2",
+"t+	c #59598C",
+"u+	c #999960",
+"v+	c #A0A04D",
+"w+	c #1C1CAA",
+"x+	c #0606EB",
+"y+	c #4C4C94",
+"z+	c #A0A04A",
+"A+	c #C0C026",
+"B+	c #949446",
+"C+	c #8E8E3A",
+"D+	c #C7C708",
+"E+	c #727233",
+"F+	c #ABAB0C",
+"G+	c #6E6E34",
+"H+	c #35356A",
+"I+	c #7D7D2C",
+"J+	c #58584D",
+"K+	c #0606AC",
+"L+	c #4F4F56",
+"M+	c #7F7F2E",
+"N+	c #76763B",
+"O+	c #2C2C8E",
+"P+	c #C4C419",
+"Q+	c #787861",
+"R+	c #B6B62E",
+"S+	c #2020D2",
+"T+	c #757578",
+"U+	c #131382",
+"V+	c #83836F",
+"W+	c #93935B",
+"X+	c #C1C131",
+"Y+	c #828262",
+"Z+	c #2A2AB8",
+"`+	c #5C5C8C",
+" @	c #CFCF22",
+".@	c #B5B533",
+"+@	c #5F5F7E",
+"@@	c #65625D",
+"#@	c #B9B92C",
+"$@	c #5F5F74",
+"%@	c #7C7C54",
+"&@	c #424296",
+"*@	c #686856",
+"=@	c #F0F000",
+"-@	c #7C7C5D",
+";@	c #CDCD1F",
+">@	c #444489",
+",@	c #4D4D97",
+"'@	c #62627C",
+")@	c #3E3EA7",
+"!@	c #898955",
+"~@	c #13134A",
+"{@	c #D8D826",
+"]@	c #C4C42A",
+"^@	c #A0A045",
+"/@	c #F1F103",
+"(@	c #505085",
+"_@	c #616173",
+":@	c #C9C930",
+"<@	c #BFBF38",
+"[@	c #2525C1",
+"}@	c #8F8F4A",
+"|@	c #D0D027",
+"1@	c #1E1EC5",
+"2@	c #949455",
+"3@	c #B5B547",
+"4@	c #DDDC0F",
+"5@	c #797763",
+"6@	c #49498A",
+"7@	c #828255",
+"8@	c #89895F",
+"9@	c #6C6C73",
+"0@	c #A7A747",
+"a@	c #DEDE13",
+"b@	c #57578E",
+"c@	c #00003B",
+"d@	c #1C1CDA",
+"e@	c #93935A",
+"f@	c #C7C726",
+"g@	c #72727E",
+"h@	c #424286",
+"i@	c #D9D919",
+"j@	c #BABA36",
+"k@	c #C2C22D",
+"l@	c #ADAD3B",
+"m@	c #C4C426",
+"n@	c #76765A",
+"o@	c #DDDD1C",
+"p@	c #949449",
+"q@	c #626275",
+"r@	c #969655",
+"s@	c #B6B630",
+"t@	c #3838B4",
+"u@	c #1515D1",
+"v@	c #7E7E70",
+"w@	c #BDBD3A",
+"x@	c #808066",
+"y@	c #3434B5",
+"z@	c #818160",
+"A@	c #404097",
+"B@	c #00001A",
+"C@	c #05052E",
+"D@	c #040449",
+"E@	c #212174",
+"F@	c #3F3F84",
+"G@	c #1D1DCC",
+"H@	c #737385",
+"I@	c #FFFF00",
+"J@	c #B4B43D",
+"K@	c #6E6E70",
+"L@	c #BEBE2E",
+"M@	c #51518E",
+"N@	c #6C6C6C",
+"O@	c #D6D61B",
+"P@	c #86865A",
+"Q@	c #757576",
+"R@	c #EEEE0D",
+"S@	c #EEEE0F",
+"T@	c #9F9F50",
+"U@	c #43439B",
+"V@	c #808059",
+"W@	c #31317D",
+"X@	c #00000B",
+"Y@	c #000019",
+"Z@	c #000054",
+"`@	c #1D1D75",
+" #	c #4E4E6C",
+".#	c #1A1AC6",
+"+#	c #46468C",
+"@#	c #CACA24",
+"##	c #929253",
+"$#	c #B9B938",
+"%#	c #C6C62E",
+"&#	c #B9B933",
+"*#	c #A4A445",
+"=#	c #F9F902",
+"-#	c #6F6F5E",
+";#	c #DCDC0C",
+">#	c #636383",
+",#	c #000080",
+"'#	c #00001E",
+")#	c #0E0E4A",
+"!#	c #303077",
+"~#	c #2121B9",
+"{#	c #3535BE",
+"]#	c #E2E21E",
+"^#	c #8A8A50",
+"/#	c #65657B",
+"(#	c #66676C",
+"_#	c #B8B831",
+":#	c #00003A",
+"<#	c #010170",
+"[#	c #32327C",
+"}#	c #1F1F9E",
+"|#	c #0000CD",
+"1#	c #828258",
+"2#	c #B7B73F",
+"3#	c #2E2E95",
+"4#	c #000003",
+"5#	c #00000E",
+"6#	c #010117",
+"7#	c #00001F",
+"8#	c #000014",
+"                                                                ",
+"                                                                ",
+"    . + @ # $ %                                                 ",
+"      & * = - ; > , ' ) !                                       ",
+"      ~ { ] ^ / ( _ : < [ }                                     ",
+"      | 1 2 3 4 5 6 7 8 9 0                                     ",
+"        a b c d e f g h i j k l m n o                           ",
+"        p q r s t u v w x y z A B B C                           ",
+"        D E F G H I J K L M N N N N O                           ",
+"        P Q R S T U V W X Y Z N N `  ...+.                      ",
+"        @.#.$.%.&.*.=.-.;.>.Z ,.N `  ...+.                      ",
+"        '.).!.~.{.].^./.(._.:.N N ,. ...+.                      ",
+"        <.[.}.|.1.2.3.4.5.6.7.8.9.0.a...+.                      ",
+"        b.c.d.e.f.g.h.i.j.k.l.m.n.o.p...+.                      ",
+"        q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.+.                      ",
+"        '.G.H.I.J.K.L.M.N.O.P.Q.O.R.S.T.U.                      ",
+"        V.W.X.Y.Z.`. +.+++ at +#+$+%+&+*+=+-+;+>+,+'+)+            ",
+"        !+~+{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+8+9+0+          ",
+"        a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+          ",
+"      x+y+z+A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U++.        ",
+"      V+W+X+Y+Z+`+ @. at +@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@+.        ",
+"      {@]@^@/@(@_@:@<@[@}@|@1 at 2@3 at 4@5 at 6@7 at 8@9 at 0@a at b@c at +.        ",
+"    d at e@f at g@h at i@j at k@l at m@n at o@p at q@r at s@t at u@v at w@x at y@z at A@B at +.        ",
+"          C at D@E at F@G at H@I at J@K at L@M at N@O at P@Q at R@S at T@U at V@W at X@+.        ",
+"            +.+.+.Y at Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#+.          ",
+"                          '#)#!#~#{#]#I@^#/#(#_#F :#+.          ",
+"                                X at Z@<#[#}#|#1#2#3#4#+.          ",
+"                                          5#6#7#8#+.            ",
+"                                                                ",
+"                                                                ",
+"                                                                ",
+"                                                                "};

Added: packages/ffcs/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/docs?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/docs (added)
+++ packages/ffcs/trunk/debian/docs Mon Oct  3 12:18:02 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/ffcs/trunk/debian/ffcs-c++.1
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/ffcs-c%2B%2B.1?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/ffcs-c++.1 (added)
+++ packages/ffcs/trunk/debian/ffcs-c++.1 Mon Oct  3 12:18:02 2011
@@ -1,0 +1,65 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FFCS-C++ 1 "March 29, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ffcs-c++ \- tool for automatic compilation with FreeFem++ library
+.SH SYNOPSIS
+.B ffcs-c++
+[\fIOPTIONS\fR] \fIFILE\fR \fI'LDFLAGS'\fR \fI'CPPFLAGS'\fR 
+The following extensions cpp,cp,cxx,c,f,F may be dropped in \fIFILE\fR.
+.SH DESCRIPTION
+.PP
+Compile FILE with freefem+ library with additionnal
+LDFLAGS and CPPFLAGS options
+.PP
+Mandatory arguments to long options are mandatory for short options too.
+.TP
+\fB\-auto\fR build automatically the dependence
+.TP
+\fB\-n\fR  do nothing just print
+.TP
+\fB\-g\fR  compile with \-g option
+.TP
+\fB\-c\fR compile only
+.TP
+\fB\-mpi\fR  with  mpi
+.TP
+\fB\-O*\fR  compile with \-O* option
+.TP
+\fB\-cygwin\fR compile for cygwin/win32 OS (Window XP, ...)
+.TP
+\fB\-win32\fR  compile for win32 OS (Window XP, ...) default under cygwin
+.TP
+\fB\-l\fR \fIfiles\fR  add files to the ld process (link)
+.TP
+\fB\-I\fR \fIdir\fR  add dir in include seach dir for compilation
+.TP
+\fB\-b\fR \fIdir\fR  to change the default install  dir 
+.TP
+\fB\-dll\fR \fIfile\fR  add  dll and this file copy in the install dir
+.TP
+\fB\-o\fR \fIoutputfile\fR without suffix
+.PP
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+Instead, it has detailed documentation in the manual; see below.
+.SH SEE ALSO
+The extensive manual of FreeFem++ is written in LaTeX and it is available in
+Postscript format in /usr/share/doc/freefem++/ on your hard disc.
+.SH AUTHOR
+This manual page was written by Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>,
+for the Debian project (but may be used by others).

Added: packages/ffcs/trunk/debian/ffcs-client.desktop
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/ffcs-client.desktop?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/ffcs-client.desktop (added)
+++ packages/ffcs/trunk/debian/ffcs-client.desktop Mon Oct  3 12:18:02 2011
@@ -1,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=FreeFem++-cs
+GenericName=FreeFem++-cs
+Comment=FreeFem++ Gui
+Exec=FreeFem++-cs
+Icon=freefem++-cs
+Type=Application
+Terminal=false
+Categories=Education;Math;Science;

Added: packages/ffcs/trunk/debian/ffcs-client.menu
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/ffcs-client.menu?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/ffcs-client.menu (added)
+++ packages/ffcs/trunk/debian/ffcs-client.menu Mon Oct  3 12:18:02 2011
@@ -1,0 +1,6 @@
+?package(ffcs-client): \
+	needs="X11" \
+	section="Applications/Science/Engineering" \
+	title="FreeFem++-cs Gui" \
+	command="/usr/bin/FreeFem++-cs" \
+	icon="/usr/share/pixmaps/freefem++-cs.xpm"

Added: packages/ffcs/trunk/debian/ffcs-get-dep.1
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/ffcs-get-dep.1?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/ffcs-get-dep.1 (added)
+++ packages/ffcs/trunk/debian/ffcs-get-dep.1 Mon Oct  3 12:18:02 2011
@@ -1,0 +1,45 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FREEFEM++ 1 "March 29, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ffcs-get-dep \- tool to retreive dependence for compilation with FreeFem++ library
+.SH SYNOPSIS
+.B ffcs-get-dep
+[\fIOPTIONS\fR] \fIFILE\fR
+.SH DESCRIPTION
+.PP
+Reteive dependence needed to compile FILE with freefem+ library
+.PP
+Mandatory arguments to long options are mandatory for short options too.
+.TP
+\fB\-l*\fR
+.TP
+\fB\-dlib\fR
+.TP
+\fB\-dcpp\fR
+.TP
+\fB\-ff\fR
+.PP
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+Instead, it has detailed documentation in the manual; see below.
+.SH SEE ALSO
+The extensive manual of FreeFem++ is written in LaTeX and it is available in
+Postscript format in /usr/share/doc/freefem++/ on your hard disc.
+.SH AUTHOR
+This manual page was written by Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>,
+for the Debian project (but may be used by others).

Added: packages/ffcs/trunk/debian/freefem++-cs.xpm
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/freefem%2B%2B-cs.xpm?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/freefem++-cs.xpm (added)
+++ packages/ffcs/trunk/debian/freefem++-cs.xpm Mon Oct  3 12:18:02 2011
@@ -1,0 +1,440 @@
+/* XPM */
+static char * freefem++_cs_xpm[] = {
+"32 32 405 2",
+"  	c None",
+". 	c #1D1DD9",
+"+ 	c #BEBE3E",
+"@ 	c #8E8E65",
+"# 	c #2626CD",
+"$ 	c #595996",
+"% 	c #3737B4",
+"& 	c #B2B244",
+"* 	c #848457",
+"= 	c #EDED0C",
+"- 	c #7F8066",
+"; 	c #73737C",
+"> 	c #A0A040",
+", 	c #70705E",
+"' 	c #67678B",
+") 	c #0808E8",
+"! 	c #3737BD",
+"~ 	c #3636B8",
+"{ 	c #95955B",
+"] 	c #A7A754",
+"^ 	c #4545B3",
+"/ 	c #1313E0",
+"( 	c #858571",
+"_ 	c #3E3EAB",
+": 	c #3737AC",
+"< 	c #8A8A56",
+"[ 	c #81814D",
+"} 	c #666675",
+"| 	c #0E0EE0",
+"1 	c #787866",
+"2 	c #F5F509",
+"3 	c #E8E812",
+"4 	c #44449C",
+"5 	c #868652",
+"6 	c #838361",
+"7 	c #828260",
+"8 	c #3A3AA7",
+"9 	c #2828B3",
+"0 	c #1212D2",
+"a 	c #A8A84C",
+"b 	c #808057",
+"c 	c #EBEB08",
+"d 	c #A4A476",
+"e 	c #7D7D67",
+"f 	c #5F60A2",
+"g 	c #95965B",
+"h 	c #76776E",
+"i 	c #82826E",
+"j 	c #575790",
+"k 	c #717181",
+"l 	c #A6A6A5",
+"m 	c #ADABAC",
+"n 	c #B5B5B9",
+"o 	c #9D9B9C",
+"p 	c #CDCD2D",
+"q 	c #F1F104",
+"r 	c #A3A343",
+"s 	c #777770",
+"t 	c #7C7251",
+"u 	c #957C21",
+"v 	c #906E22",
+"w 	c #8E6A24",
+"x 	c #7C8165",
+"y 	c #979796",
+"z 	c #959595",
+"A 	c #9C9C9C",
+"B 	c #9A9A9A",
+"C 	c #6E6F6D",
+"D 	c #5B5B90",
+"E 	c #949467",
+"F 	c #9D9D62",
+"G 	c #767671",
+"H 	c #D5BF97",
+"I 	c #FFDD06",
+"J 	c #FFBC03",
+"K 	c #FFB700",
+"L 	c #F1AD2E",
+"M 	c #F8F4FB",
+"N 	c #FFFFFF",
+"O 	c #868687",
+"P 	c #7878AC",
+"Q 	c #81815C",
+"R 	c #CECE26",
+"S 	c #696974",
+"T 	c #D3CCB7",
+"U 	c #F9D00E",
+"V 	c #F8AC05",
+"W 	c #FAB503",
+"X 	c #F6A90C",
+"Y 	c #E6D9C9",
+"Z 	c #FEFEFF",
+"` 	c #FDFDFD",
+" .	c #8C8C8C",
+"..	c #020202",
+"+.	c #000000",
+"@.	c #7B7B68",
+"#.	c #DCDC11",
+"$.	c #1D1DC4",
+"%.	c #53538D",
+"&.	c #D9D4C6",
+"*.	c #F7B913",
+"=.	c #FBC403",
+"-.	c #FABB03",
+";.	c #F9BB07",
+">.	c #E7D5A4",
+",.	c #FEFEFE",
+"'.	c #2D2DCB",
+").	c #7D7D61",
+"!.	c #CFCF20",
+"~.	c #747467",
+"{.	c #D5D1CF",
+"].	c #F0C721",
+"^.	c #FBBF02",
+"/.	c #FAAE04",
+"(.	c #F9AE05",
+"_.	c #E1C38A",
+":.	c #F6F7FF",
+"<.	c #0A0AF0",
+"[.	c #4F4F9A",
+"}.	c #94946A",
+"|.	c #787870",
+"1.	c #D4CDC1",
+"2.	c #F4CB14",
+"3.	c #FAB303",
+"4.	c #FAB203",
+"5.	c #F5B707",
+"6.	c #F2AB13",
+"7.	c #E3C264",
+"8.	c #E3CF9C",
+"9.	c #E7D6C5",
+"0.	c #EEE8DD",
+"a.	c #878788",
+"b.	c #5353A6",
+"c.	c #AEAE2A",
+"d.	c #9B9B3D",
+"e.	c #959553",
+"f.	c #CCBFA1",
+"g.	c #F8B90C",
+"h.	c #FCCE01",
+"i.	c #FABF03",
+"j.	c #FAAC03",
+"k.	c #F9AD03",
+"l.	c #FBBE00",
+"m.	c #F8A705",
+"n.	c #F6AC0B",
+"o.	c #EBBB27",
+"p.	c #7D7979",
+"q.	c #979760",
+"r.	c #FCFC01",
+"s.	c #707057",
+"t.	c #5E5E80",
+"u.	c #CEB769",
+"v.	c #F9D302",
+"w.	c #FBB700",
+"x.	c #FCCD01",
+"y.	c #FBBD03",
+"z.	c #F9B004",
+"A.	c #FAC603",
+"B.	c #F9BD04",
+"C.	c #FABA01",
+"D.	c #E7AF3D",
+"E.	c #808185",
+"F.	c #010104",
+"G.	c #99995E",
+"H.	c #A2A259",
+"I.	c #595A7C",
+"J.	c #CECDAE",
+"K.	c #E4D295",
+"L.	c #E3C361",
+"M.	c #ECC726",
+"N.	c #F4C405",
+"O.	c #FDBA00",
+"P.	c #FBC600",
+"Q.	c #FBC200",
+"R.	c #E0C168",
+"S.	c #878899",
+"T.	c #121224",
+"U.	c #0C0C42",
+"V.	c #5C5C84",
+"W.	c #C3C32A",
+"X.	c #B3B340",
+"Y.	c #6C6C8A",
+"Z.	c #D2D3CD",
+"`.	c #DCDDE1",
+" +	c #DBDBE6",
+".+	c #CCCFD9",
+"++	c #C7B7AD",
+"@+	c #C3A862",
+"#+	c #D8BE33",
+"$+	c #D9BE2D",
+"%+	c #D2BB2D",
+"&+	c #C4B5AB",
+"*+	c #7B7C87",
+"=+	c #38380B",
+"-+	c #565620",
+";+	c #252588",
+">+	c #7F7F69",
+",+	c #3232C6",
+"'+	c #2323CE",
+")+	c #595992",
+"!+	c #E6E614",
+"~+	c #939362",
+"{+	c #4D4D9C",
+"]+	c #878744",
+"^+	c #44445D",
+"/+	c #171776",
+"(+	c #181845",
+"_+	c #434316",
+":+	c #272829",
+"<+	c #444414",
+"[+	c #242431",
+"}+	c #101047",
+"|+	c #2F2F25",
+"1+	c #121342",
+"2+	c #27271E",
+"3+	c #2C2C25",
+"4+	c #4D4D30",
+"5+	c #B4B40B",
+"6+	c #5A5A81",
+"7+	c #626286",
+"8+	c #636379",
+"9+	c #A5A53E",
+"0+	c #4B4B9B",
+"a+	c #A8A848",
+"b+	c #7A7A74",
+"c+	c #3F3E97",
+"d+	c #B8B83F",
+"e+	c #9A9A2F",
+"f+	c #383850",
+"g+	c #3D3D22",
+"h+	c #414120",
+"i+	c #252534",
+"j+	c #0F0F50",
+"k+	c #313131",
+"l+	c #45451D",
+"m+	c #39392A",
+"n+	c #404025",
+"o+	c #505013",
+"p+	c #1A1A51",
+"q+	c #121277",
+"r+	c #646453",
+"s+	c #4242A2",
+"t+	c #59598C",
+"u+	c #999960",
+"v+	c #A0A04D",
+"w+	c #1C1CAA",
+"x+	c #0606EB",
+"y+	c #4C4C94",
+"z+	c #A0A04A",
+"A+	c #C0C026",
+"B+	c #949446",
+"C+	c #8E8E3A",
+"D+	c #C7C708",
+"E+	c #727233",
+"F+	c #ABAB0C",
+"G+	c #6E6E34",
+"H+	c #35356A",
+"I+	c #7D7D2C",
+"J+	c #58584D",
+"K+	c #0606AC",
+"L+	c #4F4F56",
+"M+	c #7F7F2E",
+"N+	c #76763B",
+"O+	c #2C2C8E",
+"P+	c #C4C419",
+"Q+	c #787861",
+"R+	c #B6B62E",
+"S+	c #2020D2",
+"T+	c #757578",
+"U+	c #131382",
+"V+	c #83836F",
+"W+	c #93935B",
+"X+	c #C1C131",
+"Y+	c #828262",
+"Z+	c #2A2AB8",
+"`+	c #5C5C8C",
+" @	c #CFCF22",
+".@	c #B5B533",
+"+@	c #5F5F7E",
+"@@	c #65625D",
+"#@	c #B9B92C",
+"$@	c #5F5F74",
+"%@	c #7C7C54",
+"&@	c #424296",
+"*@	c #686856",
+"=@	c #F0F000",
+"-@	c #7C7C5D",
+";@	c #CDCD1F",
+">@	c #444489",
+",@	c #4D4D97",
+"'@	c #62627C",
+")@	c #3E3EA7",
+"!@	c #898955",
+"~@	c #13134A",
+"{@	c #D8D826",
+"]@	c #C4C42A",
+"^@	c #A0A045",
+"/@	c #F1F103",
+"(@	c #505085",
+"_@	c #616173",
+":@	c #C9C930",
+"<@	c #BFBF38",
+"[@	c #2525C1",
+"}@	c #8F8F4A",
+"|@	c #D0D027",
+"1@	c #1E1EC5",
+"2@	c #949455",
+"3@	c #B5B547",
+"4@	c #DDDC0F",
+"5@	c #797763",
+"6@	c #49498A",
+"7@	c #828255",
+"8@	c #89895F",
+"9@	c #6C6C73",
+"0@	c #A7A747",
+"a@	c #DEDE13",
+"b@	c #57578E",
+"c@	c #00003B",
+"d@	c #1C1CDA",
+"e@	c #93935A",
+"f@	c #C7C726",
+"g@	c #72727E",
+"h@	c #424286",
+"i@	c #D9D919",
+"j@	c #BABA36",
+"k@	c #C2C22D",
+"l@	c #ADAD3B",
+"m@	c #C4C426",
+"n@	c #76765A",
+"o@	c #DDDD1C",
+"p@	c #949449",
+"q@	c #626275",
+"r@	c #969655",
+"s@	c #B6B630",
+"t@	c #3838B4",
+"u@	c #1515D1",
+"v@	c #7E7E70",
+"w@	c #BDBD3A",
+"x@	c #808066",
+"y@	c #3434B5",
+"z@	c #818160",
+"A@	c #404097",
+"B@	c #00001A",
+"C@	c #05052E",
+"D@	c #040449",
+"E@	c #212174",
+"F@	c #3F3F84",
+"G@	c #1D1DCC",
+"H@	c #737385",
+"I@	c #FFFF00",
+"J@	c #B4B43D",
+"K@	c #6E6E70",
+"L@	c #BEBE2E",
+"M@	c #51518E",
+"N@	c #6C6C6C",
+"O@	c #D6D61B",
+"P@	c #86865A",
+"Q@	c #757576",
+"R@	c #EEEE0D",
+"S@	c #EEEE0F",
+"T@	c #9F9F50",
+"U@	c #43439B",
+"V@	c #808059",
+"W@	c #31317D",
+"X@	c #00000B",
+"Y@	c #000019",
+"Z@	c #000054",
+"`@	c #1D1D75",
+" #	c #4E4E6C",
+".#	c #1A1AC6",
+"+#	c #46468C",
+"@#	c #CACA24",
+"##	c #929253",
+"$#	c #B9B938",
+"%#	c #C6C62E",
+"&#	c #B9B933",
+"*#	c #A4A445",
+"=#	c #F9F902",
+"-#	c #6F6F5E",
+";#	c #DCDC0C",
+">#	c #636383",
+",#	c #000080",
+"'#	c #00001E",
+")#	c #0E0E4A",
+"!#	c #303077",
+"~#	c #2121B9",
+"{#	c #3535BE",
+"]#	c #E2E21E",
+"^#	c #8A8A50",
+"/#	c #65657B",
+"(#	c #66676C",
+"_#	c #B8B831",
+":#	c #00003A",
+"<#	c #010170",
+"[#	c #32327C",
+"}#	c #1F1F9E",
+"|#	c #0000CD",
+"1#	c #828258",
+"2#	c #B7B73F",
+"3#	c #2E2E95",
+"4#	c #000003",
+"5#	c #00000E",
+"6#	c #010117",
+"7#	c #00001F",
+"8#	c #000014",
+"                                                                ",
+"                                                                ",
+"    . + @ # $ %                                                 ",
+"      & * = - ; > , ' ) !                                       ",
+"      ~ { ] ^ / ( _ : < [ }                                     ",
+"      | 1 2 3 4 5 6 7 8 9 0                                     ",
+"        a b c d e f g h i j k l m n o                           ",
+"        p q r s t u v w x y z A B B C                           ",
+"        D E F G H I J K L M N N N N O                           ",
+"        P Q R S T U V W X Y Z N N `  ...+.                      ",
+"        @.#.$.%.&.*.=.-.;.>.Z ,.N `  ...+.                      ",
+"        '.).!.~.{.].^./.(._.:.N N ,. ...+.                      ",
+"        <.[.}.|.1.2.3.4.5.6.7.8.9.0.a...+.                      ",
+"        b.c.d.e.f.g.h.i.j.k.l.m.n.o.p...+.                      ",
+"        q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.+.                      ",
+"        '.G.H.I.J.K.L.M.N.O.P.Q.O.R.S.T.U.                      ",
+"        V.W.X.Y.Z.`. +.+++ at +#+$+%+&+*+=+-+;+>+,+'+)+            ",
+"        !+~+{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+8+9+0+          ",
+"        a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+          ",
+"      x+y+z+A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U++.        ",
+"      V+W+X+Y+Z+`+ @. at +@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@+.        ",
+"      {@]@^@/@(@_@:@<@[@}@|@1 at 2@3 at 4@5 at 6@7 at 8@9 at 0@a at b@c at +.        ",
+"    d at e@f at g@h at i@j at k@l at m@n at o@p at q@r at s@t at u@v at w@x at y@z at A@B at +.        ",
+"          C at D@E at F@G at H@I at J@K at L@M at N@O at P@Q at R@S at T@U at V@W at X@+.        ",
+"            +.+.+.Y at Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#+.          ",
+"                          '#)#!#~#{#]#I@^#/#(#_#F :#+.          ",
+"                                X at Z@<#[#}#|#1#2#3#4#+.          ",
+"                                          5#6#7#8#+.            ",
+"                                                                ",
+"                                                                ",
+"                                                                ",
+"                                                                "};

Added: packages/ffcs/trunk/debian/menu
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/menu?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/menu (added)
+++ packages/ffcs/trunk/debian/menu Mon Oct  3 12:18:02 2011
@@ -1,0 +1,7 @@
+?package(ffcs):               \
+  needs="X11"                 \
+  section="Applications/Science/Engineering" \
+  title="Freefem++-cs"                \
+  command="/usr/bin/FreeFem++-cs"     \
+  icon="/usr/share/pixmaps/freefem++-cs.xpm"
+

Added: packages/ffcs/trunk/debian/patches/configure.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/configure.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/configure.patch (added)
+++ packages/ffcs/trunk/debian/patches/configure.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,35 @@
+Index: ffcs-11.8/configure.ac
+===================================================================
+--- ffcs-11.8.orig/configure.ac	2011-04-04 12:54:53.000000000 +0200
++++ ffcs-11.8/configure.ac	2011-04-04 12:54:53.000000000 +0200
+@@ -837,7 +837,7 @@
+     # version of Lapack. But Cygwin then requires cygblas.dll and
+     # cyglapack.dll to be present, and they call cygwin1.dll.
+ 
+-    ffcs_ff_conf_opts="$ffcs_ff_conf_opts --enable-generic_blas"
++    ffcs_ff_conf_opts="$ffcs_ff_conf_opts"
+ 
+     # reuse the same compilers for FF configuration in case a specific
+     # one was specified here (eg for MingW64)
+Index: ffcs-11.8/ff/Makefile.am
+===================================================================
+--- ffcs-11.8.orig/ff/Makefile.am	2011-04-04 12:54:53.000000000 +0200
++++ ffcs-11.8/ff/Makefile.am	2011-04-04 12:54:53.000000000 +0200
+@@ -73,7 +73,7 @@
+ # and avoid creating symlinks.
+ 
+ compile:upstream/config.status
+-	cd upstream && @MINGWEXEC@ $(MAKE) $(AM_MAKEFLAGS) all
++	cd upstream && @MINGWEXEC@ $(MAKE) -i $(AM_MAKEFLAGS) all
+ 
+ # the load/include directory is populated with real files, _not_ links
+ # (because of the MinGW compilers), so it will keep old versions of
+@@ -97,7 +97,7 @@
+ TAGS:upstream/config.status
+ 	etags --etags-include=upstream/TAGS *.?pp \
+ 		|| etags -i upstream/TAGS *.?pp
+-	cd upstream && $(MAKE) $(AM_MAKEFLAGS) tags
++	cd upstream && $(MAKE) -i $(AM_MAKEFLAGS) tags
+ clean-local::
+ 	-rm TAGS
+ 

Added: packages/ffcs/trunk/debian/patches/ff-c++.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ff-c%2B%2B.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ff-c++.patch (added)
+++ packages/ffcs/trunk/debian/patches/ff-c++.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,116 @@
+Index: ffcs-11.9/ff/upstream/examples++-load/ff-c++
+===================================================================
+--- ffcs-11.9.orig/ff/upstream/examples++-load/ff-c++	2011-04-07 10:47:30.000000000 +0200
++++ ffcs-11.9/ff/upstream/examples++-load/ff-c++	2011-04-07 11:26:29.000000000 +0200
+@@ -1,6 +1,10 @@
+ #!/bin/sh
+ # Create a loadable object from a C++ function defined in a .cpp file
+ # $Id$
++
++# Activate debug
++set -x
++
+ thecommand="$0"
+ dircommand=`dirname "$0"`
+ 
+@@ -29,8 +33,8 @@
+ 	INCFF="-Iinclude"
+     elif [ -f "FFAPPLI_INC/ff++.hpp" ] ; then 
+ 	INCFF="-IFFAPPLI_INC" 
+-    elif [ -f '/alh/nowhere/lib/ff++/3.12/include/ff++.hpp' ] ; then 
+-	INCFF='-I/alh/nowhere/lib/ff++/3.12/include' 
++    elif [ -f '/usr/include/frefem++/ff++.hpp' ] ; then 
++	INCFF='-I/usr/include/freefem++' 
+     else
+ 	ff=`which freefem++.exe`;
+ 	ffinc=`dirname "$ff"`/examples++-load/include
+@@ -58,24 +62,25 @@
+ 
+ case "$uu" in
+   CYGWIN*|MINGW*)
+-  if [ -z "" ] ; then 
+-      onwin32=1; uu="cygwin-version";
+-  else
+-      onwin32=1; uu="win32"; # pure windows 
+-  fi
+-  WIN32="win32-"
+-  wff=`which FreeFem++.exe`
+-  dff=`dirname "$wff"`
+-  if [ "$bin" = "." -a  -f ../src/bin-win32/libff.dll  ]; then
+-    bin=../src/bin-win32 
+-  elif [  -f "$dff/libff.dll"  ]; then
+-#  modif for install on cygwin
+-    bin="$dff"
+-  elif [ "$bin" = "." -a  -f ../libff.dll  ]; then
+-    bin=..
+-  elif [ "$bin" = "." -a  -f ../../libff.dll  ]; then
+-    bin=../..
+-  fi;; 
++     if [ -z "" ] ; then 
++	 onwin32=1; uu="cygwin-version";
++     else
++	 onwin32=1; uu="win32"; # pure windows 
++     fi
++     WIN32="win32-"
++     wff=`which FreeFem++.exe`
++     dff=`dirname "$wff"`
++     if [ "$bin" = "." -a  -f ../src/bin-win32/libff.dll  ]; then
++       bin=../src/bin-win32 
++     elif [  -f "$dff/libff.dll"  ]; then
++   #  modif for install on cygwin
++       bin="$dff"
++     elif [ "$bin" = "." -a  -f ../libff.dll  ]; then
++       bin=..
++     elif [ "$bin" = "." -a  -f ../../libff.dll  ]; then
++       bin=../..
++     fi
++  ;; 
+ esac
+ autodep=""
+ withmpi=""
+Index: ffcs-11.9/ff/upstream/examples++-load/ff-get-dep
+===================================================================
+--- ffcs-11.9.orig/ff/upstream/examples++-load/ff-get-dep	2011-04-07 11:38:15.000000000 +0200
++++ ffcs-11.9/ff/upstream/examples++-load/ff-get-dep	2011-04-07 11:40:16.000000000 +0200
+@@ -1,13 +1,17 @@
+ #!/bin/sh
+ # ff-c++ `./ff-get-dep -ff metis.cpp`
++
++#Activate debug
++set -x
++
+ wherelib=WHERE_LIBRARY
+ dircommand=`dirname $0`
+ if [   -f "$wherelib-download" ] ; then
+     wherelib=WHERE_LIBRARY
+ elif [   -f "$dircommand/$wherelib-download" ] ; then
+     wherelib=$dircommand/WHERE_LIBRARY
+-elif [ -f '/alh/nowhere/lib/ff++/3.12/WHERE_LIBRARY-download' ] ; then
+-    wherelib='/alh/nowhere/lib/ff++/3.12/WHERE_LIBRARY'
++elif [ -f '/usr/lib/freefem++/WHERE_LIBRARY-download' ] ; then
++    wherelib='/usr/lib/freefem++/WHERE_LIBRARY'
+ else
+    echo " error no WHERE_LIBRARY  file "
+    exit 1;
+Index: ffcs-11.9/ff/upstream/examples++-load/ff-pkg-download
+===================================================================
+--- ffcs-11.9.orig/ff/upstream/examples++-load/ff-pkg-download	2011-04-07 11:40:26.000000000 +0200
++++ ffcs-11.9/ff/upstream/examples++-load/ff-pkg-download	2011-04-07 11:42:10.000000000 +0200
+@@ -1,5 +1,8 @@
+ #!/bin/sh
+ 
++#Activate debug
++set -x
++
+ ff=$0;
+ bb=`basename $0`
+ DIR=`dirname $ff`
+@@ -23,7 +26,7 @@
+ elif [ -d "$DIRP/lib" -a -d "$DIRP/include"  ] ; then
+     DIR="$DIRP"
+ else
+-  DIR=/alh/nowhere/lib/ff++/3.12
++  DIR=/usr/lib/freefem++
+ fi
+ 
+ if [   -d $DIR/lib -a -d $DIR/include  ] ; then

Added: packages/ffcs/trunk/debian/patches/ff-configure.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ff-configure.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ff-configure.patch (added)
+++ packages/ffcs/trunk/debian/patches/ff-configure.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,392 @@
+Index: ffcs-11.7/ff/upstream/acoptim.m4
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/acoptim.m4	2011-03-18 11:52:35.000000000 +0100
++++ ffcs-11.7/ff/upstream/acoptim.m4	2011-03-18 11:52:36.000000000 +0100
+@@ -49,14 +49,6 @@
+ AC_ARG_ENABLE(debug,[  --enable-debug	Turn on debug versions of FreeFem++])
+ AC_ARG_ENABLE(optim,[  --enable-optim	Turn on compiler optimization])
+ 
+-# Autoconf always chooses -O2. -O2 in gcc makes some functions
+-# disappear. This is not ideal for debugging. And when we optimize, we
+-# do not use -O2 anyway.
+-
+-CFLAGS="`echo $CFLAGS | sed 's/-O2//g'`"
+-FFLAGS="`echo $FFLAGS | sed 's/-O2//g'`"
+-CXXFLAGS="`echo $CXXFLAGS | sed 's/-O2//g'`"
+-
+ if test "$enable_debug" = yes;
+ then
+ 	AC_MSG_RESULT(yes)
+@@ -65,9 +57,9 @@
+ 
+ 	# No debugging information in optimized code
+ 
+-	CFLAGS="`echo $CFLAGS | sed 's/-g//g'` -DNDEBUG"
+-	FFLAGS="`echo $FFLAGS | sed 's/-g//g'` -DNDEBUG"
+-	CXXFLAGS="`echo $CXXFLAGS | sed 's/-g//g'` -DNDEBUG"
++	CFLAGS="$CFLAGS -DNDEBUG"
++	FFLAGS="$FFLAGS -DNDEBUG"
++	CXXFLAGS="$CXXFLAGS -DNDEBUG"
+ fi
+ 
+ # Hardware-independant optimization
+@@ -104,6 +96,14 @@
+     -a "$enable_generic" != yes
+ then
+ 
++# Autoconf always chooses -O2. -O2 in gcc makes some functions
++# disappear. This is not ideal for debugging. And when we optimize, we
++# do not use -O2 anyway.
++
++CFLAGS="`echo $CFLAGS | sed 's/-O2//g'`"
++FFLAGS="`echo $FFLAGS | sed 's/-O2//g'`"
++CXXFLAGS="`echo $CXXFLAGS | sed 's/-O2//g'`"
++
+     # MacOS X Darwin
+     if test -x /usr/bin/hostinfo
+ 	then
+Index: ffcs-11.7/ff/upstream/examples++-load/Makefile.am
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-load/Makefile.am	2011-03-18 11:52:35.000000000 +0100
++++ ffcs-11.7/ff/upstream/examples++-load/Makefile.am	2011-03-18 11:52:36.000000000 +0100
+@@ -118,7 +118,7 @@
+ $(LIST_COMPILE):ff-c++ include Makefile 
+ 
+ clean-local:
+-	-rm *.o  load.link WHERE_LIBRARY-download ff-get-dep ff-c++ ff-pkg-download \
++	-rm *.o  load.link WHERE_LIBRARY-download WHERE_LIBRARY-config WHERE_LIBRARY ff-get-dep ff-c++ ff-pkg-download \
+ 	  $(LIST_COMPILE) $(LIST_COMPILE_PKG)  regtests.edp makeref.edp
+ 	-rm -rf include
+ ff-c++:load.link.in  Makefile load.link WHERE_LIBRARY-download ff-get-dep
+@@ -135,26 +135,29 @@
+ 	../config.status  --file=$@:$@.in
+ 	chmod a+x $@
+ 	-if [ -d ../download/bin ] ;then cp $@ ../download/bin; fi
+-WHERE_LIBRARY-download:ff-pkg-download FORCE  WHERE_LIBRARY-config WHERE_LIBRARY
+-	@./ff-pkg-download >$@-new
+-	@diff $@-new $@  || (cp $@-new $@ ;touch WHERE_LIBRARY)
++WHERE_LIBRARY-download:ff-pkg-download FORCE  WHERE_LIBRARY-config
++	./ff-pkg-download >$@-new
++	if [ -f $@ ] ; then { diff $@-new $@  || cp $@-new $@ ; }; fi;
++	if [ ! -f $@ ] ; then mv $@-new $@ ; fi;
++	touch WHERE_LIBRARY
++
+ FORCE: ;
+ freefem++.pref:
+ 	echo loadpath = \"./\" >freefem++.pref
+ install-exec-local:: load_compile
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/lib
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/include
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/etc
+-	$(INSTALL_DATA)  clapack.h ppmimg.h include/* $(DESTDIR)$(ff_prefix_dir)/include
+-	$(INSTALL)  -m 555 $(LIST_COMPILE) $(DESTDIR)$(ff_prefix_dir)/lib
+-	echo loadpath += \"./\"  >$(DESTDIR)$(ff_prefix_dir)/etc/freefem++.pref
+-	echo loadpath += \"$(ff_prefix_dir)/lib\"  >>$(DESTDIR)$(ff_prefix_dir)/etc/freefem++.pref
+-	echo includepath += \"$(ff_prefix_dir)/idp\"  >>$(DESTDIR)$(ff_prefix_dir)/etc/freefem++.pref
++	$(mkinstalldirs) -m 755 $(DESTDIR)$(libdir)/freefem++
++	$(mkinstalldirs) -m 755 $(DESTDIR)/usr/include/freefem++/include
++	$(mkinstalldirs) -m 755 $(DESTDIR)/etc
++	$(INSTALL_DATA)  clapack.h ppmimg.h include/* $(DESTDIR)/usr/include/freefem++/include
++	$(INSTALL)  -m 555 $(LIST_COMPILE) $(DESTDIR)$(libdir)/freefem++
++	echo loadpath += \"./\"  >$(DESTDIR)/etc/freefem++.pref
++	echo loadpath += \"$(libdir)/freefem++\"  >>$(DESTDIR)/etc/freefem++.pref
++	echo includepath += \"$(libdir)/freefem++/idp\"  >>$(DESTDIR)/etc/freefem++.pref
+ 	$(INSTALL_SCRIPT) ff-c++  $(DESTDIR)${bindir}
+ 	$(INSTALL_SCRIPT) ff-pkg-download  $(DESTDIR)${bindir}
+ 	$(INSTALL_SCRIPT) ff-get-dep  $(DESTDIR)${bindir}
+ 	-for i in $(LIST_COMPILE_PKG); do \
+-	 if [ -f $$i ] ; then 	$(INSTALL)  -m 555 $$i $(DESTDIR)$(ff_prefix_dir)/lib; fi; done
++	 if [ -f $$i ] ; then 	$(INSTALL)  -m 555 $$i $(DESTDIR)$(libdir)/freefem++; fi; done
+ 
+ 
+ 
+Index: ffcs-11.7/ff/upstream/examples++-3d/Makefile.am
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-3d/Makefile.am	2011-03-18 11:52:35.000000000 +0100
++++ ffcs-11.7/ff/upstream/examples++-3d/Makefile.am	2011-03-18 11:52:36.000000000 +0100
+@@ -33,8 +33,8 @@
+ 	echo loadpath += \"./\" >>freefem++.pref
+ 
+ install-exec-local:: 
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/idp
+-	$(INSTALL)  -m 555  $(LIST_IDP)  $(DESTDIR)$(ff_prefix_dir)/idp
++	$(mkinstalldirs) -m 755 $(DESTDIR)$(libdir)/freefem++/idp
++	$(INSTALL)  -m 555  $(LIST_IDP)  $(DESTDIR)$(libdir)/freefem++/idp
+ 
+ 
+ 
+Index: ffcs-11.7/ff/upstream/examples++-tutorial/Makefile.am
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-tutorial/Makefile.am	2011-03-18 11:52:35.000000000 +0100
++++ ffcs-11.7/ff/upstream/examples++-tutorial/Makefile.am	2011-03-18 11:52:36.000000000 +0100
+@@ -22,8 +22,8 @@
+ Ref: makeref.edp
+ 	../src/nw/FreeFem++-nw makeref.edp
+ install-exec-local:: 
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/idp
+-	$(INSTALL)  -m 555  $(LIST_IDP)  $(DESTDIR)$(ff_prefix_dir)/idp
++	$(mkinstalldirs) -m 755 $(DESTDIR)$(libdir)/freefem++/idp
++	$(INSTALL)  -m 555  $(LIST_IDP)  $(DESTDIR)$(libdir)/freefem++/idp
+ 
+ 
+ makeref.edp: regtests.m4 ../regtests.m4
+@@ -32,4 +32,4 @@
+ # To check the scripts against their reference values
+ regtests.edp: regtests.m4 ../regtests.m4
+ 	m4 -DASSERT regtests.m4 > regtests.edp
+-FORCE:
+\ No newline at end of file
++FORCE:
+Index: ffcs-11.7/ff/upstream/examples++-mpi/Makefile.am
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/Makefile.am	2011-03-18 11:52:35.000000000 +0100
++++ ffcs-11.7/ff/upstream/examples++-mpi/Makefile.am	2011-03-18 11:52:36.000000000 +0100
+@@ -38,14 +38,19 @@
+ 	@###- ../examples++-load/ff-c++ -auto  $< 
+ 	../examples++-load/ff-c++ -auto  $<
+ install-exec-local:: 
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/lib
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/include
+-	$(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/etc
++	$(mkinstalldirs) -m 755 $(DESTDIR)$(libdir)/freefem++
++	$(mkinstalldirs) -m 755 $(DESTDIR)/usr/include/freefem++/include
++	$(mkinstalldirs) -m 755 $(DESTDIR)/etc
++	$(mkinstalldirs) -m 755 $(DESTDIR)$(libdir)/freefem++/idp
+ 	-for i in $(LIST_COMPILE); do \
+-	 if [ -f $$i ] ; then 	$(INSTALL)  -m 555 $$i $(DESTDIR)$(ff_prefix_dir)/lib; fi; done
+-	$(INSTALL)  -m 555  $(LIST_IDP)  $(DESTDIR)$(ff_prefix_dir)/idp
++	 if [ -f $$i ] ; then 	$(INSTALL)  -m 555 $$i $(DESTDIR)$(libdir)/freefem++; fi; done
++	$(INSTALL)  -m 555  $(LIST_IDP)  $(DESTDIR)$(libdir)/freefem++/idp
+ 
+ 
+ freefem++.pref:
+ 	echo loadpath = \"../examples++-load/\" >freefem++.pref
+ 	echo loadpath += \"./\" >>freefem++.pref
++
++clean-local:
++	-rm *.o $(LIST_COMPILE) $(LIST_COMPILE_PKG)
++	-rm -rf include
+Index: ffcs-11.7/ff/upstream/configure.ac
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/configure.ac	2011-03-18 11:52:35.000000000 +0100
++++ ffcs-11.7/ff/upstream/configure.ac	2011-03-18 13:15:20.000000000 +0100
+@@ -968,11 +968,13 @@
+ dnl ---------------------------
+ dnl   Looking for the tetgen
+ dnl --------------------------
+-AC_CHECK_LIB(tet,fftw_execute,ff_fftet_ok=yes)
+-AC_CHECK_HEADERS(tetgen.h,ff_tet_h=yes, ff_tet_h=no)
+-if test "$ff_tet_ok" = yes -a "$ff_tet_h" = yes
++ff_tetgen_ok=no
++AC_CHECK_LIB(tet,ssdissolve,ff_tetgen_ok=yes)
++AC_CHECK_HEADERS(tetgen.h,ff_tet_h=yes, ff_tetgen_h=no)
++if test "$ff_tetgen_ok" = yes -a "$ff_tetgen_h" = yes
+ then
+     [echo tetgen LD  -ltet   >>$ff_where_lib_conf]
++     AC_DEFINE(HAVE_TETGEN,1, tetgen is compute tetrahedralize volume of an enclosed surface)
+ fi
+ dnl ---------------------------
+ 
+@@ -980,7 +982,6 @@
+ # Modif: morice 2008
+ # Looking for the tetgen
+ # --------------------
+-ff_tetgen_ok=no
+ ff_tetgen_dir="${curdir}/download"
+ ff_libs_old="$LIBS"
+ ff_ldflags_old="$LDFLAGS"
+@@ -988,22 +989,22 @@
+ #for ff_tetgendir in "" "${curdir}/download";
+ #do
+ if test "$ff_tetgen_ok" = no
+-	then
+-	  if test -n "$ff_tetgen_dir"
+-	  then
+-           LDFLAGS="$LDFLAGS -L${ff_tetgen_dir}/lib"
+-           CPPFLAGS="$CPPFLAGS -I${ff_tetgen_dir}/include"
+-      fi
++then
++  if test -n "$ff_tetgen_dir"
++  then
++      LDFLAGS="$LDFLAGS -L${ff_tetgen_dir}/lib"
++      CPPFLAGS="$CPPFLAGS -I${ff_tetgen_dir}/include"
++  fi
+ 
+   AC_CHECK_LIB(tet,tetrahedralize,
+                 ff_tetgen_ok=yes)
+   AC_CHECK_HEADERS(tetgen.h,
+              ff_tetgen_h=yes, ff_tetgen_h=no)
+ 
+-   if test "$ff_tetgen_ok" = yes  -a "$ff_tetgen_h" = yes 
+-    then
++  if test "$ff_tetgen_ok" = yes  -a "$ff_tetgen_h" = yes
++  then
+       AC_DEFINE(HAVE_TETGEN,1, tetgen is compute tetrahedralize volume of an enclosed surface)
+-   else
++  else
+        LIBS="$ff_libs_old"
+        LDFLAGS="$ff_ldflags_old"
+        CPPFLAGS="$ff_cppflags_old"    
+@@ -1946,13 +1947,27 @@
+ 
+ m4_map([AC_FF_WHERELIB],[ 
+ 	[[mumps],[-ldmumps -lzmumps  -lmumps_common  -lpord],[dmumps_c.h],[]],
++	[[mumps_ptscotch],[-lpord_ptscotch -lmumps_common_ptscotch -ldmumps_ptscotch -lzmumps_ptscotch -lpord_ptscotch],[/usr/include/dmumps_c.h]],
++	[[mumps_scotch],[-lpord_scotch -lmumps_common_scotch -ldmumps_scotch -lzmumps_scotch -lpord_scotch],[/usr/include/dmumps_c.h]],
++	[[hypre],[-lHYPRE]],
++	[[pastix],[-lpastix],[/usr/include/pastix/pastix.h],[]],
++	[[hips],[-lhips],[/usr/include/hips/hips.h],[]],
++	[[superlu-dist],[-lsuperlu-dist],[/usr/include/superlu-dist/superlu_defs.h],[]],
++	[[superlu],[-lsuperlu],[/usr/include/superlu/slu_ddefs.h],[]],
++	[[Superlu4],[-lsuperlu4],[/usr/include/superlu4/slu_ddefs.h],[]],
+ 	[[fftw3],[-lfftw3],[fftw3.h],[]],
+-	[[superlu],[-lsuperlu],[superlu_defs.h],[]],
+-	[[blacs],[$ff_blacs],$ff_winc,[]],
+-	[[scalapack],[$ff_scalapack],$ff_winc,[$ff_blacs  $ff_blas_libs $ff_MPI_LIB]],
++        [[blacs],[ -lblacsCinit$ff_with_mpi	-lblacsF77init$ff_with_mpi	-lblacs$ff_with_mpi],[]],
++        [[scalapack],[-lscalapack$ff_with_mpi],[]],
+ 	[[scotch],[-lscotch -lscotcherr],[],[]],	
+-	[[metis],[-lmetis],[metis/metis.h],[]],
+-	[[parmetis],[-lparmetis],[parmetis/parmetis.h],[]]
++        [[ptscotch],[-lptscotch -lptscotcherr],[]],
++	[[metis],[-lscotch -lmetis],[/usr/include/metis/metis.h],[]],
++	[[parmetis],[-lptscotch -lparmetis],[],[]],
++	[[freeyams],[-lfreeyams],[/usr/include/freeyamslib.h],[]],
++	[[mmg3d],[-lmmg3d],[/usr/include/libmmg3d.h],[]],
++	[[mshmet],[-lmshmet],[],[]],
++	[[gsl],[-lgsl -lgslcblas -lm],[/usr/include/gsl/gsl_sf.h],[]],
++	[[parms],[-lparms2 -llapack -lblas -lm],[/usr/include/parms2],[]],
++	[[tetgen],[-ltet],[/usr/include/tetgen.h],[]],
+     ]
+     )
+ 
+Index: ffcs-11.7/ff/upstream/download/hips/Makefile
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/download/hips/Makefile	2011-04-01 14:51:12.000000000 +0200
++++ ffcs-11.7/ff/upstream/download/hips/Makefile	2011-04-01 14:52:38.000000000 +0200
+@@ -196,7 +196,10 @@
+ 
+ # FFCS: avoid loops when SRCDIR does not exist
+ clean-local:
+-	-cd $(SRCDIR) && $(MAKE) clean 
++	if [ -d $(SRCDIR) ] ; then \
++	   cd $(SRCDIR);\
++	   $(MAKE) clean ;\
++	fi
+ 
+ clean: clean-local
+ 	rm makefile.inc
+@@ -207,4 +210,4 @@
+ 	-rm -rf $(SRCDIR)/$(INSTALL)/include/hips/
+ 	-rm -rf $(SRCDIR)
+ 	rm FAIT
+-.PHONY:$(SRCDIR)/$(INSTALL)
+\ No newline at end of file
++.PHONY:$(SRCDIR)/$(INSTALL)
+Index: ffcs-11.7/ff/upstream/download/yams/Makefile
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/download/yams/Makefile	2011-04-01 14:54:26.000000000 +0200
++++ ffcs-11.7/ff/upstream/download/yams/Makefile	2011-04-01 14:55:09.000000000 +0200
+@@ -67,7 +67,10 @@
+ # infinite loop.
+ clean-local: 
+ 	-rm FAIRE FAIT
+-	cd $(YAMS_DIR) && make  clean;
++	if [ -d $(YAMS_DIR) ] ; then \
++	   cd $(YAMS_DIR);\
++	   $(MAKE) clean ;\
++	fi
+ 	-rm $(YAMS_OBJDIR)/libyams.a
+ 
+ clean: clean-local
+@@ -92,4 +95,4 @@
+ 	grep 'LIBS *=' ../Makefile >> ff-flags
+ 
+ 
+-.PHONY: $(SRCDIR)/$(INSTALL)
+\ No newline at end of file
++.PHONY: $(SRCDIR)/$(INSTALL)
+Index: ffcs-11.7/ff/upstream/download/blacs/Makefile
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/download/blacs/Makefile	2011-04-01 14:57:03.000000000 +0200
++++ ffcs-11.7/ff/upstream/download/blacs/Makefile	2011-04-01 15:00:17.000000000 +0200
+@@ -77,11 +77,14 @@
+ # FFCS: only run make clean if cd to SRCDIR worked, otherwise this is
+ # infinite loop.
+ clean-local:
+-	-cd $(SRCDIR)/SRC/MPI && make clean 
++	if [ -d $(SRCDIR) ] ; then \
++	   -cd $(SRCDIR)/SRC/MPI; \
++	   make clean; \
++	fi
+ 
+ clean: clean-local
+ 	-rm Bmake.inc FAIRE
+ 	-rm $(SRCDIR)/$(INSTALL)/lib/blacs/*.a
+ 	-rm -rf $(SRCDIR)
+ 
+-.PHONY:$(SRCDIR)/$(INSTALL)  compile install
+\ No newline at end of file
++.PHONY:$(SRCDIR)/$(INSTALL)  compile install
+Index: ffcs-11.7/ff/upstream/download/superludist/Makefile
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/download/superludist/Makefile	2011-04-01 14:59:26.000000000 +0200
++++ ffcs-11.7/ff/upstream/download/superludist/Makefile	2011-04-01 15:00:44.000000000 +0200
+@@ -66,7 +66,10 @@
+ # FFCS: only run make clean if cd to SRCDIR worked, otherwise this is
+ # infinite loop.
+ clean-local:
+-	-cd $(SRCDIR) && $(MAKE) clean
++	if [ -d $(SRCDIR) ] ; then \
++	   -cd $(SRCDIR); \
++	   make clean; \
++	fi 
+ 
+ clean: clean-local
+ 	-rm -rf $(SRCDIR)
+Index: ffcs-11.7/ff/upstream/download/mumps/Makefile
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/download/mumps/Makefile	2011-04-01 15:01:12.000000000 +0200
++++ ffcs-11.7/ff/upstream/download/mumps/Makefile	2011-04-01 15:01:34.000000000 +0200
+@@ -53,7 +53,10 @@
+ # FFCS: only run make clean if cd to SRCDIR worked, otherwise this is
+ # infinite loop.
+ clean-local:
+-	-cd $(SRCDIR) && make clean
++	if [ -d $(SRCDIR) ] ; then \
++	   -cd $(SRCDIR); \
++	   make clean; \
++	fi
+ 
+ clean: clean-local
+ 	rm Makefile.inc FAIRE
+@@ -61,4 +64,4 @@
+ 	-rm -rf $(SRCDIR)/$(INSTALL)/lib/lib*mumps* $(SRCDIR)/$(INSTALL)/lib/libpord*.a
+ 	-rm -rf $(SRCDIR)
+ 
+-.PHONY:$(SRCDIR)/$(INSTALL)
+\ No newline at end of file
++.PHONY:$(SRCDIR)/$(INSTALL)
+Index: ffcs-11.7/ff/upstream/download/pastix/Makefile
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/download/pastix/Makefile	2011-04-01 15:02:13.000000000 +0200
++++ ffcs-11.7/ff/upstream/download/pastix/Makefile	2011-04-01 15:02:44.000000000 +0200
+@@ -129,7 +129,10 @@
+ 
+ # FFCS: avoid loops when SRCDIR does not exist
+ clean-local:
+-	-cd $(SRCDIR)/src/ && $(MAKE) clean
++	if [ -d $(SRCDIR) ] ; then \
++	   -cd $(SRCDIR); \
++	   make clean; \
++	fi
+ 
+ clean: clean-local
+ 	-rm config.in FAIRE 
+@@ -140,4 +143,4 @@
+ 	-rm -rf $(SRCDIR)/$(INSTALL)/lib/pastix/complex
+ 	-rm -rf $(SRCDIR)
+ 
+-.PHONY:$(SRCDIR)/$(INSTALL)
+\ No newline at end of file
++.PHONY:$(SRCDIR)/$(INSTALL)

Added: packages/ffcs/trunk/debian/patches/ff-examples++-load.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ff-examples%2B%2B-load.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ff-examples++-load.patch (added)
+++ packages/ffcs/trunk/debian/patches/ff-examples++-load.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,12 @@
+Index: ffcs-11.7/ff/upstream/examples++-load/ilut.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-load/ilut.cpp	2011-03-16 10:20:20.000000000 +0100
++++ ffcs-11.7/ff/upstream/examples++-load/ilut.cpp	2011-03-16 10:20:20.000000000 +0100
+@@ -16,7 +16,6 @@
+  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+  */
+ 
+-//ff-c++-LIBRARY-dep:   gmm
+ //ff-c++-cpp-dep: 
+ 
+ #include <cmath>

Added: packages/ffcs/trunk/debian/patches/ff-examples++-mpi.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ff-examples%2B%2B-mpi.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ff-examples++-mpi.patch (added)
+++ packages/ffcs/trunk/debian/patches/ff-examples++-mpi.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,84 @@
+Index: ffcs-11.7/ff/upstream/examples++-mpi/MUMPS_FreeFem.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/MUMPS_FreeFem.cpp	2011-03-29 09:49:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples++-mpi/MUMPS_FreeFem.cpp	2011-03-29 12:53:16.000000000 +0200
+@@ -7,7 +7,7 @@
+ // AUTHOR   : Jacques Morice
+ // E-MAIL   : jacques.morice at ann.jussieu.fr
+ //
+-//ff-c++-LIBRARY-dep:  mumps parmetis ptscotch  scalapack blacs blas  mpifc  fc  
++//ff-c++-LIBRARY-dep: mumps_ptscotch blas ptscotch blacs scalapack mpifc fc
+ //ff-c++-cpp-dep: 
+ 
+ /* 
+Index: ffcs-11.7/ff/upstream/examples++-mpi/dSuperLU_DIST.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/dSuperLU_DIST.cpp	2011-03-29 09:49:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples++-mpi/dSuperLU_DIST.cpp	2011-03-29 12:53:16.000000000 +0200
+@@ -1,4 +1,4 @@
+-//ff-c++-LIBRARY-dep: metis  superlu_dist mpi
++//ff-c++-LIBRARY-dep: metis  superlu-dist mpi
+ //ff-c++-cpp-dep: 
+ /*
+   Interface freefem++ et SuperLU_DIST_2.3 
+Index: ffcs-11.7/ff/upstream/examples++-mpi/complex_SuperLU_DIST_FreeFem.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/complex_SuperLU_DIST_FreeFem.cpp	2011-03-29 09:49:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples++-mpi/complex_SuperLU_DIST_FreeFem.cpp	2011-03-29 12:53:16.000000000 +0200
+@@ -1,5 +1,5 @@
+ //   for automatic  compilation with ff-c++
+-//ff-c++-LIBRARY-dep: superlu_dist  blas parmetis metis mpi fc
++//ff-c++-LIBRARY-dep: superlu-dist  blas parmetis metis mpi fc
+ //ff-c++-cpp-dep: 
+ // ORIG-DATE: 02/2009
+ // -*- Mode : c++ -*-
+Index: ffcs-11.7/ff/upstream/examples++-mpi/complex_pastix_FreeFem.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/complex_pastix_FreeFem.cpp	2011-03-29 09:49:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples++-mpi/complex_pastix_FreeFem.cpp	2011-03-29 12:53:16.000000000 +0200
+@@ -28,7 +28,7 @@
+  Thank to the ARN ()  FF2A3 grant
+  ref:ANR-07-CIS7-002-01 
+  */
+-//ff-c++-LIBRARY-dep: complex_pastix   blas parmetis metis scotch mpi fc
++//ff-c++-LIBRARY-dep: pastix   blas parmetis metis scotch mpi fc
+ //ff-c++-cpp-dep: 
+ /*
+   Interface entre freefem++ et pastix
+Index: ffcs-11.7/ff/upstream/examples++-mpi/interfacepastix.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/interfacepastix.cpp	2011-03-29 09:49:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples++-mpi/interfacepastix.cpp	2011-03-29 12:53:16.000000000 +0200
+@@ -1,7 +1,7 @@
+ /*
+   Interface entre freefem++ et pastix
+ */
+-//ff-c++-LIBRARY-dep: double_pastix   blas parmetis metis scotch  mpi fc
++//ff-c++-LIBRARY-dep: pastix   blas parmetis metis scotch  mpi fc
+ //ff-c++-cpp-dep: 
+ #include <mpi.h>
+ #include  <iostream>
+Index: ffcs-11.7/ff/upstream/examples++-mpi/real_SuperLU_DIST_FreeFem.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/real_SuperLU_DIST_FreeFem.cpp	2011-03-29 09:49:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples++-mpi/real_SuperLU_DIST_FreeFem.cpp	2011-03-29 12:53:16.000000000 +0200
+@@ -1,5 +1,5 @@
+ //   for automatic  compilation with ff-c++
+-//ff-c++-LIBRARY-dep: superlu_dist  blas parmetis metis mpi fc
++//ff-c++-LIBRARY-dep: superlu-dist  blas parmetis metis mpi fc
+ //ff-c++-cpp-dep: 
+ //
+ // ORIG-DATE: 02/2009
+Index: ffcs-11.7/ff/upstream/examples++-mpi/real_pastix_FreeFem.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-mpi/real_pastix_FreeFem.cpp	2011-03-29 09:49:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples++-mpi/real_pastix_FreeFem.cpp	2011-03-29 12:53:16.000000000 +0200
+@@ -7,7 +7,7 @@
+ // AUTHOR   : Jacques Morice
+ // E-MAIL   : jacques.morice at ann.jussieu.fr
+ //
+-//ff-c++-LIBRARY-dep: double_pastix   blas parmetis metis scotch  mpi fc
++//ff-c++-LIBRARY-dep: pastix   blas parmetis metis scotch  mpi fc
+ //ff-c++-cpp-dep: 
+ 
+ /* 

Added: packages/ffcs/trunk/debian/patches/ff-examples-bamg.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ff-examples-bamg.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ff-examples-bamg.patch (added)
+++ packages/ffcs/trunk/debian/patches/ff-examples-bamg.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,11 @@
+ /* 
+Index: ffcs-11.7/ff/upstream/examples-bamg/test/dotest.pl
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples-bamg/test/dotest.pl	2011-03-29 12:53:57.000000000 +0200
++++ ffcs-11.7/ff/upstream/examples-bamg/test/dotest.pl	2011-03-29 12:54:05.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+ # -----  clean ---
+ unlink <*.mesh>;
+ unlink <*.am_fmt>;

Added: packages/ffcs/trunk/debian/patches/ff-pkg-download.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ff-pkg-download.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ff-pkg-download.patch (added)
+++ packages/ffcs/trunk/debian/patches/ff-pkg-download.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,32 @@
+Index: ffcs-11.7/ff/upstream/examples++-load/ff-pkg-download.in
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-load/ff-pkg-download.in	2011-03-08 14:31:50.000000000 +0100
++++ ffcs-11.7/ff/upstream/examples++-load/ff-pkg-download.in	2011-03-15 16:32:59.000000000 +0100
+@@ -1,3 +1,5 @@
++#!/bin/sh
++
+ ff=$0;
+ bb=`basename $0`
+ DIR=`dirname $ff`
+@@ -29,9 +31,11 @@
+     INC="$DIR/include"
+     cd "$LIB"
+ #  set -x
+-    for i in $LIB/WHERE.* ; do
+-	sed "s;@DIR@;$DIR;" <$i 
+-    done
++    [ -f $LIB/WHERE.* ] && {
++       for i in $LIB/WHERE.* ; do
++	   sed "s;@DIR@;$DIR;" <$i 
++       done
++    }
+ #    return
+     for la in arpack umfpack amd fftw3 blas lapack   mmg3d; do
+         l=`echo $la |sed -e s/^tet$/tetgen/`
+@@ -53,4 +57,4 @@
+     done
+ else
+     echo error not directory $DIR/lib and $DIR/include  $DIRP 
+-fi
+\ No newline at end of file
++fi

Added: packages/ffcs/trunk/debian/patches/ff-superlu.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ff-superlu.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ff-superlu.patch (added)
+++ packages/ffcs/trunk/debian/patches/ff-superlu.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,845 @@
+Index: ffcs-11.7/ff/upstream/examples++-load/SuperLu.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/examples++-load/SuperLu.cpp	2011-03-08 14:31:50.000000000 +0100
++++ ffcs-11.7/ff/upstream/examples++-load/SuperLu.cpp	2011-03-15 16:33:14.000000000 +0100
+@@ -1,7 +1,7 @@
+ //   for automatic  compilation with ff-c++
+ //ff-c++-LIBRARY-dep:   superlu blas 
+ //ff-c++-cpp-dep: 
+-//  for Super4.0 library   
++//  
+ #include "ff++.hpp"
+ /*
+ #include  <iostream>
+@@ -15,23 +15,19 @@
+ #include "MatriceCreuse_tpl.hpp"
+ */
+ #include "slu_ddefs.h"
+-
+ #define GlobalLU_t GlobalLU_txxxx
+ #define countnz countnzxxxx
+ #define fixupL fixupLxxxx
+ #define print_lu_col print_lu_colxxxx
+ #define check_tempv check_tempvxxxx
+ #define PrintPerf PrintPerfxxxx
+-#define ilu_countnz  ilu_countnzxxxx
+ #include "slu_zdefs.h"
+-
+ #undef GlobalLU_t
+ #undef countnz
+ #undef fixupL
+ #undef print_lu_col
+ #undef check_tempv
+ #undef PrintPerf
+-#undef ilu_countnz
+ 
+ 
+ template <class R> struct SuperLUDriver
+@@ -627,8 +623,7 @@
+     	printf("No of nonzeros in L+U = %d\n", Lstore->nnz + Ustore->nnz - n);
+ 	printf("L\\U MB %.3f\ttotal MB needed %.3f\texpansions %d\n",
+ 	       mem_usage.for_lu/1e6, mem_usage.total_needed/1e6,
+-	       stat.expansions
+-	       );
++	       mem_usage.expansions);
+ 	fflush(stdout);
+ 	
+     } else if ( info > 0 && lwork == -1 ) {
+Index: ffcs-11.7/ff/upstream/examples++-load/SuperLu4.cpp
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ ffcs-11.7/ff/upstream/examples++-load/SuperLu4.cpp	2011-03-15 16:33:14.000000000 +0100
+@@ -0,0 +1,793 @@
++//   for automatic  compilation with ff-c++
++//ff-c++-LIBRARY-dep:   superlu blas 
++//ff-c++-cpp-dep: 
++//  for Super4.0 library   
++#include "ff++.hpp"
++/*
++#include  <iostream>
++using namespace std;
++
++#include "rgraph.hpp"
++#include "error.hpp"
++#include "AFunction.hpp"
++
++//#include "lex.hpp"
++#include "MatriceCreuse_tpl.hpp"
++*/
++#include "slu_ddefs.h"
++
++#define GlobalLU_t GlobalLU_txxxx
++#define countnz countnzxxxx
++#define fixupL fixupLxxxx
++#define print_lu_col print_lu_colxxxx
++#define check_tempv check_tempvxxxx
++#define PrintPerf PrintPerfxxxx
++#define ilu_countnz  ilu_countnzxxxx
++#include "slu_zdefs.h"
++
++#undef GlobalLU_t
++#undef countnz
++#undef fixupL
++#undef print_lu_col
++#undef check_tempv
++#undef PrintPerf
++#undef ilu_countnz
++
++
++template <class R> struct SuperLUDriver
++{
++    
++};
++
++template <> struct SuperLUDriver<double>
++{
++    /* Driver routines */
++    static  Dtype_t R_SLU_T() { return SLU_D;} 
++    static void
++    gssv(superlu_options_t * p1, SuperMatrix * p2, int * p3, int * p4, SuperMatrix * p5,
++	  SuperMatrix * p6, SuperMatrix * p7 , SuperLUStat_t * p8, int * p9)
++    { dgssv( p1,p2,p3,p4,p5,p6,p7,p8,p9); }
++    
++    
++    static void
++	gssvx(superlu_options_t * p1, SuperMatrix * p2, int * p3, int * p4, int * p5,
++	       char * p6, double * p7, double * p8, SuperMatrix * p9, SuperMatrix * p10,
++	       void * p11, int p12, SuperMatrix * p13, SuperMatrix * p14,
++	       double * p15, double * p16, double * p17, double * p18,
++	       mem_usage_t * p19, SuperLUStat_t * p20, int * p21)
++    { dgssvx( p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,  p11,p12,p13,p14,p15,p16,p17,p18,p19,p20, p21); }
++    
++    
++    
++    /* Supernodal LU factor related */
++    static void
++	Create_CompCol_Matrix(SuperMatrix * p1, int p2 , int p3, int p4, double * p5,
++			       int * p6, int * p7, Stype_t p8, Dtype_t p9 , Mtype_t p10)
++    {
++	    dCreate_CompCol_Matrix( p1,p2,p3,p4,p5,p6,p7,p8,p9,p10);
++    }
++    
++    
++    static void
++	Create_CompRow_Matrix(SuperMatrix * p1, int p2, int p3, int p4, double * p5,
++			       int * p6, int * p7, Stype_t p8, Dtype_t p9, Mtype_t p10)
++    {
++	dCreate_CompRow_Matrix( p1,p2,p3,p4,p5,p6,p7,p8,p9,p10);
++    }
++    
++    
++    static void
++	Create_Dense_Matrix(SuperMatrix * p1, int p2, int p3, double * p4, int p5,
++			     Stype_t p6, Dtype_t p7, Mtype_t p8)
++    {
++	dCreate_Dense_Matrix( p1,p2,p3,p4,p5,p6,p7,p8);
++    }
++    
++    
++    static void
++	Create_SuperNode_Matrix(SuperMatrix * p1, int p2, int p3, int p4, double * p5, 
++				 int * p6, int * p7, int * p8, int * p9, int * p10,
++				 Stype_t p11, Dtype_t p12, Mtype_t p13)
++    {
++	    dCreate_SuperNode_Matrix( p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,  p11,p12,p13);
++    }
++    
++    static void 
++    CompRow_to_CompCol(int p1, int p2, int p3, 
++		       double *p4, int *p5, int *p6,
++		       double **p7, int **p8, int **p9)
++  {
++    dCompRow_to_CompCol( p1, p2, p3, p4, p5, p6, p7, p8, p9);
++  }
++
++    
++};
++
++
++
++template <> struct SuperLUDriver<Complex>
++{
++    /* Driver routines */
++  static  Dtype_t R_SLU_T() { return SLU_Z;} 
++  static doublecomplex *dc(Complex *p)  { return (doublecomplex *) (void *) p;}
++  static doublecomplex **dc(Complex **p)  { return (doublecomplex **) (void *) p;}
++  
++    static void
++    gssv(superlu_options_t * p1, SuperMatrix * p2, int * p3, int * p4, SuperMatrix * p5,
++	 SuperMatrix * p6, SuperMatrix * p7 , SuperLUStat_t * p8, int * p9)
++    { zgssv( p1,p2,p3,p4,p5,p6,p7,p8,p9); }
++    
++    
++    static void
++    gssvx(superlu_options_t * p1, SuperMatrix * p2, int * p3, int * p4, int * p5,
++	  char * p6, double * p7, double * p8, SuperMatrix * p9, SuperMatrix * p10,
++	  void * p11, int p12, SuperMatrix * p13, SuperMatrix * p14,
++	  double * p15, double * p16, double * p17, double * p18,
++	  mem_usage_t * p19, SuperLUStat_t * p20, int * p21)
++    { zgssvx( p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,  p11,p12,p13,p14,p15,p16,p17,p18,p19,p20, p21); }
++    
++    
++    
++    /* Supernodal LU factor related */
++    static void
++    Create_CompCol_Matrix(SuperMatrix * p1, int p2 , int p3, int p4, Complex * p5,
++			  int * p6, int * p7, Stype_t p8, Dtype_t p9 , Mtype_t p10)
++    {
++	zCreate_CompCol_Matrix( p1,p2,p3,p4,dc(p5),p6,p7,p8,p9,p10);
++    }
++    
++    
++    static void
++    Create_CompRow_Matrix(SuperMatrix * p1, int p2, int p3, int p4, Complex * p5,
++			  int * p6, int * p7, Stype_t p8, Dtype_t p9, Mtype_t p10)
++    {
++	zCreate_CompRow_Matrix( p1,p2,p3,p4,dc(p5),p6,p7,p8,p9,p10);
++    }
++    
++    
++    static void
++    Create_Dense_Matrix(SuperMatrix * p1, int p2, int p3, Complex * p4, int p5,
++			Stype_t p6, Dtype_t p7, Mtype_t p8)
++    {
++	zCreate_Dense_Matrix( p1,p2,p3,dc(p4),p5,p6,p7,p8);
++    }
++    
++    
++    static void
++    Create_SuperNode_Matrix(SuperMatrix * p1, int p2, int p3, int p4, Complex * p5, 
++			    int * p6, int * p7, int * p8, int * p9, int * p10,
++			    Stype_t p11, Dtype_t p12, Mtype_t p13)
++    {
++	zCreate_SuperNode_Matrix( p1,p2,p3,p4,dc(p5),p6,p7,p8,p9,p10,  p11,p12,p13);
++    }
++    
++  static void 
++  CompRow_to_CompCol(int p1, int p2, int p3, Complex *p4, int *p5, 
++		     int *p6, Complex **p7, int **p8, int **p9)
++  {
++    zCompRow_to_CompCol( p1, p2, p3, dc(p4), p5, p6, dc(p7), p8, p9);
++  }
++    
++};
++
++// read options for superlu in freefem++
++/*
++#ifdef __cpluscplus
++int s_(char *ff, ...)
++{
++  int i = 0;
++  while( *(++i+&str) != 0 )
++    if( strcmp(str, (char*)*(&str+i)) == 0)
++      return i;
++  return 0;
++}
++
++#else
++*/
++int s_(char* str, const char* cmp[])
++{
++  int i = 0;
++  while( cmp[i] != 0){
++    if( strcmp(str, cmp[i]) == 0){
++      //cout << *str << " return" << i << endl;
++      return i+1 ;
++    }
++    i++;
++  }
++  //cout << *str << " return 0" << endl;
++  return 0;
++}
++//#endif
++/*
++  static const yes_no_t  enumyes_no_t[2] = {NO, YES};
++  static const fact_t  enumfact_t[4] = {DOFACT, SamePattern, SamePattern_SameRowPerm, FACTORED};
++  static const colperm_t  enumcolperm_t[5] = {NATURAL, MMD_ATA, MMD_AT_PLUS_A, COLAMD, MY_PERMC};
++  static const trans_t  enumtrans_t[3] = {NOTRANS, TRANS, CONJ};
++  static const  IterRefine_t enumIterRefine_t[4] = {NOREFINE, SINGLE, DOUBLE, EXTRA};  
++  
++  static const char*  compyes_no_t[] = {"NO", "YES",0};
++  static const char* compfact_t[] = {"DOFACT", "SamePattern", "SamePattern_SameRowPerm", "FACTORED",0};
++  static const char* compcolperm_t[] = {"NATURAL", "MMD_ATA", "MMD_AT_PLUS_A", "COLAMD", "MY_PERMC",0};
++  static const char* comptrans_t[] = {"NOTRANS", "TRANS", "CONJ",0};
++  static const char* compIterRefine_t[] = {"NOREFINE", "SINGLE", "DOUBLE", "EXTRA",0};
++  
++  static const char* comp[] = {"Fact", "Equil","ColPerm",
++  "DiagPivotThresh","Trans","IterRefine",
++  "SymmetricMode","PivotGrowth","ConditionNumber",
++  "PrintStat",0};
++*/
++
++void read_options_freefem(string string_option, superlu_options_t *options){
++  static const yes_no_t  enumyes_no_t[2] = {NO, YES};
++  static const fact_t  enumfact_t[4] = {DOFACT, SamePattern, SamePattern_SameRowPerm, FACTORED};
++  static const colperm_t  enumcolperm_t[5] = {NATURAL, MMD_ATA, MMD_AT_PLUS_A, COLAMD, MY_PERMC};
++  static const trans_t  enumtrans_t[3] = {NOTRANS, TRANS, CONJ};
++  static const  IterRefine_t enumIterRefine_t[4] = {NOREFINE, SINGLE, DOUBLE, EXTRA};  
++
++  static const char*  compyes_no_t[] = {"NO", "YES",0};
++  static const char* compfact_t[] = {"DOFACT", "SamePattern", "SamePattern_SameRowPerm", "FACTORED",0};
++  static const char* compcolperm_t[] = {"NATURAL", "MMD_ATA", "MMD_AT_PLUS_A", "COLAMD", "MY_PERMC",0};
++  static const char* comptrans_t[] = {"NOTRANS", "TRANS", "CONJ",0};
++  static const char* compIterRefine_t[] = {"NOREFINE", "SINGLE", "DOUBLE", "EXTRA",0};
++  
++  static const char* comp[] = {"Fact", "Equil","ColPerm",
++			       "DiagPivotThresh","Trans","IterRefine",
++			       "SymmetricMode","PivotGrowth","ConditionNumber",
++			       "PrintStat",0};
++
++
++   /* Set the default values for options argument:
++	options.Fact = DOFACT;
++	options.Equil = YES;
++	options.ColPerm = COLAMD;
++	options.DiagPivotThresh = 1.0;
++	options.Trans = NOTRANS;
++	options.IterRefine = NOREFINE;
++	options.SymmetricMode = NO;
++	options.PivotGrowth = NO;
++	options.ConditionNumber = NO;
++	options.PrintStat = YES;
++    */
++  //cout << "string_option" <<  *string_option << endl;
++    KN<char> kdata(string_option.size()+1);
++    
++    char * data=kdata;
++  strcpy( data, string_option.c_str()); 
++  cout << "data=" << data << endl;
++  char * tictac;
++  tictac = strtok(data," =,\t\n");
++  cout << "tictac=" << data << endl;
++// #ifdef __cplusplus
++//   while(tictac != NULL){
++//     int id_option = s_(tictac, "Fact", "Equil","ColPerm",
++// 				"DiagPivotThresh","Trans","IterRefine",
++// 				"SymmetricMode","PivotGrowth","ConditionNumber",
++// 				"PrintStat",0);
++//     tictac = strtok(NULL," ,\t\n");
++//     int val_options;
++//     switch (id_option)
++//       { 
++//       case 1 : // Fact
++// 	val_options= s_(tictac, "DOFACT", "SamePattern", "SamePattern_SameRowPerm", "FACTORED",0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","Fact");
++// 	  exit(1);
++// 	}
++// 	options->Fact= enumfact_t[val_options-1];
++// 	break;
++//       case 2:  // Equil
++// 	val_options= s_(tictac, "NO", "YES", 0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","Equil");
++// 	  exit(1);
++// 	}
++// 	options->Equil= enumyes_no_t[val_options-1];
++// 	break;
++//       case 3:  // ColPerm
++// 	val_options= s_(tictac,"NATURAL", "MMD_ATA", "MMD_AT_PLUS_A", "COLAMD", "MY_PERMC", 0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","ColPerm");
++// 	  exit(1);
++// 	}
++// 	options->ColPerm= enumcolperm_t[val_options-1];
++//       case 4:  // DiagPivotThresh
++// 	options->DiagPivotThresh= strtod(tictac,&tictac);
++// 	break;
++//       case 5:  // Trans
++// 	val_options= s_(tictac, "NOTRANS", "TRANS", "CONJ",0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","Trans");
++// 	  exit(1);
++// 	}
++// 	options->Trans= enumtrans_t[val_options-1];
++// 	break;
++//       case 6:  // IterRefine
++// 	val_options= s_(tictac, "NOREFINE", "SINGLE", "DOUBLE", "EXTRA",0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","IterRefine");
++// 	  exit(1);
++// 	}
++// 	options->IterRefine= enumIterRefine_t[val_options-1];
++// 	break;
++//       case 7:  // SymmetricMode
++// 	val_options= s_(tictac, "NO","YES",0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","SymmetricMode");
++// 	  exit(1);
++// 	}
++// 	options->SymmetricMode= enumyes_no_t[val_options-1];
++// 	break;
++//       case 8:  // PivotGrowth
++// 	val_options= s_(tictac, "NO","YES",0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","PivotGrowth");
++// 	  exit(1);
++// 	}
++// 	options->PivotGrowth= enumyes_no_t[val_options-1];
++// 	break;
++//       case 9:  // ConditionNumber
++// 	val_options= s_(tictac, "NO","YES",0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","ConditionNumber");
++// 	  exit(1);
++// 	}
++// 	options->ConditionNumber = enumyes_no_t[val_options-1];
++// 	break;
++//       case 10: // PrintStat
++// 	val_options= s_(tictac, "NO","YES",0);
++// 	if( val_options == 0){
++// 	  printf("value given for SuperLU for options %s is not correct\n","PrintStat");
++// 	  exit(1);
++// 	}
++// 	options->PrintStat = enumyes_no_t[val_options-1];
++// 	break;
++//       case 0: // Equivalent of case default
++// 	printf("A false parameter for  SuperLU is given %s \n",tictac);
++// 	exit(1);
++//       }  
++//     tictac = strtok(NULL," ,\t\n");
++//   }
++// #else
++  while(tictac != NULL){
++    //char* comp[] = {"Fact", "Equil","ColPerm",
++    //"DiagPivotThresh","Trans","IterRefine",
++    //"SymmetricMode","PivotGrowth","ConditionNumber",
++    //"PrintStat",0 };
++    int id_option = s_(tictac, comp);
++    tictac = strtok(NULL," =,\t\n");
++    int val_options;
++
++    switch (id_option)
++      { 
++      case 1 : // Fact
++	//char* comp1[] = {"DOFACT", "SamePattern", "SamePattern_SameRowPerm", "FACTORED",0};
++	val_options= s_(tictac,compfact_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","Fact");
++	  exit(1);
++	}
++	options->Fact = enumfact_t[val_options-1];
++	break;
++      case 2:  // Equil
++	//char* comp2[] = {"NO", "YES", 0};
++	val_options= s_(tictac,compyes_no_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","Equil");
++	  exit(1);
++	}
++	options->Equil = enumyes_no_t[val_options-1];
++	break;
++      case 3:  // ColPerm
++	//char* comp3[] = {"NATURAL", "MMD_ATA", "MMD_AT_PLUS_A", "COLAMD", "MY_PERMC", 0};
++	val_options= s_(tictac,compcolperm_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","ColPerm");
++	  exit(1);
++	}
++	options->ColPerm = enumcolperm_t[val_options-1];
++	break;
++      case 4:  // DiagPivotThresh
++	options->DiagPivotThresh= strtod(tictac,&tictac);
++	break;
++      case 5:  // Trans
++	//char* comp5[] = {"NOTRANS", "TRANS", "CONJ", 0};
++	val_options= s_(tictac, comptrans_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","Trans");
++	  exit(1);
++	}
++	options->Trans = enumtrans_t[val_options-1];
++	break;
++      case 6:  // IterRefine
++	//char* comp6[] = {"NOREFINE", "SINGLE", "DOUBLE", "EXTRA", 0};
++	val_options= s_(tictac, compIterRefine_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","IterRefine");
++	  exit(1);
++	}
++	options->IterRefine = enumIterRefine_t[val_options-1];
++	break;
++      case 7:  // SymmetricMode
++	//char* comp7[] = {"NO","YES", 0};
++	val_options= s_(tictac, compyes_no_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","SymmetricMode");
++	  exit(1);
++	}
++	options->SymmetricMode= enumyes_no_t[val_options-1]; 
++	break;
++      case 8:  // PivotGrowth
++	//char* comp8[] = {"NO","YES", 0};
++	val_options= s_(tictac,compyes_no_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","PivotGrowth");
++	  exit(1);
++	}
++	options->PivotGrowth = enumyes_no_t[val_options-1];
++	break;
++      case 9:  // ConditionNumber
++	//char* comp9[] = {"NO","YES", 0};
++	val_options= s_(tictac, compyes_no_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","ConditionNumber");
++	  exit(1);
++	}
++	options->ConditionNumber = enumyes_no_t[val_options-1];
++	break;
++      case 10: // PrintStat
++	val_options= s_(tictac, compyes_no_t);
++	if( val_options == 0){
++	  printf("value given for SuperLU for options %s is not correct\n","PrintStat");
++	  exit(1);
++	}
++	options->PrintStat = enumyes_no_t[val_options-1];
++	break;
++      case 0: // Equivalent of case default
++	break;
++      }  
++    tictac = strtok(NULL," =,\t\n");
++  }
++  //#endif
++}
++
++  
++
++
++
++
++template<class R>
++class SolveSuperLU :   public MatriceMorse<R>::VirtualSolver, public SuperLUDriver<R>   {
++  double eps;
++  mutable double  epsr;
++  double tgv;
++  double tol_pivot_sym,tol_pivot; //Add 31 oct 2005
++  
++  
++  mutable char           equed[1];
++  yes_no_t       equil;
++  mutable SuperMatrix    A, L, U;
++  NCformat       *Astore;
++  NCformat       *Ustore;
++  SCformat       *Lstore;
++  R              *a;
++  int            *asub, *xa;
++  KN<int>             perm_c; /* column permutation vector */
++  KN<int>             perm_r; /* row permutations from partial pivoting */
++  string string_option;
++  //string *file_option;
++  //string *file_perm_r;
++  //string *file_perm_c;
++  
++  KN<int>            etree;
++  R         *rhsb, *rhsx, *xact;
++  double         *RR, *CC;
++  int m, n, nnz;
++  
++  R         *arow;
++  int       *asubrow, *xarow;
++  
++   
++   mutable superlu_options_t options;
++   mutable mem_usage_t    mem_usage;
++   
++public:
++  SolveSuperLU(const MatriceMorse<R> &AA,int strategy,double ttgv, double epsilon,
++	       double pivot,double pivot_sym, string & param_char, KN<long> pperm_r, 
++	       KN<long> pperm_c ) : 
++    eps(epsilon),epsr(0),
++    tgv(ttgv),
++    etree(0),string_option(param_char),perm_r(pperm_r), perm_c(pperm_c),
++    RR(0), CC(0), 
++    tol_pivot_sym(pivot_sym),tol_pivot(pivot)
++  { 
++     SuperMatrix    B, X;
++     SuperLUStat_t stat;
++     void           *work=0;
++     int            info, lwork=0, nrhs=1;
++     int            i;
++     double         ferr[1];
++     double         berr[1];
++     double          rpg, rcond;
++    
++     R *bb;
++     R *xx;
++
++     A.Store=0;
++     B.Store=0;
++     X.Store=0;
++     L.Store=0;
++     U.Store=0;
++	
++    int status;
++
++    n=AA.n;
++    m=AA.m;
++    nnz=AA.nbcoef;
++
++    arow=AA.a;
++    asubrow=AA.cl;
++    xarow=AA.lg;
++
++    /* FreeFem++ use Morse Format */ 
++    CompRow_to_CompCol(m, n, nnz, arow, asubrow, xarow, 
++		       &a, &asub, &xa);
++
++    /* Defaults */
++    lwork = 0;
++    nrhs  = 0;
++    
++    /* Set the default values for options argument:
++	options.Fact = DOFACT;
++	options.Equil = YES;
++	options.ColPerm = COLAMD;
++	options.DiagPivotThresh = 1.0;
++	options.Trans = NOTRANS;
++	options.IterRefine = NOREFINE;
++	options.SymmetricMode = NO;
++	options.PivotGrowth = NO;
++	options.ConditionNumber = NO;
++	options.PrintStat = YES;
++    */
++    set_default_options(&options);
++    
++    printf(".. default options:\n");
++    printf("\tFact\t %8d\n", options.Fact);
++    printf("\tEquil\t %8d\n", options.Equil);
++    printf("\tColPerm\t %8d\n", options.ColPerm);
++    printf("\tDiagPivotThresh %8.4f\n", options.DiagPivotThresh);
++    printf("\tTrans\t %8d\n", options.Trans);
++    printf("\tIterRefine\t%4d\n", options.IterRefine);
++    printf("\tSymmetricMode\t%4d\n", options.SymmetricMode);
++    printf("\tPivotGrowth\t%4d\n", options.PivotGrowth);
++    printf("\tConditionNumber\t%4d\n", options.ConditionNumber);
++    printf("..\n");
++    
++    if(!string_option.empty()) read_options_freefem(string_option,&options);
++    
++    printf(".. options:\n");
++    printf("\tFact\t %8d\n", options.Fact);
++    printf("\tEquil\t %8d\n", options.Equil);
++    printf("\tColPerm\t %8d\n", options.ColPerm);
++    printf("\tDiagPivotThresh %8.4f\n", options.DiagPivotThresh);
++    printf("\tTrans\t %8d\n", options.Trans);
++    printf("\tIterRefine\t%4d\n", options.IterRefine);
++    printf("\tSymmetricMode\t%4d\n", options.SymmetricMode);
++    printf("\tPivotGrowth\t%4d\n", options.PivotGrowth);
++    printf("\tConditionNumber\t%4d\n", options.ConditionNumber);
++    printf("..\n");
++
++    Dtype_t R_SLU = SuperLUDriver<R>::R_SLU_T(); 
++
++    Create_CompCol_Matrix(&A, m, n, nnz, a, asub, xa, SLU_NC, R_SLU, SLU_GE);
++  
++    Create_Dense_Matrix(&B, m, 0, (R*) 0, m, SLU_DN, R_SLU, SLU_GE);
++    Create_Dense_Matrix(&X, m, 0, (R*) 0, m, SLU_DN, R_SLU, SLU_GE);
++      
++
++      if ( etree.size() ==0 )   etree.resize(n);   
++      if ( perm_r.size() ==0 )   perm_r.resize(n);   
++      if ( perm_c.size() ==0 )   perm_c.resize(n);   
++     
++    if ( !(RR = new double[n]) )
++        ABORT("SUPERLU_MALLOC fails for R[].");
++    for(int ii=0; ii<n; ii++){
++      RR[ii]=1.;
++    }
++    if ( !(CC = new double[m]) )
++        ABORT("SUPERLU_MALLOC fails for C[].");
++    for(int ii=0; ii<n; ii++){
++      CC[ii]=1.;
++    }    
++    ferr[0]=0;
++    berr[0]=0;
++    /* Initialize the statistics variables. */
++    StatInit(&stat);
++    
++    /* ONLY PERFORM THE LU DECOMPOSITION */
++    B.ncol = 0;  /* Indicate not to solve the system */
++    SuperLUDriver<R>::gssvx(&options, &A, perm_c, perm_r, etree, equed, RR, CC,
++           &L, &U, work, lwork, &B, &X, &rpg, &rcond, ferr, berr,
++           &mem_usage, &stat, &info);
++
++   
++
++    if(verbosity>2)
++    printf("LU factorization: dgssvx() returns info %d\n", info);
++    if(verbosity>3)
++    {
++    if ( info == 0 || info == n+1 ) {
++	
++	if ( options.PivotGrowth ) printf("Recip. pivot growth = %e\n", rpg);
++	if ( options.ConditionNumber )
++	    printf("Recip. condition number = %e\n", rcond);
++        Lstore = (SCformat *) L.Store;
++        Ustore = (NCformat *) U.Store;
++	printf("No of nonzeros in factor L = %d\n", Lstore->nnz);
++    	printf("No of nonzeros in factor U = %d\n", Ustore->nnz);
++    	printf("No of nonzeros in L+U = %d\n", Lstore->nnz + Ustore->nnz - n);
++	printf("L\\U MB %.3f\ttotal MB needed %.3f\texpansions %d\n",
++	       mem_usage.for_lu/1e6, mem_usage.total_needed/1e6,
++	       stat.expansions
++	       );
++	fflush(stdout);
++	
++    } else if ( info > 0 && lwork == -1 ) {
++        printf("** Estimated memory: %d bytes\n", info - n);
++    }
++    }
++    if ( verbosity>5 ) StatPrint(&stat);
++    StatFree(&stat);
++    if( B.Store)  Destroy_SuperMatrix_Store(&B);
++    if( X.Store)  Destroy_SuperMatrix_Store(&X);
++    options.Fact = FACTORED; /* Indicate the factored form of A is supplied. */
++
++
++  }
++  void Solver(const MatriceMorse<R> &AA,KN_<R> &x,const KN_<R> &b) const  {
++    SuperMatrix    B, X;
++    SuperLUStat_t stat;
++    void           *work=0;
++    int            info=0, lwork=0, nrhs=1;
++    int            i;
++    double       ferr[1], berr[1];
++    double         rpg, rcond;
++    double       *xx;
++
++    B.Store=0;
++    X.Store=0;
++    ffassert ( &x[0] != &b[0]);
++    epsr = (eps < 0) ? (epsr >0 ? -epsr : -eps ) : eps ;
++    Dtype_t R_SLU = SuperLUDriver<R>::R_SLU_T(); 
++
++        
++    Create_Dense_Matrix(&B, m, 1, b, m, SLU_DN, R_SLU, SLU_GE);
++    Create_Dense_Matrix(&X, m, 1, x, m, SLU_DN, R_SLU, SLU_GE);
++    
++    B.ncol = nrhs;  /* Set the number of right-hand side */
++
++    /* Initialize the statistics variables. */
++    StatInit(&stat);
++    
++  
++    SuperLUDriver<R>::gssvx(&options, &A, perm_c, perm_r, etree, equed, RR, CC,
++           &L, &U, work, lwork, &B, &X, &rpg, &rcond, ferr, berr,
++           &mem_usage, &stat, &info);
++
++
++
++    if(verbosity>2)
++    printf("Triangular solve: dgssvx() returns info %d\n", info);
++  
++   
++
++    if(verbosity>3)
++    {
++    if ( info == 0 || info == n+1 ) {
++	
++        /* This is how you could access the solution matrix. */
++        R *sol = (R*) ((DNformat*) X.Store)->nzval; 
++	
++	
++	if ( options.IterRefine ) {
++            printf("Iterative Refinement:\n");
++	    printf("%8s%8s%16s%16s\n", "rhs", "Steps", "FERR", "BERR");
++	    printf("%8d%8d%16e%16e\n", i+1, stat.RefineSteps, ferr[0], berr[0]);
++	}
++	fflush(stdout);
++    } else if ( info > 0 && lwork == -1 ) {
++        printf("** Estimated memory: %d bytes\n", info - n);
++    }
++    }
++    
++
++    //cout << "   x min max " << x.min() << " " <<x.max() << endl;
++    //cout << "=========================================" << endl;
++    if( B.Store)  Destroy_SuperMatrix_Store(&B);
++    if( X.Store)  Destroy_SuperMatrix_Store(&X);
++  }
++
++  ~SolveSuperLU() { 
++   if(verbosity>3)
++       cout << "~SolveSuperLU S:" << endl;
++   //   if (etree)    delete[] etree; 
++   //   if (perm_r)   delete[] perm_r; 
++   //   if (perm_c)   delete[] perm_c; 
++      if (RR)   delete[] RR; 
++      if (CC)   delete[] CC; 
++      if( A.Store)  Destroy_SuperMatrix_Store(&A);
++      if( L.Store)  Destroy_SuperNode_Matrix(&L);
++      if( U.Store)  Destroy_CompCol_Matrix(&U);
++      
++  }
++  void addMatMul(const KN_<R> & x, KN_<R> & Ax) const 
++  {  
++    ffassert(x.N()==Ax.N());
++    Ax +=  (const MatriceMorse<R> &) (*this) * x; 
++  }
++     
++}; 
++
++MatriceMorse<double>::VirtualSolver *
++BuildSolverSuperLU(DCL_ARG_SPARSE_SOLVER(double,A))
++{
++    if(verbosity>9)
++    cout << " BuildSolverSuperLU<double>" << endl;
++    return new SolveSuperLU<double>(*A,ds.strategy,ds.tgv,ds.epsilon,ds.tol_pivot,ds.tol_pivot_sym,ds.sparams,ds.perm_r,ds.perm_c);
++}
++
++MatriceMorse<Complex>::VirtualSolver *
++BuildSolverSuperLU(DCL_ARG_SPARSE_SOLVER(Complex,A))
++{
++  if(verbosity>9)
++    cout << " BuildSolverSuperLU<Complex>" << endl;
++  return new SolveSuperLU<Complex>(*A,ds.strategy,ds.tgv,ds.epsilon,ds.tol_pivot,ds.tol_pivot_sym,ds.sparams,ds.perm_r,ds.perm_c);
++}
++
++
++class Init { public:
++    Init();
++};
++
++//  the 2 default sparse solver double and complex
++DefSparseSolver<double>::SparseMatSolver SparseMatSolver_R ; ;
++DefSparseSolver<Complex>::SparseMatSolver SparseMatSolver_C;
++// the default probleme solver 
++TypeSolveMat::TSolveMat  TypeSolveMatdefaultvalue=TypeSolveMat::defaultvalue;
++
++bool SetDefault()
++{
++    if(verbosity>1)
++	cout << " SetDefault sparse to default" << endl;
++    DefSparseSolver<double>::solver =SparseMatSolver_R;
++    DefSparseSolver<Complex>::solver =SparseMatSolver_C;
++    TypeSolveMat::defaultvalue =TypeSolveMat::SparseSolver;
++}
++
++bool SetSuperLU4()
++{
++    if(verbosity>1)
++	cout << " SetDefault sparse solver to SuperLU4" << endl;
++    DefSparseSolver<double>::solver  =BuildSolverSuperLU;
++    DefSparseSolver<Complex>::solver =BuildSolverSuperLU;    
++    TypeSolveMat::defaultvalue =TypeSolveMatdefaultvalue;
++}
++
++
++
++Init init;
++Init::Init()
++{ 
++  
++  SparseMatSolver_R= DefSparseSolver<double>::solver;
++  SparseMatSolver_C= DefSparseSolver<Complex>::solver;
++  
++  if(verbosity>1)
++    cout << "\n Add: SuperLU4,  defaultsolver defaultsolverSuperLU4" << endl;
++  TypeSolveMat::defaultvalue=TypeSolveMat::SparseSolver;
++  DefSparseSolver<double>::solver =BuildSolverSuperLU;
++  DefSparseSolver<Complex>::solver =BuildSolverSuperLU;
++  if(! Global.Find("defaultsolver").NotNull() )
++    Global.Add("defaultsolver","(",new OneOperator0<bool>(SetDefault));
++  Global.Add("defaulttoSuperLU4","(",new OneOperator0<bool>(SetSuperLU4));
++}
++

Added: packages/ffcs/trunk/debian/patches/ffcs-dev.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/ffcs-dev.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/ffcs-dev.patch (added)
+++ packages/ffcs/trunk/debian/patches/ffcs-dev.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,282 @@
+Index: ffcs-11.9/ff/upstream/examples++-load/Makefile.am
+===================================================================
+--- ffcs-11.9.orig/ff/upstream/examples++-load/Makefile.am	2011-04-07 16:06:46.000000000 +0200
++++ ffcs-11.9/ff/upstream/examples++-load/Makefile.am	2011-04-07 16:06:46.000000000 +0200
+@@ -135,6 +135,12 @@
+ 	../config.status  --file=$@:$@.in
+ 	chmod a+x $@
+ 	-if [ -d ../download/bin ] ;then cp $@ ../download/bin; fi
++ffcs-get-dep:ffcs-get-dep.in
++	../config.status  --file=$@:$@.in
++	chmod a+x $@
++ffcs-c++:ffcs-c++.in
++	../config.status  --file=$@:$@.in
++	chmod a+x $@
+ WHERE_LIBRARY-download:ff-pkg-download FORCE  WHERE_LIBRARY-config
+ 	./ff-pkg-download >$@-new
+ 	if [ -f $@ ] ; then { diff $@-new $@  || cp $@-new $@ ; }; fi;
+Index: ffcs-11.9/ff/upstream/examples++-load/ffcs-get-dep.in
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ ffcs-11.9/ff/upstream/examples++-load/ffcs-get-dep.in	2011-04-07 16:06:46.000000000 +0200
+@@ -0,0 +1,59 @@
++#!/bin/sh
++# ff-c++ `./ff-get-dep -ff metis.cpp`
++wherelib=WHERE_LIBRARY
++if [   -f "$wherelib-download" ] ; then
++    wherelib=WHERE_LIBRARY
++elif [ -f '@libdir@/freefem++-cs/Contents/Linux/WHERE_LIBRARY-download' ] ; then
++    wherelib='@libdir@/freefem++-cs/Contents/Linux/WHERE_LIBRARY'
++else
++   echo " error no WHERE_LIBRARY  file "
++   exit 1;
++fi
++
++
++case "$1" in
++    -i*)
++	shift;
++	for i in $@ ; do
++	#    echo "$1" 
++	#    echo 	awk -v p="$1" -v m=INCLUDE ' ($1 == p) && ($2 == m) { for (i=3;i<=NF;++i) {print $i," ";}}' $wherelib  $wherelib-download
++         awk -v p="$i" -v m=INCLUDE ' ($1 == p) && ($2 == m) && (!first){ first=1;for (i=3;i<=NF;++i) {print $i," ";}}' "$wherelib"  "$wherelib"-config "$wherelib"-download
++	done
++	
++	;;
++    -l*)
++	shift;
++	for i in $@ ; do   
++	    awk -v p="$i" -v  m=LD ' ($1 == p) && ($2 == m) && (!first) {first=1; for (i=3;i<=NF;++i) {print $i," "};} 
++          END  { if(!first) print "ERROR-missing-lib:" p;} ' "$wherelib"  "$wherelib"-config "$wherelib"-download 
++	done
++	;;
++    -dlib)
++	shift
++	awk -F:  '/ff-c[+][+]-LIBRARY-dep/  { print $2}' $@
++	;;
++    -dcpp)
++	shift
++	awk -F:  '/ff-c[+][+]-cpp-dep/  { print $2}' $@
++	echo $@
++	;;
++    -ff)
++	shift;
++	libs=`$0 -dlib $@`
++	 cpp=`$0 -dcpp $@`
++	 inclins=`$0 -i $libs` 
++	 ldlibs=`$0 -l $libs`
++	 if [ -n "$ldlibs" -o -z "$libs" ]; then
++	     echo "$cpp" "$inclins" "$ldlibs"
++	 else
++	     echo " erreur find libs of $0 :  $libs " 1>&2
++	 fi
++	;;
++  *)  
++	for i in $@ ; do   
++	    awk -v p="$i" ' ($1 == p) { k=0;  for (i=3;i<=NF;++i) {k=1;} print k}' "$wherelib"  "$wherelib"-config "$wherelib"-download   
++	done
++	
++shift;;
++esac
++
+Index: ffcs-11.9/ff/upstream/examples++-load/ffcs-c++.in
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ ffcs-11.9/ff/upstream/examples++-load/ffcs-c++.in	2011-04-07 16:28:09.000000000 +0200
+@@ -0,0 +1,196 @@
++#!/bin/sh
++# Create a loadable object from a C++ function defined in a .cpp file
++# $Id$
++thecommand="$0"
++#dircommand=`dirname "$0"`
++
++FFVERSION='@VERSION@'
++FFCXXFLAGS='@CXXFLAGS@ @CPPFLAGS@'
++FFFFLAGS='@FFLAGS@'
++FFFLIBS='@FLIBS@'
++INCFF='-I at includedir@/freefem++-cs' 
++
++do="yes"
++DEBUG=""
++CONLY="false"
++uu=`uname -s` 
++INC=""
++LIBS=""
++DLL=""
++bin="."
++out=""
++files=""
++fileso=""
++OTHER="";
++WIN32="";
++
++autodep=""
++withmpi=""
++args=""
++
++while [ $# -ne 0 ]  ; do
++    argsp=$args
++    args="$args '$1'"
++    case "$1" in
++	-[h?]*) echo usage $0 "[-n] [-g] [-win32] [-l libfile] [-I includedir]  files"
++	    echo "    -auto :  build automaticaly the dependance (in test FH) "
++	    echo "    -n  :  do nothing just print"
++	    echo "    -g  :  compile with -g option"
++	    echo "    -c  : compile only"
++	    echo "    -mpi:  with  mpi"
++	    echo "    -O*  :  compile with -O* option"
++	    echo "    -cygwin: compile for cygwin/win32 OS (Window XP, ...)"
++	    echo "    -win32:  compile for win32 OS (Window XP, ...) default under cygwin"
++	    echo "    -l files  add files to the ld process (link)"
++	    echo "    -I dir  add dir in include seach dir for compilation"
++	    echo "    -b dir  to change the default install  dir " 
++	    echo "    -dll file  add  dll and this file copie in the install dir"
++	    echo "    -o outputfile without suffix"
++	    echo "    file.{cpp,cp,cxx,c,f,F}"
++	    exit 0;
++	    ;;
++	F77=*) F77=`echo $1|sed 's/[A-Z0-9]*=//'` ;;
++	CXX=*) CXX=`echo $1|sed 's/[A-Z0-9]*=//'` ;;
++	MPICXX=*) MPICXX=`echo $1|sed 's/[A-Z0-9]*=//'`;withmpi=yes ;;
++	F77=*) F77=`echo $1|sed 's/[A-Z0-9]*=//'` ;;
++	CXXFLAGS=*) CXXFLAGS=`echo $1|sed 's/[A-Z0-9]*=//'` ;;
++	FFLAGS=*) FFFFLAGS=`echo $1|sed 's/[A-Z0-9]*=//'` ;;
++	-auto) autodep=yes;args=$argsp;;
++	-mpi) withmpi=yes;;
++	-n)  do="no";;
++	-g)  DEBUG="$DEBUG $1";;
++	-c)  CONLY=yes;;
++	-O*) DEBUG="$DEBUG $1";;
++	-cygwin)  onwin32=1; uu="cygwin-version";; 
++	-win32)   onwin32=1; uu="win32";; 
++	-b)     bin=$2  ; shift;;
++	-I*)    INC="$INC '$1'";;
++	-D*)    INC="$INC '$1'";;
++	-dll)   DLL="$DLL '$2'";shift;;
++	-[Ll]*)    LIBS="$LIBS $1" ;;
++	*.a)     LIBS="$LIBS $1" ;;
++	*.so)    LIBS="$LIBS $1" ;;
++	*.dll)   if [ -f "$1" ] ; then  LIBS="$LIBS '$1'"  
++	    elif [ -f "$bin/$1" ] ; then  LIBS="$LIBS '$bin/$1'"
++	    else
++	      echo " erreur file not found $1" ;
++	      exit 1;
++	    fi;;
++	-Wl*)    LIBS="$LIBS $1" ;;
++	*.cpp) files="$files '$1'";  o=`basename "$1" .cpp` ; fileso="$fileso '$o.o'"; args=$argsp;; 
++	*.cp)  files="$files '$1'";  o=`basename "$1" .cp`   ; fileso="$fileso '$o.o'"; args=$argsp;; 
++	*.cxx) files="$files '$1'";  o=`basename "$1" .cxx` ; fileso="$fileso '$o.o'"; args=$argsp;;
++	*.c)   files="$files '$1'";  o=`basename "$1" .c` ; fileso="$fileso '$o.o'"; args=$argsp;;  
++	*.f)   ffiles="$ffiles '$1'";  o=`basename "$1" .f` ; fileso="$fileso '$o.o'";; 
++	*.F)   ffiles="$ffiles '$1'";  o=`basename "$1" .F` ; fileso="$fileso '$o.o'";; 
++	*.o)   fileso="$fileso '$1'"; o=`basename "$1" .o` ;; 
++	-o)    out="$2"; shift;;
++	*) OTHER="$OTHER $1";;
++    esac
++    shift
++done
++if [ -n "$autodep"  ] ; then
++#    echo "$thecommand" $args  `eval "'$dircommand/ff-get-dep'" -ff $files`
++    argsdep=`eval "'ffcs-get-dep'" -ff $files`
++    
++     error=`echo "$argsdep"| grep ERROR`
++     if [ -n "$error" ] ; then
++	 echo " ERROR in  auto dependance seach.  sorry : $error "
++	 exit 0;
++     fi
++    echo eval "$thecommand" $args  $argsdep
++    eval "$thecommand" $args  $argsdep
++
++    # FFCS needs an error exit code to make sure that all libraries
++    # are correctly compiled
++    ###exit 0;
++    exit $?;
++fi
++
++if [  -n "$onwin32" -a ! -f "$bin/libff.dll"  ] ; then 
++    echo " Error the file libff.dll  must be exist in '$bin' the install directory," 
++    echo " to link on windows OS "
++    echo " Use the parameter -b to set the correct install directory " 
++    exit 1;
++fi
++
++if [ -z "$out" ] ; then  out=$o  ; fi;
++# Default compiler
++if [ -z "$CXX"  ];then  CXX=g++ ; fi
++if [ -n "$withmpi" ]; then  CXX=$MPICXX;fi
++
++INC="$INCFF $INC"  
++SUF=so
++SHARED="-shared"
++case "$WIN32$uu" in
++    Darwin*) 
++#        echo "export MACOSX_DEPLOYMENT_TARGET=10.3"
++	export MACOSX_DEPLOYMENT_TARGET=10.4
++	SUF=dylib
++	SHARED="-bundle -undefined dynamic_lookup"  ;;
++    win32-CYGWIN*|win32-win32)
++        echo " Window without cygwin "
++        b="$bin"
++        LIBS=" '$b/libff.dll' $LIBS $DLL"
++        SHARED="-shared --unresolved-symbols=ignore-all -Wl,--enable-auto-import"
++        FLAGS='  -mno-cygwin '
++        SUF=dll;;
++    win32-cygwin-version)
++        echo " cygwin-version "
++        b=$bin
++        FLAGS=' '
++        LIBS="'$b/libff.dll' $LIBS $DLL"
++        SUF=dll;;
++    FreeBSD|NetBSD)
++	SHARED="-shared" 
++	FLAGS='-fPIC';;
++	# 64 bit Linux needs -fPIC (ALH)
++    SunOS)
++        SHARED="-shared"
++        FLAGS='-fPIC';;
++        # 64 bit Linux needs -fPIC (ALH)
++    Linux)
++	FLAGS='-fPIC'
++	SHARED="-shared " ;;
++    *)
++	echo "sorry unknown achitecture "`uname`
++	exit 1;;
++esac
++FLAGS="$FLAGS $DEBUG $FFCXXFLAGS"
++if [ -n "$ffiles$files$fileso" ] ; then
++    if [  -n "$WIN32"  -a  ! -f "$bin/libff.dll"  ]; then
++	echo " Sorry, no freefem .dll file (libff.dll)  in $bin dir "
++	echo " try with -b dir-path where the file libff.dll exist"
++	exit 1;
++    fi
++    if [ "$files" ] ;then 
++	echo $CXX -c $FLAGS $CXXFLAGS $INC $PIC $files
++	if [  $do = yes ] ; then 
++	    eval $CXX -c $INC $FLAGS $CXXFLAGS $PIC  $files
++	    ret=$?; if [ $ret -ne 0 ] ; then exit $ret ;fi
++	fi
++    fi
++    if [ "$ffiles" ] ;then 
++	echo $F77 -c $FLAGS $FFFFLAGS $INC $PIC $ffiles
++	LIBS="$FFFLIBS $LIBS"
++	if [  $do = yes ] ; then 
++	    eval $F77 -c $INC $FLAGS $FFFFLAGS $PIC  $ffiles
++	    ret=$?; if [ $ret -ne 0 ] ; then exit $ret ;fi
++	fi
++    fi
++    if [ "$CONLY" != yes ]; then
++	echo $CXX $SHARED $FLAGS $CXXFLAGS $fileso -o $out.$SUF $LIBS $DLL $OTHER $MPI_LIB
++	if [  $do = yes ] ; then 
++	   eval $CXX $SHARED $FLAGS $CXXFLAGS $fileso -o $out.$SUF $LIBS $DLL $OTHER $MPI_LIB
++	    ret=$?; if [ $ret -ne 0 ] ; then exit $ret ;fi
++	fi
++	if [  "$bin" != "." ]; then
++	    echo cp $out.$SUF  $bin
++	    test $do = yes &&   cp $out.$SUF  "$bin"
++	fi
++	if [ -n "$DLL" ] ; then
++	    echo cp $DLL $bin
++	    test $do = yes &&   cp $DLL "$bin"
++	fi
++    fi
++fi

Added: packages/ffcs/trunk/debian/patches/gcc45.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/gcc45.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/gcc45.patch (added)
+++ packages/ffcs/trunk/debian/patches/gcc45.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,13 @@
+Index: ffcs-11.7/ff/upstream/src/medit/Makefile.am
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/src/medit/Makefile.am	2011-03-31 08:06:46.000000000 +0200
++++ ffcs-11.7/ff/upstream/src/medit/Makefile.am	2011-03-31 08:07:00.000000000 +0200
+@@ -17,7 +17,7 @@
+ eigenv.h	grafic.h	medit.h		sproto.h 
+ 
+ 
+-LDADD=picking.$(OBJEXT) ../libMesh/libMesh.a $(LIBSGLUT)
++LDADD=picking.$(OBJEXT) ../libMesh/libMesh.a $(LIBSGLUT) -lm
+ INCLUDES=-I../libMesh
+ BUILT_SOURCES=compil.date
+ compil.date: $(ffmedit_SOURCES)

Added: packages/ffcs/trunk/debian/patches/gcc46.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/gcc46.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/gcc46.patch (added)
+++ packages/ffcs/trunk/debian/patches/gcc46.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,15 @@
+Index: ffcs-11.10/src/regression.cpp
+===================================================================
+--- ffcs-11.10.orig/src/regression.cpp	2011-10-03 10:31:01.000000000 +0200
++++ ffcs-11.10/src/regression.cpp	2011-10-03 10:31:03.000000000 +0200
+@@ -992,9 +992,7 @@
+ 
+ /// warns the user that regression tests are in progress
+ void showstandby(void*){
+-  fl_alert((string("Regression tests in progress\n")
+-	    +"Final report in "+logfile+"\n"
+-	    +"Press \"Close\" to interrupt").c_str());
++  fl_alert("Regression tests in progress\nFinal report in %s Press \"Close\" to interrupt", logfile.c_str());
+   quitcode(1,true);
+ }
+ 

Added: packages/ffcs/trunk/debian/patches/install.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/install.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/install.patch (added)
+++ packages/ffcs/trunk/debian/patches/install.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,111 @@
+Index: ffcs-11.8/pack/Makefile.am
+===================================================================
+--- ffcs-11.8.orig/pack/Makefile.am	2011-04-05 10:36:27.000000000 +0200
++++ ffcs-11.8/pack/Makefile.am	2011-04-05 11:12:36.000000000 +0200
+@@ -316,7 +316,7 @@
+ 
+ examples:examples-dir examples-main examples-tutorial examples-3d	\
+ 	examples-eigen examples-mpi examples-chapt3 examples-other	\
+-	examples-load examples-ffcs
++	examples-load examples-ffcs examples-bamg
+ examples-dir:${resdir}/examples
+ ${resdir}/examples:
+ 	mkdir -p $@
+@@ -328,6 +328,8 @@
+ 	rsync -avq --delete ../ff/upstream/examples++-3d/ ${resdir}/examples/3d
+ examples-eigen:
+ 	rsync -avq --delete ../ff/upstream/examples++-eigen/ ${resdir}/examples/eigen
++examples-bamg:
++	rsync -avq --delete ../ff/upstream/examples-bamg/ ${resdir}/examples/bamg
+ 
+ # we remove all dlls from examples++-mpi (they are already in lib/).
+ examples-mpi:
+@@ -487,7 +489,7 @@
+ 
+ if LINUX
+ install:filetree
+-	cd work && ./install_as_root ${prefix} ${bindir}
++	cd work && ./install_as_root ${prefix} ${bindir} $(DESTDIR)
+ endif
+ if MACOS
+ install:finaldir
+@@ -499,7 +501,7 @@
+ # because the actual install would need administrator credentials, and
+ # we want to run tests unattended.
+ install:filetree
+-	cd work && ./install_as_root ${prefix} ${bindir}
++	cd work && ./install_as_root ${prefix} ${bindir} $(DESTDIR)
+ endif
+ 
+ # Source package check
+Index: ffcs-11.8/pack/install.m4
+===================================================================
+--- ffcs-11.8.orig/pack/install.m4	2011-04-05 10:36:27.000000000 +0200
++++ ffcs-11.8/pack/install.m4	2011-04-05 10:36:27.000000000 +0200
+@@ -47,11 +47,6 @@
+     prefix=$1
+ fi
+ 
+-# actual file transfer
+-mkdir -p $prefix
+-installdir="$prefix/FreeFem++-cs VERSION"
+-rsync -a "$location/" "$installdir"
+-
+ # links to the executable in a standard 'bin' directory given by $2
+ # (default is /usr/local/bin)
+ bindir=$prefix/bin
+@@ -59,7 +54,20 @@
+ then
+     bindir=$2
+ fi
+-mkdir -p $bindir
++
++ # select destination ($3) or use default
++DESTDIR=
++if test "$3" != ""
++then
++    DESTDIR=$3
++fi
++
++# actual file transfer
++installdir="$DESTDIR/$prefix/lib/freefem++-cs"
++mkdir -p $installdir
++rsync -a "$location/" "$installdir"
++
++mkdir -p $DESTDIR/$bindir
+ 
+ #find script (which may be at a different location and with a
+ #different name in Linux and Mac setups)
+@@ -89,15 +97,15 @@
+ }
+ 
+ ifelse(ENABLE_CLIENT,yes,
+-publishscript "$ffcsscript" $bindir/FreeFem++-cs
+-publishscript "$ffcsscript" $bindir/FreeFem++-cs-VERSION
+-publishscript "$ffgscript" $bindir/ffg
+-publishscript "$ffgscript" $bindir/ffg-VERSION)
++publishscript "$ffcsscript" $DESTDIR/$bindir/FreeFem++-cs
++publishscript "$ffcsscript" $DESTDIR/$bindir/FreeFem++-cs-VERSION
++publishscript "$ffgscript" $DESTDIR/$bindir/ffg
++publishscript "$ffgscript" $DESTDIR/$bindir/ffg-VERSION)
+ ifelse(ENABLE_SERVER,yes,
+-publishscript "$ffsscript" $bindir/ffs
+-publishscript "$ffsscript" $bindir/ffs-VERSION
+-publishscript "$ffsscript" $bindir/ffsmpi
+-publishscript "$ffsscript" $bindir/ffsmpi-VERSION)
++publishscript "$ffsscript" $DESTDIR/$bindir/ffs
++publishscript "$ffsscript" $DESTDIR/$bindir/ffs-VERSION
++publishscript "$ffsscript" $DESTDIR/$bindir/ffsmpi
++publishscript "$ffsscript" $DESTDIR/$bindir/ffsmpi-VERSION)
+ 
+ # completing the uninstall script
+ echo rm $bindir/FreeFem++-cs-VERSION-uninstall >> "$uninstall"
+@@ -105,7 +113,7 @@
+ echo echo Uninstall OK >> "$uninstall"
+ 
+ chmod a+x "$uninstall"
+-ln -s -f "$uninstall" $bindir/FreeFem++-cs-VERSION-uninstall
++ln -s -f "$uninstall" $DESTDIR/$bindir/FreeFem++-cs-VERSION-uninstall
+ 
+ # Local Variables:
+ # mode:shell-script

Added: packages/ffcs/trunk/debian/patches/pref.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/pref.patch?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/pref.patch (added)
+++ packages/ffcs/trunk/debian/patches/pref.patch Mon Oct  3 12:18:02 2011
@@ -1,0 +1,13 @@
+Index: ffcs-11.7/ff/upstream/src/fflib/environment.cpp
+===================================================================
+--- ffcs-11.7.orig/ff/upstream/src/fflib/environment.cpp	2011-03-30 15:10:46.000000000 +0200
++++ ffcs-11.7/ff/upstream/src/fflib/environment.cpp	2011-03-30 15:10:49.000000000 +0200
+@@ -265,7 +265,7 @@
+ void GetEnvironment()
+  {
+  char  * ff_verbosity=0,* ff_loadpath=0,* ff_incpath=0,* home=0;
+-  string  ffpref="freefem++.pref";
++  string  ffpref="freefem++-cs.pref";
+ #ifdef HAVE_GETENV
+   ff_verbosity = getenv("FF_VERBOSITY");
+   ff_loadpath = getenv("FF_LOADPATH");

Added: packages/ffcs/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/patches/series?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/patches/series (added)
+++ packages/ffcs/trunk/debian/patches/series Mon Oct  3 12:18:02 2011
@@ -1,0 +1,12 @@
+install.patch
+configure.patch
+ff-configure.patch
+ff-examples++-load.patch
+ff-pkg-download.patch
+ff-superlu.patch
+ff-examples++-mpi.patch
+ff-examples-bamg.patch
+#gcc45.patch
+#ff-c++.patch
+ffcs-dev.patch
+gcc46.patch

Added: packages/ffcs/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/rules?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/rules (added)
+++ packages/ffcs/trunk/debian/rules Mon Oct  3 12:18:02 2011
@@ -1,0 +1,201 @@
+#!/usr/bin/make -f
+
+version=$(DEB_UPSTREAM_VERSION)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+         NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+else
+         NUMJOBS = 1
+endif
+
+# Add here any variable or target overrides you need.
+DEB_CONFIGURE_EXTRA_FLAGS	:= \
+	--enable-debian \
+	--with-parallel-build=$(NUMJOBS) \
+	--with-freefem-options="--enable-optim --enable-generic --disable-pdf --disable-download --with-mpi=yes --program-transform-name=\"s/^FreeFem++/freefem++/\" "
+
+#export CXX=g++-4.5 
+#export CC=gcc-4.5 
+#export FC=gfortran-4.5
+
+update-config::
+	rm -f configure
+	aclocal --force
+	autoconf --force
+	automake --add-missing --gnu --force
+	cd ff/upstream && aclocal --force
+	cd ff/upstream && autoconf --force
+	cd ff/upstream && automake --add-missing --gnu --force
+
+install/ffcs-dev::
+	mkdir -p $(CURDIR)/debian/ffcs-dev/usr/include/freefem++-cs
+	install $(CURDIR)/ff/upstream/examples++-load/include/* \
+	   $(CURDIR)/debian/ffcs-dev/usr/include/freefem++-cs
+	mkdir -p $(CURDIR)/debian/ffcs-dev/usr/include/freefem++-cs/libMesh
+	install $(CURDIR)/ff/upstream/src/libMesh/* \
+	   $(CURDIR)/debian/ffcs-dev/usr/include/freefem++-cs/libMesh
+	install $(CURDIR)/ff/upstream/src/libMesh/libMesh.a \
+	   $(CURDIR)/debian/ffcs-dev/usr/include/freefem++-cs/libMesh
+
+	mkdir -p $(CURDIR)/debian/ffcs-dev/usr/lib/freefem++-cs/Contents/Linux
+	install -m 644 $(CURDIR)/ff/upstream/examples++-load/WHERE_LIBRARY-download \
+	   $(CURDIR)/debian/ffcs-dev/usr/lib/freefem++-cs/Contents/Linux
+	install -m 644 $(CURDIR)/ff/upstream/examples++-load/WHERE_LIBRARY-config \
+	   $(CURDIR)/debian/ffcs-dev/usr/lib/freefem++-cs/Contents/Linux
+	
+	
+	# Build ffcs-c++ and ffcs-get-dep
+	make -C $(CURDIR)/ff/upstream/examples++-load ffcs-c++
+	make -C $(CURDIR)/ff/upstream/examples++-load ffcs-get-dep
+	
+	# Install ffcs-c++ and ffcs-get-dep
+	mkdir -p $(CURDIR)/debian/ffcs-dev/usr/bin
+	install $(CURDIR)/ff/upstream/examples++-load/ffcs-c++ \
+	   $(CURDIR)/debian/ffcs-dev/usr/bin
+	install $(CURDIR)/ff/upstream/examples++-load/ffcs-get-dep \
+	   $(CURDIR)/debian/ffcs-dev/usr/bin
+	
+	mkdir -p $(CURDIR)/debian/ffcs-dev/usr/share/man/man1
+	install -m 644 $(CURDIR)/debian/ffcs-*.1 $(CURDIR)/debian/ffcs-dev/usr/share/man/man1
+	
+install/ffcs-client::
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/share/ffcs/doc
+	mv $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/doc/* $(CURDIR)/debian/ffcs-client/usr/share/ffcs/doc
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/doc
+	
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/share/ffcs/ref
+	mv $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/ref/* $(CURDIR)/debian/ffcs-client/usr/share/ffcs/ref
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/ref
+	
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/share/ffcs/examples
+	mv $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/examples/* $(CURDIR)/debian/ffcs-client/usr/share/ffcs/examples
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/examples
+
+	mv $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/logo.xpm $(CURDIR)/debian/ffcs-client/usr/share/ffcs
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Resources/logo.xpm
+	
+	# Create links in /usr/lib/freefem++-cs-$(version)/Contents/Resources
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Resources
+	cd $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Resources && ln -sf ../../../../share/ffcs/logo.xpm .
+	cd $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Resources && ln -sf ../../../../share/ffcs/examples .
+	cd $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Resources && ln -sf ../../../../share/ffcs/ref .
+	cd $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Resources && ln -sf ../../../../share/ffcs/doc .
+	
+	# Install binaries
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/ffg $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/FreeFem++-cs $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/ffmedit \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/ffg \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/ffglut \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/FreeFem++-cs\ $(DEB_UPSTREAM_VERSION) \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+
+	# Strip binaries
+	strip $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/ffg
+	strip $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/FreeFem++-cs
+	
+	# Client side (?)
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/bin
+	cd $(CURDIR)/debian/ffcs-client/usr/bin && ln -s ../lib/freefem++-cs/Contents/Linux/ffc .
+	cd $(CURDIR)/debian/ffcs-client/usr/bin && ln -s ../lib/freefem++-cs/ffg .
+	cd $(CURDIR)/debian/ffcs-client/usr/bin && ln -s ../lib/freefem++-cs/ffg ffg-$(version)
+	cd $(CURDIR)/debian/ffcs-client/usr/bin && ln -s ../lib/freefem++-cs/FreeFem++-cs .
+	cd $(CURDIR)/debian/ffcs-client/usr/bin && ln -s ../lib/freefem++-cs/FreeFem++-cs FreeFem++-cs-$(version)
+	
+	# Make mampages
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/share/man/man1
+	install -m 644 doc/FreeFem++-cs.1 $(CURDIR)/debian/ffcs-client/usr/share/man/man1
+	install -m 644 doc/ffg.1 $(CURDIR)/debian/ffcs-client/usr/share/man/man1
+	rm -f $(CURDIR)/debian/ffcs-client/usr/share/ffcs/doc/*.1
+	
+	# Make desktop
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/share/applications/
+	cp debian/ffcs-client.desktop $(CURDIR)/debian/ffcs-client/usr/share/applications/
+	mkdir -p $(CURDIR)/debian/ffcs-client/usr/share/pixmaps/
+	cp debian/freefem++-cs.xpm $(CURDIR)/debian/ffcs-client/usr/share/pixmaps/freefem++-cs.xpm
+	
+	# fix executable-not-elf-or-script
+	chmod ugo-xr $(CURDIR)/debian/ffcs-client/usr/share/ffcs/examples/bamg/square/dotest
+	chmod ugo-xr $(CURDIR)/debian/ffcs-client/usr/share/ffcs/examples/bamg/NACA012/data*
+	chmod ugo-xr $(CURDIR)/debian/ffcs-client/usr/share/ffcs/examples/bamg/NACA012/*.awk
+	chmod ugo-xr $(CURDIR)/debian/ffcs-client/usr/share/ffcs/examples/tutorial/xyf
+
+	# Remove uneeded files
+	find $(CURDIR)/debian/ffcs-client/usr/share/ffcs -name \*.m4 | xargs -r rm
+	find $(CURDIR)/debian/ffcs-client/usr/share/ffcs -name \Makefile.am | xargs -r rm
+
+	# Remove uneeded shared lib
+	rm -f $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/COPYING
+	rm -f $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/INSTALL
+	rm -f $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/README
+	rm -f $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/AUTHORS
+	rm -f $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/install_*
+	rm -rf $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/info.plist
+	rm -rf $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/PkgInfo
+
+install/ffcs-server::
+        # Install libraries (?)
+	mkdir -p $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/*.so $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs/Contents/Linux
+	-rm -f $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs/Contents/Linux/libfakeroot-sysv.so
+
+        # Install binaries (?)
+	mkdir -p $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/ffs* $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/uninstall $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/ffc \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/ffs \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/ffsmpi \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+	install $(CURDIR)/debian/tmp/usr/lib/freefem++-cs/Contents/Linux/FreeFem++-cs\ $(DEB_UPSTREAM_VERSION) \
+	   $(CURDIR)/debian/ffcs-client/usr/lib/freefem++-cs/Contents/Linux
+
+	# Strip binaries
+	strip $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs/ffs*
+
+        # Server (?)
+	mkdir -p $(CURDIR)/debian/ffcs-server/usr/bin
+	cd $(CURDIR)/debian/ffcs-server/usr/bin && ln -s ../lib/freefem++-cs/ffs .
+	cd $(CURDIR)/debian/ffcs-server/usr/bin && ln -s ../lib/freefem++-cs/ffs ffs-$(version)
+	cd $(CURDIR)/debian/ffcs-server/usr/bin && ln -s ../lib/freefem++-cs/ffsmpi .
+	cd $(CURDIR)/debian/ffcs-server/usr/bin && ln -s ../lib/freefem++-cs/ffsmpi ffsmpi-$(version)
+	cd $(CURDIR)/debian/ffcs-server/usr/bin && ln -s ../lib/freefem++-cs/uninstall FreeFem++-cs-$(version)-uninstall
+
+	# Remove path from bindir
+	perl -pi -e "s|$(CURDIR)/debian/tmp||g" $(CURDIR)/debian/ffcs-server/usr/lib/freefem++-cs/uninstall
+
+clean::
+	-rm -rf autom4te.cache INSTALL missing install-sh compile depcomp 
+	-rm -rf aclocal.m4 configure
+	
+	-rm -rf fltk/upstream/config.h
+	-rm -rf fltk/upstream/fltk-config
+	-rm -rf fltk/upstream/makeinclude
+	-rm -rf fltk/upstream/fltk.spec
+	-rm -rf fltk/upstream/fltk.list
+	-rm -rf fltk/upstream/FL/Makefile
+	
+	-find . -name config.log | xargs -r rm
+	-find . -name config.status | xargs -r rm
+	
+	-rm ff/upstream/Makefile ff/upstream/Makefile.in
+	-rm ff/upstream/DOC/Makefile ff/upstream/DOC/Makefile.in
+	-rm ff/upstream/examples++-*/Makefile ff/upstream/examples++-*/Makefile.in
+	-rm ff/upstream/src/Makefile ff/upstream/src/Makefile.in
+	-rm ff/upstream/download/Makefile ff/upstream/download/Makefile.in
+	-rm ff/upstream/download/arpack/Makefile ff/upstream/download/arpack/Makefile.in
+	-rm ff/upstream/download/blas/Makefile ff/upstream/download/blas/Makefile.in
+	-rm ff/upstream/download/metis/Makefile.in
+	-rm ff/upstream/download/umfpack/Makefile ff/upstream/download/umpfpack/Makefile.in
+
+

Propchange: packages/ffcs/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/ffcs/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/ffcs/trunk/debian/source/format?rev=43941&op=file
==============================================================================
--- packages/ffcs/trunk/debian/source/format (added)
+++ packages/ffcs/trunk/debian/source/format Mon Oct  3 12:18:02 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)




More information about the debian-science-commits mailing list