Package: gnuradio / 3.7.10.1-2

debian-soname 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
Description: set suitable soname for Debian packaged gnuradio libraries.
Author: A. Maitland Bottoms <bottoms@debian.org>

--- a/cmake/Modules/GrMiscUtils.cmake
+++ b/cmake/Modules/GrMiscUtils.cmake
@@ -150,9 +150,10 @@
     )
 
     #extras mode enabled automatically on linux
-    if(NOT DEFINED LIBRARY_EXTRAS)
-        set(LIBRARY_EXTRAS ${LINUX})
-    endif()
+    #but not on Debian (to simplify library package names)
+    #if(NOT DEFINED LIBRARY_EXTRAS)
+    #    set(LIBRARY_EXTRAS ${LINUX})
+    #endif()
 
     #special extras mode to enable alternative naming conventions
     if(LIBRARY_EXTRAS)
--- a/cmake/Modules/GrVersion.cmake
+++ b/cmake/Modules/GrVersion.cmake
@@ -83,10 +83,12 @@
     # VERSION: 3.3.1{.x}
     # DOCVER:  3.3.1{.x}
     # LIBVER:  3.3.1{.x}
+    # Should rewrite this based upon abi-compliance-checker results
     if("${MAINT_VERSION}" STREQUAL "0")
         set(VERSION "${MAJOR_VERSION}.${API_COMPAT}.${MINOR_VERSION}")
     else()
-        set(VERSION "${MAJOR_VERSION}.${API_COMPAT}.${MINOR_VERSION}.${MAINT_VERSION}")
+        set(VERSION "${MAJOR_VERSION}.${API_COMPAT}.${MINOR_VERSION}")
+        # set(VERSION "${MAJOR_VERSION}.${API_COMPAT}.${MINOR_VERSION}.${MAINT_VERSION}")
     endif()
     set(DOCVER "${VERSION}")
     set(LIBVER "${VERSION}")