[SCM] Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. branch, master, updated. debian/2.8.1.dfsg-1-6-g1eba3e7
Anton Gladky
gladky.anton at gmail.com
Wed Jul 24 13:38:56 UTC 2013
The following commit has been merged in the master branch:
commit 218a07dc4940dae5a7797a8ab639b90c1861e3c7
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Wed Jul 24 15:07:11 2013 +0200
Fix compilation of java-wrapper.
diff --git a/debian/patches/fix_java_wrapper_compilation.patch b/debian/patches/fix_java_wrapper_compilation.patch
new file mode 100644
index 0000000..c81528f
--- /dev/null
+++ b/debian/patches/fix_java_wrapper_compilation.patch
@@ -0,0 +1,15 @@
+Description: <short summary of the patch>
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2013-07-24
+
+--- gmsh-2.8.2+dfsg.orig/wrappers/java/CMakeLists.txt
++++ gmsh-2.8.2+dfsg/wrappers/java/CMakeLists.txt
+@@ -13,7 +13,7 @@ include_directories(${JAVA_INCLUDE_PATH}
+ include_directories(${JAVA_INCLUDE_PATH2})
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+ # define where the interface file (used by SWIG) are
+-set(SWIG_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/WrapGmsh.i)
++set(SWIG_SOURCES WrapGmsh.i)
+ # let swig know that example.i is c++
+ set_source_files_properties(${SWIG_SOURCES} PROPERTIES CPLUSPLUS ON)
+ # define where the Java files generated by SWIG will be stored
diff --git a/debian/patches/series b/debian/patches/series
index 95a331b..229a78f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ alauzet.patch
fix_gmshpy_import.patch
fix_libdir.patch
fix_script_header.patch
+fix_java_wrapper_compilation.patch
--
Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator.
More information about the debian-science-commits
mailing list