Package: gnuradio / 3.7.13.4-4

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
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
@@ -85,7 +85,7 @@
     # LIBVER:  3.3.1{.x}
     set(VERSION "${MAJOR_VERSION}.${API_COMPAT}.${MINOR_VERSION}.${MAINT_VERSION}")
     set(DOCVER "${VERSION}")
-    set(LIBVER "${VERSION}")
+    set(LIBVER "${MAJOR_VERSION}.${API_COMPAT}.${MINOR_VERSION}")
     set(RC_MINOR_VERSION ${MINOR_VERSION})
     set(RC_MAINT_VERSION ${MAINT_VERSION})
 endif()