1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= C++ and CMake utility libraries
8 HOMEPAGE= https://github.com/puppetlabs/leatherman
12 SITES[main]= GITHUB/puppetlabs:leatherman:1.9.1
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILDRUN_DEPENDS= curl:primary:standard
21 boost-libraries:rest:python_default
23 USES= cmake ruby gettext-tools
25 LICENSE= APACHE20:single
26 LICENSE_TERMS= single:{{WRKSRC}}/LICENSE
27 LICENSE_FILE= APACHE20:stock
30 FPC_EQUIVALENT= devel/leatherman
34 CXXFLAGS= -Wno-class-memaccess
35 -Wno-ignored-qualifiers
36 CMAKE_ARGS= -DLEATHERMAN_SHARED:BOOL=ON
37 -DENABLE_CXX_WERROR:BOOL=OFF
38 -DBoost_NO_BOOST_CMAKE:BOOL=ON
41 ${REINPLACE_CMD} -e 's/ -Werror//' ${WRKSRC}/cmake/cflags.cmake
44 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
46 [FILE:455:descriptions/desc.single]
47 Leatherman - a C++ toolkit
49 Leatherman can be used in one of two ways: It can be installed as a regular
50 library, and included using the normal CMake find_package syntax, or it can
51 be setup as a submodule. The recommended method is to install Leatherman
52 and use it as a regular system library.
54 Leatherman is broken up into a number of focused component libraries. Both
55 methods of using Leatherman allow you to control which components are built
60 f76d122f18eb8c35c9706cdbabb418c8f66ef0a569750ad79928d27616b9f9ff 815756 puppetlabs-leatherman-1.9.1.tar.gz
63 [FILE:2734:manifests/plist.single]
78 include/boost/nowide/integration/filesystem.hpp
79 include/leatherman/curl/
84 include/leatherman/dynamic_library/dynamic_library.hpp
85 include/leatherman/execution/execution.hpp
86 include/leatherman/file_util/
89 include/leatherman/json_container/json_container.hpp
90 include/leatherman/locale/locale.hpp
91 include/leatherman/logging/logging.hpp
92 include/leatherman/ruby/api.hpp
93 include/leatherman/util/
104 include/leatherman/util/posix/scoped_descriptor.hpp
105 include/leatherman/util/windows/scoped_handle.hpp
106 include/leatherman/vendor/catch.hpp
107 include/leatherman/vendor/rapidjson/
121 include/leatherman/vendor/rapidjson/error/
124 include/leatherman/vendor/rapidjson/internal/
135 include/leatherman/vendor/rapidjson/msinttypes/
139 libleatherman_curl.so
140 libleatherman_curl.so.%%SOVERSION%%
141 libleatherman_dynamic_library.so
142 libleatherman_dynamic_library.so.%%SOVERSION%%
143 libleatherman_execution.so
144 libleatherman_execution.so.%%SOVERSION%%
145 libleatherman_file_util.so
146 libleatherman_file_util.so.%%SOVERSION%%
147 libleatherman_json_container.so
148 libleatherman_json_container.so.%%SOVERSION%%
149 libleatherman_locale.so
150 libleatherman_locale.so.%%SOVERSION%%
151 libleatherman_logging.so
152 libleatherman_logging.so.%%SOVERSION%%
153 libleatherman_ruby.so
154 libleatherman_ruby.so.%%SOVERSION%%
155 libleatherman_util.so
156 libleatherman_util.so.%%SOVERSION%%
157 lib/cmake/leatherman/
158 LeathermanConfig.cmake
159 LeathermanConfigVersion.cmake
160 LeathermanLibraries-%%CMAKE_BUILD_TYPE%%.cmake
161 LeathermanLibraries.cmake
164 dynamic_library.cmake
174 lib/cmake/leatherman/cmake/
175 GetGitRevisionDescription.cmake
176 GetGitRevisionDescription.cmake.in
178 generate_translations.cmake
180 leatherman_config.cmake
184 lib/cmake/leatherman/scripts/cpplint.py
185 share/locale/fr/LC_MESSAGES/
187 leatherman_logging.mo
190 [FILE:314:patches/patch-CMakeLists.txt]
191 --- CMakeLists.txt.orig 2019-10-25 09:51:43 UTC
193 @@ -57,6 +57,7 @@ else()
194 add_definitions(-DLEATHERMAN_LOCALE_INSTALL="${CMAKE_INSTALL_PREFIX}/share/locale")
197 +set(BUILD_SHARED_LIBS ON)
198 file(GLOB_RECURSE ALL_LEATHERMAN_SOURCES */src/*.cc */inc/*.hpp)
199 add_subdirectory(locales)
203 [FILE:483:patches/patch-cmake_leatherman.cmake.in]
204 --- cmake/leatherman.cmake.in.orig 2019-10-25 09:51:43 UTC
205 +++ cmake/leatherman.cmake.in
206 @@ -83,11 +83,6 @@ macro(leatherman_install)
207 RUNTIME DESTINATION bin
208 LIBRARY DESTINATION lib${LIB_SUFFIX}
209 ARCHIVE DESTINATION lib${LIB_SUFFIX})
210 - foreach(ARG ${ARGV})
212 - set_target_properties(${ARG} PROPERTIES PREFIX "" IMPORT_PREFIX "")
217 # Usage: add_cppcheck_dirs(dir1 dir2)
220 [FILE:542:patches/patch-json__container_tests_json__container__test.cc]
221 --- json_container/tests/json_container_test.cc.orig 2019-10-25 09:51:43 UTC
222 +++ json_container/tests/json_container_test.cc
223 @@ -22,11 +22,13 @@ TEST_CASE("JsonContainer::JsonContainer
224 std::string json_value {};
226 SECTION("it should instantiate by passing any JSON value") {
234 SECTION("of numbers") {
235 json_value = "[1, 2, 3]";
239 [FILE:472:patches/patch-locale_src_locale.cc]
240 --- locale/src/locale.cc.orig 2019-10-25 09:51:43 UTC
241 +++ locale/src/locale.cc
242 @@ -44,6 +44,9 @@ namespace leatherman { namespace locale
243 gen.add_messages_domain(domain);
247 + return g_locales.insert(make_pair(domain, std::locale())).first->second;
249 // Ensure creating and adding a new locale is thread-safe.
251 return g_locales.insert(make_pair(domain, gen(id))).first->second;