r44654 - in /packages/rheolef/trunk/debian: control copyright librheolef-dev.install librheolef1.install librheolefX.X.install librheolefX.X.overrides librheolefX.X.substvars rules shlibs.librheolef1.X shlibs.librheolefX.X

saramito-guest at users.alioth.debian.org saramito-guest at users.alioth.debian.org
Tue Apr 3 17:09:58 UTC 2012


Author: saramito-guest
Date: Tue Apr  3 17:09:57 2012
New Revision: 44654

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44654
Log:
rheolef-6.0 packaging

Added:
    packages/rheolef/trunk/debian/librheolef1.install
    packages/rheolef/trunk/debian/shlibs.librheolef1.X
Removed:
    packages/rheolef/trunk/debian/librheolefX.X.install
    packages/rheolef/trunk/debian/librheolefX.X.overrides
    packages/rheolef/trunk/debian/librheolefX.X.substvars
    packages/rheolef/trunk/debian/shlibs.librheolefX.X
Modified:
    packages/rheolef/trunk/debian/control
    packages/rheolef/trunk/debian/copyright
    packages/rheolef/trunk/debian/librheolef-dev.install
    packages/rheolef/trunk/debian/rules

Modified: packages/rheolef/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/control?rev=44654&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/control (original)
+++ packages/rheolef/trunk/debian/control Tue Apr  3 17:09:57 2012
@@ -5,8 +5,8 @@
 Uploaders: Christophe Prud'homme <prudhomm at debian.org>, 
  Pierre Saramito <pierre.saramito at imag.fr>
 Homepage: http://ljk.imag.fr/membres/Pierre.Saramito/rheolef
-Build-Depends: debhelper (>=7), autoconf, automake, libtool, libltdl-dev | libltdl3-dev, flex, bison, xutils-dev, libboost-dev, libboost-iostreams-dev, libboost-serialization-dev, libginac-dev, ginac-tools, libboost-mpi-dev, libscotch-dev, libptscotch-dev, libmumps-ptscotch-dev, libtrilinos-dev, libcgal-dev, libstdc++6, texi2html, texinfo, texlive-latex-recommended, texlive-latex-extra, texlive-math-extra, texlive-font-utils, ghostscript, gnuplot, xfig, transfig, texinfo, imagemagick, graphviz
-Standards-Version: 3.9.1
+Build-Depends: debhelper (>=7), autoconf, automake, libtool, libltdl-dev | libltdl3-dev, flex, bison, xutils-dev, libboost-dev, libboost-iostreams-dev, libboost-serialization-dev, libginac-dev, ginac-tools, libboost-mpi-dev, libscotch-dev, libptscotch-dev, libmumps-ptscotch-dev, libtrilinos-dev, liblapack-dev, libcgal-dev, libstdc++6, texi2html, texinfo, texlive-latex-recommended, texlive-latex-extra, texlive-math-extra, texlive-font-utils, ghostscript, gnuplot, xfig, transfig, texinfo, imagemagick, graphviz
+Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/rheolef/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/rheolef/trunk/
 
@@ -17,31 +17,33 @@
 Conflicts: librheolef5.89, librheolef5.90
 Replaces: librheolef5.89, librheolef5.90
 Suggests: rheolef-doc
-Description: Finite elements for partial differential equations (shared library)
+Description: efficient Finite Element environment - shared library
  Rheolef is a computer environment that serves as a convenient
- laboratory for computations in applied mathematics, involving finite
- element-like methods. It provides a set of unix commands and C++
- algorithms and containers.
+ laboratory for computations in applied mathematics involving finite
+ element-like methods. It provides a set of commands and C++ algorithms
+ and containers.
  .
- Containers covers first the classic graph data structure for sparse
- matrix formats and finite element meshes.
+ Most basically, containers cover the classic graph data structure for
+ sparse matrix formats and finite element meshes. At a higher level of
+ abstraction, they can handle approximate finite element spaces, discrete
+ fields, and bilinear forms.
  .
