Skip to contentSkip to conversation

package/opentracing-cpp: bump version to v1.5.1

PATCH New Thomas De Schampheleire 2 participants 2 messages Jan 31, 2019 – Feb 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/opentracing-cpp: bump version to v1.5.1

From: Jan Heylen <[email protected]>

Bump opentracing-cpp from 1.2.0 to 1.5.1. The license has changed from MIT to Apache-2.0. The patch is removed because it has been upstreamed.

[ThomasDS: Additional bump from v1.3.0 to v1.5.1]
---
 ...d-static-target-a-configurable-optio.patch | 74 -------------------
 package/opentracing-cpp/opentracing-cpp.hash  |  4 +-
 package/opentracing-cpp/opentracing-cpp.mk    |  6 +-
 3 files changed, 5 insertions(+), 79 deletions(-)
 delete mode 100644 package/opentracing-cpp/0001-CMake-make-shared-static-target-a-configurable-optio.patch

v2: update license and license file

package/opentracing-cpp/0001-CMake-make-shared-static-target-a-configurable-optio.patch deleted +0 -74
deleted file mode 100644
index 90a945bb27..0000000000
@@ -1,74 +0,0 @@
-From 9462847f23a25524fdc2112cbc8de3f2c02a1669 Mon Sep 17 00:00:00 2001
-From: Jan Heylen <[email protected]>
-Date: Fri, 22 Dec 2017 22:04:29 +0100
-Subject: [PATCH] CMake: make shared/static target a configurable option
-
-Signed-off-by: Jan Heylen <[email protected]>
----
- CMakeLists.txt | 40 ++++++++++++++++++++++++++++------------
- 1 file changed, 28 insertions(+), 12 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index aadf2f9..d03bd00 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -70,18 +70,36 @@ endif()
- include_directories(include)
- include_directories(SYSTEM 3rd_party/include)
- 
-+option(BUILD_SHARED_LIBS "Build as a shared library" ON)
-+option(BUILD_STATIC_LIBS "Build as a static library" ON)
-+
-+if (NOT BUILD_SHARED_LIBS AND NOT BUILD_STATIC_LIBS)
-+    message(FATAL_ERROR "One or both of BUILD_SHARED_LIBS or BUILD_STATIC_LIBS must be set to ON to build")
-+endif()
-+
- set(SRCS src/propagation.cpp src/noop.cpp src/tracer.cpp)
--add_library(opentracing SHARED ${SRCS})
--target_include_directories(opentracing INTERFACE "$<INSTALL_INTERFACE:include/>")
--set_target_properties(opentracing PROPERTIES VERSION ${OPENTRACING_VERSION_STRING}
-+
-+if (BUILD_SHARED_LIBS)
-+  add_library(opentracing SHARED ${SRCS})
-+  target_include_directories(opentracing INTERFACE "$<INSTALL_INTERFACE:include/>")
-+  set_target_properties(opentracing PROPERTIES VERSION ${OPENTRACING_VERSION_STRING}
-                                              SOVERSION ${OPENTRACING_VERSION_MAJOR})
--add_library(opentracing-static STATIC ${SRCS})
--set_target_properties(opentracing-static PROPERTIES OUTPUT_NAME opentracing)
--target_include_directories(opentracing-static INTERFACE "$<INSTALL_INTERFACE:include/>")
--if (CLANG_TIDY_EXE)
--  set_target_properties(opentracing PROPERTIES
-+  install(TARGETS opentracing EXPORT OpenTracingTargets
-+          LIBRARY DESTINATION lib
-+          ARCHIVE DESTINATION lib)
-+  if (CLANG_TIDY_EXE)
-+    set_target_properties(opentracing PROPERTIES
-                                     CXX_CLANG_TIDY "${DO_CLANG_TIDY}")
--endif()
-+  endif()
-+endif(BUILD_SHARED_LIBS)
-+
-+if (BUILD_STATIC_LIBS)
-+  add_library(opentracing-static STATIC ${SRCS})
-+  set_target_properties(opentracing-static PROPERTIES OUTPUT_NAME opentracing)
-+  target_include_directories(opentracing-static INTERFACE "$<INSTALL_INTERFACE:include/>")
-+  install(TARGETS opentracing-static EXPORT OpenTracingTargets
-+          ARCHIVE DESTINATION lib)
-+endif(BUILD_STATIC_LIBS)
- 
- 
- install(DIRECTORY 3rd_party/include/opentracing DESTINATION include
-@@ -89,9 +107,7 @@ install(DIRECTORY 3rd_party/include/opentracing DESTINATION include
-                            PATTERN "*.h")
- install(DIRECTORY include/opentracing DESTINATION include
-             FILES_MATCHING PATTERN "*.h")
--install(TARGETS opentracing opentracing-static EXPORT OpenTracingTargets
--        LIBRARY DESTINATION lib
--        ARCHIVE DESTINATION lib)
-+
- 
- # ==============================================================================
- # Package configuration setup
--- 
-2.7.4
-
package/opentracing-cpp/opentracing-cpp.hash +2 -2
index d25dbafeea..c5085ba9ce 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 c77041cb2f147ac81b2b0702abfced5565a9cebc318d045c060a4c3e074009ee opentracing-cpp-v1.2.0.tar.gz
-sha256 b80bffcfee825a69645f7ca97ddba48714031ea5c845198d184714d5490798b6 COPYING
+sha256 015c4187f7a6426a2b5196f0ccd982aa87f010cf61f507ae3ce5c90523f92301 opentracing-cpp-v1.5.1.tar.gz
+sha256 076d03156735d5ff2df2ea0f8b12351ef65e5e9222b5c8c6a35101dadb41e717 LICENSE
package/opentracing-cpp/opentracing-cpp.mk +3 -3
index 4e296fc9fb..a61993f7f2 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-OPENTRACING_CPP_VERSION = v1.2.0
+OPENTRACING_CPP_VERSION = v1.5.1
 OPENTRACING_CPP_SITE = $(call github,opentracing,opentracing-cpp,$(OPENTRACING_CPP_VERSION))
-OPENTRACING_CPP_LICENSE = MIT
-OPENTRACING_CPP_LICENSE_FILES = COPYING
+OPENTRACING_CPP_LICENSE = Apache-2.0
+OPENTRACING_CPP_LICENSE_FILES = LICENSE
 
 OPENTRACING_CPP_INSTALL_STAGING = YES
 
Signature · 1 line
2.19.2
#1 lore raw

PATCH v2 1/1 package/opentracing-cpp: bump version to v1.5.1

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Jan Heylen <[email protected]>
Bump opentracing-cpp from 1.2.0 to 1.5.1. The license has changed from MIT to Apache-2.0. The patch is removed because it has been upstreamed.

[ThomasDS: Additional bump from v1.3.0 to v1.5.1]

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard