From 600e034704e8b1a68860ea54dcfa05b546a5c9eb Mon Sep 17 00:00:00 2001 From: Buck Yeh Date: Tue, 23 Nov 2021 07:38:09 +0800 Subject: [PATCH] [buck-yeh-bux-mariadb-client] New port (#21505) * [bux] Add new port * Corrections according to Create Pull Request suggested questions * SHA512 * Mark fails into .\scripts\ci.baseline.txt * Mark fails into .\scripts\ci.baseline.txt * No need of "port-version": 1 in vcpkg.json * Update version database * Update ports/bux/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/bux/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/bux/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/bux/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update bux.json * Update ports/bux/vcpkg.json * update version * Update scripts/ci.baseline.txt Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * update bux support * update version * update version * Rename bux to buck-yeh-bux * Update version database * [buck-yeh-bux] upgrade to v1.5.0 1. [New] `bux::C_ParaLog` is ready for a variety of parallel logging configurations, filtered or unfiltered. 2. [New] Necessary helper classes for implementation _s.t_ logger users no longer need to declare child source instances explicitly. 3. [New] Add methods to `ParaLog.h` & `SyncLog.h` to support testability. 4. [New] Add unit test cases to `ParaLog.h` & `SyncLog.h` (test_paralog & test_logger) 5. [New] Update what are found in `test/` to `test/archlinux/aur_poc/` 6. [Bug] `std::uniform_int_distribution` no longer allowed. 7. [Change] `CUR_FUNC_` for Windows (MSVC) 8. [Change] `tbb` is no longer implicitly needed by C++ standard library. 9. [Change] `smoke_filtlog.cpp` verifies 2-level log filters ok. * Missing comma in versions/b-/buck-yeh-bux.json * buck-yeh-bux 1.6.0 * Corrections made according to NancyLi1013's requests in PR #20813 * Fix SHA key in versions/b-/buck-yeh-bux.json * Update to buxk-yeh-bux v1.6.2 * [buck-yeh-bux-mariadb-client] The first release * Add dependency to libmariadb * Inccorect git-tree value in versions/b-/buck-yeh-bux-mariadb-client.json * linux build is enabled * [buck-yeh-bux] Upgrade to 1.6.3 to allow u64-linux * linux build is disabled again for not recognizing C++20 header yet * Mark vcpkg.json to support Linux but ci.baseline.txt to fail the CI build * Repair buck-buck-yeh-bux in version database. Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Jonliu1993 <13720414433@163.com> Co-authored-by: Billy Robert O'Neal III --- ports/buck-yeh-bux-mariadb-client/portfile.cmake | 16 ++++++++++++++++ ports/buck-yeh-bux-mariadb-client/vcpkg.json | 16 ++++++++++++++++ ports/buck-yeh-bux/portfile.cmake | 6 +++--- ports/buck-yeh-bux/vcpkg.json | 4 ++-- scripts/ci.baseline.txt | 2 ++ versions/b-/buck-yeh-bux-mariadb-client.json | 9 +++++++++ versions/b-/buck-yeh-bux.json | 5 +++++ versions/baseline.json | 6 +++++- 8 files changed, 58 insertions(+), 6 deletions(-) create mode 100644 ports/buck-yeh-bux-mariadb-client/portfile.cmake create mode 100644 ports/buck-yeh-bux-mariadb-client/vcpkg.json create mode 100644 versions/b-/buck-yeh-bux-mariadb-client.json diff --git a/ports/buck-yeh-bux-mariadb-client/portfile.cmake b/ports/buck-yeh-bux-mariadb-client/portfile.cmake new file mode 100644 index 0000000000..4f675457df --- /dev/null +++ b/ports/buck-yeh-bux-mariadb-client/portfile.cmake @@ -0,0 +1,16 @@ +vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "linux" "uwp" "osx") +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO buck-yeh/bux-mariadb-client + REF bb078afd7e7287f9c3220b889e8206d5a841b185 # v1.0.1 + SHA512 96cc0a40809f13d4a49e849306eed96dc2bc00998612344801df7d664f8a0a9cfa646b70927747d1decbca48cf5ff9502796b7738b106e9b68a4564abd981ce9 + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/buck-yeh-bux-mariadb-client/vcpkg.json b/ports/buck-yeh-bux-mariadb-client/vcpkg.json new file mode 100644 index 0000000000..2ec1976a4c --- /dev/null +++ b/ports/buck-yeh-bux-mariadb-client/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "buck-yeh-bux-mariadb-client", + "version": "1.0.1", + "description": "Loose-coupled throw-on-error C++20 wrapper classes and utilities over mysql/mariadb Connector/C API", + "homepage": "https://github.com/buck-yeh/bux-mariadb-client", + "supports": "!(arm | uwp | osx)", + "dependencies": [ + "buck-yeh-bux", + "fmt", + "libmariadb", + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/ports/buck-yeh-bux/portfile.cmake b/ports/buck-yeh-bux/portfile.cmake index f1a754fddc..890792d818 100644 --- a/ports/buck-yeh-bux/portfile.cmake +++ b/ports/buck-yeh-bux/portfile.cmake @@ -1,9 +1,9 @@ -vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "linux" "uwp" "osx") +vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "uwp" "osx") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO buck-yeh/bux - REF 4e64bc28c482df45a2e15afd8fea928d82897783 # v1.6.2 - SHA512 b409cddc15116e4c1f6142f5d07449bfc44e4c7386bde6884ca232e30a7057a04144cd5564c4c9fb86e74160b9c52d097185f63ebbd751cfe8e7520e8181f404 + REF 8788509f0281e9a2af34c0399a45a5c9e66a4664 # v1.6.3 + SHA512 a7045a93d91e497ca2b60965bb2f098eae714d00feef0d252747178739cdd981f44cb8983278c679761f61e037da05889f22fa161d26fca05af511fc56c1ac8f HEAD_REF main ) diff --git a/ports/buck-yeh-bux/vcpkg.json b/ports/buck-yeh-bux/vcpkg.json index 7c53659325..36fc610cc5 100644 --- a/ports/buck-yeh-bux/vcpkg.json +++ b/ports/buck-yeh-bux/vcpkg.json @@ -1,9 +1,9 @@ { "name": "buck-yeh-bux", - "version": "1.6.2", + "version": "1.6.3", "description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.", "homepage": "https://github.com/buck-yeh/bux", - "supports": "!(arm | uwp | osx | linux)", + "supports": "!(arm | uwp | osx)", "dependencies": [ "fmt", { diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index 8dc0c5114d..1c1127af48 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -69,6 +69,8 @@ bond:x64-osx=fail bond:x64-uwp=fail botan:x64-uwp=fail breakpad:arm64-windows=fail +buck-yeh-bux:x64-linux=fail +buck-yeh-bux-mariadb-client:x64-linux=fail bullet3:arm64-windows=fail bullet3:arm-uwp=fail bullet3:x64-uwp=fail diff --git a/versions/b-/buck-yeh-bux-mariadb-client.json b/versions/b-/buck-yeh-bux-mariadb-client.json new file mode 100644 index 0000000000..f1fa95288e --- /dev/null +++ b/versions/b-/buck-yeh-bux-mariadb-client.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "84453b40536c8c57162f627c28d4f3a148516ad8", + "version": "1.0.1", + "port-version": 0 + } + ] +} diff --git a/versions/b-/buck-yeh-bux.json b/versions/b-/buck-yeh-bux.json index 7a2d0905f1..cde398a024 100644 --- a/versions/b-/buck-yeh-bux.json +++ b/versions/b-/buck-yeh-bux.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "19d56bb09ecc37268afec6a5384282e562491af4", + "version": "1.6.3", + "port-version": 0 + }, { "git-tree": "c952bbb93f152d6db8e4bc8d0fbed4fb6e7ead2a", "version": "1.6.2", diff --git a/versions/baseline.json b/versions/baseline.json index 6de501f01e..d78b50c2c7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1169,7 +1169,11 @@ "port-version": 0 }, "buck-yeh-bux": { - "baseline": "1.6.2", + "baseline": "1.6.3", + "port-version": 0 + }, + "buck-yeh-bux-mariadb-client": { + "baseline": "1.0.1", "port-version": 0 }, "bullet3": {