Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:ARM:Staging
grpc
grpc-versioning.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grpc-versioning.diff of Package grpc
From: Jan Engelhardt <jengelh@inai.de> Date: 2017-04-19 10:07:43.563879307 +0200 Unversioned libraries are an ABI nightmare, so work around that in short order. --- CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) Index: grpc-1.10.0/CMakeLists.txt =================================================================== --- grpc-1.10.0.orig/CMakeLists.txt +++ grpc-1.10.0/CMakeLists.txt @@ -29,6 +29,8 @@ set(PACKAGE_STRING "${PACKAGE_NAME} $ set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") project(${PACKAGE_NAME} C CXX) +# from Makefile: +set(LIBVER 6) set(gRPC_INSTALL_BINDIR "bin" CACHE STRING "Installation directory for executables") set(gRPC_INSTALL_LIBDIR "lib" CACHE STRING "Installation directory for libraries") @@ -775,6 +777,7 @@ target_link_libraries(gpr_test_util ${_gRPC_ALLTARGETS_LIBRARIES} gpr ) +set_target_properties(gpr PROPERTIES VERSION ${LIBVER}) endif (gRPC_BUILD_TESTS) @@ -1032,6 +1035,7 @@ add_library(grpc src/core/ext/filters/workarounds/workaround_utils.cc src/core/plugin_registry/grpc_plugin_registry.cc ) +set_target_properties(grpc PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" @@ -1343,6 +1347,7 @@ add_library(grpc_cronet src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc src/core/plugin_registry/grpc_cronet_plugin_registry.cc ) +set_target_properties(grpc_cronet PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" @@ -2220,6 +2225,7 @@ add_library(grpc_unsecure src/core/ext/filters/workarounds/workaround_utils.cc src/core/plugin_registry/grpc_unsecure_plugin_registry.cc ) +set_target_properties(grpc_unsecure PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" @@ -2429,6 +2435,7 @@ add_library(grpc++ src/cpp/util/time_cc.cc src/cpp/codegen/codegen_init.cc ) +set_target_properties(grpc++ PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" @@ -2969,6 +2976,7 @@ add_library(grpc++_cronet third_party/nanopb/pb_decode.c third_party/nanopb/pb_encode.c ) +set_target_properties(grpc++_cronet PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" @@ -3231,6 +3239,7 @@ add_library(grpc++_error_details ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h src/cpp/util/error_details.cc ) +set_target_properties(grpc++_error_details PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" @@ -3355,6 +3364,7 @@ add_library(grpc++_reflection ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h ) +set_target_properties(grpc++_reflection PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" @@ -3479,6 +3489,7 @@ add_library(grpc++_test_util test/cpp/util/test_credentials_provider.cc src/cpp/codegen/codegen_init.cc ) +set_target_properties(grpc++_unsecure PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" @@ -4206,6 +4217,7 @@ add_library(grpc_plugin_support src/compiler/python_generator.cc src/compiler/ruby_generator.cc ) +set_target_properties(grpc_plugin_support PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" @@ -4700,6 +4712,7 @@ endif (gRPC_BUILD_TESTS) add_library(grpc_csharp_ext SHARED src/csharp/ext/grpc_csharp_ext.c ) +set_target_properties(grpc_csharp_ext PROPERTIES VERSION ${LIBVER}) if(WIN32 AND MSVC) set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor