[SCM] Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. branch, master, updated. upstream/2.5.1_beta2_svn10664_dfsg-76-g9f07096
Anton Gladky
gladky.anton at gmail.com
Thu Jan 5 21:27:02 UTC 2012
The following commit has been merged in the master branch:
commit c662ef026644a2cbf83f698f62eeee89bf6e9f3a
Author: Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
Date: Thu Jan 5 22:06:24 2012 +0100
Reenable python-bindings.
diff --git a/debian/README.Debian b/debian/README.Debian
index 571e207..0f901b1 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -46,3 +46,11 @@ in
/usr/share/doc/gmsh/utils/converters
-- Christophe Prud'homme <prudhomm at debian.org>, Wed Nov 17 09:17:28 2004
+
+* Python-binding
+------------
+
+Using python-interface is experimental and requires workaround:
+export LD_PRELOAD=/usr/lib/libmpi.so
+
+ -- Anton Gladky <gladky.anton at gmail.com>, Thu Jan 05 21:57:02 2012
diff --git a/debian/control b/debian/control
index 768dc52..2766da7 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,8 @@ Build-Depends: debhelper (>= 8), cmake, gfortran, libgl1-mesa-dev,
libscotchmetis-dev,
libblas-dev, liblapack-dev, libgl2ps-dev, freeglut3-dev,
libpetsc3.1-dev [!kfreebsd-amd64 !kfreebsd-i386 !armel !mips !mipsel !s390 !sparc],
- python-dev (>= 2.6.6-3~), swig2.0
+ python-dev (>= 2.6.6-3~), swig2.0,
+ chrpath
Standards-Version: 3.9.2
DM-Upload-Allowed: yes
X-Python-Version: current
diff --git a/debian/rules b/debian/rules
index 8f846db..93b33cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
BUILDDIR = $(CURDIR)/debian/build
%:
- dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)
+ dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python2
extra_flags += -DCMAKE_CXX_FLAGS="-DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -fopenmp -lgl2ps -lGL -lglut" \
-DCMAKE_INCLUDE_PATH:="/usr/include/mpi"\
@@ -40,3 +40,4 @@ override_dh_auto_build:
dh_auto_build -- shared
# To avoid the texi2dvi pb add LC_ALL=C
dh_auto_build -- pdf html info LC_ALL=C
+ chrpath -d $(BUILDDIR)/gmshpy/*.so
--
Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator.
More information about the debian-science-commits
mailing list