Skip to content

Commit

Permalink
devel/quickcpplib: New port: Eliminate hassle when making state-of-th…
Browse files Browse the repository at this point in the history
…e-art C++14-23 libraries
  • Loading branch information
yurivict committed Jun 30, 2023
1 parent 161d758 commit f568157
Show file tree
Hide file tree
Showing 6 changed files with 151 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -5912,6 +5912,7 @@
SUBDIR += qtcreator
SUBDIR += quantum
SUBDIR += quickcheck++
SUBDIR += quickcpplib
SUBDIR += quilt
SUBDIR += qxlsx
SUBDIR += rabs
Expand Down
27 changes: 27 additions & 0 deletions devel/quickcpplib/Makefile
@@ -0,0 +1,27 @@
PORTNAME= quickcpplib
DISTVERSION= g20230614
CATEGORIES= devel

MAINTAINER= yuri@FreeBSD.org
COMMENT= Eliminate hassle when making state-of-the-art C++14-23 libraries
WWW= https://github.com/ned14/quickcpplib

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/Licence.txt

USES= cmake:testing

USE_GITHUB= yes
GH_ACCOUNT= ned14
GH_TAGNAME= f9ab259
GH_TUPLE= \
ned14:quickcpplib:af81e79226211640acace43637a929e4aae4b1f3:ned14_quickcpplib/doc/html \
martinmoene:span-lite:dbb484f6c2060b41afa55653dec99b228013a813:martinmoene_span_lite/include/quickcpplib/span-lite \
ned14:pcpp:2ad25f10d358d85dcb3c5dfc358980a6cd008165:ned14_pcpp/pcpp \
akrzemi1:Optional:2b43315458a99fc5de1da6e7bc0ddd364b26d643:akrzemi1_Optional/include/quickcpplib/optional \
martinmoene:byte-lite:5bf0d80352197a4fb3526ad678a23a4c0c40d094:martinmoene_byte_lite/include/quickcpplib/byte \
ned14:ply:fbc7a3cbc6e57d18462453dc65ba2c985fd6ac21:ned14_ply/pcpp/pcpp/ply

LDFLAGS+= -lrt