- An higher level of abstraction is provided by containers related to
- approximate finite element spaces, discrete fields and bilinear forms.
+ Current applications include:
+  * massively distributed memory finite element environment, based on MPI;
+  * Poisson problems in d=1,2 and 3 dimension with high order Lagrange elements,
+    up to fifth order;
+  * linear elasticity, including incompressible and nearly incompressible
+    elasticity;
+  * Stokes problems in d=2 or 3 dimension, with P2-P1 or P1 bubble-P1 elements;
+  * characteristic method for convection-diffusion, time-dependent
+    problems and Navier-Stokes equations;
+  * nonlinear problems with either fixed-point algorithms or a provided generic
+    damped Newton solver;
+  * auto-adaptive mesh approaches;
+  * axisymmetric problems;
+  * multi-regions and variable coefficient problems.
  .
- .
- Current applications cover
- .
-  - Poisson problems in 1D 2D and 3D with P1 or P2 elements
-  - Stokes problems in 2D and 3D, with P2-P1 or P1 bubble-P1 elements
-  - linear elasticity in 2D and 3D, with P1 and P2 elements,
- including the incompressible and nearly incompressible elasticity
-  - characteristic method for convection-difusion, time-dependent problems
- and Navier-Stokes equations.
-  - auto-adaptive mesh based for 2D problems
-  - axisymetric problems
-  - multi-regions and non-constant coefficients
-  - axisymetric problems
+ This package provides the shared library.
 
 Package: librheolef-dev
 Section: libdevel
@@ -50,31 +52,33 @@
  libsuitesparse-dev, ${misc:Depends}
 Recommends: rheolef-doc(= ${binary:Version})
 Suggests:
-Description: Finite elements for partial differential equations (headers)
+Description: efficient Finite Element environment - development files
  Rheolef is a computer environment that serves as a convenient
- laboratory for computations in applied mathematics, involving finite
- element-like methods. It provides a set of unix commands and C++
- algorithms and containers.
+ laboratory for computations in applied mathematics involving finite
+ element-like methods. It provides a set of commands and C++ algorithms
+ and containers.
  .
- Containers covers first the classic graph data structure for sparse
- matrix formats and finite element meshes.
+ Most basically, containers cover the classic graph data structure for
+ sparse matrix formats and finite element meshes. At a higher level of
+ abstraction, they can handle approximate finite element spaces, discrete
+ fields, and bilinear forms.
  .
- An higher level of abstraction is provided by containers related to
- approximate finite element spaces, discrete fields and bilinear forms.
+ Current applications include:
+  * massively distributed memory finite element environment, based on MPI;
+  * Poisson problems in d=1,2 and 3 dimension with high order Lagrange elements,
+    up to fifth order;
+  * linear elasticity, including incompressible and nearly incompressible
+    elasticity;
+  * Stokes problems in d=2 or 3 dimension, with P2-P1 or P1 bubble-P1 elements;
+  * characteristic method for convection-diffusion, time-dependent
+    problems and Navier-Stokes equations;
+  * nonlinear problems with either fixed-point algorithms or a provided generic
+    damped Newton solver;
+  * auto-adaptive mesh approaches;
+  * axisymmetric problems;
+  * multi-regions and variable coefficient problems.
  .
- .
- Current applications cover
- .
-  - Poisson problems in 1D 2D and 3D with P1 or P2 elements
-  - Stokes problems in 2D and 3D, with P2-P1 or P1 bubble-P1 elements
-  - linear elasticity in 2D and 3D, with P1 and P2 elements,
- including the incompressible and nearly incompressible elasticity
-  - characteristic method for convection-difusion, time-dependent problems
- and Navier-Stokes equations.
-  - auto-adaptive mesh based for 2D problems
-  - axisymetric problems
-  - multi-regions and non-constant coefficients
-  - axisymetric problems
+ This package provides the headers required for development.
 
 Package: rheolef-doc
 Section: doc
