1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= C++ and CMake utility libraries
9 HOMEPAGE= https://github.com/puppetlabs/leatherman
13 SITES[main]= GITHUB/puppetlabs:leatherman:1.12.9
14 DISTFILE[1]= generated:main
16 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILDRUN_DEPENDS= curl:primary:standard
24 boost-libraries:single:standard
26 USES= cmake ruby gettext:build
28 LICENSE= APACHE20:primary
29 LICENSE_TERMS= primary:{{WRKSRC}}/LICENSE
30 LICENSE_FILE= APACHE20:stock
33 FPC_EQUIVALENT= devel/leatherman
37 CXXFLAGS= -Wno-class-memaccess
38 -Wno-ignored-qualifiers
40 CMAKE_ARGS= -DLEATHERMAN_SHARED:BOOL=ON
41 -DENABLE_CXX_WERROR:BOOL=OFF
42 -DLEATHERMAN_ENABLE_TESTING:BOOL=OFF
43 -DBoost_NO_BOOST_CMAKE:BOOL=ON
46 ${REINPLACE_CMD} -e 's/ -Werror//' ${WRKSRC}/cmake/cflags.cmake
49 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
51 ${RM} -r ${STAGEDIR}${PREFIX}/include/boost
53 [FILE:455:descriptions/desc.primary]
54 Leatherman - a C++ toolkit
56 Leatherman can be used in one of two ways: It can be installed as a regular
57 library, and included using the normal CMake find_package syntax, or it can
58 be setup as a submodule. The recommended method is to install Leatherman
59 and use it as a regular system library.
61 Leatherman is broken up into a number of focused component libraries. Both
62 methods of using Leatherman allow you to control which components are built
67 62c1b86b6bfe8e2f06f84e605b1bad8a0fa3224d2bf2dc33e69b2e46b902c2cb 816107 puppetlabs-leatherman-1.12.9.tar.gz
70 [FILE:2420:manifests/plist.primary]
71 include/leatherman/curl/
76 include/leatherman/dynamic_library/dynamic_library.hpp
77 include/leatherman/execution/execution.hpp
78 include/leatherman/file_util/
81 include/leatherman/json_container/json_container.hpp
82 include/leatherman/locale/locale.hpp
83 include/leatherman/logging/logging.hpp
84 include/leatherman/ruby/api.hpp
85 include/leatherman/util/
96 include/leatherman/util/posix/scoped_descriptor.hpp
97 include/leatherman/util/windows/scoped_handle.hpp
98 include/leatherman/vendor/catch.hpp
99 include/leatherman/vendor/rapidjson/
113 include/leatherman/vendor/rapidjson/error/
116 include/leatherman/vendor/rapidjson/internal/
127 include/leatherman/vendor/rapidjson/msinttypes/
131 libleatherman_curl.so
132 libleatherman_curl.so.%%SOVERSION%%
133 libleatherman_dynamic_library.so
134 libleatherman_dynamic_library.so.%%SOVERSION%%
135 libleatherman_execution.so
136 libleatherman_execution.so.%%SOVERSION%%
137 libleatherman_file_util.so
138 libleatherman_file_util.so.%%SOVERSION%%
139 libleatherman_json_container.so
140 libleatherman_json_container.so.%%SOVERSION%%
141 libleatherman_locale.so
142 libleatherman_locale.so.%%SOVERSION%%
143 libleatherman_logging.so
144 libleatherman_logging.so.%%SOVERSION%%
145 libleatherman_ruby.so
146 libleatherman_ruby.so.%%SOVERSION%%
147 libleatherman_util.so
148 libleatherman_util.so.%%SOVERSION%%
149 lib/cmake/leatherman/
150 LeathermanConfig.cmake
151 LeathermanConfigVersion.cmake
152 LeathermanLibraries-%%CMAKE_BUILD_TYPE%%.cmake
153 LeathermanLibraries.cmake
156 dynamic_library.cmake
166 lib/cmake/leatherman/cmake/
167 GetGitRevisionDescription.cmake
168 GetGitRevisionDescription.cmake.in
170 generate_translations.cmake
172 leatherman_config.cmake
176 lib/cmake/leatherman/scripts/cpplint.py
179 [FILE:74:manifests/plist.nls]
180 share/locale/fr/LC_MESSAGES/
182 leatherman_logging.mo
185 [FILE:314:patches/patch-CMakeLists.txt]
186 --- CMakeLists.txt.orig 2022-09-19 23:56:50 UTC
188 @@ -62,6 +62,7 @@ else()
189 add_definitions(-DLEATHERMAN_LOCALE_INSTALL="${CMAKE_INSTALL_PREFIX}/share/locale")
192 +set(BUILD_SHARED_LIBS ON)
193 file(GLOB_RECURSE ALL_LEATHERMAN_SOURCES */src/*.cc */inc/*.hpp)
194 add_subdirectory(locales)
198 [FILE:483:patches/patch-cmake_leatherman.cmake.in]
199 --- cmake/leatherman.cmake.in.orig 2022-09-19 23:56:50 UTC
200 +++ cmake/leatherman.cmake.in
201 @@ -83,11 +83,6 @@ macro(leatherman_install)
202 RUNTIME DESTINATION bin
203 LIBRARY DESTINATION lib${LIB_SUFFIX}
204 ARCHIVE DESTINATION lib${LIB_SUFFIX})
205 - foreach(ARG ${ARGV})
207 - set_target_properties(${ARG} PROPERTIES PREFIX "" IMPORT_PREFIX "")
212 # Usage: add_cppcheck_dirs(dir1 dir2)
215 [FILE:376:patches/patch-dynamic__library_CMakeLists.txt]
216 --- dynamic_library/CMakeLists.txt.orig 2022-09-19 23:56:50 UTC
217 +++ dynamic_library/CMakeLists.txt
218 @@ -9,7 +9,7 @@ leatherman_dependency(util)
220 leatherman_dependency(windows)
222 - if(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD|OpenBSD")
223 + if(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD|OpenBSD|NetBSD|DragonFly")
224 add_leatherman_deps(dl)
229 [FILE:542:patches/patch-json__container_tests_json__container__test.cc]
230 --- json_container/tests/json_container_test.cc.orig 2022-09-19 23:56:50 UTC
231 +++ json_container/tests/json_container_test.cc
232 @@ -22,11 +22,13 @@ TEST_CASE("JsonContainer::JsonContainer
233 std::string json_value {};
235 SECTION("it should instantiate by passing any JSON value") {
243 SECTION("of numbers") {
244 json_value = "[1, 2, 3]";
248 [FILE:472:patches/patch-locale_src_locale.cc]
249 --- locale/src/locale.cc.orig 2022-09-19 23:56:50 UTC
250 +++ locale/src/locale.cc
251 @@ -44,6 +44,9 @@ namespace leatherman { namespace locale
252 gen.add_messages_domain(domain);
256 + return g_locales.insert(make_pair(domain, std::locale())).first->second;
258 // Ensure creating and adding a new locale is thread-safe.
260 return g_locales.insert(make_pair(domain, gen(id))).first->second;