debian/0000775000000000000000000000000012253677214007201 5ustar debian/rules0000775000000000000000000000126512252622154010255 0ustar #!/usr/bin/make -f # Copyright 2009 Sylvestre Ledru include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk DEB_CONFIGURE_USER_FLAGS := --with-syrthes=/usr/lib/syrthes/ --with-mpi --libexecdir=/usr/lib/ #--libdir=/usr/lib/code_saturne DEB_MAKE_BUILD_TARGET := all DEB_MAKE_INSTALL_TARGET := install DESTDIR=`pwd`/debian/tmp DEB_COMPRESS_EXCLUDE := .pdf .xml .des .f90 .c install/code-saturne-bin:: chrpath -d debian/tmp/usr/lib/code_saturne/cs_* binary-install/code-saturne-data:: chmod +x debian/code-saturne-data/usr/share/code_saturne/runcase* dh_python2 -pcode-saturne-data debian/watch0000664000000000000000000000011612056143357010225 0ustar version=3 http://code-saturne.org/releases/ \ code_saturne-([0-9.]*)\.tar\.gz debian/code-saturne-data.install0000664000000000000000000000026312056145405014063 0ustar debian/tmp/usr/lib/python*/ debian/tmp/usr/share/code_saturne/ debian/tmp/usr/share/locale/ debian/tmp/etc/bash_completion.d/code_saturne debian/tmp/etc/code_saturne.cfg.template debian/changelog0000664000000000000000000001370012253677214011054 0ustar code-saturne (3.2.1-1build1) trusty; urgency=medium * No-change rebuild for libopenmpi1.3 -> libopenmpi1.6 transition. -- Logan Rosen Mon, 16 Dec 2013 17:28:17 -0500 code-saturne (3.2.1-1) unstable; urgency=low * New upstream release * Cherry-pick a patch from upstream to fix the install fix-the-make-install.diff * Use dh-autoreconf to rebuild the autotools files -- Sylvestre Ledru Tue, 10 Dec 2013 09:51:14 +0100 code-saturne (3.1.0-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Fri, 21 Jun 2013 10:54:15 +0200 code-saturne (3.0.1-1) unstable; urgency=low * New upstream release * Upload to unstable * Standards-Version updated to 3.9.4 * Fix a typo in the description (Closes: #669152) -- Sylvestre Ledru Tue, 14 May 2013 10:44:19 +0200 code-saturne (3.0.0-1~exp1) experimental; urgency=low * New upstream release -- Sylvestre Ledru Thu, 28 Mar 2013 13:47:26 +0100 code-saturne (2.3.3-1~exp1) experimental; urgency=low * New upstream release * Disable the compression of the example files * Update of the watch file to skip RC releases -- Sylvestre Ledru Fri, 30 Nov 2012 15:47:31 +0100 code-saturne (2.2.1-1) experimental; urgency=low * New upstream release -- Sylvestre Ledru Sun, 15 Jul 2012 23:38:17 +0200 code-saturne (2.1.7-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Fri, 01 Jun 2012 11:25:40 +0200 code-saturne (2.1.6-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Wed, 04 Apr 2012 23:58:04 +0200 code-saturne (2.1.5-1) unstable; urgency=low * New upstream release * New upstream website => watch updated * Standards-Version updated to version 3.9.3 * ple-config manpage added -- Sylvestre Ledru Fri, 23 Mar 2012 13:36:41 +0100 code-saturne (2.1.4-1) unstable; urgency=low * New upstream release * Update the build dep on hdf5 for the 1.8.8 transition * Fix an upgrade issue (LP: #916165) (Closes: #656737) * Provide also the examples (Closes: #639693) * Patch as-needed.patch removed (applied upstream) * Force usage of cgns 3.1.3.2 minimal -- Sylvestre Ledru Wed, 18 Jan 2012 19:50:42 +0100 code-saturne (2.1.0-4) unstable; urgency=low * Fix a as-needed issue. Thanks to Ilya Barygin for the patch (Closes: #651672) -- Sylvestre Ledru Sun, 11 Dec 2011 19:26:58 +0100 code-saturne (2.1.0-3) unstable; urgency=low * Install a missing file -- Sylvestre Ledru Thu, 24 Nov 2011 00:00:08 +0100 code-saturne (2.1.0-2) unstable; urgency=low * Fix some various issues reported by upstream. -- Sylvestre Ledru Mon, 21 Nov 2011 14:49:56 +0100 code-saturne (2.1.0-1) unstable; urgency=low * New upstream release. Merge all dependencies into a single source package. * Fix some minor lintian warnings. -- Sylvestre Ledru Tue, 01 Nov 2011 17:43:32 +0100 code-saturne (2.0.2-1) unstable; urgency=low * New upstream release * Standards-Version updated to version 3.9.2 * Python byte-compile files are now compiled (Closes: #566040) -- Sylvestre Ledru Tue, 26 Jul 2011 22:50:52 +0200 code-saturne (2.0.1-4) unstable; urgency=low * python-mei, libbft-dev, libfvm-dev, libmei-dev, libxml2-dev, libblas-dev added as dependencies of code-saturne-bin * code-saturne-doc added as recommends of code-saturne -- Sylvestre Ledru Mon, 07 Mar 2011 21:47:26 +0100 code-saturne (2.0.1-3) unstable; urgency=low * syrthes changed its path -- Sylvestre Ledru Sun, 20 Feb 2011 23:09:54 +0100 code-saturne (2.0.1-2) unstable; urgency=low * Forgot chrpath as build dependency -- Sylvestre Ledru Sat, 19 Feb 2011 14:47:03 +0100 code-saturne (2.0.1-1) unstable; urgency=low * New upstream release * Switch to dpkg-source 3.0 (quilt) format * watch file updated * Repack script updated -- Sylvestre Ledru Tue, 08 Feb 2011 18:17:01 +0100 code-saturne (2.0.0.rc1-5) unstable; urgency=low * Change dependency from hdf5-serial to hdf5-mpi (Closes: #591154) * Standards-Version updated to version 3.9.1 -- Sylvestre Ledru Sat, 09 Oct 2010 00:45:37 +0200 code-saturne (2.0.0.rc1-4) unstable; urgency=low * Fix a build issue under kfreebsd-*. Thanks to Petr Salinger for the patch (Closes: #571007) * code-saturne recommends pdf-viewer -- Sylvestre Ledru Wed, 24 Feb 2010 18:04:26 +0100 code-saturne (2.0.0.rc1-3) unstable; urgency=low * Do not compress pdf files * Install in code-saturne-data the bash_completion script * Uses syrthes features * Ship dev libraries in code-saturne-bin -- Sylvestre Ledru Mon, 22 Feb 2010 20:34:15 +0100 code-saturne (2.0.0.rc1-2) unstable; urgency=low * Explicit minimal versions on code-saturne dependencies -- Sylvestre Ledru Mon, 22 Feb 2010 10:28:01 +0100 code-saturne (2.0.0.rc1-1) unstable; urgency=low * New upstream release (Closes: #557297, #557020) * watch file updated * Update of Vcs-Svn Vcs-Browser * Standards-Version updated to 3.8.4 * Apply cs-20rc1.diff provided by upstream to fix minor issues -- Sylvestre Ledru Sat, 20 Feb 2010 15:06:01 +0100 code-saturne (2.0.0.beta2-2) unstable; urgency=low * VCS-*: Wrong links * Missing dependency on python-qt4 (Closes: #557221) * Better descriptions and names of the packages -- Sylvestre Ledru Wed, 13 Jan 2010 14:18:18 +0100 code-saturne (2.0.0.beta2-1) unstable; urgency=low * Initial release (Closes: #501915) -- Sylvestre Ledru Mon, 02 Nov 2009 23:21:17 +0100 debian/compat0000664000000000000000000000000211745535322010375 0ustar 7 debian/ple-config.10000664000000000000000000000141311745535322011303 0ustar .TH PLE-CONFIG "1" "March 2012" "ple-config 1.0.0" "User Commands" .SH NAME ple-config - Returns ple config arguments .SH SYNOPSIS .B ple-config \fIoptions scope\fR .SH OPTIONS .TP \fB\-\-prefix\fR installation path prefix .TP \fB\-\-exec\-prefix\fR system\-dependent path prefix .TP \fB\-\-includedir\fR C header files path .TP \fB\-\-version\fR library version .TP \fB\-\-cppflags\fR C preprocessor flags (e.g. \fB\-D\fR, ...) .TP \fB\-\-cflags\fR C flags (e.g. \fB\-O\fR, \fB\-g\fR, ...) .TP \fB\-\-ldflags\fR linker flags (e.g. \fB\-g\fR, \fB\-L\fR, ...) .TP \fB\-\-libs\fR librairies used (e.g. \fB\-l\fR) .TP \fB\-\-cc\fR C compiler used for build .SS "Scope:" .TP use (default) Options required for user code .TP build Options used for build .IP mpi debian/code-saturne-data.lintian-overrides0000664000000000000000000000016011745535322016054 0ustar code-saturne-data: image-file-in-usr-lib usr/lib/python2.6/site-packages/ncs/Base/icons/SplashScreen/logocs.png debian/code-saturne-include.install0000664000000000000000000000003011745535322014572 0ustar debian/tmp/usr/include debian/copyright0000664000000000000000000000414611745535322011137 0ustar This package was debianized by Sylvestre Ledru on Wed, 08 Oct 2008 22:38:20 +0200. It was downloaded from Upstream Authors: Yvan Fournier Didier Poizat David Monfort Eric Quemerai Frederic Archambeau Copyright: Copyright (C) 1999-2008 EDF License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. The Debian packaging is (C) 2008, Sylvestre Ledru and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. File: include/base/cs_join_intersect.h Copyright: 2008-2009 EDF License: LGPL-2.1 On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. File: gui/sbin/mkpyqt.py Copyright: 2007-9 Qtrac Ltd. All rights reserved. License: GPL 2 File: config/iconv.m4 Copyright: 2000-2002, 2007 Free Software Foundation, Inc. License: This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. File: config/py-compile Copyright: 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. License: GPL 2 debian/code-saturne-bin.install0000664000000000000000000000012311745535322013722 0ustar debian/tmp/usr/lib/*.so* debian/tmp/usr/lib/code_saturne/cs_* debian/tmp/usr/bin/ debian/source/0000775000000000000000000000000012227441262010472 5ustar debian/source/format0000664000000000000000000000001412252613424011677 0ustar 3.0 (quilt) debian/code-saturne-doc.docs0000664000000000000000000000006211745535322013203 0ustar debian/tmp/usr/share/doc/code_saturne/* examples/ debian/orig-tar.sh0000775000000000000000000000064411745535322011266 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' DIR=code_saturne-$2 DIRTARGET=code-saturne-$2 TAR=../code-saturne_$2.orig.tar.bz2 # clean up the upstream tarball unzip $3 mv $DIR $DIRTARGET tar -c -j -f $TAR $DIRTARGET rm -rf $DIRTARGET $3 # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi exit 0 debian/code-saturne-bin.lintian-overrides0000664000000000000000000000145311745535322015721 0ustar # No big deal code-saturne-bin: package-name-doesnt-match-sonames libbft0 libfvm0 libfvm-filters0 libmei0 libple0 libsaturne0 libsyrcs0 # Normal code-saturne-bin: non-dev-pkg-with-shlib-symlink usr/lib/libfvm.so.0.0.0 usr/lib/libfvm.so code-saturne-bin: non-dev-pkg-with-shlib-symlink usr/lib/libsyrcs.so.0.0.0 usr/lib/libsyrcs.so code-saturne-bin: non-dev-pkg-with-shlib-symlink usr/lib/libple.so.0.0.0 usr/lib/libple.so code-saturne-bin: non-dev-pkg-with-shlib-symlink usr/lib/libsaturne.so.0.0.0 usr/lib/libsaturne.so code-saturne-bin: non-dev-pkg-with-shlib-symlink usr/lib/libmei.so.0.0.0 usr/lib/libmei.so code-saturne-bin: non-dev-pkg-with-shlib-symlink usr/lib/libfvm_filters.so.0.0.0 usr/lib/libfvm_filters.so code-saturne-bin: non-dev-pkg-with-shlib-symlink usr/lib/libbft.so.0.0.0 usr/lib/libbft.so debian/control0000664000000000000000000001533612252622154010604 0ustar Source: code-saturne Section: science Priority: optional Maintainer: Debian Science Team Uploaders: Sylvestre Ledru Build-Depends: debhelper (>= 7), autotools-dev, cdbs, python-qt4, pyqt4-dev-tools, fig2ps, syrthes, gfortran, autoconf, texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-extra, # To help the configure detection on cs lib zlib1g-dev, libhdf5-mpi-dev (>= 1.8.8~), libcgns-dev (>= 3.1.3.2), mpi-default-dev, libmedc-dev, libxml2-dev, libblas-dev | libatlas-dev, libopenmpi-dev, chrpath, python, libscotch-dev, dh-autoreconf Standards-Version: 3.9.5 Homepage: http://www.code-saturne.org/ Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/code-saturne/code-saturne/ Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/code-saturne/code-saturne/ Package: code-saturne Priority: optional Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, code-saturne-bin (= ${binary:Version}), code-saturne-data (= ${source:Version}), code-saturne-include (= ${binary:Version}), python-qt4 Recommends: syrthes, bash-completion, paraview, pdf-viewer, code-saturne-doc Description: General purpose Computational Fluid Dynamics (CFD) software The basic capabilities of Code_Saturne enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence. Dedicated modules are available for specific physics such as radiative heat transfer, combustion (gas, coal, heavy fuel oil, ...), magneto-hydrodynamics, compressible flows, two-phase flows (Euler-Lagrange approach with two-way coupling), extensions to specific applications (e.g. Mercure_Saturne for atmospheric environment). . It runs in parallel with MPI on distributed memory machines. Developed since 1997 at EDF R&D, it is based on a co-located Finite Volume approach that accepts meshes with any type of cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral...) and any type of grid structure (unstructured, block structured, hybrid, conforming or with hanging nodes, ...). Package: code-saturne-bin Priority: optional Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python, libxml2-dev, libblas-dev Recommends: code-saturne Replaces: libbft-dev, libfvm-dev, libmei-dev, libfvm0, libbft1, libmei0 Conflicts: libbft-dev, libfvm-dev, libmei-dev, libfvm0, libbft1, libmei0 Description: General purpose Computational Fluid Dynamics (CFD) software - binaries The basic capabilities of Code_Saturne enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence. Dedicated modules are available for specific physics such as radiative heat transfer, combustion (gas, coal, heavy fuel oil, ...), magneto-hydrodynamics, compressible flows, two-phase flows (Euler-Lagrange approach with two-way coupling), extensions to specific applications (e.g. Mercure_Saturne for atmospheric environment). . It runs in parallel with MPI on distributed memory machines. Developed since 1997 at EDF R&D, it is based on a co-located Finite Volume approach that accepts meshes with any type of cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral...) and any type of grid structure (unstructured, block structured, hybrid, conforming or with hanging nodes, ...). . This package contains the binary files. Package: code-saturne-data Priority: optional Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, python Replaces: python-mei Conflicts: python-mei Recommends: code-saturne Description: General purpose Computational Fluid Dynamics (CFD) software - data The basic capabilities of Code_Saturne enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence. Dedicated modules are available for specific physics such as radiative heat transfer, combustion (gas, coal, heavy fuel oil, ...), magneto-hydrodynamics, compressible flows, two-phase flows (Euler-Lagrange approach with two-way coupling), extensions to specific applications (e.g. Mercure_Saturne for atmospheric environment). . It runs in parallel with MPI on distributed memory machines. Developed since 1997 at EDF R&D, it is based on a co-located Finite Volume approach that accepts meshes with any type of cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral...) and any type of grid structure (unstructured, block structured, hybrid, conforming or with hanging nodes, ...). . This package contains the data. Package: code-saturne-include Priority: optional Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libcgns-dev, libmedc-dev, libhdf5-dev, zlib1g-dev, mpi-default-dev, libxml2-dev Description: General purpose Computational Fluid Dynamics (CFD) software - includes The basic capabilities of Code_Saturne enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence. Dedicated modules are available for specific physics such as radiative heat transfer, combustion (gas, coal, heavy fuel oil, ...), magneto-hydrodynamics, compressible flows, two-phase flows (Euler-Lagrange approach with two-way coupling), extensions to specific applications (e.g. Mercure_Saturne for atmospheric environment). . It runs in parallel with MPI on distributed memory machines. Developed since 1997 at EDF R&D, it is based on a co-located Finite Volume approach that accepts meshes with any type of cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral...) and any type of grid structure (unstructured, block structured, hybrid, conforming or with hanging nodes, ...). . This package contains the include files. Package: code-saturne-doc Priority: optional Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Description: General purpose Computational Fluid Dynamics (CFD) software - Documentation The basic capabilities of Code_Saturne enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence. Dedicated modules are available for specific physics such as radiative heat transfer, combustion (gas, coal, heavy fuel oil, ...), magneto-hydrodynamics, compressible flows, two-phase flows (Euler-Lagrange approach with two-way coupling), extensions to specific applications (e.g. Mercure_Saturne for atmospheric environment). . It runs in parallel with MPI on distributed memory machines. Developed since 1997 at EDF R&D, it is based on a co-located Finite Volume approach that accepts meshes with any type of cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral...) and any type of grid structure (unstructured, block structured, hybrid, conforming or with hanging nodes, ...). . This package contains the documentation. debian/docs0000664000000000000000000000005511745535322010052 0ustar NEWS README COMPATIBILITY QUALITY_ASSURANCE debian/code-saturne-bin.manpages0000664000000000000000000000006212056145521014043 0ustar docs/manpages/code_saturne.1 debian/ple-config.1 debian/patches/0000775000000000000000000000000012252612147010621 5ustar debian/patches/series0000664000000000000000000000003312252612007012025 0ustar fix-the-make-install.diff debian/patches/fix-the-make-install.diff0000664000000000000000000000664612252612147015412 0ustar Index: saturne.orig/salome/cfd_study/src/CFDSTUDYGUI/Makefile.am =================================================================== --- saturne.orig/salome/cfd_study/src/CFDSTUDYGUI/Makefile.am (révision 5573) +++ saturne/salome/cfd_study/src/CFDSTUDYGUI/Makefile.am (révision 5575) @@ -86,7 +86,7 @@ install-exec-local: $(PYUI_FILES) for f in $^ ; do\ - $(INSTALL) $$f $(salomepythondir)/$$f ; \ + $(INSTALL) $$f "$(DESTDIR)$(salomepythondir)/$$f" ; \ done ; ## meta object implementation files generation (moc) Index: saturne.orig/src/apps/Makefile.am =================================================================== --- saturne.orig/src/apps/Makefile.am (révision 5573) +++ saturne/src/apps/Makefile.am (révision 5575) @@ -182,7 +182,7 @@ install-exec-hook: libsaturne.la PYTHONPATH=$(top_builddir)/bin:$(top_srcdir)/bin$${PYTHONPATH:+:$$PYTHONPATH} \ $(PYTHON) -B $(top_srcdir)/bin/cs_compile.py --mode=install \ - --dest "$(DESTDIR)$(pkglibexecdir)" + --dest "$(DESTDIR)" uninstall-local: rm $(libexecdir)/$(PACKAGE)/cs_solver Index: saturne.orig/bin/cs_compile.py =================================================================== --- saturne.orig/bin/cs_compile.py (révision 5573) +++ saturne/bin/cs_compile.py (révision 5575) @@ -219,8 +219,28 @@ #------------------------------------------------------------------------------- -def get_build_flags(pkg, flag, install=False): +def dest_subdir(destdir, d): + t = d + + # Concatenate destdir and target subdirectory + + if sys.platform.startswith("win"): + i = t.find(':\\') + if i > -1: + t = t[i+1:] + while t[0] == '\\': + t = t[1:] + else: + while t[0] == '/': + t = t[1:] + + return os.path.join(destdir, t) + +#------------------------------------------------------------------------------- + +def get_build_flags(pkg, flag, install=False, destdir=None): + cmd_line = [] # Build the command line, and split possible multiple arguments in lists. @@ -245,6 +265,8 @@ # So, assuming we always build on MinGW, here is a little trick! if sys.platform.startswith("win"): libdir = os.path.normpath('C:\\MinGW\\msys\\1.0' + libdir) + if destdir: + libdir = dest_subdir(destdir, libdir) cmd_line.insert(0, "-L" + libdir) return cmd_line @@ -432,14 +454,14 @@ # Determine executable name exec_name = pkg.solver - if destdir: - exec_name = os.path.join(destdir, exec_name) - elif install: + if install: exec_name = os.path.join(pkg.dirs['pkglibexecdir'][1], exec_name) # Strangely, on MinGW, Windows paths are not correctly handled here... # So, assuming we always build on MinGW, here is a little trick! if sys.platform.startswith("win"): exec_name = os.path.normpath('C:\\MinGW\\msys\\1.0' + exec_name) + if destdir: + exec_name = dest_subdir(destdir, exec_name) dirname = os.path.dirname(exec_name) if not os.path.exists(dirname): os.makedirs(dirname) @@ -452,7 +474,7 @@ cmd = [get_compiler(pkg, 'ld', link_build = True)] cmd = cmd + ["-o", exec_name] - cmd = cmd + get_build_flags(pkg, 'ldflags', install) + cmd = cmd + get_build_flags(pkg, 'ldflags', install, destdir) cmd = cmd + p_libs if pkg.config.rpath != "": cmd += so_dirs_path(cmd, pkg)