@@ -82,64 +86,66 @@
 Depends: ${misc:Depends}, dpkg (>= 1.15.4) | install-info
 Conflicts: librheolef-doc
 Replaces: librheolef-doc
-Description: Finite elements for partial differential equations (documentation)
+Description: efficient Finite Element environment - documentation
  Rheolef is a computer environment that serves as a convenient
- laboratory for computations in applied mathematics, involving finite
- element-like methods. It provides a set of unix commands and C++
- algorithms and containers.
+ laboratory for computations in applied mathematics involving finite
+ element-like methods. It provides a set of commands and C++ algorithms
+ and containers.
  .
- Containers covers first the classic graph data structure for sparse
- matrix formats and finite element meshes.
+ Most basically, containers cover the classic graph data structure for
+ sparse matrix formats and finite element meshes. At a higher level of
+ abstraction, they can handle approximate finite element spaces, discrete
+ fields, and bilinear forms.
  .
- An higher level of abstraction is provided by containers related to
- approximate finite element spaces, discrete fields and bilinear forms.
+ Current applications include:
+  * massively distributed memory finite element environment, based on MPI;
+  * Poisson problems in d=1,2 and 3 dimension with high order Lagrange elements,
+    up to fifth order;
+  * linear elasticity, including incompressible and nearly incompressible
+    elasticity;
+  * Stokes problems in d=2 or 3 dimension, with P2-P1 or P1 bubble-P1 elements;
+  * characteristic method for convection-diffusion, time-dependent
+    problems and Navier-Stokes equations;
+  * nonlinear problems with either fixed-point algorithms or a provided generic
+    damped Newton solver;
+  * auto-adaptive mesh approaches;
+  * axisymmetric problems;
+  * multi-regions and variable coefficient problems.
  .
- .
- Current applications cover
- .
-  - Poisson problems in 1D 2D and 3D with P1 or P2 elements
-  - Stokes problems in 2D and 3D, with P2-P1 or P1 bubble-P1 elements
-  - linear elasticity in 2D and 3D, with P1 and P2 elements,
- including the incompressible and nearly incompressible elasticity
-  - characteristic method for convection-difusion, time-dependent problems
- and Navier-Stokes equations.
-  - auto-adaptive mesh based for 2D problems
-  - axisymetric problems
-  - multi-regions and non-constant coefficients
-  - axisymetric problems
+ This package provides the documentation.
 
 Package: rheolef
 Section: math
 Architecture: any
 Depends: ${shlibs:Depends}, librheolef1(= ${binary:Version}), ${misc:Depends}
 Recommends: librheolef-dev, rheolef-doc, gnuplot, imagemagik, tcl-vtk | vtk-tcl, gmsh, mayavi2 | mayavi, paraview, ffmpeg
-Description: Finite elements for partial differential equations
+Description: efficient Finite Element environment
  Rheolef is a computer environment that serves as a convenient
- laboratory for computations in applied mathematics, involving finite
- element-like methods. It provides a set of unix commands and C++
- algorithms and containers.
+ laboratory for computations in applied mathematics involving finite
+ element-like methods. It provides a set of commands and C++ algorithms
+ and containers.
  .
- Containers covers first the classic graph data structure for sparse
- matrix formats and finite element meshes.
+ Most basically, containers cover the classic graph data structure for
+ sparse matrix formats and finite element meshes. At a higher level of
+ abstraction, they can handle approximate finite element spaces, discrete
+ fields, and bilinear forms.
  .
