[SCM] Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. branch, experimental, updated. upstream/2.5.0.dfsg-29-g998c80a

Anton Gladky gladky.anton at gmail.com
Fri Jun 3 18:15:22 UTC 2011


The following commit has been merged in the experimental branch:
commit fa15729495ca2a12b88a77a746a51cfb4e814f24
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Fri Jun 3 19:54:32 2011 +0200

    Change name of lib-file according to policy.

diff --git a/debian/patches/change_shared_library_name.patch b/debian/patches/change_shared_library_name.patch
new file mode 100644
index 0000000..953cb90
--- /dev/null
+++ b/debian/patches/change_shared_library_name.patch
@@ -0,0 +1,23 @@
+Description: Change name of shared library
+Author: Anton Gladky <gladky.anton at gmail.com>
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -885,7 +885,7 @@
+ # want to build the lib we need to recompile everything (the first
+ # time--it's a separate target)
+ add_library(lib STATIC EXCLUDE_FROM_ALL ${GMSH_SRC})
+-set_target_properties(lib PROPERTIES OUTPUT_NAME Gmsh)
++set_target_properties(lib PROPERTIES OUTPUT_NAME gmsh)
+ if(MSVC)
+   set_target_properties(lib PROPERTIES DEBUG_POSTFIX d) 
+   if(ENABLE_MSVC_STATIC_RUNTIME)
+@@ -895,7 +895,7 @@
+ 
+ # shared library target: we don't build it by default either
+ add_library(shared SHARED EXCLUDE_FROM_ALL ${GMSH_SRC})
+-set_target_properties(shared PROPERTIES OUTPUT_NAME Gmsh)
++set_target_properties(shared PROPERTIES OUTPUT_NAME gmsh-2.5.1)
+ if(HAVE_LAPACK AND LAPACK_FLAGS)
+   set_target_properties(shared PROPERTIES LINK_FLAGS ${LAPACK_FLAGS})
+ endif(HAVE_LAPACK AND LAPACK_FLAGS)
diff --git a/debian/patches/series b/debian/patches/series
index 87a5491..d6219b4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+change_shared_library_name.patch
 skip_license_file.patch
 switch_off_metis_and_tetgen.patch
 fix_spelling_errors.patch

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



More information about the debian-science-commits mailing list