.include <bsd.port.mk>
15 changes: 15 additions & 0 deletions devel/quickcpplib/distinfo
@@ -0,0 +1,15 @@
TIMESTAMP = 1688096195
SHA256 (ned14-quickcpplib-g20230614-f9ab259_GH0.tar.gz) = b45c49e214d13fa10f2d67d0f9f21d467783739432e71fe4199d3134bdfc23d7
SIZE (ned14-quickcpplib-g20230614-f9ab259_GH0.tar.gz) = 591113
SHA256 (ned14-quickcpplib-af81e79226211640acace43637a929e4aae4b1f3_GH0.tar.gz) = bdaecd0aa3d58f1209357226cf03874c8774046c5738d462901a44d7f3b127a6
SIZE (ned14-quickcpplib-af81e79226211640acace43637a929e4aae4b1f3_GH0.tar.gz) = 1117336
SHA256 (martinmoene-span-lite-dbb484f6c2060b41afa55653dec99b228013a813_GH0.tar.gz) = ebfde55f9d141ef4ea5ca99a140829ff3c1b17220613fe7177e661e542c77a39
SIZE (martinmoene-span-lite-dbb484f6c2060b41afa55653dec99b228013a813_GH0.tar.gz) = 56525
SHA256 (ned14-pcpp-2ad25f10d358d85dcb3c5dfc358980a6cd008165_GH0.tar.gz) = 82b119161881609fb002609daebc169cd0941941644307768550037196da2bb4
SIZE (ned14-pcpp-2ad25f10d358d85dcb3c5dfc358980a6cd008165_GH0.tar.gz) = 151777
SHA256 (akrzemi1-Optional-2b43315458a99fc5de1da6e7bc0ddd364b26d643_GH0.tar.gz) = 686a269d91292d0dd16195778a5437f08e94ce9d0d93ece3c00dec54d9baa31e
SIZE (akrzemi1-Optional-2b43315458a99fc5de1da6e7bc0ddd364b26d643_GH0.tar.gz) = 16886
SHA256 (martinmoene-byte-lite-5bf0d80352197a4fb3526ad678a23a4c0c40d094_GH0.tar.gz) = b8384d7c184f8e3ec82107651fc56b0e160e2067db59aa03967b3db1d39733de
SIZE (martinmoene-byte-lite-5bf0d80352197a4fb3526ad678a23a4c0c40d094_GH0.tar.gz) = 31355
SHA256 (ned14-ply-fbc7a3cbc6e57d18462453dc65ba2c985fd6ac21_GH0.tar.gz) = e17b211d05519ab32365ccdfdd67b64408a68f0cd2032751f4f4cbb2722b27bb
SIZE (ned14-ply-fbc7a3cbc6e57d18462453dc65ba2c985fd6ac21_GH0.tar.gz) = 154023
@@ -0,0 +1,11 @@
--- include/quickcpplib/signal_guard.hpp.orig 2023-06-30 03:41:25 UTC
+++ include/quickcpplib/signal_guard.hpp
@@ -531,7 +531,7 @@ namespace signal_guard
#ifdef _WIN32
void *_threadh{nullptr};
#else
- void *_timerid{nullptr};
+ timer_t _timerid{nullptr};
#endif
signal_guard_watchdog_impl *_prev{nullptr}, *_next{nullptr};
uint64_t _deadline_ms{0};
2 changes: 2 additions & 0 deletions devel/quickcpplib/pkg-descr
@@ -0,0 +1,2 @@
quickcpplib allows to eliminate all the tedious hassle when making
state-of-the-art C++14-23 libraries.
95 changes: 95 additions & 0 deletions devel/quickcpplib/pkg-plist
@@ -0,0 +1,95 @@
include/quickcpplib/algorithm/bit_interleave.hpp
include/quickcpplib/algorithm/bitwise_trie.hpp
include/quickcpplib/algorithm/hash.hpp
include/quickcpplib/algorithm/memory.hpp
include/quickcpplib/algorithm/open_hash_index.hpp
include/quickcpplib/algorithm/prime_modulus.hpp
include/quickcpplib/algorithm/secded_ecc.hpp
include/quickcpplib/algorithm/small_prng.hpp
include/quickcpplib/algorithm/string.hpp
include/quickcpplib/aligned_allocator.hpp
include/quickcpplib/allocator_testing.hpp
include/quickcpplib/bit_cast.hpp
include/quickcpplib/bitfield.hpp
include/quickcpplib/boost/test/unit_test.hpp
include/quickcpplib/byte.hpp
include/quickcpplib/byte/include/nonstd/byte.hpp
include/quickcpplib/byte/test/byte-main.t.hpp
include/quickcpplib/byte/test/lest/lest_cpp03.hpp
include/quickcpplib/config.hpp
include/quickcpplib/console_colours.hpp
include/quickcpplib/cpp_feature.h
include/quickcpplib/declval.hpp
include/quickcpplib/detach_cast.hpp
include/quickcpplib/detail/impl/execinfo_win64.ipp
include/quickcpplib/detail/impl/signal_guard.ipp
include/quickcpplib/detail/preprocessor_macro_overload.h
include/quickcpplib/erasure_cast.hpp
include/quickcpplib/execinfo_win64.h
include/quickcpplib/function_ptr.hpp
include/quickcpplib/import.h
include/quickcpplib/in_place_detach_attach.hpp
include/quickcpplib/mem_flush_loads_stores.hpp
include/quickcpplib/memory_resource.hpp
include/quickcpplib/offset_ptr.hpp
include/quickcpplib/optional.hpp
include/quickcpplib/optional/optional.hpp
include/quickcpplib/packed_backtrace.hpp
include/quickcpplib/revision.hpp
include/quickcpplib/ringbuffer_log.hpp
include/quickcpplib/scope.hpp
include/quickcpplib/signal_guard.hpp
include/quickcpplib/span-lite/example/nonstd/span.tweak.hpp
include/quickcpplib/span-lite/include/nonstd/span.hpp
include/quickcpplib/span-lite/test/lest/lest_cpp03.hpp
include/quickcpplib/span-lite/test/nonstd/span.tweak.hpp
include/quickcpplib/span-lite/test/span-main.t.hpp
include/quickcpplib/span.hpp
include/quickcpplib/spinlock.hpp
include/quickcpplib/spinlock.natvis
include/quickcpplib/start_lifetime_as.hpp
include/quickcpplib/string_view.hpp
include/quickcpplib/tribool.hpp
include/quickcpplib/type_traits.hpp
include/quickcpplib/uint128.hpp
include/quickcpplib/utils/thread.hpp
include/quickcpplib/valgrind/drd.h
include/quickcpplib/valgrind/helgrind.h
include/quickcpplib/valgrind/memcheck.h
include/quickcpplib/valgrind/valgrind.h
lib/cmake/quickcpplib/quickcpplibConfig.cmake
lib/cmake/quickcpplib/quickcpplibExports.cmake
share/cmakelib/DownloadBuildInstall.cmake.in
share/cmakelib/ProjectConfig.cmake.in
share/cmakelib/QuickCppLibApplyDefaultDefinitions.cmake
share/cmakelib/QuickCppLibCacheLibrarySources.cmake
share/cmakelib/QuickCppLibMakeDoxygen.cmake
share/cmakelib/QuickCppLibMakeExport.cmake
share/cmakelib/QuickCppLibMakeHeaderOnlyLibrary.cmake
share/cmakelib/QuickCppLibMakeInstall.cmake
share/cmakelib/QuickCppLibMakeLibrary.cmake
share/cmakelib/QuickCppLibMakeStandardTests.cmake
share/cmakelib/QuickCppLibParseLibrarySources.cmake
share/cmakelib/QuickCppLibPolicies.cmake
share/cmakelib/QuickCppLibRequireOutOfSourceBuild.cmake
share/cmakelib/QuickCppLibSetupProject.cmake
share/cmakelib/QuickCppLibUtils.cmake
share/cmakelib/quickcpplibConfig.override.cmake.in
share/scripts/GenSingleHeader.py
share/scripts/IndentCmacros.py
share/scripts/TabsToSpaces.py
share/scripts/add_junit_results_to_ctest.py
share/scripts/boost-test-to-junit.xsl
share/scripts/boostify.py
share/scripts/boostify_git_repo.py
share/scripts/cpp-pm/CMakeLists.txt
share/scripts/cpp-pm/cmake/HunterGate.cmake
share/scripts/cpp-pm/cmake/HunterVersion.cmake
share/scripts/gen_guard_matrix.py
share/scripts/make_deb.py
share/scripts/merge_develop_to_master_if_good.py
share/scripts/merge_junit_results.py
share/scripts/restamp_licence.py
share/scripts/run-clang-tidy.py
share/scripts/send_to_wandbox.py
share/scripts/test_cpp-pm_install.py

0 comments on commit f568157

Please sign in to comment.