- An higher level of abstraction is provided by containers related to
- approximate finite element spaces, discrete fields and bilinear forms.
+ Current applications include:
+  * massively distributed memory finite element environment, based on MPI;
+  * Poisson problems in d=1,2 and 3 dimension with high order Lagrange elements,
+    up to fifth order;
+  * linear elasticity, including incompressible and nearly incompressible
+    elasticity;
+  * Stokes problems in d=2 or 3 dimension, with P2-P1 or P1 bubble-P1 elements;
+  * characteristic method for convection-diffusion, time-dependent
+    problems and Navier-Stokes equations;
+  * nonlinear problems with either fixed-point algorithms or a provided generic
+    damped Newton solver;
+  * auto-adaptive mesh approaches;
+  * axisymmetric problems;
+  * multi-regions and variable coefficient problems.
  .
- .
- Current applications cover
- .
-  - Poisson problems in 1D 2D and 3D with P1 or P2 elements
-  - Stokes problems in 2D and 3D, with P2-P1 or P1 bubble-P1 elements
-  - linear elasticity in 2D and 3D, with P1 and P2 elements,
- including the incompressible and nearly incompressible elasticity
-  - characteristic method for convection-difusion, time-dependent problems
- and Navier-Stokes equations.
-  - auto-adaptive mesh based for 2D problems
-  - axisymetric problems
-  - multi-regions and non-constant coefficients
-  - axisymetric problems
- .
- Input and Output in various file format for meshes generators
- and numerical data visualization systems (mayavi, vtk, plotmtv, gnuplot).
+ This package provides the rheolef commands. These support input and
+ output in various file formats for mesh-generators and numerical data
+ visualization systems such as MayaVi, Paraview, and gnuplot.
 
-

Modified: packages/rheolef/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/copyright?rev=44654&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/copyright (original)
+++ packages/rheolef/trunk/debian/copyright Tue Apr  3 17:09:57 2012
@@ -1,4 +1,4 @@
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION
+Format-Specification: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Name: Rheolef
 Maintainer: Pierre Saramito <pierre.saramito at imag.fr>
 
@@ -36,7 +36,7 @@
        	util/dmallocxx/settings.h
        	util/dmallocxx/README
 Copyright: 1992-2007, Gray Watson http://256.com/gray/
-Licence :
+Licence : permissive
        	Permission to use, copy, modify, and distribute this software for any
        	purpose and without fee is hereby granted, provided that the above
        	copyright notice and this permission notice appear in all copies, and
