[SCM] Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. branch, master, updated. debian/2.6.0-1-5-g1b998a3

Anton Gladky gladky.anton at gmail.com
Wed Jun 20 17:00:08 UTC 2012


The following commit has been merged in the master branch:
commit 3892439dc2ee439cb1d1f4e5f4dff4bb1e9101d3
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Wed Jun 20 18:42:48 2012 +0200

    Update patch, changing the name of shared library.

diff --git a/debian/patches/change_shared_library_name.patch b/debian/patches/change_shared_library_name.patch
index a0cb89e..b6f282d 100644
--- a/debian/patches/change_shared_library_name.patch
+++ b/debian/patches/change_shared_library_name.patch
@@ -1,24 +1,34 @@
 Description: Change name of shared library
 Author: Anton Gladky <gladky.anton at gmail.com>
-Last-Update: 2011-12-09
+Last-Update: 2012-06-20
 
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -1027,7 +1027,7 @@
+@@ -1027,7 +1027,12 @@
  # 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)
++set_target_properties(lib PROPERTIES 
++  OUTPUT_NAME gmsh
++  VERSION "${GMSH_MAJOR_VERSION}.${GMSH_MINOR_VERSION}.${GMSH_PATCH_VERSION}"
++  SOVERSION "${GMSH_MAJOR_VERSION}"
++  )
++
  if(MSVC)
    set_target_properties(lib PROPERTIES DEBUG_POSTFIX d) 
    if(ENABLE_MSVC_STATIC_RUNTIME)
-@@ -1037,7 +1037,7 @@
+@@ -1037,7 +1042,12 @@
  
  # 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)
++set_target_properties(shared PROPERTIES 
++  OUTPUT_NAME gmsh
++  VERSION "${GMSH_MAJOR_VERSION}.${GMSH_MINOR_VERSION}.${GMSH_PATCH_VERSION}"
++  SOVERSION "${GMSH_MAJOR_VERSION}"
++  )
++
  if(HAVE_LAPACK AND LAPACK_FLAGS)
    set_target_properties(shared PROPERTIES LINK_FLAGS ${LAPACK_FLAGS})
  endif(HAVE_LAPACK AND LAPACK_FLAGS)

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



More information about the debian-science-commits mailing list