Package: metview / 5.10.2-1

soname-version.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Add SONAME and SOVERSION to the shared libraries
Last-Updated: 2019-08-13
Forwarded: no

Index: metview-5.10.0/metview/src/libFTimeUtil/CMakeLists.txt
===================================================================
--- metview-5.10.0.orig/metview/src/libFTimeUtil/CMakeLists.txt
+++ metview-5.10.0/metview/src/libFTimeUtil/CMakeLists.txt
@@ -5,6 +5,8 @@ set(libFTimeUtil_srcs
 
 ecbuild_add_library( TARGET             MvFTimeUtil
                      TYPE               SHARED
+		     VERSION            0.0.0
+		     SOVERSION          0d
                      SOURCES            ${libFTimeUtil_srcs}
                      TEMPLATES          ${common_templates}
                      PRIVATE_INCLUDES   ${METVIEW_STANDARD_INCLUDES}
Index: metview-5.10.0/metview/src/Macro/CMakeLists.txt
===================================================================
--- metview-5.10.0.orig/metview/src/Macro/CMakeLists.txt
+++ metview-5.10.0/metview/src/Macro/CMakeLists.txt
@@ -56,7 +56,9 @@ endif()
 
 ecbuild_append_to_rpath("../lib") # so that libMvMacro can find libMvUtil, etc
 ecbuild_add_library( TARGET           MvMacro
-					 TYPE             SHARED
+                                         TYPE             SHARED
+					 VERSION          0.0.0
+					 SOVERSION        0d
 					 SOURCES          ${Macrolib_srcs}
 					 TEMPLATES        ${common_templates}
 					 DEFINITIONS      ${METVIEW_EXTRA_DEFINITIONS}
Index: metview-5.10.0/mir/src/mir/CMakeLists.txt
===================================================================
--- metview-5.10.0.orig/mir/src/mir/CMakeLists.txt
+++ metview-5.10.0/mir/src/mir/CMakeLists.txt
@@ -890,6 +890,8 @@ ecbuild_add_library(
     TARGET             mir
     INSTALL_HEADERS    LISTED
     HEADER_DESTINATION ${INSTALL_INCLUDE_DIR}/mir
+    VERSION            0.0.0
+    SOVERSION          0d
     SOURCES            ${mir_srcs}
     GENERATED          api/mir_version.cc
     TEMPLATES          ${mir_tmpls}
Index: metview-5.10.0/metview/src/libMetview/CMakeLists.txt
===================================================================
--- metview-5.10.0.orig/metview/src/libMetview/CMakeLists.txt
+++ metview-5.10.0/metview/src/libMetview/CMakeLists.txt
@@ -86,7 +86,9 @@ endif()
 
 
 ecbuild_add_library( TARGET           Metview
-                     TYPE             SHARED
+  TYPE             SHARED
+  VERSION          0.0.0
+  SOVERSION        0d
                      SOURCES          ${libMetview_srcs}
                      TEMPLATES        ${common_templates}
                      PRIVATE_INCLUDES ${METVIEW_STANDARD_INCLUDES}
Index: metview-5.10.0/mars-client/src/CMakeLists.txt
===================================================================
--- metview-5.10.0.orig/mars-client/src/CMakeLists.txt
+++ metview-5.10.0/mars-client/src/CMakeLists.txt
@@ -278,7 +278,9 @@ ecbuild_add_library(
       ${mars_client_src_files}
       mars_client_version.c
 	DEPENDS
-      ${mars_client_deps}
+	${mars_client_deps}
+	VERSION 0.0.0
+	SOVERSION 0d
 
   PUBLIC_INCLUDES
        $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/src>