[SCM] Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. branch, master, updated. debian/2.6.0.dfsg-2-3-g6fcf330

Anton Gladky gladky.anton at gmail.com
Sun Jun 24 15:35:09 UTC 2012


The following commit has been merged in the master branch:
commit 7eb2740b5a479a5c44f4d91b7da6d11ac15ef64c
Author: Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
Date:   Sun Jun 24 11:36:23 2012 +0200

    Add separate packages for python and java wrappers

diff --git a/debian/control b/debian/control
index b65efeb..92e3531 100644
--- a/debian/control
+++ b/debian/control
@@ -104,3 +104,49 @@ Description: Three-dimensional finite element mesh generator. Documentation
  .
  See Gmsh's reference manual for a more thorough overview of Gmsh's
  capabilities.
+ 
+Package: python-gmsh
+Section: python
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, mpi-default-bin,
+ python (>= 2.7), python (<<2.8)
+Description: Three-dimensional finite element mesh generator. Documentation
+ Gmsh is an automatic 3D finite element mesh generator (primarily
+ Delaunay) with build-in CAD and post-processing facilities. Its
+ design goal is to provide a simple meshing tool for academic test
+ cases with parametric input and up to date visualization
+ capabilities.
+ .
+ Gmsh is built around four modules: geometry, mesh, solver and
+ post-processing. The specification of any input to these modules is
+ done either interactively using the graphical user interface or in
+ ASCII text files using Gmsh's own scripting language.
+ .
+ See Gmsh's reference manual for a more thorough overview of Gmsh's
+ capabilities.
+ .
+ This package contains the python wrappers for gmsh
+ 
+Package: java-gmsh
+Section: java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, mpi-default-bin,
+ python (>= 2.7), python (<<2.8)
+Description: Three-dimensional finite element mesh generator. Documentation
+ Gmsh is an automatic 3D finite element mesh generator (primarily
+ Delaunay) with build-in CAD and post-processing facilities. Its
+ design goal is to provide a simple meshing tool for academic test
+ cases with parametric input and up to date visualization
+ capabilities.
+ .
+ Gmsh is built around four modules: geometry, mesh, solver and
+ post-processing. The specification of any input to these modules is
+ done either interactively using the graphical user interface or in
+ ASCII text files using Gmsh's own scripting language.
+ .
+ See Gmsh's reference manual for a more thorough overview of Gmsh's
+ capabilities.
+ .
+ This package contains the Java wrappers for gmsh
+ 
+ 
diff --git a/debian/java-gmsh.install b/debian/java-gmsh.install
new file mode 100644
index 0000000..4b114fc
--- /dev/null
+++ b/debian/java-gmsh.install
@@ -0,0 +1,2 @@
+debian/build/wrappers/java/*.so gmshpy
+debian/build/wrappers/java/*.py gmshpy
diff --git a/debian/gmsh.pyinstall b/debian/python-gmsh.pyinstall
similarity index 100%
rename from debian/gmsh.pyinstall
rename to debian/python-gmsh.pyinstall
diff --git a/debian/rules b/debian/rules
index dffbdcd..b318707 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,9 @@
 #!/usr/bin/make -f
 BUILDDIR = $(CURDIR)/debian/build
+JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python2 --parallel
+	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python2 --with javahelper --parallel
 
 export OMPI_MCA_plm_rsh_agent=/bin/false                #workaround to start MPI-applications in chroot
 
@@ -16,7 +17,8 @@ extra_flags += \
 -DENABLE_METIS:BOOL=OFF \
 -DENABLE_TAUCS:BOOL=OFF \
 -DENABLE_OSMESA:BOOL=OFF \
--DENABLE_CGNS:BOOL=OFF \
+-DENABLE_CGNS:BOOL=ON \
+-DENABLE_WRAP_JAVA:BOOL=ON \
 -DCMAKE_INCLUDE_PATH:STRING="/usr/include/mpi" \
 -DCMAKE_INSTALL_PREFIX:STRING="/usr" \
 

-- 
Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. 



More information about the debian-science-commits mailing list