@@ -58,7 +58,7 @@
        doc/usrman/index.sty
 	    Style option `A4' to be used with LaTeX V2.09
 Copyright: 1990-1999, Johannes Braams, Nico Poppelier.
-License:
+License: permissive
        	All rights reserved.
 
        	This program can be redistributed and/or modified under the terms

Modified: packages/rheolef/trunk/debian/librheolef-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/librheolef-dev.install?rev=44654&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/librheolef-dev.install (original)
+++ packages/rheolef/trunk/debian/librheolef-dev.install Tue Apr  3 17:09:57 2012
@@ -1,6 +1,7 @@
 usr/lib/librheolef.so
 usr/include/*
-usr/lib/rheolef/*.{h,mk}
+usr/lib/rheolef/*.h
+usr/lib/rheolef/*.mk
 usr/share/man/man2/*
 usr/share/man/man3/*
 usr/share/man/man4/*

Added: packages/rheolef/trunk/debian/librheolef1.install
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/librheolef1.install?rev=44654&op=file
==============================================================================
--- packages/rheolef/trunk/debian/librheolef1.install (added)
+++ packages/rheolef/trunk/debian/librheolef1.install Tue Apr  3 17:09:57 2012
@@ -1,0 +1,1 @@
+usr/lib/librheolef*so.*

Modified: packages/rheolef/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/rules?rev=44654&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/rules (original)
+++ packages/rheolef/trunk/debian/rules Tue Apr  3 17:09:57 2012
@@ -27,34 +27,29 @@
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
-	CFLAGS += -O2
+	#CFLAGS += -O2 	TODO: optimize!
+	CFLAGS += -O0
 endif
 
 configure: configure-stamp
 configure-stamp:
 	# Prepare the debian control files necessary for the creation of the packages
-	cat debian/shlibs.librheolefX.X | \
+	cat debian/shlibs.librheolef1.X | \
 	  sed -e "s/\@LIBRHEOLEF\@/$(LIBRHEOLEF)/g" \
               -e "s/\@MAJOR_VERSION\@/$(MAJOR_VERSION)/g" \
               -e "s/\@MINOR_VERSION\@/$(MINOR_VERSION)/g" \
               -e "s/\@VERSION\@/$(VERSION)/g" \
               -e "s/\@SONAME\@/$(SONAME)/g" > debian/shlibs.$(LIBRHEOLEF)
-	cat debian/librheolefX.X.overrides | \
-	  sed -e "s/\@LIBRHEOLEF\@/$(LIBRHEOLEF)/g" \
-              -e "s/\@MAJOR_VERSION\@/$(MAJOR_VERSION)/g" \
-              -e "s/\@MINOR_VERSION\@/$(MINOR_VERSION)/g" \
-              -e "s/\@VERSION\@/$(VERSION)/g" \
-              -e "s/\@SONAME\@/$(SONAME)/g" > debian/$(LIBRHEOLEF).lintian-overrides
-	cat debian/librheolefX.X.install | \
-          sed -e "s/\@VERSION\@/$(VERSION)/g" > debian/$(LIBRHEOLEF).install
-	cp -f debian/librheolefX.X.substvars debian/$(LIBRHEOLEF).substvars
+	echo 'shlibs:Depends=libc6 (>= 2.7-1), libgcc1 (>= 1:4.3.1-9), libstdc++6 (>= 4.3.1-9)' >  debian/$(LIBRHEOLEF).substvars
 	dh_testdir
 	./bootstrap
-	CC=gcc CXX=g++ ./configure --enable-fast-install --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-optim --enable-debian-packaging
+	# TODO: remove CXXFLAGS= to get "-O2 -g" automatically
+	CXXFLAGS= CC=gcc CXX=g++ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-optim --enable-debian-packaging
 	touch configure-stamp
 
-build: build-stamp
-
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp: configure-stamp
 	dh_testdir
 
@@ -91,8 +86,17 @@
 	# remove info/dir
 	rm -f $(TMPDIR)/usr/share/info/dir*
 
-	# respect debian naming conventions
-	test -d $(TMPDIR)/usr/share/doc/rheolef && mv $(TMPDIR)/usr/share/doc/rheolef $(TMPDIR)/usr/share/doc/rheolef-doc
+	# respect debian naming conventions (TO_CLEAN)
+	# if test -d $(TMPDIR)/usr/share/doc/rheolef; then \
+        #   mv $(TMPDIR)/usr/share/doc/rheolef $(TMPDIR)/usr/share/doc/rheolef-doc; \
+        # fi
+
+	# delete rpath (debian policy) if any:
+	- chrpath -d $(TMPDIR)/usr/lib/librheolef.*so*
+	- chrpath -d $(TMPDIR)/usr/bin/branch
+	- chrpath -d $(TMPDIR)/usr/bin/field
+	- chrpath -d $(TMPDIR)/usr/bin/geo
+	- chrpath -d $(TMPDIR)/usr/bin/msh2geo
 
 	# Changing file access permissions
 	chmod 755 $(TMPDIR)/usr/share/rheolef/check-shlibpath_var.sh

Added: packages/rheolef/trunk/debian/shlibs.librheolef1.X
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/shlibs.librheolef1.X?rev=44654&op=file
==============================================================================
--- packages/rheolef/trunk/debian/shlibs.librheolef1.X (added)
+++ packages/rheolef/trunk/debian/shlibs.librheolef1.X Tue Apr  3 17:09:57 2012
@@ -1,0 +1,1 @@
+librheolef @SONAME@ librheolef1.so. at MAJOR_VERSION@.0. at MINOR_VERSION@




More information about the debian-science-commits mailing list